de.tuberlin.cs.cis.ocl.model.mofbridge.util.test
Class TestQualifiedNameResolver

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.tuberlin.cs.cis.ocl.model.mofbridge.util.test.TestQualifiedNameResolver
All Implemented Interfaces:
junit.framework.Test

public class TestQualifiedNameResolver
extends junit.framework.TestCase

Tests the class QualifiedNameResolver.

Author:
fchabar

Constructor Summary
TestQualifiedNameResolver(java.lang.String arg0)
          Constructor for TestQualifiedNameResolver.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testResolveQn()
          Test the resolution of qualified names in the context of the UML metamodel 1.4.
 void testResolveQnWithPrefix()
          Tests the resolution of prefixed qualified names in the context of the UML metamodel 1.4.
 void testResolveUnqualifiedName()
          Test the resolution of unqualified names in the context of the UML 1.4 metamodel.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestQualifiedNameResolver

public TestQualifiedNameResolver(java.lang.String arg0)
Constructor for TestQualifiedNameResolver.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)
Starts the test.

Parameters:
args - no arguments required.

testResolveQnWithPrefix

public void testResolveQnWithPrefix()
Tests the resolution of prefixed qualified names in the context of the UML metamodel 1.4.


testResolveQn

public void testResolveQn()
Test the resolution of qualified names in the context of the UML metamodel 1.4.


testResolveUnqualifiedName

public void testResolveUnqualifiedName()
Test the resolution of unqualified names in the context of the UML 1.4 metamodel.