This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
For the above code,While running the testcase from the command prompt I am getting the Following error There was 1 failure: 1) warning(junit.framework.TestSuite$1)junit.framework.AssertionFailedError: Exc eption in constructor: testSearch (java.lang.NullPointerException at net.sourceforge.jwebunit.junit.WebTestCase.setTestingEngineKey(WebTes tCase.java:1766) at GoogleTest.<init>(GoogleTest.java:15) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at GoogleTest.main(GoogleTest.java:37) ) at GoogleTest.main(GoogleTest.java:37)
I'd suggest that you take a look at WebTestCase.java line 1766 and see what might cause a NPE in that line.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus