org.picocontainer.defaults
Class ComponentAdapterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.defaults.ComponentAdapterTestCase
All Implemented Interfaces:
junit.framework.Test

public class ComponentAdapterTestCase
extends junit.framework.TestCase

Test AbstractComponentAdapter behaviour

Author:
Jörg Schaible

Nested Class Summary
private static class ComponentAdapterTestCase.TestComponentAdapter
           
private static class ComponentAdapterTestCase.TestInstantiatingComponentAdapter
           
private static class ComponentAdapterTestCase.TestMonitoringComponentAdapter
           
 
Constructor Summary
ComponentAdapterTestCase()
           
 
Method Summary
 void testComponentImplementationMayNotBeNull()
           
 void testComponentKeyCanBeNullButNotRequested()
           
 void testComponentMonitorMayNotBeNull()
           
 void testParameterMayNotBeNull()
           
 void testStringRepresentation()
           
 
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

ComponentAdapterTestCase

public ComponentAdapterTestCase()
Method Detail

testComponentImplementationMayNotBeNull

public void testComponentImplementationMayNotBeNull()

testComponentKeyCanBeNullButNotRequested

public void testComponentKeyCanBeNullButNotRequested()

testComponentMonitorMayNotBeNull

public void testComponentMonitorMayNotBeNull()

testParameterMayNotBeNull

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

testStringRepresentation

public void testStringRepresentation()