void () { myFixture.copyFileToProject(getTestName(false) + ".gif"); myFixture.copyFileToProject(getTestName(false) + ".svg"); myFixture.configureByFiles(getTestName(false) + ".html"); CheckImageSizeInspection tool = new CheckImageSizeInspection(); myFixture.enableInspections(tool); myFixture.checkHighlighting(true, false, false); myFixture.configureByFiles(getTestName(false) + "5.html"); myFixture.checkHighlighting(true, false, false); if (!HtmlToolsTestsUtil.isCommunityContext()) { myFixture.configureByFiles(getTestName(false) + ".jsp"); myFixture.checkHighlighting(true, false, false); } myFixture.configureByFiles(getTestName(false) + "DataUri.html"); myFixture.checkHighlighting(true, false, false); }