-
Notifications
You must be signed in to change notification settings - Fork 17
Remove usage of WBeanContainer from framework and examples #1733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove usage of WBeanContainer from framework and examples #1733
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change makes sense. Have just requested some Unit Test changes.
@@ -13,7 +13,7 @@ | |||
|
|||
@Test | |||
public void testChildAccessors() { | |||
WBeanContainer container = new WBeanContainer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not really be changed as it is testing WBeanContainer.
Interestingly, there is no WContainer_Test. As this change is playing in this area, it might be worthwhile writing a WContainer_Test as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, makes sense. I reverted the changes in this file back to WBeanContainer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added WContainer_Test.
Reverted WBeanContainer_Test to actually test WBeanContainer. Fixed some duplicate imports. Added a test for WContainer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR addresses the first point of #1732