def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(self, _strTestName)
     self.setConfigurationFile(os.path.join(self.getPluginTestsDataHome(), "XSConfiguration.xml"))
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputReadImageHeader_ADSC_timeOut.xml"))
     self.setReferenceDataOutputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataResultReadImageHeader_ADSC_reference.xml"))
     self.setNoExpectedErrorMessages(1)
     self.setAcceptPluginFailure(True)
 def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(
         self, _strTestName)
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         os.path.join(self.getPluginTestsDataHome(),
                      "XSDataInputReadImageHeader_Eiger16M_reference.xml"))
Esempio n. 3
0
 def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(self, _strTestName)
     self.setConfigurationFile(os.path.join(self.getPluginTestsDataHome(), "XSConfiguration.xml"))
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputReadImageHeader_failure.xml"))
     self.setReferenceDataOutputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataResultReadImageHeader_failure.xml"))
     self.setNoExpectedWarningMessages(1)
     self.setNoExpectedErrorMessages(1)
     self.setAcceptPluginFailure(True)
 def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(self, _strTestName)
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         os.path.join(self.getPluginTestsDataHome(), "XSDataInputReadImageHeader_ADSC_reference.xml")
     )
     self.setReferenceDataOutputFile(
         os.path.join(self.getPluginTestsDataHome(), "XSDataResultReadImageHeader_ADSC_reference.xml")
     )
 def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(self, _strTestName)
     self.strTmpDir = tempfile.mkdtemp(prefix="EDPluginControlReadImageHeaderv10_")
     os.environ["EDNA_TMP_DIR"] = self.strTmpDir
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputReadImageHeader_ADSC_waitFile.xml"))
     self.setReferenceDataOutputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataResultReadImageHeader_ADSC_reference.xml"))
     self.strInputDataFile = os.path.join(self.getTestsDataImagesHome(), "ref-testscale_1_001.img")
     self.strInputDataFileNew = os.path.join(self.strTmpDir, "ref-testscale_1_001.img")
 def __init__(self, _strTestName="EDPluginControlReadImageHeaderv10"):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.__init__(self, _strTestName)
     self.strTmpDir = tempfile.mkdtemp(prefix="EDPluginControlReadImageHeaderv10_")
     os.environ["EDNA_TMP_DIR"] = self.strTmpDir
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputReadImageHeader_ADSC_waitFile.xml"))
     self.setReferenceDataOutputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataResultReadImageHeader_ADSC_reference.xml"))
     self.strInputDataFile = os.path.join(self.getTestsDataImagesHome(), "ref-testscale_1_001.img")
     self.strInputDataFileNew = os.path.join(self.strTmpDir, "ref-testscale_1_001.img")
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage([ "ref-testscale_1_001.img" ])
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage(["ref-testscale_1_001.img"])
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage(["zzzz_1_0001.cbf"])
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage([ "zzzz_1_0001.cbf" ])
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage([ "ref-screentest-crystal1_1_001.mccd" ])
Esempio n. 12
0
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage([ "eiger9m_1_1000.cbf" ])
 def preProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.preProcess(self)
     self.loadTestImage(["ref-screentest-crystal1_1_001.mccd"])
 def postProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.postProcess(self)
     shutil.rmtree(self.strTmpDir)
 def postProcess(self):
     EDTestCasePluginExecutePluginControlReadImageHeaderv10.postProcess(self)
     shutil.rmtree(self.strTmpDir)