|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.junit.CompileStrategy
public abstract class CompileStrategy
An interface that specifies how modules should be compiled.
| Constructor Summary | |
|---|---|
CompileStrategy(JUnitShell junitShell)
Construct a CompileStrategy. |
|
| Method Summary | |
|---|---|
void |
maybeAddTestBlockForCurrentTest(GWTTestCase testCase,
BatchingStrategy batchingStrategy)
Maybe add a test block for the currently executed test case. |
void |
maybeCompileAhead()
Let the compile strategy compile another module. |
abstract ModuleDef |
maybeCompileModule(java.lang.String moduleName,
java.lang.String syntheticModuleName,
JUnitShell.Strategy strategy,
BatchingStrategy batchingStrategy,
TreeLogger treeLogger)
Compile a single module using a synthetic module that adds JUnit support. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompileStrategy(JUnitShell junitShell)
junitShell - | Method Detail |
|---|
public void maybeAddTestBlockForCurrentTest(GWTTestCase testCase,
BatchingStrategy batchingStrategy)
testCase - the test case being runbatchingStrategy - the batching strategy
public void maybeCompileAhead()
throws UnableToCompleteException
JUnitShell is waiting for the current test to complete.
UnableToCompleteException - if the compilation fails
public abstract ModuleDef maybeCompileModule(java.lang.String moduleName,
java.lang.String syntheticModuleName,
JUnitShell.Strategy strategy,
BatchingStrategy batchingStrategy,
TreeLogger treeLogger)
throws UnableToCompleteException
moduleName - the module namesyntheticModuleName - the synthetic module namestrategy - the strategybatchingStrategy - the batching strategytreeLogger - the logger
ModuleDef describing the synthetic module
UnableToCompleteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||