com.google.gwt.junit
Class PropertyDefiningStrategy

java.lang.Object
  extended by com.google.gwt.junit.client.GWTTestCase.BaseStrategy
      extended by com.google.gwt.junit.PropertyDefiningStrategy
All Implemented Interfaces:
JUnitShell.Strategy
Direct Known Subclasses:
Benchmark.BenchmarkStrategy

public class PropertyDefiningStrategy
extends GWTTestCase.BaseStrategy

A JUnitShell.Strategy that will alter the module the tests are run in by defining module properties as requested by annotations on the tests.


Constructor Summary
PropertyDefiningStrategy(TestCase testCase)
           
 
Method Summary
 java.lang.String getSyntheticModuleExtension()
           
 void processModule(ModuleDef module)
           
 
Methods inherited from class com.google.gwt.junit.client.GWTTestCase.BaseStrategy
getModuleInherit, processResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDefiningStrategy

public PropertyDefiningStrategy(TestCase testCase)
Method Detail

getSyntheticModuleExtension

public java.lang.String getSyntheticModuleExtension()
Specified by:
getSyntheticModuleExtension in interface JUnitShell.Strategy
Overrides:
getSyntheticModuleExtension in class GWTTestCase.BaseStrategy

processModule

public void processModule(ModuleDef module)
Specified by:
processModule in interface JUnitShell.Strategy
Overrides:
processModule in class GWTTestCase.BaseStrategy