diff --git a/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/FetchExternalResourcesFixTest.java b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/FetchExternalResourcesFixTest.java new file mode 100644 index 000000000000..99603d1d7d3c --- /dev/null +++ b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/FetchExternalResourcesFixTest.java @@ -0,0 +1,43 @@ +package com.intellij.codeInsight.daemon.quickFix; + +import com.intellij.codeInsight.daemon.impl.quickfix.FetchExtResourceAction; +import com.intellij.codeInsight.intention.IntentionAction; +import com.intellij.testFramework.PlatformTestUtil; + +import java.io.File; + +/** + * Created by IntelliJ IDEA. + * User: ik + * Date: 03.09.2003 + * Time: 19:32:51 + * To change this template use Options | File Templates. + */ +public class FetchExternalResourcesFixTest extends LightQuickFixTestCase { + public void test() throws Exception { doAllTests(); } + + @Override + protected String getBasePath() { + return "/quickFix/fetchExternalResources"; + } + + // just check for action availability + @Override + protected void doAction(String text, boolean actionShouldBeAvailable, String testFullPath, String testName) throws Exception { + IntentionAction action = findActionWithText(text); + if (action == null && actionShouldBeAvailable) { + fail("Action with text '" + text + "' is not available in test " + testFullPath); + } + + if (actionShouldBeAvailable && testName.equals("5.xml")) { + final String uri = FetchExtResourceAction.findUri(myFile, myEditor.getCaretModel().getOffset()); + final String url = FetchExtResourceAction.findUrl(myFile, myEditor.getCaretModel().getOffset(),uri); + assertEquals("http://www.springframework.org/schema/aop/spring-aop.xsd",url); + } + } + + @Override + protected String getTestDataPath() { + return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/"; + } +} diff --git a/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/IgnoreExternalResourcesFixTest.java b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/IgnoreExternalResourcesFixTest.java new file mode 100644 index 000000000000..bd60738081a0 --- /dev/null +++ b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/IgnoreExternalResourcesFixTest.java @@ -0,0 +1,29 @@ +package com.intellij.codeInsight.daemon.quickFix; + +import com.intellij.codeInsight.intention.IntentionAction; +import com.intellij.testFramework.PlatformTestUtil; + +import java.io.File; + +public class IgnoreExternalResourcesFixTest extends LightQuickFixTestCase { + public void test() throws Exception { doAllTests(); } + + @Override + protected String getBasePath() { + return "/quickFix/ignoreExternalResources"; + } + + // just check for action availability + @Override + protected void doAction(String text, boolean actionShouldBeAvailable, String testFullPath, String testName) throws Exception { + IntentionAction action = findActionWithText(text); + if (action == null && actionShouldBeAvailable) { + fail("Action with text '" + text + "' is not available in test " + testFullPath); + } + } + + @Override + protected String getTestDataPath() { + return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/"; + } +} diff --git a/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/ManuallySetupExternalResourcesFixTest.java b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/ManuallySetupExternalResourcesFixTest.java new file mode 100644 index 000000000000..59e2acab20d4 --- /dev/null +++ b/xml/tests/src/com/intellij/codeInsight/daemon/quickFix/ManuallySetupExternalResourcesFixTest.java @@ -0,0 +1,29 @@ +package com.intellij.codeInsight.daemon.quickFix; + +import com.intellij.codeInsight.intention.IntentionAction; +import com.intellij.testFramework.PlatformTestUtil; + +import java.io.File; + +public class ManuallySetupExternalResourcesFixTest extends LightQuickFixTestCase { + public void test() throws Exception { doAllTests(); } + + @Override + protected String getBasePath() { + return "/quickFix/manuallySetupExternalResources"; + } + + // just check for action availability + @Override + protected void doAction(String text, boolean actionShouldBeAvailable, String testFullPath, String testName) throws Exception { + IntentionAction action = findActionWithText(text); + if (action == null && actionShouldBeAvailable) { + fail("Action with text '" + text + "' is not available in test " + testFullPath); + } + } + + @Override + protected String getTestDataPath() { + return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/"; + } +} diff --git a/xml/tests/testData/quickFix/fetchExternalResources/1.dtd b/xml/tests/testData/quickFix/fetchExternalResources/1.dtd new file mode 100644 index 000000000000..f8b0436b2505 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/1.dtd @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/1.xsd b/xml/tests/testData/quickFix/fetchExternalResources/1.xsd new file mode 100644 index 000000000000..c6f8bb79d393 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/1.xsd @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/2.dtd b/xml/tests/testData/quickFix/fetchExternalResources/2.dtd new file mode 100644 index 000000000000..6a22e2c20118 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/2.dtd @@ -0,0 +1,105 @@ + + + +]]> + + + + + + + + + +]]> +]]> + + + +]]> + + + +]]> + + + +%dbnotn; +]]> + + + + + + + +]]> + +]]> +]]> + + +%dbcent; +]]> + + + + + + + + +%dbpool; +]]> + + + + + + +%rdbmods; +]]> + + + + + +%dbhier; +]]> + + + + + + +%dbgenent; +]]> + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/2.mod b/xml/tests/testData/quickFix/fetchExternalResources/2.mod new file mode 100644 index 000000000000..d76d3dd3f8b7 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/2.mod @@ -0,0 +1,8355 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%rdbpool; +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> + + + + +]]> + + + +]]> + + + + +]]> + + + +]]> + + + +]]> + + + +]]> + + + + +]]> + + + +]]> + +]]> + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + + +]]> + + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> +]]> + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + +]]> + + + +]]> + + +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + + + + +]]> + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + + + + + + + +%htmltbl; +]]> + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + +]]> + +%tablemodel; + +]]> + + + + + + + + + + + +]]> + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> + + + + +]]> +]]> + + + + + + + + + + + + +]]> + + + +]]> + + +]]> + + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + + + +]]> + + + +]]> + ]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + + + +]]> + + + +]]> + ]]> + + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + ]]> + + + + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + + + +]]> + + + +]]> + ]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> + + + + + + + +]]> + + + +]]> + ]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + ]]> + + +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + +]]> + + + + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + +]]> + + + +]]> +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + +]]> +]]> + + + + + + + +]]> + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + +]]> + + + +]]> + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + +]]> +]]> + + + + + + + + + +]]> + + + + + + + +]]> +]]> + + + + + + + +]]> + + + + + + +]]> +]]> + + + + + + + + + + +]]> + + + + + + + + + + +]]> +]]> + + + + + + + + +]]> + + + + +]]> + + + + +]]> + + + + +]]> + + + + +]]> + + + + +]]> + +]]> + + + + + + + +]]> + + + +]]> + + + +]]> + + + +]]> +]]> +]]> + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/3.dtd b/xml/tests/testData/quickFix/fetchExternalResources/3.dtd new file mode 100644 index 000000000000..da3c86707b3b --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/3.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/3.xsd b/xml/tests/testData/quickFix/fetchExternalResources/3.xsd new file mode 100644 index 000000000000..6a4319e37fe3 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/3.xsd @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/4.xml b/xml/tests/testData/quickFix/fetchExternalResources/4.xml new file mode 100644 index 000000000000..6667c37832a5 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/4.xml @@ -0,0 +1,12 @@ + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/5.xml b/xml/tests/testData/quickFix/fetchExternalResources/5.xml new file mode 100644 index 000000000000..6937441f9025 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/5.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/6.xml b/xml/tests/testData/quickFix/fetchExternalResources/6.xml new file mode 100644 index 000000000000..b56b19888dbb --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/6.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after1.xml b/xml/tests/testData/quickFix/fetchExternalResources/after1.xml new file mode 100644 index 000000000000..b3a3d2897b9f --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after1.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after2.xml b/xml/tests/testData/quickFix/fetchExternalResources/after2.xml new file mode 100644 index 000000000000..c15b81e07a9e --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after2.xml @@ -0,0 +1,3 @@ +file"> + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after3.xml b/xml/tests/testData/quickFix/fetchExternalResources/after3.xml new file mode 100644 index 000000000000..effdf80eecff --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after3.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after4.xml b/xml/tests/testData/quickFix/fetchExternalResources/after4.xml new file mode 100644 index 000000000000..30ce5fd644ad --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after4.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after6.xml b/xml/tests/testData/quickFix/fetchExternalResources/after6.xml new file mode 100644 index 000000000000..d3011505b478 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after6.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after7.xml b/xml/tests/testData/quickFix/fetchExternalResources/after7.xml new file mode 100644 index 000000000000..f8855079f299 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after7.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/after9.xml b/xml/tests/testData/quickFix/fetchExternalResources/after9.xml new file mode 100644 index 000000000000..115128d96c33 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/after9.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before1.xml b/xml/tests/testData/quickFix/fetchExternalResources/before1.xml new file mode 100644 index 000000000000..3af9a931164f --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before1.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before2.xml b/xml/tests/testData/quickFix/fetchExternalResources/before2.xml new file mode 100644 index 000000000000..65518ff2b90c --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before2.xml @@ -0,0 +1,5 @@ + + +file"> + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before3.xml b/xml/tests/testData/quickFix/fetchExternalResources/before3.xml new file mode 100644 index 000000000000..effdf80eecff --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before3.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before4.xml b/xml/tests/testData/quickFix/fetchExternalResources/before4.xml new file mode 100644 index 000000000000..30ce5fd644ad --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before4.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before6.xml b/xml/tests/testData/quickFix/fetchExternalResources/before6.xml new file mode 100644 index 000000000000..d3011505b478 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before6.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before7.xml b/xml/tests/testData/quickFix/fetchExternalResources/before7.xml new file mode 100644 index 000000000000..f8855079f299 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before7.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/fetchExternalResources/before9.xml b/xml/tests/testData/quickFix/fetchExternalResources/before9.xml new file mode 100644 index 000000000000..115128d96c33 --- /dev/null +++ b/xml/tests/testData/quickFix/fetchExternalResources/before9.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/ignoreExternalResources/after1.xml b/xml/tests/testData/quickFix/ignoreExternalResources/after1.xml new file mode 100644 index 000000000000..01e14b863108 --- /dev/null +++ b/xml/tests/testData/quickFix/ignoreExternalResources/after1.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/ignoreExternalResources/after2.xml b/xml/tests/testData/quickFix/ignoreExternalResources/after2.xml new file mode 100644 index 000000000000..ebd6a3caf117 --- /dev/null +++ b/xml/tests/testData/quickFix/ignoreExternalResources/after2.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/ignoreExternalResources/before1.xml b/xml/tests/testData/quickFix/ignoreExternalResources/before1.xml new file mode 100644 index 000000000000..42beb61c8fcf --- /dev/null +++ b/xml/tests/testData/quickFix/ignoreExternalResources/before1.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/ignoreExternalResources/before2.xml b/xml/tests/testData/quickFix/ignoreExternalResources/before2.xml new file mode 100644 index 000000000000..69532bdeb3b8 --- /dev/null +++ b/xml/tests/testData/quickFix/ignoreExternalResources/before2.xml @@ -0,0 +1,3 @@ + + +4j.dtd"> \ No newline at end of file diff --git a/xml/tests/testData/quickFix/manuallySetupExternalResources/after1.xml b/xml/tests/testData/quickFix/manuallySetupExternalResources/after1.xml new file mode 100644 index 000000000000..498fbd0b51a8 --- /dev/null +++ b/xml/tests/testData/quickFix/manuallySetupExternalResources/after1.xml @@ -0,0 +1 @@ +g4j.dtd"> \ No newline at end of file diff --git a/xml/tests/testData/quickFix/manuallySetupExternalResources/after2.xml b/xml/tests/testData/quickFix/manuallySetupExternalResources/after2.xml new file mode 100644 index 000000000000..b005d414e902 --- /dev/null +++ b/xml/tests/testData/quickFix/manuallySetupExternalResources/after2.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/xml/tests/testData/quickFix/manuallySetupExternalResources/before1.xml b/xml/tests/testData/quickFix/manuallySetupExternalResources/before1.xml new file mode 100644 index 000000000000..7e120b1571b2 --- /dev/null +++ b/xml/tests/testData/quickFix/manuallySetupExternalResources/before1.xml @@ -0,0 +1,2 @@ + +g4j.dtd"> \ No newline at end of file diff --git a/xml/tests/testData/quickFix/manuallySetupExternalResources/before2.xml b/xml/tests/testData/quickFix/manuallySetupExternalResources/before2.xml new file mode 100644 index 000000000000..e798a6ac3893 --- /dev/null +++ b/xml/tests/testData/quickFix/manuallySetupExternalResources/before2.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file