org.picocontainer.defaults
Class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase

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

public class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase
extends junit.framework.TestCase


Nested Class Summary
(package private) static interface NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase.Animal
           
static class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase.Dino
           
static class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase.Dino2
           
static class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase.Dino3
           
static class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase.Dino4
           
 
Constructor Summary
NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase()
           
 
Method Summary
 void testComponentRegistrationMismatch()
           
 void testDuplicateRegistrationWithTypeAndObject()
           
 void testGetComponentSpecification()
           
 void testMultipleImplementationsAccessedThroughKey()
           
 void testMultipleParametersCanBePassed()
           
 void testParameterCanBePassedToConstructor()
           
 void testParameterCanBePrimitive()
           
 void testParametersCanBeMixedWithComponentsCanBePassed()
           
 void testRegistrationByName()
           
 void testRegistrationByNameAndClassWithResolving()
           
 
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

NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase

public NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase()
Method Detail

testGetComponentSpecification

public void testGetComponentSpecification()
                                   throws org.picocontainer.PicoRegistrationException,
                                          org.picocontainer.defaults.DuplicateComponentKeyRegistrationException,
                                          org.picocontainer.defaults.AssignabilityRegistrationException,
                                          org.picocontainer.defaults.AmbiguousComponentResolutionException,
                                          org.picocontainer.PicoIntrospectionException
Throws:
org.picocontainer.PicoRegistrationException
org.picocontainer.defaults.DuplicateComponentKeyRegistrationException
org.picocontainer.defaults.AssignabilityRegistrationException
org.picocontainer.defaults.AmbiguousComponentResolutionException
org.picocontainer.PicoIntrospectionException

testMultipleImplementationsAccessedThroughKey

public void testMultipleImplementationsAccessedThroughKey()
                                                   throws org.picocontainer.PicoInitializationException,
                                                          org.picocontainer.PicoRegistrationException,
                                                          org.picocontainer.defaults.PicoInvocationTargetInitializationException
Throws:
org.picocontainer.PicoInitializationException
org.picocontainer.PicoRegistrationException
org.picocontainer.defaults.PicoInvocationTargetInitializationException

testRegistrationByName

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

testRegistrationByNameAndClassWithResolving

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

testDuplicateRegistrationWithTypeAndObject

public void testDuplicateRegistrationWithTypeAndObject()
                                                throws org.picocontainer.PicoRegistrationException,
                                                       org.picocontainer.PicoIntrospectionException
Throws:
org.picocontainer.PicoRegistrationException
org.picocontainer.PicoIntrospectionException

testComponentRegistrationMismatch

public void testComponentRegistrationMismatch()
                                       throws org.picocontainer.PicoRegistrationException,
                                              org.picocontainer.PicoIntrospectionException
Throws:
org.picocontainer.PicoRegistrationException
org.picocontainer.PicoIntrospectionException

testParameterCanBePassedToConstructor

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

testParameterCanBePrimitive

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

testMultipleParametersCanBePassed

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

testParametersCanBeMixedWithComponentsCanBePassed

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