de.tuberlin.cs.cis.ocl.example.eval.test
Class TestExampleInstanceDesc

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.tuberlin.cs.cis.ocl.example.eval.test.TestExampleInstanceDesc
All Implemented Interfaces:
junit.framework.Test

public class TestExampleInstanceDesc
extends junit.framework.TestCase

Testcase testing the class ExampleInstanceDesc.

Author:
fchabar

Constructor Summary
TestExampleInstanceDesc(java.lang.String arg0)
          Constructor for TestExampleInstanceDescriptor.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testAttribute()
          Tests the reflection of attributes
 void testInvokeOperation()
          Tests the invocation of operations.
 void testNavigateAssociation()
          Test the navigation of associations.
 
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

TestExampleInstanceDesc

public TestExampleInstanceDesc(java.lang.String arg0)
Constructor for TestExampleInstanceDescriptor.

Parameters:
arg0 -
Method Detail

main

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

Parameters:
args - no arguments required.

testAttribute

public void testAttribute()
                   throws java.lang.Exception
Tests the reflection of attributes

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

testNavigateAssociation

public void testNavigateAssociation()
                             throws java.lang.Exception
Test the navigation of associations.

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

testInvokeOperation

public void testInvokeOperation()
                         throws java.lang.Exception
Tests the invocation of operations.

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