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

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

public class TestMofContextChecker
extends junit.framework.TestCase

Tests the MOF Bridge by building a context checker for the MOF Model.

Author:
fchabar

Constructor Summary
TestMofContextChecker(java.lang.String arg0)
          Constructor for TestMofContextChecker.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testCorrectFiles()
          Context checks well-defined constraints included in "/test_files/context_checker/mof" 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

TestMofContextChecker

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

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testCorrectFiles

public void testCorrectFiles()
                      throws java.lang.Exception
Context checks well-defined constraints included in "/test_files/context_checker/mof" in the context of the MOF Model.

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