sm: rename registry.properties to avoid confusion with old IDEs versions

This commit is contained in:
Anna Kozlova
2015-05-26 18:25:51 +02:00
parent 8cdbea9abe
commit bf3f573ce5
4 changed files with 5 additions and 5 deletions
@@ -160,7 +160,7 @@ public abstract class JavaTestFrameworkRunnableState<T extends ModuleBasedConfig
}
protected boolean isSmRunnerUsed() {
return Registry.is(getFrameworkId() + "_sm_runner");
return Registry.is(getFrameworkId() + "_sm");
}
@Override
@@ -362,8 +362,8 @@ ui.no.bangs.and.whistles=false
comment.by.line.bulk.lines.trigger=100
junit_sm_runner=true
testng_sm_runner=true
junit_sm=true
testng_sm=true
show.flex.debug.design.view=false
diff.patience.alg=false
@@ -72,7 +72,7 @@ public class JUnitClasspathTest extends JavaCodeInsightFixtureTestCase {
//ensure fork when whole project is used
persistentData.setScope(TestSearchScope.WHOLE_PROJECT);
final RegistryValue smRunnerProperty = Registry.get("junit_sm_runner");
final RegistryValue smRunnerProperty = Registry.get("junit_sm");
final boolean oldValue = smRunnerProperty.asBoolean();
try {
//check old format
@@ -99,7 +99,7 @@ public class SearchingForTestsTask extends SearchForTestsTask {
@Override
protected void startListening() {
if (!Registry.is("testng_sm_runner")) myClient.startListening(myConfig);
if (!Registry.is("testng_sm")) myClient.startListening(myConfig);
}
protected void logCantRunException(ExecutionException e) {