org.codehaus.wadi.aop.tracker.basic
Class BasicInstanceRegistryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.wadi.aop.tracker.basic.BasicInstanceRegistryTest
All Implemented Interfaces:
junit.framework.Test

public class BasicInstanceRegistryTest
extends junit.framework.TestCase

Version:
$Revision: 1538 $

Constructor Summary
BasicInstanceRegistryTest()
           
 
Method Summary
protected  void setUp()
           
 void testDoubleRegistryOfSameInstanceIdThrowsException()
           
 void testGetUndefinedInstanceIdThrowsException()
           
 void testInstanceRegistry()
           
 void testUnregistrationOfUndefinedIdThrowsException()
           
 void testWeakReference()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicInstanceRegistryTest

public BasicInstanceRegistryTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testWeakReference

public void testWeakReference()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testInstanceRegistry

public void testInstanceRegistry()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testDoubleRegistryOfSameInstanceIdThrowsException

public void testDoubleRegistryOfSameInstanceIdThrowsException()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetUndefinedInstanceIdThrowsException

public void testGetUndefinedInstanceIdThrowsException()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testUnregistrationOfUndefinedIdThrowsException

public void testUnregistrationOfUndefinedIdThrowsException()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.