Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
301,100
void () { doUnusedDeclarationTest(""" <xs:schema attributeFormDefault="unqualified" <warning descr="Namespace declaration is never used">xmlns:xsi="http://www.w3.org/20<caret>01/XMLSchema-instance"</warning> elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- keep formatting here--> <xs:element name="a" type="aType"/> <xs:complexType name="aType"> </xs:complexType> </xs:schema>""", """ <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- keep formatting here--> <xs:element name="a" type="aType"/> <xs:complexType name="aType"> </xs:complexType> </xs:schema>""", XmlAnalysisBundle.message("xml.quickfix.remove.unused.namespace.decl")); }
testKeepFormatting
301,101
void () { myFixture.configureByText("a.xml", """ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:x2="http://www.w3.org/2001/XMLSchema" <warning descr="Namespace declaration is never used">xmlns:x3="http://www.w3.org/2001/XMLSchema"</warning> > <xs:element name="a" type="x2:string"/> </xs:schema>"""); myFixture.testHighlighting(); }
testImplicitPrefixUsage
301,102
void () { myFixture.configureByFile("web-app_2_5.xsd"); myFixture.configureByText("a.xml", """ <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <warning descr="Namespace declaration is never used">xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</warning> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-app_2_5.xsd" version="2.5"> </web-app>"""); myFixture.testHighlighting(); }
testUnusedLocationDetection
301,103
void () { myFixture.configureByText("a.xml", """ <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns38:AxisAnalysis" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" languageSpecificType="java:com.pls.xactservice.axis.bindings.AxisAnalysis"/> </deployment>"""); myFixture.testHighlighting(); }
testWSDD
301,104
void () { myFixture.configureByText("a.xml", """ <<info descr="Namespace '' is not bound">nodeTypes</info> xmlns:nt="<error descr="URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)">http://www.jcp.org/jcr/nt/1.0</error>" xmlns:customns="<error descr="URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)">http://customurl</error>"> <nodeType name="customns:item" isMixin="false" hasOrderableChildNodes="false"> <supertypes> <supertype>nt:folder</supertype> </supertypes> </nodeType> </<info descr="Namespace '' is not bound">nodeTypes</info>>"""); myFixture.testHighlighting(); }
testPrefixesInTagValues
301,105
void () { myFixture.configureByText("a.xml", """ <x:all xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd http://www.w3.org/2001/XInclude http://www.w3.org/2001/XInclude.xsd"> <include xmlns="http://www.w3.org/2001/XInclude" href="a.xml"/> </x:all>"""); myFixture.testHighlighting(); }
testLocallyUsedNamespace
301,106
void () { myFixture.configureByText("a.xml", """ <s:foo xmlns:s="<error descr="URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)">http://foo</error>" <warning descr="Namespace declaration is never used">xmlns:bar="<error descr="URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)">http://bar</error>"</warning> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bar <error descr="Cannot resolve file 'bar.xsd'">bar.xsd</error> http://foo <error descr="Cannot resolve file 'foo.xsd'">foo.xsd</error>"> <bar xmlns="<error descr="URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)">http://bar</error>"/> </s:foo>"""); myFixture.testHighlighting(); }
testLocallyUsedNamespaceWithPrefix
301,107
void () { myFixture.testHighlighting("moved.xml", "trg/move-def.xsd"); }
testSubDirectory
301,108
void () { myFixture.configureByFile("web-app_2_5.xsd"); String text = """ <!--suppress XmlUnusedNamespaceDeclaration --> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-app_2_5.xsd" version="2.5"> </web-app>"""; myFixture.configureByText("a.xml", text); doOptimizeImportsTest(text); }
testSuppressedOptimize
301,109
void () { myFixture.testHighlighting("spring.xml", "spring-beans-2.5.xsd", "spring-batch-2.1.xsd"); IntentionAction action = myFixture.getAvailableIntention(XmlAnalysisBundle.message("xml.quickfix.remove.unused.namespace.decl")); assertNotNull(action); myFixture.launchAction(action); myFixture.checkResultByFile("spring_after.xml"); }
testUsedInXmlns
301,110
void () { myFixture.testHighlighting("import.xml", "import.xsd"); }
testXsiType
301,111
void () { myFixture.disableInspections(new XmlUnusedNamespaceInspection()); String text = "<all xmlns=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>"; myFixture.configureByText(XmlFileType.INSTANCE, text); doOptimizeImportsTest(text); }
testDoNotOptimizeWhenInspectionDisabled
301,112
void () { myFixture.configureByFiles("fixAll.xml", "spring-beans-2.5.xsd", "spring-batch-2.1.xsd"); IntentionAction action = myFixture.findSingleIntention("Fix all"); assertNotNull(action); myFixture.launchAction(action); myFixture.checkResultByFile("fixAll_after.xml"); }
testFixAll
301,113
void () { myFixture.configureByText(XmlFileType.INSTANCE, """ <schema xmlns="http://www.w3.org/2001/XMLSchema"\s xmlns:x="http://www.w3.org/2001/XMLSchema" <warning descr="Namespace declaration is never used">xmlns:y="http://www.w3.org/2001/XMLSchema"</warning>> <element name="a" default="x:y"/> </schema>"""); myFixture.testHighlighting(); }
testImplicitPrefixes
301,114
void () { myFixture.configureByText(XmlFileType.INSTANCE, """ <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <body about="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://www.w3schools.com/webservices/']"> </body> </html>"""); myFixture.testHighlighting(); }
testImplicitPrefixesPattern
301,115
void () { myFixture.configureByText("test.xslt", """ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:template match="foo"> <div data-foo="bar" <error>dta-foo</error>="bar"> </div> </xsl:template> </xsl:stylesheet> """); myFixture.testHighlighting(); }
testHtml5Namespace
301,116
void () { myFixture.configureByFile("idproblem.html"); PlatformTestUtil.startPerformanceTest(getTestName(false), 100, () -> myFixture.doHighlighting()).assertTiming(); }
testPatternPerformanceProblem
301,117
void (String text, String after, String name) { doUnusedDeclarationTest(text, after, name, true); }
doUnusedDeclarationTest
301,118
void (String text, String after, String name, boolean testOptimizeImports) { myFixture.configureByText("a.xml", text); myFixture.testHighlighting(); IntentionAction action = myFixture.getAvailableIntention(name); assertNotNull(name + " not found", action); myFixture.launchAction(action); myFixture.checkResult(after); myFixture.configureByText("a.xml", text); if (testOptimizeImports) { doOptimizeImportsTest(after); } }
doUnusedDeclarationTest
301,119
void (String after) { myFixture.testHighlighting(); WriteCommandAction.writeCommandAction(getProject(), getFile()).run(() -> new OptimizeImportsProcessor(getProject(), getFile()).runWithoutProgress()); myFixture.checkResult(after); }
doOptimizeImportsTest
301,120
String () { return "/xml/tests/testData/unusedNs"; }
getBasePath
301,121
void () { XSModel xsModel = getXSModel("test.xml", "test.xsd"); XSElementDeclaration elementDeclaration = xsModel.getElementDeclaration("a", ""); XSComplexTypeDefinition typeDefinition = (XSComplexTypeDefinition)elementDeclaration.getTypeDefinition(); CMBuilder cmBuilder = new CMBuilder(new CMNodeFactory()); XSCMValidator validator = cmBuilder.getContentModel((XSComplexTypeDecl)typeDefinition, true); int[] ints = validator.startContentModel(); Vector vector = validator.whatCanGoHere(ints); XSElementDecl o = (XSElementDecl)vector.get(0); assertEquals("b", o.getName()); }
testXercesGrammar
301,122
void () { XSModel xsModel = getXSModel("testIncomplete.xml", "test.xsd"); XSElementDeclaration elementDeclaration = xsModel.getElementDeclaration("a", ""); XSComplexTypeDefinition typeDefinition = (XSComplexTypeDefinition)elementDeclaration.getTypeDefinition(); CMBuilder cmBuilder = new CMBuilder(new CMNodeFactory()); XSCMValidator validator = cmBuilder.getContentModel((XSComplexTypeDecl)typeDefinition, true); int[] ints = validator.startContentModel(); Vector vector = validator.whatCanGoHere(ints); XSElementDecl o = (XSElementDecl)vector.get(0); assertEquals("b", o.getName()); }
testXercesIncomplete
301,123
void () { XSModel xsModel = getXSModel("testCompletion.xml", "test.xsd"); PsiElement element = myFixture.getFile().findElementAt(getEditor().getCaretModel().getOffset()); XmlTag tag = PsiTreeUtil.getParentOfType(element, XmlTag.class); assert tag != null; XSElementDeclaration elementDeclaration = xsModel.getElementDeclaration(tag.getLocalName(), tag.getNamespace()); XSComplexTypeDefinition typeDefinition = (XSComplexTypeDefinition)elementDeclaration.getTypeDefinition(); CMBuilder cmBuilder = new CMBuilder(new CMNodeFactory()); XSCMValidator validator = cmBuilder.getContentModel((XSComplexTypeDecl)typeDefinition, true); int[] ints = validator.startContentModel(); Vector vector = validator.whatCanGoHere(ints); XSElementDecl o = (XSElementDecl)vector.get(0); assertEquals("b", o.getName()); }
testXercesForCompletion
301,124
XSModel (String... files) { myFixture.configureByFiles(files); XmlFile file = (XmlFile)myFixture.getFile(); ValidateXmlActionHandler handler = new ValidateXmlActionHandler(false) { @Override protected SAXParser createParser() throws SAXException, ParserConfigurationException { SAXParser parser = super.createParser(); parser.getXMLReader().setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE, true); return parser; } }; handler.setErrorReporter(new TestErrorReporter(handler)); handler.doValidate(file); XMLGrammarPool grammarPool = ValidateXmlActionHandler.getGrammarPool(file); assert grammarPool != null; Grammar[] grammars = grammarPool.retrieveInitialGrammarSet(XMLGrammarDescription.XML_SCHEMA); XSGrammar grammar = (XSGrammar)grammars[0]; return grammar.toXSModel(); }
getXSModel
301,125
void () { Map<String, XmlElementDescriptor> map = configure("test.xml", "test.xsd"); XmlElementDescriptor a = map.get("a"); XmlElementsGroup topGroup = a.getTopGroup(); }
testXsdConstraints
301,126
void () { Map<String, XmlElementDescriptor> map = configure("testDtd.xml"); XmlElementDescriptor a = map.get("a"); XmlElementDescriptor b = map.get("b"); XmlElementDescriptor c = map.get("c"); XmlElementDescriptor d = map.get("d"); XmlElementDescriptor e = map.get("e"); }
testDtdConstraints
301,127
String () { return "/xml/tests/testData/constraints"; }
getBasePath
301,128
String () { return getXmlParsingTestDataPath(); }
getTestDataPath
301,129
String () { return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/"; }
getXmlParsingTestDataPath
301,130
void (final ASTNode file) { for (ASTNode child = file.getFirstChildNode(); child != null; child = child.getTreeNext()) { transformAllChildren(child); } }
transformAllChildren
301,131
void () { XmlFile file = (XmlFile)createFile("test.xml", "<!DOCTYPE greeting SYSTEM \"hello.dtd\">"); XmlDocument document = file.getDocument(); XmlProlog prolog = document.getProlog(); XmlDoctype doctype = prolog.getDoctype(); String url = doctype.getDtdUri(); assertEquals("testDtdUrl1", "hello.dtd", url); }
testDtdUrl1
301,132
IElementType () { return new IElementType("MyElementType", language); }
getScriptElementType
301,133
Lexer () { return null; }
getHighlightingLexer
301,134
void () { testTodos(""" <root> <!-- [TODO to do ]--> </root> """); }
testSimple
301,135
void () { testTodos(""" <root> <!-- [TODO to do] [me ]--> </root> """); }
testMultilineSingleComment
301,136
void () { testTodos(""" <root> <!-- [TODO to do ]--> <!-- [me ]--> </root> """); }
testMultiline
301,137
String () { return "xml"; }
getFileExtension
301,138
boolean () { return false; }
supportsCStyleSingleLineComments
301,139
boolean () { return false; }
supportsCStyleMultiLineComments
301,140
XmlTag (String s) { return XmlElementFactory.getInstance(getProject()).createTagFromText(s); }
createTag
301,141
void () { XmlTag tag = createTag("<a></a>"); tag.setAttribute("b", ""); assertEquals("<a b=\"\"></a>", tag.getText()); tag.setAttribute("c", ""); assertEquals("<a b=\"\" c=\"\"></a>", tag.getText()); }
testAddAttribute1
301,142
void () { XmlTag tag = createTag("<a/>"); tag.setAttribute("b", ""); assertEquals("<a b=\"\"/>", tag.getText()); tag.setAttribute("c", ""); assertEquals("<a b=\"\" c=\"\"/>", tag.getText()); }
testAddAttribute2
301,143
void () { XmlTag tag = createTag("<a/>"); tag.add(tag.createChildTag("b", "", null, false)); assertEquals("<a><b/></a>", tag.getText()); }
testAddSubTag1
301,144
void () { XmlFile file = (XmlFile)PsiFileFactory.getInstance(getProject()).createFileFromText(XMLLanguage.INSTANCE, """ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.amirsh.myapplication"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest>"""); XmlTag subtag = createTag("<b/>"); try { file.getRootTag().addSubTag(subtag, true); fail(); } catch (IncorrectOperationException e) { assertTrue(e.getMessage().startsWith("Must not change PSI outside command or undo-transparent action.")); } }
testExceptionMessage
301,145
void () { XmlTag tag = createTag("<a>foo</a>"); XmlText[] elements = tag.getValue().getTextElements(); assertEquals(1, elements.length); elements[0].setValue(""); assertEquals("<a></a>", tag.getText()); }
testSetText
301,146
void () { doFindUsages("usages.xml", 16); doFindUsages("usages1.xml", 16); }
testPrefixUsages
301,147
void () {doRename();}
testRename
301,148
void () {doRename();}
testRename1
301,149
void () {doRename();}
testRename2
301,150
void () {doRename();}
testRenameFromClosingTag
301,151
void () { doRename("xsd"); }
doRename
301,152
void (String newValue) { final String name = getTestName(true); CodeInsightTestUtil.doInlineRenameTest(new SchemaPrefixRenameHandler(), name, "xml", newValue, myFixture); }
doRename
301,153
String () { return "/xml/tests/testData/schemaPrefix"; }
getBasePath
301,154
void (String filename, int usages) { assertSize(usages, myFixture.testFindUsages(filename)); }
doFindUsages
301,155
void () { ExternalResourceManagerExImpl.registerResourceTemporarily("http://dl.google.com/gwt/DTD/xhtml.ent", getTestDataPath() + "xhtml.ent", myFixture.getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:ui:com.google.gwt.uibinder", getTestDataPath() + "UiBinder.xsd", myFixture.getTestRootDisposable()); myFixture.enableInspections(CheckXmlFileWithXercesValidatorInspection.class); myFixture.configureByFile(getTestName(false) + ".ui.xml"); myFixture.checkHighlighting(); myFixture.type('\b'); // edit content, document has to be valid after that myFixture.checkHighlighting(); }
testXmlEntityManagerCaching
301,156
String () { return "/xml/tests/testData/xml/"; }
getBasePath
301,157
String () { return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + getBasePath(); }
getTestDataPath
301,158
Lexer () { return new XmlLexer(); }
createLexer
301,159
String () { return "/xml/tests/testData/lexer/xml"; }
getDirPath
301,160
String (@NotNull String extension) { return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/" + getDirPath() + "/" + getTestName(true) + extension; }
getPathToTestDataFile
301,161
void () { doTest("<idea-plugin><name>Remote${ Interpreter}</name></idea-plugin>"); }
testWrappedEL
301,162
void () { doTest("<idea-plugin><name>Remote${ Interpreter</name></idea-plugin>"); } public void testUnfinishedStringInDoctype() { doTest("<!DOCTYPE faces-config PUBLIC \"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config1.0//EN"); } public void testUnfinishedMarkupDeclarationInDoctype() { doTest("<!DOCTYPE schema [ <!ENTITY RelativeURL \"[^:#/\\?]*(:{0,0}|[#/\\?].*)\">"); } public void testPerformance1() throws IOException { doTestPerformance("pallada.xml", 200); } public void testPerformance2() throws IOException { doTestPerformance("performance2.xml", 400); } private static void doTestPerformance(String fileName, int expectedMs) throws IOException { final String text = ParsingTestCase.loadFileDefault( PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/xml/tests/testData/psi/xml", fileName); final XmlLexer lexer = new XmlLexer(); final FilterLexer filterLexer = new FilterLexer(new XmlLexer(), new FilterLexer.SetFilter(new XMLParserDefinition().getWhitespaceTokens())); PlatformTestUtil.startPerformanceTest("XML Lexer Performance on " + fileName, expectedMs, () -> { for (int i = 0; i < 10; i++) { doLex(lexer, text); doLex(filterLexer, text); } }).assertTiming(); } private static void doLex(Lexer lexer, final String text) { lexer.start(text); long time = System.nanoTime(); int count = 0; while (lexer.getTokenType() != null) { lexer.advance(); count++; } LOG.debug("Plain lexing took " + (System.nanoTime() - time) + "ns. Lexemes count:" + count); } }
testUnfinishedEL
301,163
void () { doTest("<!DOCTYPE faces-config PUBLIC \"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config1.0//EN"); }
testUnfinishedStringInDoctype
301,164
void () { doTest("<!DOCTYPE schema [ <!ENTITY RelativeURL \"[^:#/\\?]*(:{0,0}|[#/\\?].*)\">"); }
testUnfinishedMarkupDeclarationInDoctype
301,165
void (Lexer lexer, final String text) { lexer.start(text); long time = System.nanoTime(); int count = 0; while (lexer.getTokenType() != null) { lexer.advance(); count++; } LOG.debug("Plain lexing took " + (System.nanoTime() - time) + "ns. Lexemes count:" + count); }
doLex
301,166
void () { doTest(); }
testTagFolding
301,167
void () { doTest(); }
testStyleAttributeFolding
301,168
void () { doTest(".xml"); }
testStyleAttributeFolding2
301,169
void () { doTest(); }
testEntities
301,170
void () { doTest(); }
testHtmlInHtml
301,171
void () { doTest(); }
testDataUri
301,172
void () { doTest(); }
testCustomRegions
301,173
void () { doTest(".html"); }
doTest
301,174
void (String extension) { myFixture.testFolding(getTestDataPath() + getTestName(true) + extension); }
doTest
301,175
String () { return "/xml/tests/testData/folding/"; }
getBasePath
301,176
String () { return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + getBasePath(); }
getTestDataPath
301,177
void () { ColorSettingsPage page = new XMLColorsPage(); Map<String, TextAttributesKey> map = page.getAdditionalHighlightingTagToDescriptorMap(); List<HighlightData> highlights = new ArrayList<>(); String s = new HighlightsExtractor(map, INLINE_ELEMENT_DESCRIPTORS, COLOR_KEY_MAPPING).extractHighlights(page.getDemoText(), highlights); assertEquals(10, highlights.size()); assertEquals(""" <?xml version='1.0' encoding='ISO-8859-1' ?> <!DOCTYPE index> <!-- Some xml example --> <index version="1.0" xmlns:pf="http://test"> <name>Main Index</name> <indexitem text="rename" target="refactoring.rename"/> <indexitem text="move" target="refactoring.move"/> <indexitem text="migrate" target="refactoring.migrate"/> <indexitem text="usage search" target="find.findUsages"/> <indexitem>Matched tag name</indexitem> <someTextWithEntityRefs>&amp; &#x00B7;</someTextWithEntityRefs> <withCData><![CDATA[ <object class="MyClass" key="constant"> </object> ]]> </withCData> <indexitem text="project" target="project.management"/> <custom-tag>hello</custom-tag> <pf:foo pf:bar="bar"/> </index>""", s); }
testXmlHighlights
301,178
void () { super.configureDefault(); setHtml5OutlineMode(true); }
configureDefault
301,179
String () { return TreeStructureUtil.getPropertyName(Html5SectionsNodeProvider.HTML5_OUTLINE_PROVIDER_PROPERTY); }
getHtml5OutlineModePropertyName
301,180
String () { return "html"; }
getFileExtension
301,181
String () { return "/xml/tests/testData/structureView/"; }
getBasePath
301,182
boolean () { return true; }
isCommunity
301,183
void (boolean enabled) { myPopupFixture.getPopup().setTreeActionState(Html5SectionsNodeProvider.class, enabled); myPopupFixture.update(); }
setHtml5OutlineMode
301,184
void () {checkTree();}
testEmpty
301,185
void () {checkTree();}
testSimple
301,186
void () {checkTree();}
testNoSectioningRoot
301,187
void () {checkTree();}
testImplicitSections
301,188
void () {checkTree();}
testMultipleRootTags
301,189
boolean () { return true; }
shouldBeAvailableAfterExecution
301,190
String () { return ""; }
getBasePath
301,191
String () { return PlatformTestUtil.getCommunityPath() + "/xml/tests/testData/intentions/splitTag"; }
getTestDataPath
301,192
boolean () { return false; }
shouldBeAvailableAfterExecution
301,193
String () { return ""; }
getBasePath
301,194
String () { return PlatformTestUtil.getCommunityPath() + "/xml/tests/testData/intentions/splitJoinAttributes"; }
getTestDataPath
301,195
void () { myFixture.configureByFile("web-app_2_5.xsd"); doTest("generate.xml", "security-constraint"); }
testGenerate
301,196
void () { myFixture.configureByFile("javaee_5.xsd"); myFixture.configureByFile("web-app_2_5.xsd"); doTest("generateEmpty.xml", "distributable"); }
testGenerateEmpty
301,197
void () { doTest("generateDTD.xml", "b"); }
testGenerateDTD
301,198
void () { doTest("generateDTDComplex.xml", "b"); }
testGenerateDTDComplex
301,199
void () { myFixture.configureByFile("spring-beans_3.0.xsd"); doTest("spring.xml", "bean"); }
testSpring