Class ModelCopyTest

java.lang.Object
de.uni_hildesheim.sse.easy.ant.modelcopy.ModelCopyTest

public class ModelCopyTest extends Object
Tests the ModelCopy class based on the QualiMaster model.
Author:
El-Sharkawy
  • Field Details

    • DESTINATION_FOLDER

      private static final File DESTINATION_FOLDER
    • ORIGINAL_FOLDER

      private static final File ORIGINAL_FOLDER
    • COMPARISON_FOLDER

      private static final File COMPARISON_FOLDER
    • MAIN_PROJECT

      private static final String 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

      private void assertIVMLConfigFile(String sampleFile)
      Compares a generated IVML file with another IVML file for specifying the desired output.
      Parameters:
      sampleFile - The relative file name inside the ORIGINAL_FOLDER.