Problem in junit
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pedro_sacosta
Posted On:   Sunday, November 6, 2005 02:34 PM

When i try to run Alltests example of junit, i get this: $> java junit.textui.TestRunner junit.samples.AllTests ......................................... ......................................... .......E. Time: 0.724 There was 1 error: 1) testClassLoading(junit.tests.TestCaseClassLoaderTest) java.lang.ClassNotFoundException at junit.runner.TestCaseClassLoader.lookupClassData(java.lang.String) (Unknown Source) at junit.runner.TestCaseClassLoader.loadClass(java.lang.String, boolean) (Unknown Source) at junit.tests.TestCaseClassLoaderTest.testClassLoading()    More>>


When i try to run Alltests example of junit, i get this:


$> java junit.textui.TestRunner junit.samples.AllTests


.........................................


.........................................


.......E.

Time: 0.724

There was 1 error:


1) testClassLoading(junit.tests.TestCaseClassLoaderTest)

java.lang.ClassNotFoundException at

junit.runner.TestCaseClassLoader.lookupClassData(java.lang.String)

(Unknown Source) at

junit.runner.TestCaseClassLoader.loadClass(java.lang.String,

boolean) (Unknown Source) at

junit.tests.TestCaseClassLoaderTest.testClassLoading()

(Unknown Source) at gnu.java.lang.MainThread.call_main()

(/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run()

(/usr/lib/libgcj.so.6.0.0)



FAILURES!!!

Tests run: 90, Failures: 0, Errors: 1



It wasn't suppose to get it right? I don't understand what is going on. Can anybody help me?

Thanks

Pedro

   <<Less
About | Sitemap | Contact