Hello Randy, In the classpath you've sent there are two junit.jar 'c:\jdk1.3.1\jre\lib\ext\junit.jar' and 'C:\junit3.7\junit.jar'. Please make sure that the first one is from the proper version of JUnit. If it doesn't help, could you please send me the full output from Run console for the latest build and your .ipr file?
Best regards, Anton Katilin ----------------------------------------------------------- IntelliJ Software, "Develop with pleasure" http://www.intellij.com/ ----------------------------------------------------------- ----- Original Message ----- From: "Randy Hanford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 4:22 AM Subject: Re: [Eap-list] JUnit in Text mode > Current one is 523 but failed on 522/521/520 as well. > I just updated to 524 and still get the same error. > > Thanks, Randy > > >Hello Randy, > > > >Which build of IDEA did you use? > > > >Best regards, > >Anton Katilin > >------------------------------------------------------>----- > >IntelliJ Software, "Develop with pleasure" >http://www.intellij.com/ > >------------------------------------------------------>----- > > > > > >----- Original Message ----- > >From: "Randy Hanford" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Thursday, November 29, 2001 3:48 AM > >Subject: [Eap-list] JUnit in Text mode > > > > > > > > I cannot get it to run in text mode. The following > is > > a sample pgm. When I use the Run or Test option with > > text mode set on this class it gets class not found. > > > > > > C:\jdk1.3.1\bin\javaw.exe -classpath > c:\jdk1.3.1\jre\lib\rt.jar;c:\jdk1.3.1\jre\lib\ext\junit.jar;C:\Temp\TestJUn > it\classes;C:\junit3.7\junit.jar > > TestJUnit > > Class not found "TestJUnit" > > Process terminated with exit code -1 > > > > If I change the text to gui mode it runs. In addition, > > if I change the guimode to true in main. It runs in > > GUI. > > > > import junit.framework.TestCase; > > > > public class TestJUnit extends TestCase { > > public TestJUnit(String name) { > > super(name); > > } > > public void testArrayToString() { > > System.out.println("Entering/Exiting tearDown > method"); > > } > > public static void main(String[] args) { > > String[] testCaseName = {TestJUnit.class.getName()}; > > boolean guiMode = false; > > if (guiMode) { > > junit.swingui.TestRunner.main(testCaseName); > > } else { > > junit.textui.TestRunner.main(testCaseName); > > } > > } > > } > > > > > > Thanks, Randy > > > ____________________________________________________________________ > Get a Sprint PCS Wireless Web Mail account! Sign up via the Wireless > Web Browser on your Sprint PCS Phone, or at www.sprintpcs.com > > > _______________________________________________ > 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
