当前位置: 首页>>代码示例>>Python>>正文


Python EDUtilsTest.getPluginTestDataDirectory方法代码示例

本文整理汇总了Python中EDUtilsTest.EDUtilsTest.getPluginTestDataDirectory方法的典型用法代码示例。如果您正苦于以下问题:Python EDUtilsTest.getPluginTestDataDirectory方法的具体用法?Python EDUtilsTest.getPluginTestDataDirectory怎么用?Python EDUtilsTest.getPluginTestDataDirectory使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在EDUtilsTest.EDUtilsTest的用法示例。


在下文中一共展示了EDUtilsTest.getPluginTestDataDirectory方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _pyStrTestName=None):
     """
     """
     EDTestCase.__init__(self, _pyStrTestName)
     pyStrMXv1DataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     pyStrDataDir = "EDHandlerXDSv1_0"
     self.m_pyStrDataPath = os.path.join(pyStrMXv1DataHome, pyStrDataDir)
开发者ID:gbourgh,项目名称:edna,代码行数:9,代码来源:EDTestCaseEDHandlerXDSv1_0.py

示例2: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strTestName=None):
     EDTestCase.__init__(self, _strTestName)
     strMXv1DataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDHandlerBestv1_2"
     self.strDataPath = os.path.join(strMXv1DataHome, strDataDir)
     self.strReferenceInputFile = os.path.join(self.strDataPath, "XSDataInputStrategy_reference.xml")
     self.strReferenceOutputFile = os.path.join(self.strDataPath, "XSDataResultBestv1_2_reference.xml")
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:9,代码来源:EDTestCaseEDHandlerBestv1_2.py

示例3: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _pyStrTestName=None):
     EDTestCase.__init__(self, _pyStrTestName)
     strKernelDataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDHandlerRaddosev10"
     self.strDataPath = EDUtilsPath.mergePath(strKernelDataHome, strDataDir)
     self.strReferenceInputFile2 = EDUtilsPath.mergePath(self.strDataPath, "XSDataRaddosev10Input_reference_02.xml")
     self.strObtainedInputFile2 = "XSDataInputRaddosev10FromObject_02.xml"
开发者ID:antolinos,项目名称:edna,代码行数:9,代码来源:EDTestCaseEDHandlerRaddosev10.py

示例4: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _pyStrTestName=None):
     EDTestCase.__init__(self, _pyStrTestName)
     strMXv1DataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDHandlerISPyBv1_3"
     self.strDataPath = os.path.join(strMXv1DataHome, strDataDir)
     self.dictReplace = {"${EDNA_TESTIMAGES}": EDUtilsPath.EDNA_TESTIMAGES,
                    "${EDNA_HOME}": EDUtilsPath.getEdnaHome(),
                    "${USER}":  os.getenv("USER", "UndefindedUser"),
                    "${TMPDIR}": os.getenv("TMPDIR", tempfile.gettempdir()),
                     }
开发者ID:antolinos,项目名称:edna,代码行数:12,代码来源:EDTestCaseEDHandlerISPyBv1_3.py

示例5: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strTestName=None):
     EDTestCase.__init__(self, "EDTestCaseEDUtilsTable")
     self.__edConfiguration = None
     strKernelDataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDUtilsTable"
     self.__strDataPath = os.path.join(strKernelDataHome, strDataDir)
     self.__strFileName = "EDPluginBestv01_dnaTables.xml"
     self.__strFilePath = os.path.join(self.__strDataPath, self.__strFileName)
     self.__strFileName2 = "EDPluginBestv01_dnaTables2.xml"
     self.__strFilePath2 = os.path.join(self.__strDataPath, self.__strFileName2)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:12,代码来源:EDTestCaseEDUtilsTable.py

示例6: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strPluginName, _strPluginDir=None, _strTestName=None):
     """
     Initialize the test case by determining the paths to the plugin home and plugin test directories.
     """
     EDTestCase.__init__(self, _strTestName)
     self._edPlugin = None
     self._strPluginName = _strPluginName
     self._strPluginHome = EDUtilsTest.getFactoryPluginTest().getModuleLocation(_strPluginName)
     self._strPluginTestsDataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     self._listRequiredConfigurationPluginNames = []
     self._strConfigurationFile = None
开发者ID:edna-site,项目名称:edna,代码行数:13,代码来源:EDTestCasePlugin.py

示例7: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strPluginName, _strPluginDir=None, _strTestName=None):
     """
     Initialize the test case by determining the paths to the plugin home and plugin test directories.
     """
     EDTestCase.__init__(self, _strTestName)
     self.__strPluginName = _strPluginName
     self.__strTestsDataDir = None
     self.__strPluginTestsDataDir = None
     self.__strPluginHome = EDUtilsTest.getFactoryPluginTest().getModuleLocation(_strPluginName)
     self.__strPluginTestsDataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     self.__listRequiredConfigurationPluginNames = []
     self.__strConfigurationFile = None
     self.__dictConfigurations = {} #key=pluginName ; value=config
     self.dictReplace = {"${EDNA_TESTS_DATA_HOME}": EDUtilsTest.getTestsDataHome(),
                    "${EDNA_PLUGIN_TESTS_DATA_HOME}" : self.getPluginTestsDataHome(),
                    "${EDNA_HOME}": EDUtilsPath.getEdnaHome(),
                    "${USER}":  os.getenv("USER", "UndefindedUser"),
                    "${TMPDIR}": os.getenv("TMPDIR", tempfile.gettempdir()),
                     }
开发者ID:olofsvensson,项目名称:edna-kernel,代码行数:21,代码来源:EDTestCasePlugin.py

示例8: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _pyStrTestName=None):
     EDTestCase.__init__(self, _pyStrTestName)
     strMXv1DataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDHandlerISPyBv1_1"
     self.strDataPath = os.path.join(strMXv1DataHome, strDataDir)
开发者ID:antolinos,项目名称:edna,代码行数:7,代码来源:EDTestCaseEDHandlerISPyBv1_1.py

示例9: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strTestName=None):
     EDTestCase.__init__(self, _strTestName)
     strDiffractionCTv1DataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDHandlerFIT2Dv1_0"
     self.m_strDataPath = os.path.abspath(os.path.join(strDiffractionCTv1DataHome, strDataDir))
     self.m_strReferenceOutputFile = os.path.abspath(os.path.join(self.m_strDataPath, "XSDataResultFIT2DCake_reference.xml"))
开发者ID:antolinos,项目名称:edna,代码行数:8,代码来源:EDTestCaseEDHandlerFIT2Dv1_0.py

示例10: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _strTestName=None):
     EDTestCase.__init__(self, "EDTestCaseEDConfiguration")
     strKernelDataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     strDataDir = "EDConfiguration"
     self.strDataPath = EDUtilsPath.mergePath(strKernelDataHome, strDataDir)
     self.strEdnaSiteOrig = EDUtilsPath.getEdnaSite()
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:8,代码来源:EDTestCaseEDConfiguration.py

示例11: __init__

# 需要导入模块: from EDUtilsTest import EDUtilsTest [as 别名]
# 或者: from EDUtilsTest.EDUtilsTest import getPluginTestDataDirectory [as 别名]
 def __init__(self, _testName=None):
     EDTestCase.__init__(self, _testName)
     dataHome = EDUtilsTest.getPluginTestDataDirectory(self.getClassName())
     dataDir = "EDHandlerXDSv1_0"
     self.dataPath = os.path.join(dataHome, dataDir)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDTestCaseEDHandlerXDSv1_0.py


注:本文中的EDUtilsTest.EDUtilsTest.getPluginTestDataDirectory方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。