void () { myFixture.configureByFile( getTestName(false) + ".xhtml" ); CheckValidXmlInScriptBodyInspection tool = new CheckValidXmlInScriptBodyInspection(); myFixture.enableInspections(tool); if (!HtmlToolsTestsUtil.isCommunityContext()) { myFixture.checkHighlighting(true, false, false); myFixture.configureByFile( getTestName(false) + "2.xhtml" ); myFixture.checkHighlighting(true, false, false); } myFixture.configureByFile( getTestName(false) + ".html" ); myFixture.checkHighlighting(true, false, false); myFixture.configureByFile( getTestName(false) + "2.html" ); myFixture.checkHighlighting(true, false, false); myFixture.configureByFile( getTestName(false) + "3.html" ); myFixture.checkHighlighting(true, false, false); }