mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed unnecessary 'initPlatformPrefix' calls
This commit is contained in:
@@ -67,10 +67,6 @@ public class AddAnnotationFixTest extends UsefulTestCase {
|
||||
private boolean myUnexpectedEventWasProduced = false;
|
||||
private MessageBusConnection myBusConnection = null;
|
||||
|
||||
public AddAnnotationFixTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -39,11 +39,6 @@ public abstract class ClsGenericsHighlightingTest extends UsefulTestCase {
|
||||
private CodeInsightTestFixture myFixture;
|
||||
private Module myModule;
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public ClsGenericsHighlightingTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -36,11 +36,6 @@ public class MultipleJdksHighlightingTest extends UsefulTestCase {
|
||||
private Module myJava7Module;
|
||||
private Module myJava8Module;
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public MultipleJdksHighlightingTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
try {
|
||||
|
||||
@@ -45,10 +45,6 @@ public class SuppressExternalTest extends UsefulTestCase {
|
||||
|
||||
private LanguageLevel myLanguageLevel;
|
||||
|
||||
public SuppressExternalTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-5
@@ -45,11 +45,6 @@ public class NotNullVerifyingInstrumenterTest extends UsefulTestCase {
|
||||
private boolean myJava6;
|
||||
private IdeaProjectTestFixture myFixture;
|
||||
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors"})
|
||||
public NotNullVerifyingInstrumenterTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -29,10 +29,6 @@ import com.intellij.testFramework.IdeaTestCase;
|
||||
public abstract class JavaFileStructureTestCase extends FileStructureTestBase {
|
||||
private boolean myShowAnonymousByDefault;
|
||||
|
||||
protected JavaFileStructureTestCase() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
protected abstract String getTestDataFolderName();
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,7 +33,6 @@ import com.intellij.psi.impl.source.tree.FileElement;
|
||||
import com.intellij.psi.impl.source.tree.JavaASTFactory;
|
||||
import com.intellij.psi.tree.IFileElementType;
|
||||
import com.intellij.psi.util.PsiUtil;
|
||||
import com.intellij.testFramework.IdeaTestCase;
|
||||
import com.intellij.testFramework.LightVirtualFile;
|
||||
import com.intellij.testFramework.ParsingTestCase;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
@@ -47,7 +46,6 @@ public abstract class JavaParsingTestCase extends ParsingTestCase {
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors"})
|
||||
public JavaParsingTestCase(@NonNls final String dataPath) {
|
||||
super("psi/"+dataPath, "java", new JavaParserDefinition());
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -35,12 +35,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
*/
|
||||
public abstract class AbstractJavaInplaceIntroduceTest extends AbstractInplaceIntroduceTest {
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected PsiExpression getExpressionFromEditor() {
|
||||
final PsiExpression expression = PsiTreeUtil.getParentOfType(getFile().findElementAt(getEditor().getCaretModel().getOffset()), PsiExpression.class);
|
||||
|
||||
@@ -66,7 +66,6 @@ public abstract class IdeaTestCase extends PlatformTestCase {
|
||||
* @deprecated calling this method is no longer necessary
|
||||
*/
|
||||
public static void initPlatformPrefix() {
|
||||
initPlatformPrefix("com.intellij.idea.IdeaUltimateApplication", "Idea");
|
||||
}
|
||||
|
||||
protected static void sortClassesByName(final PsiClass[] classes) {
|
||||
|
||||
-6
@@ -22,7 +22,6 @@ import com.intellij.psi.JavaPsiFacade;
|
||||
import com.intellij.psi.PsiElementFactory;
|
||||
import com.intellij.psi.PsiManager;
|
||||
import com.intellij.psi.impl.PsiManagerEx;
|
||||
import com.intellij.testFramework.IdeaTestCase;
|
||||
import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
@@ -36,11 +35,6 @@ public abstract class JavaCodeInsightFixtureTestCase extends UsefulTestCase{
|
||||
protected JavaCodeInsightTestFixture myFixture;
|
||||
protected Module myModule;
|
||||
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors"})
|
||||
protected JavaCodeInsightFixtureTestCase() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -26,7 +26,6 @@ import com.intellij.openapi.vcs.VcsKey;
|
||||
import com.intellij.openapi.vcs.changes.committed.MockAbstractVcs;
|
||||
import com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
|
||||
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory;
|
||||
@@ -56,11 +55,6 @@ public class VcsRepositoryManagerTest extends UsefulTestCase {
|
||||
private VirtualFile myProjectRoot;
|
||||
private VcsRepositoryCreator myMockCreator;
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public VcsRepositoryManagerTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-4
@@ -86,10 +86,6 @@ public abstract class ExternalSystemTestCase extends UsefulTestCase {
|
||||
|
||||
private List<String> myAllowedRoots = new ArrayList<String>();
|
||||
|
||||
static {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
-6
@@ -20,7 +20,6 @@ import com.intellij.internal.statistic.connect.RemotelyConfigurableStatisticsSer
|
||||
import com.intellij.internal.statistic.connect.StatisticsConnectionService;
|
||||
import com.intellij.internal.statistic.connect.StatisticsHttpClientSender;
|
||||
import com.intellij.internal.statistic.connect.StatisticsResult;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.util.net.NetUtils;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.BeforeClass;
|
||||
@@ -35,11 +34,6 @@ public class RemotelyConfigurableStatServiceTest {
|
||||
private static String STAT_URL;
|
||||
private static String STAT_CONFIG_URL;
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public RemotelyConfigurableStatServiceTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void init() throws Exception {
|
||||
int port = NetUtils.findAvailableSocketPort();
|
||||
|
||||
-6
@@ -18,7 +18,6 @@ package com.intellij.execution.testframework.sm;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.testFramework.LightProjectDescriptor;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.testFramework.fixtures.CodeInsightTestFixture;
|
||||
import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
|
||||
@@ -31,11 +30,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
* @author Roman.Chernyatchik
|
||||
*/
|
||||
public abstract class SMLightFixtureTestCase extends UsefulTestCase {
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
protected SMLightFixtureTestCase() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
protected CodeInsightTestFixture myFixture;
|
||||
|
||||
@Override
|
||||
|
||||
-5
@@ -19,7 +19,6 @@ import com.intellij.execution.configurations.ModuleRunConfiguration;
|
||||
import com.intellij.execution.executors.DefaultDebugExecutor;
|
||||
import com.intellij.execution.testframework.TestConsoleProperties;
|
||||
import com.intellij.testFramework.LightPlatformTestCase;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
|
||||
/**
|
||||
* @author Roman Chernyatchik
|
||||
@@ -28,10 +27,6 @@ public abstract class BaseSMTRunnerTestCase extends LightPlatformTestCase {
|
||||
protected SMTestProxy mySuite;
|
||||
protected SMTestProxy mySimpleTest;
|
||||
|
||||
protected BaseSMTRunnerTestCase() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-4
@@ -16,10 +16,6 @@ public class SSRCodeInsightTest extends UsefulTestCase {
|
||||
protected CodeInsightTestFixture myFixture;
|
||||
private SSBasedInspection myInspection;
|
||||
|
||||
public SSRCodeInsightTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -18,8 +18,4 @@ package com.intellij.testFramework;
|
||||
/** @deprecated platform autodetection should work well enough, just use base class instead (to be removed in IDEA 16) */
|
||||
@SuppressWarnings("unused")
|
||||
public abstract class PlatformLangTestCase extends PlatformTestCase {
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
protected PlatformLangTestCase() {
|
||||
initPlatformLangPrefix();
|
||||
}
|
||||
}
|
||||
|
||||
-5
@@ -39,11 +39,6 @@ public class VcsIntegrationEnablerTest extends VcsRootPlatformTest {
|
||||
private VirtualFile myTestRoot;
|
||||
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public VcsIntegrationEnablerTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
MutablePicoContainer picoContainer = (MutablePicoContainer)myProject.getPicoContainer();
|
||||
|
||||
@@ -68,11 +68,6 @@ public abstract class VcsRootPlatformTest extends UsefulTestCase {
|
||||
protected static final Collection<File> myFilesToDelete = new HashSet<File>();
|
||||
protected IdeaProjectTestFixture myProjectFixture;
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
protected VcsRootPlatformTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -44,11 +44,6 @@ public abstract class VcsLogPlatformTest extends UsefulTestCase {
|
||||
private IdeaProjectTestFixture myProjectFixture;
|
||||
private String myTestStartedIndicator;
|
||||
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors", "UnusedDeclaration"})
|
||||
protected VcsLogPlatformTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -34,10 +34,6 @@ public abstract class XDebuggerTestCase extends PlatformTestCase {
|
||||
public static final MyLineBreakpointType MY_LINE_BREAKPOINT_TYPE = new MyLineBreakpointType();
|
||||
protected static final MySimpleBreakpointType MY_SIMPLE_BREAKPOINT_TYPE = new MySimpleBreakpointType();
|
||||
|
||||
protected XDebuggerTestCase() {
|
||||
initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initApplication() throws Exception {
|
||||
super.initApplication();
|
||||
|
||||
@@ -25,7 +25,6 @@ import com.intellij.openapi.vcs.*;
|
||||
import com.intellij.openapi.vcs.changes.ChangeListManagerImpl;
|
||||
import com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.TestLoggerFactory;
|
||||
import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
|
||||
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory;
|
||||
@@ -97,7 +96,6 @@ public class GitCucumberWorld {
|
||||
|
||||
@Before
|
||||
public void setUp() throws Throwable {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
IdeaTestApplication.getInstance(null);
|
||||
|
||||
myTestName = createTestName();
|
||||
|
||||
@@ -23,7 +23,6 @@ import com.intellij.openapi.vcs.*;
|
||||
import com.intellij.openapi.vcs.changes.ChangeListManager;
|
||||
import com.intellij.openapi.vcs.changes.VcsDirtyScopeManager;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.TestLoggerFactory;
|
||||
import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
|
||||
@@ -67,11 +66,6 @@ public abstract class GitPlatformTest extends UsefulTestCase {
|
||||
private IdeaProjectTestFixture myProjectFixture;
|
||||
private String myTestStartedIndicator;
|
||||
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors", "UnusedDeclaration"})
|
||||
protected GitPlatformTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-4
@@ -28,10 +28,6 @@ import java.io.File;
|
||||
*/
|
||||
public class AddGradleDslPluginActionTest extends LightPlatformCodeInsightFixtureTestCase {
|
||||
|
||||
public AddGradleDslPluginActionTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
public void testApplyPlugin() throws Exception {
|
||||
doTest("testApplyPlugin.gradle", "java");
|
||||
}
|
||||
|
||||
-4
@@ -30,10 +30,6 @@ import java.io.File;
|
||||
*/
|
||||
public class AddGradleDslDependencyActionTest extends LightPlatformCodeInsightFixtureTestCase {
|
||||
|
||||
public AddGradleDslDependencyActionTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
public void testAddMavenDependencyInEmptyFile() throws Exception {
|
||||
AddGradleDslDependencyAction.TEST_THREAD_LOCAL.set(ContainerUtil.list(new MavenId("testGroupId", "testArtifactId", "1.0")));
|
||||
doTest("testAddMavenDependencyInEmptyFile.gradle");
|
||||
|
||||
@@ -61,11 +61,6 @@ public abstract class HgPlatformTest extends UsefulTestCase {
|
||||
private IdeaProjectTestFixture myProjectFixture;
|
||||
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
protected HgPlatformTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -19,7 +19,6 @@ import com.intellij.openapi.vcs.VcsConfiguration;
|
||||
import com.intellij.openapi.vcs.VcsShowConfirmationOption;
|
||||
import com.intellij.openapi.vcs.changes.VcsDirtyScopeManager;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.vcs.AbstractVcsTestCase;
|
||||
import com.intellij.ui.GuiUtils;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
@@ -59,10 +58,6 @@ public abstract class HgTest extends AbstractVcsTestCase {
|
||||
protected HgTestChangeListManager myChangeListManager;
|
||||
private HgTestRepository myMainRepo;
|
||||
|
||||
protected HgTest() {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
}
|
||||
|
||||
@BeforeMethod
|
||||
protected void setUp(final Method testMethod) throws Exception {
|
||||
// setting hg executable
|
||||
|
||||
@@ -68,10 +68,6 @@ public abstract class MavenTestCase extends UsefulTestCase {
|
||||
protected VirtualFile myProjectPom;
|
||||
protected List<VirtualFile> myAllPoms = new ArrayList<VirtualFile>();
|
||||
|
||||
static {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-4
@@ -40,10 +40,6 @@ public class MavenTemplateFileProcessorTest extends LightPlatformCodeInsightFixt
|
||||
" <name>SpringApp</name>\n" +
|
||||
"</project>";
|
||||
|
||||
public MavenTemplateFileProcessorTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
public void testProcessor() throws Exception {
|
||||
PsiFile file = myFixture.configureByText("pom.xml", TEXT);
|
||||
String s = new MavenTemplateFileProcessor().encodeFileText(TEXT, file.getVirtualFile(), getProject());
|
||||
|
||||
@@ -94,7 +94,6 @@ public abstract class SvnTestCase extends AbstractJunitVcsTestCase {
|
||||
protected File myPluginRoot;
|
||||
|
||||
protected SvnTestCase(@NotNull String testDataDir) {
|
||||
PlatformTestCase.initPlatformLangPrefix();
|
||||
myTestDataDir = testDataDir;
|
||||
myWcRootName = "wcroot";
|
||||
}
|
||||
|
||||
@@ -26,11 +26,6 @@ import java.util.List;
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
public abstract class TaskManagerTestCase extends LightCodeInsightFixtureTestCase {
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
protected TaskManagerTestCase() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
protected TaskManager myTaskManager;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -89,9 +89,4 @@ public class TaskUiTest extends CodeInsightFixtureTestCase {
|
||||
action.update(event);
|
||||
return event.getPresentation();
|
||||
}
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public TaskUiTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ package com.intellij.tasks.jira.jql;
|
||||
|
||||
import com.intellij.tasks.jira.jql.codeinsight.JqlFieldType;
|
||||
import com.intellij.tasks.jira.jql.codeinsight.JqlStandardFunction;
|
||||
import com.intellij.testFramework.IdeaTestCase;
|
||||
import com.intellij.testFramework.fixtures.CodeInsightFixtureTestCase;
|
||||
import com.intellij.util.ArrayUtil;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
@@ -32,12 +31,6 @@ import static com.intellij.tasks.jira.jql.codeinsight.JqlStandardFunction.ALL_FU
|
||||
*/
|
||||
public class CompletionTest extends CodeInsightFixtureTestCase {
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return "/plugins/tasks/tasks-tests/testData/jira/jql/completion";
|
||||
|
||||
@@ -19,12 +19,10 @@ import com.intellij.codeInsight.daemon.impl.HighlightInfo;
|
||||
import com.intellij.javaee.ExternalResourceManagerEx;
|
||||
import com.intellij.javaee.XMLCatalogConfigurable;
|
||||
import com.intellij.javaee.XMLCatalogManager;
|
||||
import com.intellij.testFramework.IdeaTestCase;
|
||||
import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase;
|
||||
import org.apache.xml.resolver.CatalogManager;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.util.List;
|
||||
import java.util.Vector;
|
||||
@@ -97,9 +95,4 @@ public class XMLCatalogManagerTest extends LightPlatformCodeInsightFixtureTestCa
|
||||
protected boolean isCommunity() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public XMLCatalogManagerTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,11 +34,6 @@ public class XmlFoldingTest extends LightPlatformCodeInsightFixtureTestCase {
|
||||
|
||||
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public XmlFoldingTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
private void doTest() throws Throwable {
|
||||
doTest(".html");
|
||||
}
|
||||
|
||||
@@ -34,11 +34,6 @@ import java.util.List;
|
||||
*/
|
||||
public class XmlSmartCompletionTest extends LightPlatformCodeInsightFixtureTestCase {
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public XmlSmartCompletionTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
public void testCompletion() throws Exception {
|
||||
doTest(new String[]{"testCompletion.xml", "test.xsd"}, "b");
|
||||
}
|
||||
|
||||
@@ -24,11 +24,6 @@ public class XmlSchemaIndexTest extends LightCodeInsightFixtureTestCase {
|
||||
|
||||
private static final String NS = "http://java.jb.com/xml/ns/javaee";
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public XmlSchemaIndexTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
public void testBuilder() throws IOException {
|
||||
|
||||
VirtualFile file = myFixture.copyFileToProject("spring-beans-2.0.xsd");
|
||||
|
||||
@@ -17,7 +17,6 @@ package com.intellij.xml.index;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.IdeaTestCase;
|
||||
import com.intellij.testFramework.fixtures.CodeInsightFixtureTestCase;
|
||||
import com.intellij.util.containers.MultiMap;
|
||||
import com.intellij.util.containers.hash.HashSet;
|
||||
@@ -39,11 +38,6 @@ import java.util.Set;
|
||||
public class XmlSchemaTypeInheritanceTest extends CodeInsightFixtureTestCase {
|
||||
private final static String ourNs = "http://www.omg.org/spec/BPMN/20100524/MODEL";
|
||||
|
||||
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
|
||||
public XmlSchemaTypeInheritanceTest() {
|
||||
IdeaTestCase.initPlatformPrefix();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBuilder() throws Exception {
|
||||
VirtualFile file = myFixture.copyFileToProject("Semantic.xsd");
|
||||
|
||||
Reference in New Issue
Block a user