mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-18 07:15:51 +07:00
28 lines
729 B
Java
28 lines
729 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.sillyAssignment.SillyAssignmentInspection;
|
|
import com.intellij.testFramework.InspectionTestCase;
|
|
|
|
public class SillyAssignmentTest extends InspectionTestCase {
|
|
@Override
|
|
protected String getTestDataPath() {
|
|
return JavaTestUtil.getJavaTestDataPath() + "/inspection";
|
|
}
|
|
|
|
private void doTest() throws Exception {
|
|
doTest("sillyAssignment/" + getTestName(true), new SillyAssignmentInspection());
|
|
}
|
|
|
|
public void testMultiple() throws Exception {
|
|
doTest();
|
|
}
|
|
|
|
public void testSuppressed() throws Exception {
|
|
doTest();
|
|
}
|
|
} |