Community
Participate
Working Groups
Running R2.0 on Windows 2000, JDK 1.3.1. I've just started playing around with Eclipse's JUnit support, and after creating a couple of tests I created a test suite. The essential bit of the code that was generated was: public static Test suite() { TestSuite suite = new TestSuite("Test for com.peramon.test"); //$JUnit-BEGIN$ suite.addTest(new TestSuite(TelephoneNumberFormatterTest.class)); suite.addTest(new TestSuite(StringUtilTest.class)); //$JUnit-END$ return suite; } The method declaration should have TestSuite, not Test, as the return type. I believe the error is in NewTestSuiteCreationWizardPage.getSuiteMethodString(). Jon
A TestSuite is a Test and returning Test is correct