mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
sm: rename registry.properties to avoid confusion with old IDEs versions
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user