http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html#DevGuideJUnitCreation

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!
Bob

public 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/RWViSEtfTDI3S2NK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to