Package com.intellij.codeInspection.deadCode

Examples of com.intellij.codeInspection.deadCode.UnusedDeclarationInspectionBase


* User: Andrey.Vokin
* Date: 10/20/12
*/
public class UnusedJavaMethodInspectionTest extends CucumberJavaBaseInspectionTest {
  protected void doTest(final String file) {
    myFixture.enableInspections(new UnusedDeclarationInspectionBase(true));
    myFixture.configureByFile(file);
    myFixture.testHighlighting(true, false, true);
  }
View Full Code Here


    return getTestName(false).contains("Convention") ? CONVENTION : super.getProjectDescriptor();
  }

  @Override
  protected InspectionProfileEntry[] getHighlightingInspections() {
    return new InspectionProfileEntry[]{new UnusedDeclarationInspectionBase(true)};
  }
View Full Code Here

TOP

Related Classes of com.intellij.codeInspection.deadCode.UnusedDeclarationInspectionBase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.