clean up dependencies to make sure that Python tests run after JS->IntelliLang dependency has been added

This commit is contained in:
Dmitry Jemerov
2010-09-04 20:04:29 +04:00
parent a1079672b5
commit 634cb42eaa
3 changed files with 6 additions and 11 deletions
-1
View File
@@ -7,7 +7,6 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="openapi" />
<orderEntry type="module" module-name="platform-impl" />
<orderEntry type="module" module-name="lang-impl" />
<orderEntry type="module" module-name="xml" />
@@ -16,10 +16,10 @@
package org.intellij.lang.xpath;
import com.intellij.openapi.application.PluginPathManager;
import com.intellij.testFramework.IdeaTestCase;
import com.intellij.testFramework.PlatformTestCase;
import com.intellij.testFramework.fixtures.CodeInsightTestFixture;
import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
import com.intellij.testFramework.fixtures.JavaTestFixtureFactory;
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory;
import junit.framework.TestCase;
/*
@@ -30,14 +30,14 @@ import junit.framework.TestCase;
public abstract class TestBase extends TestCase {
protected TestBase() {
IdeaTestCase.initPlatformPrefix();
PlatformTestCase.initPlatformLangPrefix();
}
protected CodeInsightTestFixture myFixture;
@Override
protected void setUp() throws Exception {
final JavaTestFixtureFactory factory = JavaTestFixtureFactory.getFixtureFactory();
final IdeaTestFixtureFactory factory = IdeaTestFixtureFactory.getFixtureFactory();
final IdeaProjectTestFixture fixture = factory.createLightFixtureBuilder().getFixture();
myFixture = factory.createCodeInsightFixture(fixture);
+2 -6
View File
@@ -12,21 +12,17 @@
<orderEntry type="module" module-name="xml-openapi" />
<orderEntry type="module" module-name="lang-api" />
<orderEntry type="module" module-name="platform-impl" />
<orderEntry type="module" module-name="openapi" />
<orderEntry type="module" module-name="lang-impl" />
<orderEntry type="module" module-name="dom-openapi" />
<orderEntry type="module" module-name="debugger-impl" />
<orderEntry type="module" module-name="xml" />
<orderEntry type="library" name="commons-collections" level="project" />
<orderEntry type="module" module-name="xslt-rt" />
<orderEntry type="module" module-name="lvcs-impl" />
<orderEntry type="module" module-name="jam-support-impl" />
<orderEntry type="module" module-name="execution-openapi" />
<orderEntry type="module" module-name="annotations" />
<orderEntry type="library" name="Jaxen" level="project" />
<orderEntry type="module" module-name="resources-en" />
<orderEntry type="module" module-name="testFramework-java" scope="TEST" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="module" module-name="testFramework" scope="TEST" />
<orderEntry type="module" module-name="dom-impl" scope="RUNTIME" />
</component>
</module>