Files
openide/java/java-tests/testSrc/com/intellij/codeInspection/DeprecationInspectionTest.java
2009-09-25 20:49:14 +04:00

36 lines
827 B
Java

/*
* Copyright (c) 2000-2006 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.codeInspection;
import com.intellij.JavaTestUtil;
import com.intellij.codeInspection.deprecation.DeprecationInspection;
import com.intellij.testFramework.InspectionTestCase;
/**
* @author max
*/
public class DeprecationInspectionTest extends InspectionTestCase {
@Override
protected String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
}
private void doTest() throws Exception {
doTest("deprecation/" + getTestName(true), new DeprecationInspection());
}
public void testDeprecatedMethod() throws Exception{
doTest();
}
public void testDeprecatedInner() throws Exception {
doTest();
}
public void testDeprecatedField() throws Exception{
doTest();
}
}