RE: [picocontainer-dev] assymetry in resolution ( by key / by type )

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
--- Jörg Schaible <[email protected]>
wrote:

> Paul Hammant wrote:
> > Konstantin,
> > 
> > Can you write some testcases for trunk that
> illustrate the curious
> > feature ? 
> > 
> > If there's implied kinks to iron out, we can
> discuss them around one
> > more more test methods :-) 
> 
> The test cases are already available. Simply try to
> change the behaviour und you'll see which ones fail
> ;-)


Did a quck check:
----------------%<---------------
Results :

Failed tests: 
 
testShouldCreateBowlWith2CodsOnly(org.picocontainer.doc.advanced.MapsTestCase)

Tests in error: 
 
testWillRemoveComponentsWithMatchingKeyFromParent(org.picocontainer.defaults.CollectionComponentParameterTestCase)
 
testAsParentContainer(org.picocontainer.containers.CommandLineArgumentsPicoContainerTestCase)
 
testUnsatisfiableIfNoSuitableTyesForInjection(org.picocontainer.containers.CommandLineArgumentsPicoContainerTestCase)
 
testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild(org.picocontainer.defaults.ChildContainerTestCase)

Tests run: 608, Failures: 1, Errors: 4, Skipped: 0
---------------%<--------------

It seems that nothing global happens here. 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.