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

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

public class TestMofClassifierDescriptor
extends junit.framework.TestCase

Tests a MofClassifierDescriptor.

Author:
fchabar

Constructor Summary
TestMofClassifierDescriptor(java.lang.String arg0)
          Constructor for TestMofModelTypeDescriptor.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test
 void testGetAttribute()
          Tests the access to attributes in the context of the MOF Model
 void testNavigateAssociation()
          Tests the navigation of associations 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

TestMofClassifierDescriptor

public TestMofClassifierDescriptor(java.lang.String arg0)
Constructor for TestMofModelTypeDescriptor.

Parameters:
arg0 -
Method Detail

main

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


testNavigateAssociation

public void testNavigateAssociation()
                             throws java.lang.Exception
Tests the navigation of associations in the context of the MOF Model

java.lang.Exception

testGetAttribute

public void testGetAttribute()
                      throws java.lang.Exception
Tests the access to attributes in the context of the MOF Model

java.lang.Exception