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

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

public class TestMofFacade
extends junit.framework.TestCase

Test the class MofFacade

Author:
fchabar

Constructor Summary
TestMofFacade(java.lang.String arg0)
          Constructor for TestMofFacade.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testGetEnumeration()
          Tests resolution of enumeration types in the context of the MOF Model.
 void testGetModelType()
          Tests resolution of classifiers in the context of the MOF Model.
 
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

TestMofFacade

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testGetModelType

public void testGetModelType()
                      throws java.lang.Exception
Tests resolution of classifiers in the context of the MOF Model.

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

testGetEnumeration

public void testGetEnumeration()
                        throws java.lang.Exception
Tests resolution of enumeration types in the context of the MOF Model.

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