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

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

public class TestMofEvaluation
extends junit.framework.TestCase

Tests the MOF Bridge by building an interpreter for the UML metamodel.

Author:
fchabar

Constructor Summary
TestMofEvaluation(java.lang.String arg0)
          Constructor for TestMofEvaluation.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testUml()
          Interpretes the correct files included in "test_files/eval/mof/test.ocl" 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

TestMofEvaluation

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testUml

public void testUml()
             throws java.lang.Exception
Interpretes the correct files included in "test_files/eval/mof/test.ocl" in the context of the UML 1.4 metamodel. The evaluation results are printed to standard out.

Throws:
java.lang.Exception - if an exception occurs during the interpretation.