org.picocontainer.defaults
Class UserQuestionTestCase

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

public class UserQuestionTestCase
extends junit.framework.TestCase

This class can be used to test out various things asked on the mailing list. Or to answer questions.

Version:
$Revision: 1595 $
Author:
Aslak Hellesøy

Nested Class Summary
static interface UserQuestionTestCase.ABC
           
static class UserQuestionTestCase.ABCImpl
           
static interface UserQuestionTestCase.Bar
           
static interface UserQuestionTestCase.Cheese
           
static class UserQuestionTestCase.CheeseComponentAdapter
           
static interface UserQuestionTestCase.DEF
           
static class UserQuestionTestCase.DEFImpl
           
static class UserQuestionTestCase.Disabled
           
static class UserQuestionTestCase.Enabled
           
static interface UserQuestionTestCase.Foo
           
static class UserQuestionTestCase.FooBar
           
static class UserQuestionTestCase.Gouda
           
static interface UserQuestionTestCase.InterfaceX
           
static class UserQuestionTestCase.NeedsBar
           
static class UserQuestionTestCase.NeedsFoo
           
static class UserQuestionTestCase.NeedsInterfaceX
           
static class UserQuestionTestCase.Omelette
           
static class UserQuestionTestCase.Roquefort
           
static class UserQuestionTestCase.Something
           
 
Constructor Summary
UserQuestionTestCase()
           
 
Method Summary
 void testJohnTalOne()
           
 void testMoreWeirdness()
           
 void testOmeletteCanHaveDifferentCheeseWithAFunnyComponentAdapter()
           
 void testSeveralDifferentInstancesCanBeCreatedWithOnePreconfiguredContainer()
           
 void testShouldBeAbleShareSameReferenceForDifferentTypes()
           
 
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

UserQuestionTestCase

public UserQuestionTestCase()
Method Detail

testOmeletteCanHaveDifferentCheeseWithAFunnyComponentAdapter

public void testOmeletteCanHaveDifferentCheeseWithAFunnyComponentAdapter()

testMoreWeirdness

public void testMoreWeirdness()

testJohnTalOne

public void testJohnTalOne()

testShouldBeAbleShareSameReferenceForDifferentTypes

public void testShouldBeAbleShareSameReferenceForDifferentTypes()

testSeveralDifferentInstancesCanBeCreatedWithOnePreconfiguredContainer

public void testSeveralDifferentInstancesCanBeCreatedWithOnePreconfiguredContainer()