I'm having trouble getting a basic GWTTestCase running with a simple GWT-RPC. Here is what it looks like. What am I doing wrong.
Note that when the test is run the callbacks onFailure() is called with a 404 error detail. public class Test2 extends GWTTestCase { @Override public String getModuleName() { return "com.test.app.MyApp"; } public void testTwo() { System.out.println( "Test2 starting." ); MyServiceAsync srv = GWT.create( MyService.class ); DoitCallback doitCallback = new DoitCallback(); srv.doit( doitCallback ); delayTestFinish( 10000 ); System.out.println( "Test2 ending." ); } /** * */ private class DoitCountCallback extends AsyncCallback<String> { public void onFailure( Throwable caught ) { assert false; caught.printStackTrace(); } public void onSuccess( String results ) { System.out.println( results ); finishTest(); } } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d5bw02eeynAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.