[picocontainer-scm] [jira] (PICO-393) AbstractDelegatingMutablePicoContainer addComponent() unwraps the delegate picoContainer.
"Michael Rimov (JIRA)" <jira-yCVjj/[email protected]> Thu, 20 Dec 2012 16:40:13 -0600 (CST)
| Newsgroups | gmane.comp.java.picocontainer.cvs |
|---|---|
| Message-ID | <1156484026.24607.1356043213358.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Michael Rimov
created PICO-393
AbstractDelegatingMutablePicoContainer addComponent() unwraps the delegate picoContainer.
Issue Type:
Bug
Affects Versions:
3.0
Assignee:
Michael Rimov
Components:
PicoContainer (Java)
Created:
20/Dec/12 4:38 PM
Description:
@Test
public void testAddComponentReturnsOutermostContainer() {
MutablePicoContainer outer = createPicoContainer(null);
MutablePicoContainer resultOfAddComponents = outer.addComponent(A.class)
.addComponent(B.class);
assertTrue(resultOfAddComponents == outer);
}
Working on a fix, but current fix breaks some other tests. In process of investigating.
Fix Versions:
3.0
Project:
PicoContainer
Priority:
Major
Reporter:
Michael Rimov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators .
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email