blob: 0ea7b13543c74886db5fa99a88722a976ce8fc9a [file] [log] [blame]
package com.siyeh.ig.logging;
import com.siyeh.ig.IGInspectionTestCase;
public class LogStatementGuardedByLogConditionInspectionTest extends IGInspectionTestCase {
public void test() throws Exception {
final LogStatementGuardedByLogConditionInspection tool = new LogStatementGuardedByLogConditionInspection();
tool.loggerClassName = "com.siyeh.igtest.logging.log_statement_guarded_by_log_condition.LogStatementGuardedByLogCondition.Logger";
tool.logMethodNameList.clear();
tool.logMethodNameList.add("debug");
tool.logConditionMethodNameList.clear();
tool.logConditionMethodNameList.add("isDebug");
doTest("com/siyeh/igtest/logging/log_statement_guarded_by_log_condition", tool);
}
}