Getting error when working with jWebUnit
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anil_Sharma
Posted On:   Friday, October 7, 2005 01:48 PM

Anil Sharma java.lang.NoSuchMethodError: junit.framework.Assert.assertEquals(Ljava/lang/String;Ljava/lang/String;)V at net.sourceforge.jwebunit.WebTester.assertTitleEquals(WebTester.java:91) at net.sourceforge.jwebunit.WebTestCase.assertTitleEquals(WebTestCase.java:56) at com.amo.servlet.ecommerce.order.jWebUnitTest.SearchByNavigation.testBynavigation(SearchByNavigation.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:166) at j   More>>

Anil Sharma


java.lang.NoSuchMethodError: junit.framework.Assert.assertEquals(Ljava/lang/String;Ljava/lang/String;)V
at net.sourceforge.jwebunit.WebTester.assertTitleEquals(WebTester.java:91)
at net.sourceforge.jwebunit.WebTestCase.assertTitleEquals(WebTestCase.java:56)
at com.amo.servlet.ecommerce.order.jWebUnitTest.SearchByNavigation.testBynavigation(SearchByNavigation.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)




Do i need to import anything other than net.sourceforge.jwebunit.webtestcase;


Thank You in advance!

   <<Less
About | Sitemap | Contact