org.jupe.uml2model
Class UML2ModelRootTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jupe.unittest.AbstractProjectTestCase
              extended by org.jupe.uml2model.UML2ModelRootTest
All Implemented Interfaces:
junit.framework.Test

public class UML2ModelRootTest
extends AbstractProjectTestCase


Constructor Summary
UML2ModelRootTest()
           
 
Method Summary
 void setUp()
           
 void testCompleteInUML2()
           
 void testFindClass()
           
 void testFindUnresolvedType()
           
 void testHiddenPackage()
           
 void testResolveType()
           
 void testResolveTypeInAttribute()
          Tests resolveType() in the case where the type is used for an attribute.
 void testResolveTypeInMethodParameter()
          Tests resolveType() in the case where the type is in the parameter list of a method.
 void testResolveTypeInObject()
          Tests resolveType() in the case where the type is used in an object.
 void testResolveTypeInSlot()
          Tests resolveType() for the case where the type is used in a slot (inside an object).
 void testSearchInPrimitiveTypes()
           
 void testSearchInUnresolvedTypes()
           
 
Methods inherited from class org.jupe.unittest.AbstractProjectTestCase
tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UML2ModelRootTest

public UML2ModelRootTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class AbstractProjectTestCase
Throws:
java.lang.Exception

testHiddenPackage

public void testHiddenPackage()

testFindClass

public void testFindClass()

testFindUnresolvedType

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

testSearchInPrimitiveTypes

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

testSearchInUnresolvedTypes

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

testResolveType

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

testResolveTypeInMethodParameter

public void testResolveTypeInMethodParameter()
Tests resolveType() in the case where the type is in the parameter list of a method.


testResolveTypeInAttribute

public void testResolveTypeInAttribute()
Tests resolveType() in the case where the type is used for an attribute.


testResolveTypeInObject

public void testResolveTypeInObject()
Tests resolveType() in the case where the type is used in an object.


testResolveTypeInSlot

public void testResolveTypeInSlot()
Tests resolveType() for the case where the type is used in a slot (inside an object).


testCompleteInUML2

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