de.tuberlin.cs.cis.ocl.model.uml.test
Class TestUmlEvaluator

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

public class TestUmlEvaluator
extends junit.framework.TestCase

Tests the interpretation of UML metamodel constraints.

Author:
fchabar

Constructor Summary
TestUmlEvaluator(java.lang.String arg0)
          Constructor for TestUmlEvaluator.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testSimpleModel()
          Tests the interpretation of metamodel constraints included in "test_files/eval/uml13/test.ocl" 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

TestUmlEvaluator

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testSimpleModel

public void testSimpleModel()
                     throws java.lang.Exception
Tests the interpretation of metamodel constraints included in "test_files/eval/uml13/test.ocl" in the context of the UML 1.3 metamodel. The results are printed to standard out.

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