Class EUnitModelComparisonTests

  • All Implemented Interfaces:
    ErrorHandler

    public class EUnitModelComparisonTests
    extends EUnitTestCase
    Tests for the EUnit model comparison assertions. Since these depend on the registered model comparators, this test should be run as a JUnit plug-in test.
    Author:
    Antonio Garcia-Dominguez
    • Constructor Detail

      • EUnitModelComparisonTests

        public EUnitModelComparisonTests()
    • Method Detail

      • runTarget

        public void runTarget​(File buildFile,
                              String targetName)
                       throws org.apache.tools.ant.BuildException,
                              IOException
        Description copied from class: WorkflowTestCase
        Runs the specified target in the provided Ant buildfile. Only some tasks are available: check the source code for details.
        Overrides:
        runTarget in class WorkflowTestCase
        Parameters:
        buildFile - Ant buildfile to be run.
        targetName - Name of the target to be run.
        Throws:
        org.apache.tools.ant.BuildException - The build failed.
        IOException
      • compareEMFWithEMFWithModelReferences

        public void compareEMFWithEMFWithModelReferences()
                                                  throws Exception
        Throws:
        Exception
      • compareEMFWithEMFUsingGeneratedModels

        public void compareEMFWithEMFUsingGeneratedModels()
                                                   throws Exception
        Throws:
        Exception
      • compareEMFWithEMFCopy

        public void compareEMFWithEMFCopy()
                                   throws Exception
        Throws:
        Exception
      • compareEMFInMemoryModels

        public void compareEMFInMemoryModels()
                                      throws Exception
        Throws:
        Exception
      • compareEMFInMemoryModelsWithCustomComparator

        public void compareEMFInMemoryModelsWithCustomComparator()
                                                          throws Exception
        Throws:
        Exception
      • bothModelsAreEmpty

        public void bothModelsAreEmpty()
                                throws Exception
        Throws:
        Exception
      • leftModelIsEmptyNotEquals

        public void leftModelIsEmptyNotEquals()
                                       throws Exception
        Throws:
        Exception
      • rightModelIsEmptyNotEquals

        public void rightModelIsEmptyNotEquals()
                                        throws Exception
        Throws:
        Exception
      • bothModelsAreEmptyNotEquals

        public void bothModelsAreEmptyNotEquals()
                                         throws Exception
        Throws:
        Exception
      • inlineHutnModelsCanBeCompared

        public void inlineHutnModelsCanBeCompared()
                                           throws Exception
        Throws:
        Exception