I figured it out myself and the partial code fragment is posted below
for any one who is interested:
I had to do this for functional testing of our complicated project at
work.
This is the partial code fragment:
//DocumentViewFunctionalTest is a class that extends GWTTestCase and
//performs the actual testing. Also using library classes
//junit.framework.TestFailure, junit.framework.TestResult, and
//junit.textui.TestRunner;

DocumentViewFunctionalTest dvft = new DocumentViewFunctionalTest();
dvft.setName("testGetViewUI");
TestRunner tr = new TestRunner();
TestResult tres = TestRunner.run(dvft);
boolean testSuccess = tres.wasSuccessful();
System.out.println("Test Result: " + (testSuccess ? "Success" :
"Failure"));


On Jul 28, 9:27 am, Ali <[email protected]> wrote:
> Need help. How can IrunaGWTTestCasefrominsideaJavamainmethod.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to