We've made a change in the next build that also accepts suite() methods returning TestSuite.
Best regards, Anton Katilin ------------------------------------- IntelliJ Software, "Develop with pleasure!" http://www.intellij.com ----- Original Message ----- From: "Alain Ravet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 11:08 AM Subject: Re: [Eap-list] 602 (possibly others): Built In JUnit Bug > Thanks. > > It works fine with > public static Test suite() > > Alain > > > > > ----- Original Message ----- > From: Anton Katilin > >> I think I've found what the problem is. IDEA accepts classes with "public > static Test suite()" methods, but not "public static TestSuite suite()". > Please check if this works if you change return type from TestSuite to Test. > > > ----- Original Message ----- > From: Alain Ravet > > Anton, > > > Does it implement static suite() method? > > It doesn't help. > I have the same "problem" with the following code : > > > public class AllTests extends TestSuite > > { > > // --------------------------------------------------- suite () > public static TestSuite suite () > // ------------------------------------------------------------ > { > final TestSuite suite = new TestSuite(); > > suite.addTestSuite ( Test1.class) ; > suite.addTestSuite ( Test2.class) ; > > > return suite ; > } > } > I won't work without a main() method in the class. > > Alain Ravet > > > > ----- Original Message ----- > From: "Anton Katilin" <[EMAIL PROTECTED]> > > > > Hello Donald! > > > > Does it implement static suite() method? > > > > Best regards, > > Anton Katilin > > > > ----- Original Message ----- > > From: "Donald F. McLean" <[EMAIL PROTECTED]> > > > > > I have a TestSuite object and when I have it up in the editor the "test" > > > command doesn't show up on the menu as it does for TestCase objects. > > > > > > Donald > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
