/**
* GWT-unfriendly, forcing us to use a translatable class.
*/
@Override
public Strategy getStrategy() {
final Strategy impl = super.getStrategy();
return new Strategy() {
@Override
public String getSyntheticModuleExtension() {
return impl.getSyntheticModuleExtension();
}
@Override
public void processModule(ModuleDef module) {
impl.processModule(module);
try {
JUnitBridge.compileForWebMode(module);
} catch (UnableToCompleteException e) {
throw new RuntimeException("Failed to manually compile test module",
e);