org.jboss.test.jmx.compliance.relation
Class RoleInfoTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.test.jmx.compliance.relation.RoleInfoTestCase
All Implemented Interfaces:
junit.framework.Test

public class RoleInfoTestCase
extends junit.framework.TestCase

Role Info tests.

Test it to death.

NOTE: The tests use String literals to ensure the comparisons are not performed on object references.

Author:
Adrian Brock.

Constructor Summary
RoleInfoTestCase(String s)
          Construct the test
 
Method Summary
 void testBasic()
          Basic tests.
 void testCheckDegrees()
          Test the degree checkers.
 void testConstructorCardinality()
          Test constructor cardinality.
 void testCopy()
          Test copy constructor.
 void testErrorHandling()
          Test Error Handling.
 void testSerialization()
          Test serialization.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleInfoTestCase

public RoleInfoTestCase(String s)
Construct the test

Method Detail

testBasic

public void testBasic()
Basic tests.


testErrorHandling

public void testErrorHandling()
Test Error Handling.


testConstructorCardinality

public void testConstructorCardinality()
Test constructor cardinality.


testCheckDegrees

public void testCheckDegrees()
Test the degree checkers.


testCopy

public void testCopy()
Test copy constructor.


testSerialization

public void testSerialization()
Test serialization.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.