use constant for idea marker class

This commit is contained in:
Dennis Ushakov
2011-09-08 15:02:56 +04:00
parent 50df0f10cf
commit 17c2becb9e
2 changed files with 2 additions and 1 deletions
@@ -635,7 +635,7 @@ public abstract class PlatformTestCase extends UsefulTestCase implements DataPro
}
public static void initPlatformLangPrefix() {
initPlatformPrefix("com.intellij.openapi.components.impl.stores.IdeaProjectStoreImpl", "PlatformLangXml");
initPlatformPrefix(IDEA_MARKER_CLASS, "PlatformLangXml");
}
protected static void initPlatformPrefix(String classToTest, String prefix) {
@@ -64,6 +64,7 @@ public abstract class UsefulTestCase extends TestCase {
private static final String DEFAULT_SETTINGS_EXTERNALIZED;
private static final Random PRNG = new SecureRandom();
private static final String ORIGINAL_TEMP_DIR = FileUtil.getTempDirectory();
public static final String IDEA_MARKER_CLASS = "com.intellij.openapi.components.impl.stores.IdeaProjectStoreImpl";
protected final Disposable myTestRootDisposable = Disposer.newDisposable();
private CodeStyleSettings myOldCodeStyleSettings;