def __init__(self, _oedStringTestName=None): EDTestCasePluginExecuteControlCharacterisationv10.__init__( self, "EDTestCasePluginExecuteControlCharacterisationv10withForcedSpaceGroup" ) self.setConfigurationFile(self.getRefConfigFile()) self.setDataInputFile( os.path.join(self.getPluginTestsDataHome(), "XSDataCollection_withForcedSpaceGroup.xml")) self.setNoExpectedWarningMessages(1)
def testExecute(self): EDTestCasePluginExecuteControlCharacterisationv10.testExecute(self) plugin = self.getPlugin() xsDataCharacterisation = plugin.getDataOutput() xsDataCollectionPlanList = xsDataCharacterisation.getStrategyResult().getCollectionPlan() EDAssert.equal(2, len(xsDataCollectionPlanList)) strRankingResolutionInitial = xsDataCollectionPlanList[1].getStrategySummary().getResolutionReasoning().getValue() EDAssert.equal("Resolution limit is set by the initial image resolution", strRankingResolutionInitial) strRankingResolutionLow = xsDataCollectionPlanList[0].getStrategySummary().getResolutionReasoning().getValue() EDAssert.equal("Low-resolution pass, no overloads", strRankingResolutionLow)
def __init__(self, _oedStringTestName=None): EDTestCasePluginExecuteControlCharacterisationv10.__init__(self, "EDTestCasePluginExecuteControlCharacterisationv10withForcedSpaceGroup") self.setConfigurationFile(self.getRefConfigFile()) self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataCollection_withForcedSpaceGroup.xml")) self.setNoExpectedWarningMessages(1)
def preProcess(self): EDTestCasePluginExecuteControlCharacterisationv10.preProcess(self) self.loadTestImage([ "ref-thermo1_1_001.img", "ref-thermo1_1_002.img" ])
def __init__(self, _strTestName=None): EDTestCasePluginExecuteControlCharacterisationv10.__init__(self, "EDTestCasePluginExecuteControlCharacterisationv10With2Sweep",) self.setConfigurationFile(self.getRefConfigFile()) self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataCollection_reference_2_sweep.xml")) self.setNoExpectedWarningMessages(2)