Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
300,600
void () { doTest("<a<caret> alt='</>'></a>", "\bb", "<b alt='</>'></b>"); }
testLastCharDeletedAndNewAdded
300,601
void () { doTest("<<selection>div</selection>></div>", "b", "<b></b>"); }
testSelection
300,602
void () { doTest(""" <div<caret>></div> <div<caret>></div> """, "v", """ <divv></divv> <divv></divv> """); }
testMultiCaret
300,603
void () { doTest(""" <div<caret>> <div<caret>></div> </div>""", "v", """ <divv> <divv></divv> </divv>"""); }
testMultiCaretNested
300,604
void () { doTest(""" <div<caret>></div> <div></div> """, "\b\b\biii", """ <iii></iii> <div></div> """); myFixture.getEditor().getCaretModel().addCaret(new VisualPosition(1, 4)); type("\b"); myFixture.checkResult(""" <ii></ii> <di></di> """); }
testMultiCaretAdding
300,605
void () { doTest(""" <div class="container"> <div class="row"> <div class="col-xs-2"></div> <<selection>div</selection> class="col-xs-10"></div> </div> </div>""", "a", """ <div class="container"> <div class="row"> <div class="col-xs-2"></div> <a class="col-xs-10"></a> </div> </div>"""); myFixture.performEditorAction(Id...
testAfterUndo
300,606
void () { doTest("<div<caret>></div>", " ", "<div ></div>"); }
testSpace
300,607
void () { doTest("<divv<caret>></div>", "\bd", "<divd></divd>"); }
testRecommence
300,608
void () { doTestCompletion("<html><body></body><b<caret>></b><html>", null, "<html><body></body><body></body><html>"); }
testCompletionSimple
300,609
void () { doTestCompletion("<html><body></body><bertran></bertran><b<caret>></b><html>", "e\n", "<html><body></body><bertran></bertran><bertran></bertran><html>"); }
testCompletionWithLookup
300,610
void () { doTestCompletion("<html><body></body><bertran></bertran><b<caret>></b><html>", "e", "<html><body></body><bertran></bertran><be></be><html>"); assertNotNull(myFixture.getLookup()); }
testCompletionWithLookupAfterTyping
300,611
void () { doTest("<div> \n \n</div><caret>", "\n", "<div> \n \n</div>\n"); final PsiFile file = myFixture.getFile(); myFixture.getEditor().getCaretModel().moveToOffset(myFixture.getDocument(file).getTextLength() - 2); final EditorSettingsExternalizable editorSettings = EditorSettingsExternalizable.getInstance(); String...
testSave
300,612
void () { doTest("<div<caret>></div>", "v", "<divv></divv>"); myFixture.performEditorAction(IdeActions.ACTION_UNDO); myFixture.checkResult("<div></div>"); }
testUndo
300,613
void () { myFixture.configureByText(XmlFileType.INSTANCE, "<di<caret>v></div>"); myFixture.performEditorAction(IdeActions.ACTION_HIPPIE_COMPLETION); myFixture.checkResult("<divv></divv>"); }
testWordExpand
300,614
void () { doTest("<div>text</span><caret></div>", "\b\b\b\b\b\b\b", "<div>text</div>"); }
testDeletingIncorrectTag
300,615
void () { doTest("<div></div><caret></div>", "\b\b\b\b\b\b", "<div></div>"); }
testEndTagEnd
300,616
void () { doTest("<soap:some<caret>:some></soap:some:some>", "a", "<soap:somea:some></soap:somea:some>"); }
testDoubleColonError
300,617
void () { myFixture.configureByText(XmlFileType.INSTANCE, "<div<caret>></div>"); final Editor editor = EditorFactory.getInstance().createEditor(myFixture.getEditor().getDocument()); EditorFactory.getInstance().releaseEditor(editor); type("v"); myFixture.checkResult("<divv></divv>"); }
testMultipleEditors
300,618
void () { myFixture.configureByText(XmlFileType.INSTANCE, "<di<caret>></di>"); type("v"); Ref<Boolean> eventSent = Ref.create(false); myFixture.getEditor().getDocument().addDocumentListener(new DocumentListener() { @Override public void documentChanged(@NotNull DocumentEvent e) { eventSent.set(true); } }, myFixture.get...
testDoNotFireDocumentChangeEventIfTagWasNotChanged
300,619
void (@NotNull DocumentEvent e) { eventSent.set(true); }
documentChanged
300,620
void () { doTestCompletion("<htm<caret> xmlns='http://www.w3.org/1999/xhtml'></htm>", null, "<html<caret> xmlns='http://www.w3.org/1999/xhtml'></html>"); }
testCompleteSingleVariant
300,621
void () { myFixture.configureByText("foo.html","<div>ab<<caret>>cd</>ef</div>"); myFixture.type("div"); myFixture.checkResult("<div>ab<div>cd</div>ef</div>"); }
testEmptyTagStartSync
300,622
void () { myFixture.configureByText("foo.html","<div>ab<>cd</<caret>>ef</div>"); myFixture.type("div"); myFixture.checkResult("<div>ab<div>cd</div>ef</div>"); }
testEmptyTagEndSync
300,623
void () { myFixture.configureByText("foo.html","<b>ab</<caret>>cd</b>"); myFixture.type("br"); myFixture.checkResult("<b>ab</br>cd</b>"); }
testEmptyEndSync
300,624
void () { doTest("<foo><<caret>", '/', "<foo></foo>"); }
testClosingTag
300,625
void () { doTest("<foo bar<caret>><foo bar<caret>>", '=', "<foo bar=\"<caret>\"><foo bar=\"<caret>\">"); }
testValueQuotesWithMultiCarets
300,626
void () { doTest("<foo bar<caret>\n<foo bar<caret>", '=', "<foo bar=\"<caret>\"\n<foo bar=\"<caret>\""); }
testValueQuotesWithMultiCaretsMultiline
300,627
void () { doTest("<foo bar <caret>><foo bar<caret>>", '=', "<foo bar =<caret>><foo bar=\"<caret>\">"); }
testValueQuotesWithMultiCaretsWithDifferentContexts
300,628
void () { doTest(""" <bar> <foo><<caret> <foo><<caret> </bar>""", '/', """ <bar> <foo></foo><caret> <foo></foo><caret> </bar>"""); }
testCloseTagOnSlashWithMultiCarets
300,629
void () { doTest(""" <bar> <foo<caret> <foo<caret> </bar>""", '>', """ <bar> <foo><caret></foo> <foo><caret></foo> </bar>"""); }
testCloseTagOnGtWithMultiCarets
300,630
void () { doTest(""" <bar> <foo><<caret> <fiz><<caret> </bar>""", '/', """ <bar> <foo></foo><caret> <fiz></fiz><caret> </bar>"""); }
testCloseTagOnSlashWithMultiCaretsInDifferentContexts
300,631
void () { doTest(""" <bar> <foo<caret> <fiz<caret> </bar>""", '>', """ <bar> <foo><caret></foo> <fiz><caret></fiz> </bar>"""); }
testCloseTagOnGtWithMultiCaretsInDifferentContexts
300,632
void () { doTest("<foo><<caret>foo>", '/', "<foo></foo>"); }
testGreedyClosing
300,633
void () { doTest("<foo bar<caret>", '=', "<foo bar=\"<caret>\""); WebEditorOptions.getInstance().setInsertQuotesForAttributeValue(false); try { doTest("<foo bar<caret>", '=', "<foo bar=<caret>"); } finally { WebEditorOptions.getInstance().setInsertQuotesForAttributeValue(true); } }
testValueQuotas
300,634
void () { final HtmlCodeStyleSettings settings = getHtmlSettings(); final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE; try { settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.Single; myFixture.configureByText(HtmlFileType.INSTANCE, "<foo bar<caret>"); myFixture.type('='); myFixture.checkResult...
testSingleQuotes
300,635
void () { final HtmlCodeStyleSettings settings = getHtmlSettings(); final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE; try { settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.None; myFixture.configureByText(HtmlFileType.INSTANCE, "<foo bar<caret>>text"); myFixture.type('='); myFixture.checkRes...
testNoneQuotes
300,636
void () { doTest(""" <foo> <bar<caret></bar> </foo>""", '>', """ <foo> <bar></bar> </foo>"""); }
testFooBar
300,637
void () { doTest( "<a foo=\"1\"\n" + " bar=\"2\"><caret></a>", '\n', """ <a foo="1" bar="2"> <caret> </a>""" ); }
testWeb13982
300,638
void () { doTest( "<h1>Title</h1>\n" + "<p>body text</p><caret>", '\n', """ <h1>Title</h1> <p>body text</p> <caret>""" ); }
testWeb392
300,639
void () { doTest("<<caret>", '?', "<?<caret> ?>"); doTest("<caret>", '?', "?"); doTest("<<caret> ?>", '?', "<?<caret> ?>"); }
testPi
300,640
void () { doTest( """ <div> <p> Some text </p> <<caret>""", '/', """ <div> <p> Some text </p> </div><caret>""" ); }
testAutoindentEndTag
300,641
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<selection><div></div></selection>", '(', "(<div></div>)"); } finally { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOT...
testSelectionBraces
300,642
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<div><selection><div></div></selection></div>", '(', "<div>(<div></div>)</div>"); } finally { CodeInsightSettings.getInstance().SURR...
testSelectionBracesInner
300,643
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<selection><div></selection></div>", '(', "(<div>)</div>"); } finally { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOT...
testSelectionBracesStart
300,644
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<div><selection></div></selection>", '(', "<div>(</div>)"); } finally { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOT...
testSelectionBracesEnd
300,645
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<selection><div/></selection>", '(', "(<div/>)"); } finally { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = ...
testSelectionBracesShort
300,646
void () { boolean surround = CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED; try { CodeInsightSettings.getInstance().SURROUND_SELECTION_ON_QUOTE_TYPED = true; doTest("<div><selection><div/></selection></div>", '(', "<div>(<div/>)</div>"); } finally { CodeInsightSettings.getInstance().SURROUND_SELEC...
testSelectionBracesShortInner
300,647
void () { myFixture.configureByText("test.html", "<div><caret></div>"); myFixture.type("</"); myFixture.checkResult("<div></></div>"); }
testTagClosing
300,648
void () { myFixture.configureByText("test.html", "<div><caret></div>"); myFixture.type("<>aa</"); myFixture.checkResult("<div><>aa</></div>"); }
testTagClosing2
300,649
void () { myFixture.configureByText("test.xml", "<foo attr<caret>><bar attr<caret>></bar></foo>"); myFixture.type("=\"foo\" a2='"); myFixture.checkResult("<foo attr=\"foo\" a2=\"'\"><bar attr=\"foo\" a2=\"'\"></bar></foo>"); }
testAttributeValueQuoteEatXml
300,650
void () { myFixture.configureByText("test.html", "<div attr<caret>><div attr<caret>></div></div>"); myFixture.type("=\"foo\" a2='bar"); myFixture.checkResult("<div attr=\"foo\" a2=\"bar\"><div attr=\"foo\" a2=\"bar\"></div></div>"); }
testAttributeValueQuoteEatHtml
300,651
void (String text, char c, String result) { myFixture.configureByText(XmlFileType.INSTANCE, text); myFixture.type(c); myFixture.checkResult(result); }
doTest
300,652
HtmlCodeStyleSettings () { return CodeStyle.getSettings(myFixture.getProject()) .getCustomSettings(HtmlCodeStyleSettings.class); }
getHtmlSettings
300,653
String () { return XmlTestUtil.getXmlTestDataPath(); }
getTestDataPath
300,654
void () { String path = "/codeInsight/defaultAction/greater/"; configureByFile(path + "1.html"); performAction('>'); checkResultByFile(path + "1_after.html"); configureByFile(path + "2.html"); performAction('>'); checkResultByFile(path + "2_after.html"); configureByFile(path + "3.html"); performAction('>'); checkResult...
testHtmlGreater
300,655
void () { String path = "/codeInsight/defaultAction/greater/"; configureByFile(path + "1.xhtml"); performAction('>'); checkResultByFile(path + "1_after.xhtml"); }
testXHtmlGreater
300,656
void () { String path = "/codeInsight/defaultAction/greater/"; configureByFile(path + "1.xml"); performAction('>'); checkResultByFile(path + "1_after.xml"); configureByFile(path + "2.xml"); performAction('>'); checkResultByFile(path + "2_after.xml"); configureByFile(path + "3.xml"); performAction('>'); checkResultByFil...
testXmlGreater
300,657
String () { return XmlTestUtil.getXmlTestDataPath(); }
getTestDataPath
300,658
void () { doTest('"'); }
testAttributeStart
300,659
void () { doTest('"'); }
testAttributeEnd
300,660
void (char c) { String path = "/codeInsight/defaultAction/quote/"; configureByFile(path + getTestName(false) + ".xml"); performAction(c); checkResultByFile(path + getTestName(false) + "_after.xml"); }
doTest
300,661
String () { return XmlTestUtil.getXmlTestDataPath(); }
getTestDataPath
300,662
void () { String path = "/codeInsight/defaultAction/slash/"; configureByFile(path + "1.xml"); performAction('/'); checkResultByFile(path + "1_after.xml"); configureByFile(path + "2.xml"); performAction('/'); checkResultByFile(path + "2_after.xml"); configureByFile(path + "3.xml"); performAction('/'); checkResultByFile(...
testXmlSlash
300,663
void () { String path = "/codeInsight/defaultAction/slash/"; configureByFile(path + "1.html"); performAction('/'); checkResultByFile(path + "1_after.html"); }
testHtmlSlash
300,664
TemplateState () { return TemplateManagerImpl.getTemplateState(myFixture.getEditor()); }
getState
300,665
void () { final TemplateManager manager = TemplateManager.getInstance(getProject()); final Template template = manager.createTemplate("frm", "user", "$VAR$"); template.addVariable("VAR", new EmptyNode(), new ConstantNode("<"), true); myFixture.configureByText("a.xml", "<tag><caret></tag>"); manager.startTemplate(myFixt...
test_tag_template_in_xml
300,666
void () { myFixture.configureByText("a.xml", "<tag><caret></tag>"); myFixture.type("CD\t"); myFixture.checkResult(""" <tag><![CDATA[ ]]></tag>"""); }
test_insert_CDATA_by_CD_and_tab
300,667
void () { final TemplateImpl template = TemplateSettings.getInstance().getTemplate("CD", "HTML/XML"); TestCase.assertTrue(isApplicable("<foo><caret> </foo>", template)); TestCase.assertFalse(isApplicable("<foo bar=\"<caret>\"></foo>", template)); }
testAvailabilityCDATA
300,668
void () { final TemplateImpl template = TemplateSettings.getInstance().getTemplate("T", "HTML/XML"); TestCase.assertTrue(isApplicable("<foo><caret> </foo>", template)); TestCase.assertFalse(isApplicable("<foo bar=\"<caret>\"></foo>", template)); }
testAvailabilityT
300,669
void () { HtmlCodeStyleSettings settings = getHtmlSettings(); CodeStyleSettings.QuoteStyle originalQuoteStyle = settings.HTML_QUOTE_STYLE; boolean emmetEnabled = EmmetOptions.getInstance().isEmmetEnabled(); boolean originalEnforceQuotes = settings.HTML_ENFORCE_QUOTES; settings.HTML_QUOTE_STYLE = CodeStyleSettings.Quote...
testQuotedTemplateParametersWithEnforceQuotesOnReformat
300,670
HtmlCodeStyleSettings () { return CodeStyle.getSettings(getProject()).getCustomSettings(HtmlCodeStyleSettings.class); }
getHtmlSettings
300,671
boolean (String text, TemplateImpl inst) { myFixture.configureByText(XmlFileType.INSTANCE, text); PsiFile file = myFixture.getFile(); int offset = myFixture.getEditor().getCaretModel().getOffset(); return TemplateManagerImpl.isApplicable(inst, TemplateActionContext.expanding(file, offset)); }
isApplicable
300,672
void () { addTest(""" div<caret> div<caret> div<caret>""", """ <div><caret></div> <div><caret></div> <div><caret></div>"""); //should place caret at first variable addTest(""" a<caret> a<caret> a<caret>""", """ <a href="<caret>"></a> <a href="<caret>"></a> <a href="<caret>"></a>"""); }
addMultiCaretTests
300,673
void () { addTest("ul>li[@click=\"method\" :title=\"task.title\"]", """ <ul> <li @click="method" :title="task.title"></li> </ul>"""); addTest("t[type=application/atom+xml]", "<t type=\"application/atom+xml\"></t>"); addTest("basefont[href]/", "<basefont href=\"\">"); addTest("use[xlink:href]", "<use xlink:href=\"\"></u...
addRegressionTests
300,674
void () { addTest("p+p", "<p></p><p></p>"); addTest("p+P", "<p></p><P></P>"); addTest("p.name+p+p", "<p class=\"name\"></p><p></p><p></p>"); }
addPlusOperatorTests
300,675
void () { addTest("p>em", "<p><em></em></p>"); addTest("p.hello>em.world>span", "<p class=\"hello\"><em class=\"world\"><span></span></em></p>"); }
addGreaterThanOperatorTests
300,676
void () { addTest("p.name", "<p class=\"name\"></p>"); addTest("p.one.two.three", "<p class=\"one two three\"></p>"); addTest("p.one-two.three", "<p class=\"one-two three\"></p>"); addTest("p.one.two-three", "<p class=\"one two-three\"></p>"); addTest("p.one_two-three", "<p class=\"one_two-three\"></p>"); addTest("p#my...
addAttributesOperatorTests
300,677
void () { addTest("a[\"text.html\"]", "<a href=\"text.html\"></a>"); addTest("a['text.html']", "<a href=\"text.html\"></a>"); addTest("a[text.html]", "<a href=\"text.html\"></a>"); addTest("a[http://google.com title=Google]", "<a href=\"http://google.com\" title=\"Google\"></a>"); addTest("a[title=Google http://google....
addDefaultAttributesTests
300,678
void () { addTestWithInit("1. div.cls", "1. <div class=\"cls\"></div>", quoteStyle(CodeStyleSettings.QuoteStyle.Double)); addTestWithInit("2. div.cls", "2. <div class='cls'></div>", quoteStyle(CodeStyleSettings.QuoteStyle.Single)); addTestWithInit("3. div.cls", "3. <div class=\"cls\"></div>", quoteStyle(CodeStyleSettin...
addQuotesTests
300,679
void () { addTestWithInit("track[default]", "<track default>", compactBooleanAllowed(true)); addTestWithInit("track[default=customValue]", "<track default=\"customValue\">", compactBooleanAllowed(true)); addTestWithInit("div.editor[a. title=test]", "<div class=\"editor\" a title=\"test\">|</div>", compactBooleanAllowed...
addBooleanAttributesTests
300,680
void () { addTestWithPositionCheck("tr>td+td+td", """ <tr> <td>|</td> <td>|</td> <td>|</td> </tr>""", withAddEndEditPoint(false)); addTestWithPositionCheck("tr>td+td+td", """ <tr> <td>|</td> <td>|</td> <td>|</td> </tr>|""", withAddEndEditPoint(true)); }
addEndVariableTests
300,681
TestInitializer (final boolean value) { return (fixture, testRootDisposable) -> { final boolean oldValue = EmmetOptions.getInstance().isAddEditPointAtTheEndOfTemplate(); EmmetOptions.getInstance().setAddEditPointAtTheEndOfTemplate(value); Disposer.register(testRootDisposable, () -> EmmetOptions.getInstance().setAddEdit...
withAddEndEditPoint
300,682
void () { addTest("dl+", "<dl><dt></dt><dd></dd></dl>"); addTest("div+div>dl+", "<div></div><div><dl><dt></dt><dd></dd></dl></div>"); }
addExpandosTests
300,683
void () { addTest("h$", "<h0></h0>"); addTest("h$.item$", "<h0 class=\"item0\"></h0>"); addTest("h$.item$*3", "<h1 class=\"item1\"></h1><h2 class=\"item2\"></h2><h3 class=\"item3\"></h3>"); addTest("h$.item${text $$$}*3", "<h1 class=\"item1\">text 001</h1><h2 class=\"item2\">text 002</h2><h3 class=\"item3\">text 003</h...
addCounterTests
300,684
void () { // variables on empty attributes addTestWithPositionCheck("ul[a]>li[b=]>div[b=\"\"]+div[a=\"a\"]+div.", """ <ul a="|"> <li b="|"> <div b="|">|</div> <div a="a">|</div> <div class="|">|</div> </li> </ul>"""); addTest("some:elem", "<some:elem></some:elem>"); addTest("li#id$.class$*3", "<li id=\"id1\" class=\"cl...
addOtherTests
300,685
void () { addTest("div#head+(p>p)+div#footer", "<div id=\"head\"></div><p>\n<p></p>\n</p><div id=\"footer\"></div>"); addTest("div#head>((ul#nav>li*3)+(div.subnav>p)+(div.othernav))+div#footer", "<div id=\"head\"><ul id=\"nav\"><li></li><li></li><li></li></ul><div class=\"subnav\">\n<p></p>\n</div><div class=\"othernav...
addGroupTests
300,686
void () { addTest("(span.i$)*3", "<span class=\"i1\"></span><span class=\"i2\"></span><span class=\"i3\"></span>"); addTest("p.p$*2>(i.i$+b.b$)*3", "<p class=\"p1\"><i class=\"i1\"></i><b class=\"b1\"></b><i class=\"i2\"></i><b class=\"b2\"></b><i class=\"i3\"></i><b class=\"b3\"></b></p><p class=\"p2\"><i class=\"i1\"...
addGroupMultiplicationTests
300,687
void () { addTest("#content", "<div id=\"content\"></div>"); addTest(".content", "<div class=\"content\"></div>"); addTest("#content.demo", "<div id=\"content\" class=\"demo\"></div>"); addTest(".demo[title=test]", "<div class=\"demo\" title=\"test\"></div>"); addTest("#some_id>.some_class", "<div id=\"some_id\"><div c...
addImpliedTagNameTests
300,688
void () { addTest("span>{Hello world}", "<span>Hello world</span>"); addTest("span{Hello world}", "<span>Hello world</span>"); addTest("span>{Hello}+{ world}", "<span>Hello world</span>"); addTest("span>{Click }+(a[href=/url/]{here})+{ for more info}", "<span>Click <a href=\"/url/\">here</a> for more info</span>"); }
addTextNodesTests
300,689
void () { addTest("p>em^div", "<p><em></em></p><div></div>"); addTest("p>em>span^^div", "<p><em><span></span></em></p><div></div>"); addTest("p>em>span^^^^div", "<p><em><span></span></em></p><div></div>"); }
addClimbUpOperatorTests
300,690
void (String source, String expected) { addTest(source, expected, "html"); }
addTest
300,691
void (String source, String expected, @Nullable TestInitializer setUp) { addTest(source, expected, setUp, "html"); }
addTestWithInit
300,692
void (String source, String expected) { addTestWithPositionCheck(source, expected, "html"); }
addTestWithPositionCheck
300,693
void (String source, String expected, @Nullable TestInitializer setUp) { addTestWithPositionCheck(source, expected, setUp, "html"); }
addTestWithPositionCheck
300,694
TestInitializer (final boolean compactBooleanAllowed) { return (fixture, testRootDisposable) -> HtmlUtil .setShortNotationOfBooleanAttributeIsPreferred(compactBooleanAllowed, testRootDisposable); }
compactBooleanAllowed
300,695
String () { return Joiner.on(File.separatorChar).join(XmlTestUtil.getXmlTestDataPath(), "codeInsight", "template", "emmet", "abbreviation"); }
getTestDataPath
300,696
void () { addTest("tmatch", "<xsl:template match=\"\" mode=\"\"></xsl:template>", "xsl"); addTest("choose", "<xsl:choose><xsl:when test=\"\"></xsl:when><xsl:otherwise></xsl:otherwise></xsl:choose>", "xsl"); addTest("xsl:variable>div+p", "<xsl:variable><div></div><p></p></xsl:variable>", "xsl"); addTest("var>div+p", "<x...
addXslTests
300,697
String () { return Joiner.on(File.separatorChar).join(XmlTestUtil.getXmlTestDataPath(), "codeInsight", "template", "emmet", "abbreviation"); }
getTestDataPath
300,698
void () { expand("lipsum"); assertWordCount(getFile().getText(), 30); }
testExpandLipsum
300,699
void () { expand("lorem10"); assertWordCount(getFile().getText(), 10); }
testExpandLoremWithWordCount