Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
301,900 | void () { doHighlightingTest("bad-parent-ref-1.rnc"); } | testBadParentRef1 |
301,901 | void () { doHighlightingTest("annotation.rnc"); } | testAnnotation |
301,902 | void () { doHighlightingTest("fo/main.rnc"); } | testFoMain |
301,903 | void () { doHighlightingTest("fo/elements.rnc"); } | testFoElements |
301,904 | void () { doHighlightingTest("fo/datatype.rnc"); } | testFoDatatype |
301,905 | void () { doHighlightingTest("rng-schema.rnc"); } | testRngSchema |
301,906 | void () { doHighlightingTest("docbook.rnc"); } | testDocbook |
301,907 | CodeInsightTestFixture (@NotNull IdeaTestFixtureFactory factory) { return createContentFixture(factory); } | createFixture |
301,908 | String () { return "highlighting"; } | getTestDataPath |
301,909 | void () { super.init(); ApplicationManager.getApplication().runWriteAction(() -> { ExternalResourceManagerExImpl .registerResourceTemporarily("urn:test:simple.rng", toAbsolutePath("highlighting/simple.rng"), getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:test:addressBook", toAbsolutePath("highlighting/rnc/addressbook.rnc"), getTestRootDisposable()); //m.addResource("http://www.w3.org/1999/XSL/Transform", toAbsolutePath("highlighting/relaxng.rng")); ExternalResourceManagerExImpl.registerResourceTemporarily("http://www.w3.org/1999/XSL/Format", toAbsolutePath("highlighting/rnc/fo/main.rnc"), getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("http://docbook.org/ns/docbook", toAbsolutePath("highlighting/docbook.rng"), getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:intelliForm:AttachmentFilter", toAbsolutePath("highlighting/attachment-filter.rng"), getTestRootDisposable()); ExternalResourceManagerExImpl .registerResourceTemporarily("http://www.w3.org/1999/xhtml", toAbsolutePath("highlighting/html5/xhtml5.rnc"), getTestRootDisposable()); List<String> list = new ArrayList<>(); list.add("urn:intelliForm:Spaces"); list.add("http://www.w3.org/1999/xlink"); list.add("http://www.w3.org/2000/svg"); list.add("http://www.ascc.net/xml/schematron"); list.add("http://www.w3.org/2000/svg"); list.add("http://www.w3.org/1998/Math/MathML"); list.add("http://www.w3.org/1999/02/22-rdf-syntax-ns#"); list.add("http://nwalsh.com/xmlns/schema-control/"); list.add("http://xml.apache.org/fop/extensions"); list.add("http://www.antennahouse.com/names/XSL/Extensions"); list.add("http://www.renderx.com/XSL/Extensions"); list.add("http://relaxng.org/ns/compatibility/annotations/1.0"); ExternalResourceManagerEx.getInstanceEx().addIgnoredResources(list, getTestRootDisposable()); }); } | init |
301,910 | void () { doHighlightingTest("simple-element_1.xml"); } | testSimpleElement |
301,911 | void () { doHighlightingTest("optional-element_1.xml"); } | testOptionalElement |
301,912 | void () { doHighlightingTest("simple-attribute_1.xml"); } | testSimpleAttribute |
301,913 | void () { doHighlightingTest("simple-attribute_2.xml"); } | testSimpleAttributeMissing |
301,914 | void () { doHighlightingTest("optional-attribute_1.xml"); doHighlightingTest("optional-attribute_2.xml"); } | testOptionalAttribute |
301,915 | void () { doHighlightingTest("fixed-attribute_1.xml"); } | testFixedAttribute |
301,916 | void () { doHighlightingTest("fixed-attribute_2.xml"); } | testFixedAttributeIllegal |
301,917 | void () { doHighlightingTest("value-choice-1.xml"); } | testValueChoice1 |
301,918 | void () { doHighlightingTest("value-choice-2.xml"); } | testValueChoice2 |
301,919 | void () { doHighlightingTest("token-datatype.xml"); } | testTokenDatatype |
301,920 | void () { doHighlightingTest("attribute-choice-1.xml"); } | testAttributeChoice1 |
301,921 | void () { doHighlightingTest("attribute-choice-2.xml"); } | testAttributeChoice2 |
301,922 | void () { doHighlightingTest("attribute-choice-3.xml"); } | testAttributeChoice3 |
301,923 | void () { doHighlightingTest("nested-fragment.xml"); } | testNestedFragment |
301,924 | void () { myTestFixture.copyFileToProject("jpdl-3.1.xsd"); doHighlightingTest("nested-fragment-2.xml"); } | testNestedFragment2 |
301,925 | void () { doHighlightingTest("mybook.xml"); } | testDocbookExample |
301,926 | void () { doHighlightingTest("rnc/missing-attribute.xml"); } | testMissingAttributeRnc |
301,927 | void () { doHighlightingTest("rnc/valid-rnc.xml"); } | testValidRnc |
301,928 | void () { doHighlightingTest("rnc/valid-rnc-include.xml"); } | testValidIncludeRnc |
301,929 | void () { doHighlightingTest("rnc/bad-element.xml"); } | testBadElementRnc |
301,930 | void () { doHighlightingTest("relaxng.rng"); } | testRngSchema |
301,931 | void () { doHighlightingTest("nested-composite.rng"); } | testNestedComposite |
301,932 | void () { doHighlightingTest("xslt.rng"); } | testXsltSchema |
301,933 | void () { doHighlightingTest("rnc/fo/fo-test.xml"); } | testXslFoRncSchema |
301,934 | void () { doHighlightingTest("rnc/fo/mybook.fo"); } | testFoFromDocbook |
301,935 | void () { doHighlightingTest("docbook.rng"); } | testDocBookSchema |
301,936 | void () { doHighlightingTest("Html5.xml"); } | testHtml5 |
301,937 | void () { doHighlightingTest("Html5_2.xml"); } | testHtml5_2 |
301,938 | void () { doTest(true); } | testSimple1 |
301,939 | void () { doTest(true); } | testSimple2 |
301,940 | void () { doTest(true); } | testNested |
301,941 | void () { doTest(true); } | testGrammarLevel |
301,942 | void () { doTest(true); } | testFollowing |
301,943 | void () { doTest(true); } | testFollowingIncomplete |
301,944 | CodeInsightTestFixture (@NotNull IdeaTestFixtureFactory factory) { return createContentFixture(factory); } | createFixture |
301,945 | String () { return "rename/rng"; } | getTestDataPath |
301,946 | void () { doTestRename("rename-ref-1", "start"); } | testRenameRef1 |
301,947 | void (String name, String newName) { doTestRename(name, "rng", newName); } | doTestRename |
301,948 | void () { doTest("xslt.rng"); } | testValidDocument |
301,949 | void () { myTestFixture.testHighlighting("broken-rng.xml"); } | testPartiallyBrokenRng |
301,950 | void () { myTestFixture.testHighlighting("broken-rnc.xml"); } | testPartiallyBrokenRnc |
301,951 | void () { doTest("entity-test-1.xml"); } | testEntityRef1 |
301,952 | void () { doTest("entity-test-2.xml"); } | testEntityRef2 |
301,953 | void () { doTest("entity-test-3.xml"); } | testEntityRef3 |
301,954 | void () { doTest("text-content.xml"); } | testTextContent |
301,955 | void () { doTest("cdata-test.xml"); } | testCDATA |
301,956 | void () { doTest("missing-element.xml"); } | testMissingElement |
301,957 | void () { doTest("invalid-element.xml"); } | testInvalidElement |
301,958 | void () { doTest("invalid-element-rnc.xml"); } | testInvalidElementRnc |
301,959 | void () { doTest("missing-element-rnc.xml"); } | testMissingElementRnc |
301,960 | void (String name) { doExternalToolHighlighting(name); } | doTest |
301,961 | void () { super.init(); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:test:simple.rng", toAbsolutePath("validation/simple.rng"), getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:test:simple.rnc", toAbsolutePath("validation/simple.rnc"), getTestRootDisposable()); } | init |
301,962 | String () { return "validation"; } | getTestDataPath |
301,963 | String () { return "completion"; } | getTestDataPath |
301,964 | void () { doTestCompletion("attribute-completion-1.xml", new String[]{ "foo" }); } | testAttributeCompletion1 |
301,965 | void () { doTestCompletion("attribute-completion-2.xml", new String[]{ "1.0" }); } | testAttributeCompletion2 |
301,966 | void () { doTestCompletion("attribute-completion-3.xml", "1.0", "2.0"); } | testAttributeCompletion3 |
301,967 | void () { doTestCompletion("attribute-completion-4.xml", "1.0", "2.0"); } | testAttributeCompletion4 |
301,968 | void () { doTestCompletion("attribute-completion-5.xml", "foo", "bar"); } | testAttributeCompletion5 |
301,969 | void () { doTestCompletion("attribute-completion-6.xml", "p:foo", "p:bar"); } | testAttributeCompletion6 |
301,970 | void () { doTestCompletion("attr-combine.xml", "foo", "bar"); } | testAttrCombine |
301,971 | String () { return "completion/rng"; } | getTestDataPath |
301,972 | void () { doTestCompletion("complete-ref-1.rng", new String[]{ "start.element" }); } | testCompleteRef1 |
301,973 | void () { doTestCompletion("complete-ref-2.rng", new String[]{"start.element" }); } | testCompleteRef2 |
301,974 | void () { doTestCompletion("complete-ref-3.rng", new String[]{ "included.start.element" }); } | testCompleteRef3 |
301,975 | void () { CamelHumpMatcher.forceStartMatching(getTestRootDisposable()); doTestCompletion("complete-ref-4", "rng"); } | testCompleteRef4 |
301,976 | String () { return "highlighting/rng"; } | getTestDataPath |
301,977 | void () { doHighlightingTest("unused-define-1.rng"); } | testInspectionUnusedDefine1 |
301,978 | void () { doHighlightingTest("unused-define-2.rng"); } | testInspectionUnusedDefine2 |
301,979 | void () { doHighlightingTest("used-define-1.rng"); } | testInspectionDefine1 |
301,980 | void () { doHighlightingTest("used-define-2.rng"); } | testInspectionDefine2 |
301,981 | void () { doHighlightingTest("used-define-3-include.rng"); } | testInspectionDefine3 |
301,982 | void () { // adding a <weak_warning> tag doesn't work because it seems to prevent the index to recognize the file // because the replacement is done *after* building the index :( doCustomHighlighting("included-grammar.rng", false, false); } | testIncludedGrammarWithoutStart |
301,983 | void () { doHighlightingTest("backward-include-ref.rng"); } | testBackwardIncludeRef |
301,984 | void () { doHighlightingTest("backward-with-include.rng"); } | testUnrelatedBackwardIncludeRef |
301,985 | String () { return "highlighting/rnc"; } | getTestDataPath |
301,986 | void () { // new ProjectLoader(myTestFixture.getProject()).initComponent(); // ExternalResourceManager.getInstance().addResource("http://relaxng.org/ns/structure/1.0", new File("highlighting/relaxng.rng").getAbsolutePath()); } | init |
301,987 | void () { doExternalToolHighlighting("addressbook.rnc"); } | testAddressBook |
301,988 | void () { doExternalToolHighlighting("missing-content.rnc"); } | testMissingContent |
301,989 | void () { doExternalToolHighlighting("missing-start.rnc"); } | testMissingStart |
301,990 | void () { doExternalToolHighlighting("undefined-ref-ok.rnc"); } | testUndefinedRef |
301,991 | void () { doExternalToolHighlighting("rng-schema.rnc"); } | testRngSchema |
301,992 | String () { return "highlighting/rng"; } | getTestDataPath |
301,993 | void () { doHighlightingTest("simple.rng"); } | testSimpleSchema |
301,994 | void () { doHighlightingTest("ref-1.rng"); } | testRef1 |
301,995 | void () { doHighlightingTest("ref-2.rng"); } | testRef2 |
301,996 | void () { doHighlightingTest("ref-3.rng"); } | testRef3 |
301,997 | void () { doHighlightingTest("bad-ref.rng"); } | testBadRef |
301,998 | void () { doHighlightingTest("bad-ref-2.rng"); } | testBadRef2 |
301,999 | void () { doHighlightingTest("bad-ref-3.rng"); } | testBadRef3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.