Class ModelCopyTest
java.lang.Object
de.uni_hildesheim.sse.easy.ant.modelcopy.ModelCopyTest
Tests the
ModelCopy class based on the QualiMaster model.- Author:
- El-Sharkawy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertIVMLConfigFile(String sampleFile) Compares a generated IVML file with another IVML file for specifying the desired output.static voidCopies the QualiMaster model and test precondition.voidTests that AlgorithmsCfg is filtered correctly.voidTests that BasicCfg is filtered correctly.voidTests that DataManagementCfg is filtered correctly.voidTests that FamiliesCfg is filtered correctly.voidTests that HardwareCfg is filtered correctly.voidTests that InfrastructureCfg is filtered correctly.voidTests that the PipliesCfg is filtered correctly.voidTests that ReconfigurableHardwareCfg is filtered correctly.
-
Field Details
-
DESTINATION_FOLDER
-
ORIGINAL_FOLDER
-
COMPARISON_FOLDER
-
MAIN_PROJECT
- See Also:
-
-
Constructor Details
-
ModelCopyTest
public ModelCopyTest()
-
-
Method Details
-
setUpBeforeClass
public static void setUpBeforeClass()Copies the QualiMaster model and test precondition. The methods tests whether specific files are copied correctly. -
testPipelinesCfg
public void testPipelinesCfg()Tests that the PipliesCfg is filtered correctly. -
testBasicCfg
public void testBasicCfg()Tests that BasicCfg is filtered correctly. -
testAlgorithmsCfg
public void testAlgorithmsCfg()Tests that AlgorithmsCfg is filtered correctly. -
testDataManagementCfg
public void testDataManagementCfg()Tests that DataManagementCfg is filtered correctly. -
testFamiliesCfg
public void testFamiliesCfg()Tests that FamiliesCfg is filtered correctly. -
testHardwareCfg
public void testHardwareCfg()Tests that HardwareCfg is filtered correctly. -
testInfrastructureCfg
public void testInfrastructureCfg()Tests that InfrastructureCfg is filtered correctly. -
testReconfigurableHardwareCfg
public void testReconfigurableHardwareCfg()Tests that ReconfigurableHardwareCfg is filtered correctly. -
assertIVMLConfigFile
Compares a generated IVML file with another IVML file for specifying the desired output.- Parameters:
sampleFile- The relative file name inside theORIGINAL_FOLDER.
-