Class EUnitModelComparisonTests

  • All Implemented Interfaces:
    org.xml.sax.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​(java.io.File buildFile,
                              java.lang.String targetName)
                       throws org.apache.tools.ant.BuildException,
                              java.io.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.
        java.io.IOException
      • compareEMFWithEMF

        public void compareEMFWithEMF()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • compareEMFWithEMFWithModelReferences

        public void compareEMFWithEMFWithModelReferences()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • compareEMFWithEMFUsingGeneratedModels

        public void compareEMFWithEMFUsingGeneratedModels()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • compareEMFWithEMFCopy

        public void compareEMFWithEMFCopy()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • compareEMFInMemoryModels

        public void compareEMFInMemoryModels()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • leftModelIsEmpty

        public void leftModelIsEmpty()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • rightModelIsEmpty

        public void rightModelIsEmpty()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • umlAgainstItself

        public void umlAgainstItself()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bothModelsAreEmpty

        public void bothModelsAreEmpty()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • leftModelIsEmptyNotEquals

        public void leftModelIsEmptyNotEquals()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • rightModelIsEmptyNotEquals

        public void rightModelIsEmptyNotEquals()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bothModelsAreEmptyNotEquals

        public void bothModelsAreEmptyNotEquals()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • inlineHutnModelsCanBeCompared

        public void inlineHutnModelsCanBeCompared()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception