org.picocontainer.defaults
Class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase

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

public class NoneOfTheseTestsAffectCoverageMeaningTheyCouldGoTestCase
extends junit.framework.TestCase


Nested Class Summary
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 Exception
Throws:
Exception

testRegistrationByNameAndClassWithResolving

public void testRegistrationByNameAndClassWithResolving()
                                                 throws Exception
Throws:
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 Exception
Throws:
Exception

testParameterCanBePrimitive

public void testParameterCanBePrimitive()
                                 throws Exception
Throws:
Exception

testMultipleParametersCanBePassed

public void testMultipleParametersCanBePassed()
                                       throws Exception
Throws:
Exception

testParametersCanBeMixedWithComponentsCanBePassed

public void testParametersCanBeMixedWithComponentsCanBePassed()
                                                       throws Exception
Throws:
Exception


Copyright © 2003-2007 Codehaus. All Rights Reserved.