extend your AppTest with TestCase, not TestSuite.  It works for me


package org.example;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest extends TestCase
{
   /**
    * Create the test case
    *
    * @param testName name of the test case
    */
   public AppTest( )
   {
       super();
   }


   /**
    * @return the suite of tests being tested
    */
   public static Test suite()
   {
       return new TestSuite( SampleTest.class );
   }


}



On 10/3/06, Michael Rimov <[EMAIL PROTECTED]> wrote:

> Can you repoduce the problem in a small project? this way you
> can open a JIRA and other ppl can take a crack at it.


I have and was about to start a new one, and then found MSUREFIRE-131,
which
I believe is the same problem, yet this person provided a basic patch, so
we'll see where it goes from there.

I attached my test case just in case it helps.  Thanks for the replies
guys!

                                                       -Mike




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to