Hello!
 
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.
 
Best regards,
Anton Katilin
-------------------------------------
IntelliJ Software, "Develop with pleasure!"
http://www.intellij.com
 
 
----- Original Message -----
Sent: Tuesday, February 12, 2002 11:01 AM
Subject: Re: [Eap-list] 602 (possibly others): Built In JUnit Bug

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

Reply via email to