moduleName, strategy.getModuleInherit()}, true);
// Replace any user entry points with our test runner.
currentModule.clearEntryPoints();
currentModule.addEntryPointTypeName(GWTRunner.class.getName());
// Squirrel away the name of the active module for GWTRunnerGenerator
Property moduleNameProp = currentModule.getProperties().create(
"junit.moduleName");
moduleNameProp.addKnownValue(moduleName);
moduleNameProp.setActiveValue(moduleName);
runStyle.maybeCompileModule(syntheticModuleName);
}
JUnitFatalLaunchException launchException = checkTestClassInCurrentModule(
getTopLogger(), currentModule, moduleName, testCase);