com.google.gwt.junit.rebind
Class JUnitTestCaseStubGenerator
java.lang.Object
com.google.gwt.core.ext.Generator
com.google.gwt.junit.rebind.JUnitTestCaseStubGenerator
- 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.
JUnitTestCaseStubGenerator
public JUnitTestCaseStubGenerator(String reboundClassName)
generate
public String generate(TreeLogger logger,
GeneratorContext context,
String typeName)
throws UnableToCompleteException
- Create a new type that statisfies the rebind request.
- Specified by:
generate
in class Generator
- Returns:
- the name of a subclass to substitute for the requested class, or
return
null
to cause the requested type itself to be
used
- Throws:
UnableToCompleteException
- if for any reason the generator cannot
provide a substitute class
This javadoc distribution was not produced by Google. The official documentation is here.