@RunWith(Suite.class)
@Suite.SuiteClasses({
// adding GWTTestCases to suite
SomeGwtTest01.class,
SomeGwtTest02.class,
})
public class JUnit4GWTTestsSuite {
}
cheers Chris
Am Dienstag, 7. Juni 2011 19:21:19 UTC+2 schrieb Bob:
Section: Combining TestCase classes into a TestSuite.I am new to this!!! I am upgrading the StockWatcher tutorial to junit 4 (that all went fine). I want to add a test suite, like below. I believe below is written for Junit 3, and I would like to see it written for junit 4 (I have tried, but cannot get it to work). I realize below is not part of the stockwatcher tutorial, just trying to add a test suite for learning purposes. Comments on the JUnit 4 code would be helpful too.Thanks!Bobpublic class MapsTestSuite extends GWTTestSuite {public static Test suite() {TestSuite suite = new TestSuite("Test for a Maps Application");suite.addTestSuite(MapTest.class); suite.addTestSuite(EventTest.class); suite.addTestSuite(CopyTest.class); return suite;}}
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment