com.google.gwt.junit.rebind
Class JUnitTestCaseStubGenerator

java.lang.Object
  extended by Generator
      extended by com.google.gwt.junit.rebind.JUnitTestCaseStubGenerator
Direct Known Subclasses:
BenchmarkGenerator

public class JUnitTestCaseStubGenerator
extends Generator

This class generates a stub class for classes that derive from GWTTestCase. This stub class provides the necessary bridge between our Hosted or Hybrid mode classes and the JUnit system.


Constructor Summary
JUnitTestCaseStubGenerator()
           
 
Method Summary
 java.lang.String generate(TreeLogger logger, GeneratorContext context, java.lang.String typeName)
          Create a new type that satisfies the rebind request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestCaseStubGenerator

public JUnitTestCaseStubGenerator()
Method Detail

generate

public java.lang.String generate(TreeLogger logger,
                                 GeneratorContext context,
                                 java.lang.String typeName)
                          throws UnableToCompleteException
Create a new type that satisfies the rebind request.

Throws:
UnableToCompleteException