diff --git a/java/testFramework/src/com/intellij/testFramework/fixtures/LightCodeInsightFixtureTestCase.java b/java/testFramework/src/com/intellij/testFramework/fixtures/LightCodeInsightFixtureTestCase.java
index b92a3216c4c1..e233db10ca9e 100644
--- a/java/testFramework/src/com/intellij/testFramework/fixtures/LightCodeInsightFixtureTestCase.java
+++ b/java/testFramework/src/com/intellij/testFramework/fixtures/LightCodeInsightFixtureTestCase.java
@@ -152,6 +152,8 @@ public abstract class LightCodeInsightFixtureTestCase extends UsefulTestCase{
return myFixture.getProject();
}
+ protected PsiFile getFile() { return myFixture.getFile(); }
+
protected PsiManager getPsiManager() {
return PsiManager.getInstance(getProject());
}
diff --git a/xml/tests/src/com/intellij/xml/XmlNamespacesTest.java b/xml/tests/src/com/intellij/xml/XmlNamespacesTest.java
index 90e1cdd3310d..ed8170a937a4 100644
--- a/xml/tests/src/com/intellij/xml/XmlNamespacesTest.java
+++ b/xml/tests/src/com/intellij/xml/XmlNamespacesTest.java
@@ -24,13 +24,13 @@ import com.intellij.javaee.ExternalResourceManagerExImpl;
import com.intellij.openapi.application.Result;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.testFramework.IdeaTestCase;
-import com.intellij.testFramework.fixtures.CodeInsightFixtureTestCase;
+import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
import org.jetbrains.annotations.NotNull;
/**
* @author Dmitry Avdeev
*/
-public class XmlNamespacesTest extends CodeInsightFixtureTestCase {
+public class XmlNamespacesTest extends LightCodeInsightFixtureTestCase {
@SuppressWarnings("JUnitTestCaseWithNonTrivialConstructors")
public XmlNamespacesTest() {
@@ -190,7 +190,7 @@ public class XmlNamespacesTest extends CodeInsightFixtureTestCase {
" xsi:schemaLocation=\"http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd\n" +
" http://www.w3.org/2001/XInclude http://www.w3.org/2001/XInclude.xsd\">\n" +
"\n" +
- " <include xmlns=\"http://www.w3.org/2001/XInclude\" href=\"a.xml\"/>\n" +
+ " \n" +
"");
myFixture.testHighlighting();
}
@@ -289,9 +289,4 @@ public class XmlNamespacesTest extends CodeInsightFixtureTestCase {
protected String getBasePath() {
return "/xml/tests/testData/unusedNs";
}
-
- @Override
- protected boolean isCommunity() {
- return true;
- }
}