de.tuberlin.cs.cis.ocl.model.mofbridge.test
Class TestMofReflector

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

public class TestMofReflector
extends junit.framework.TestCase

Test the class MofReflector

Author:
fchabar

Constructor Summary
TestMofReflector(java.lang.String arg0)
          Constructor for TestMofReflector.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testAllInstances()
          Tests the reflection of all instances of a classifier in the context of the UML 1.3 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

TestMofReflector

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testAllInstances

public void testAllInstances()
                      throws java.lang.Exception
Tests the reflection of all instances of a classifier in the context of the UML 1.3 metamodel.

Throws:
java.lang.Exception - if an exception occurs.