org.eclipse.modisco.infra.facet.tests
Class FacetTests

java.lang.Object
  extended by org.eclipse.modisco.infra.facet.tests.FacetTests

public class FacetTests
extends java.lang.Object

Author:
Gregoire DUPE

Field Summary
static java.lang.String FILE_EXT
           
static java.lang.String QUERY_EXT
           
 
Constructor Summary
FacetTests()
           
 
Method Summary
 void bug301692()
           
 void bug304798()
           
 void bug305688()
           
 void bug307715()
           
 void bug307715v2()
          Detects the problem only when it is launch in a clean workspace and without any other tests before.
 void bug308614()
           
 void bug308947()
           
 void bug309657()
           
 void bug309990()
          Check that when we change the nsURI of an Ecore file the old nsURI is removed from the EPackage.Registry.
 void bug310279_3()
          Bug 310279 - Only 1 listener works per referenced resource
 void bug310279()
          Bug 310279 - Only 1 listener works per referenced resource
 void bug311684()
          Bug 311684 - dependencies not revalidated when replacing a workspace query by a registered one
 void compo()
           
 void emptyExtendedPackages()
           
 void emptyNsPrefix()
           
 void emptyNsURI()
           
 void test001()
           
 void test002()
           
 void test003()
          To check if the references to the a meta-model are updated when the corresponding ecore file is reloaded
 void wrongAttrChangeable()
           
 void wrongAttrDerived()
           
 void wrongAttrUnsettable()
           
 void wrongAttrVolatile()
           
 void wrongIsAbstract()
           
 void wrongName()
           
 void wrongNbOfSuperType()
           
 void wrongRefChangeable()
           
 void wrongRefContainment()
           
 void wrongRefDerived()
           
 void wrongRefUnsettable()
           
 void wrongRefVolatile()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_EXT

public static final java.lang.String FILE_EXT
See Also:
Constant Field Values

QUERY_EXT

public static final java.lang.String QUERY_EXT
See Also:
Constant Field Values
Constructor Detail

FacetTests

public FacetTests()
Method Detail

test001

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

test002

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

test003

public void test003()
             throws java.lang.Exception
To check if the references to the a meta-model are updated when the corresponding ecore file is reloaded

Throws:
CoreException
java.io.IOException
java.lang.InterruptedException
java.lang.Exception

wrongName

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

wrongIsAbstract

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

wrongAttrChangeable

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

wrongAttrDerived

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

wrongAttrVolatile

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

wrongAttrUnsettable

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

wrongRefChangeable

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

wrongRefDerived

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

wrongRefVolatile

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

wrongRefContainment

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

wrongRefUnsettable

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

wrongNbOfSuperType

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

emptyNsURI

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

emptyNsPrefix

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

emptyExtendedPackages

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

compo

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

bug301692

public void bug301692()

bug305688

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

bug307715

public void bug307715()
               throws CoreException,
                      java.io.IOException
Throws:
CoreException
java.io.IOException

bug307715v2

public void bug307715v2()
                 throws CoreException,
                        java.io.IOException,
                        java.lang.InterruptedException
Detects the problem only when it is launch in a clean workspace and without any other tests before.

Throws:
CoreException
java.io.IOException
java.lang.InterruptedException

bug304798

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

bug308614

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

bug308947

public void bug308947()
               throws CoreException,
                      java.io.IOException,
                      java.lang.InterruptedException
Throws:
CoreException
java.io.IOException
java.lang.InterruptedException

bug309657

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

bug309990

public void bug309990()
               throws java.lang.Exception
Check that when we change the nsURI of an Ecore file the old nsURI is removed from the EPackage.Registry. Check that when we remove an ecore file the corresponding EPackage is removed from the EPackage.Registry

Throws:
java.lang.Exception

bug310279

public void bug310279()
               throws java.lang.Exception
Bug 310279 - Only 1 listener works per referenced resource

Throws:
java.lang.Exception

bug310279_3

public void bug310279_3()
                 throws java.lang.Exception
Bug 310279 - Only 1 listener works per referenced resource

Throws:
java.lang.Exception

bug311684

public void bug311684()
               throws java.lang.Exception
Bug 311684 - dependencies not revalidated when replacing a workspace query by a registered one

Throws:
java.lang.Exception