Reviewers: jgw, Description: Currently, webAppCreator creates a default TestCase that has a single, trivial testSimple method that calls assertTrue(true). This is a problem because: 1. It doesn't test anything in src/ (we almost didn't catch an error in webAppCreator because of this) 2. It doesn't really explain to users how they would test there code. 3. It doesn't illustrator delayTestFinish(), which is an essential part of GWT tests.
Fix: ==== This patch replaces the trivial test with two non-trivial tests. First, we now have a "shared/" folder with a FieldVerifier to illustrate how a user would share code between the client and the server. One of the test cases tests the FieldVerifier. The other test is an asynchronous test that verifies the response from the server. It shows, in a concise way, how to use asynchronous tests and how to send RPC requests from a test case. Testing: ========= Manually verified that the new app compiles and runs. Also verified that the tests run in dev/prod mode from build file, eclipse targets, and plugin for eclipse. Please review this at http://gwt-code-reviews.appspot.com/121801 Affected files: user/src/com/google/gwt/user/tools/AppClassTemplate.javasrc user/src/com/google/gwt/user/tools/AppHtml.htmlsrc user/src/com/google/gwt/user/tools/JUnit.gwt.xmlsrc user/src/com/google/gwt/user/tools/JUnitClassTemplate.javasrc user/src/com/google/gwt/user/tools/Module.gwt.xmlsrc user/src/com/google/gwt/user/tools/RpcAsyncClientTemplate.javasrc user/src/com/google/gwt/user/tools/RpcClientTemplate.javasrc user/src/com/google/gwt/user/tools/RpcServerTemplate.javasrc user/src/com/google/gwt/user/tools/SharedClassTemplate.javasrc user/src/com/google/gwt/user/tools/WebAppCreator.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
