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

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

public class TestMofInstance
extends junit.framework.TestCase

Test the class MofInstance

Author:
fchabar

Constructor Summary
TestMofInstance(java.lang.String arg0)
          Constructor for TestMofInstance.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testGetPredefinedParent()
          Tests the correctness of UML 1.3 instance descriptions with respect to predefined parents.
 
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

TestMofInstance

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testGetPredefinedParent

public void testGetPredefinedParent()
                             throws java.lang.Exception
Tests the correctness of UML 1.3 instance descriptions with respect to predefined parents.

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