org.metaabm.act.tests
Class AGroupTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.metaabm.tests.IIDTest
              extended by org.metaabm.act.tests.AActTest
                  extended by org.metaabm.act.tests.AGroupTest
All Implemented Interfaces:
junit.framework.Test

public class AGroupTest
extends AActTest

A test case for the model object 'AGroup'.

Author:
Miles Parker *

The following features are tested:


Field Summary
 
Fields inherited from class org.metaabm.tests.IIDTest
fixture
 
Constructor Summary
AGroupTest(java.lang.String name)
          Constructs a new AGroup test case with the given name.
 
Method Summary
protected  AGroup getFixture()
          Returns the fixture for this AGroup test case.
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testGetRoots()
          Tests the 'Roots' feature getter.
 
Methods inherited from class org.metaabm.act.tests.AActTest
testGetAllSources, testGetAllTargets, testGetReference, testReachable
 
Methods inherited from class org.metaabm.tests.IIDTest
setFixture, testGetLabel
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AGroupTest

public AGroupTest(java.lang.String name)
Constructs a new AGroup test case with the given name.

Method Detail

main

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


getFixture

protected AGroup getFixture()
Returns the fixture for this AGroup test case.

Overrides:
getFixture in class AActTest

setUp

protected void setUp()
              throws java.lang.Exception

Overrides:
setUp in class AActTest
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.tearDown()

testGetRoots

public void testGetRoots()
Tests the 'Roots' feature getter.

See Also:
AGroup.getRoots()