mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
36 lines
827 B
Java
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();
|
|
}
|
|
}
|