TestObjectStore? So this is to avoid the fact that every test has a new
setUp run before it?
Why didn't we do it the same as we did with AdvDataSourceTest?
public static Test suite()
throws Exception {
TestSuite suite = new TestSuite(AdvDataSourceTest.class);
TestSetup wrapper = new TestSetup(suite) {
protected void setUp() throws Exception {
oneTimeSetup();
}
protected void tearDown() throws Exception {
oneTimeTeardown();
}
};
return wrapper;
}
That allows you to avoid Junit's default call of setUp() and tearDown()
after each testXXX run.
jesus
Sent to you by jmrodri via Google Reader: more kickstart unit test
fixes via Fedora Hosted Git Repositories - spacewalk.git/rss log by
Justin Sherrill <[email protected]> on 3/4/09 more kickstart unit
test fixes
- [DH]
java/code/src/com/redhat/rhn/domain/kickstart/KickstartRawData.java
- [DH]
java/code/src/com/redhat/rhn/domain/kickstart/test/KickstartDataTest.java
- [DH]
java/code/src/com/redhat/rhn/domain/kickstart/test/KickstartRawDataTest.java
- [DH]
java/code/src/com/redhat/rhn/manager/kickstart/cobbler/CobblerProfileCreateCommand.java
- [DH] java/code/src/org/cobbler/test/MockConnection.java
Things you can do from here:
- Subscribe to Fedora Hosted Git Repositories - spacewalk.git/rss log
using Google Reader
- Get started using Google Reader to easily keep up with all your
favorite sites
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel