diff options
Diffstat (limited to 'plugins/InspectionGadgets/testsrc/com/siyeh/ig/controlflow/OverlyComplexBooleanExpressionInspectionTest.java')
-rw-r--r-- | plugins/InspectionGadgets/testsrc/com/siyeh/ig/controlflow/OverlyComplexBooleanExpressionInspectionTest.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/controlflow/OverlyComplexBooleanExpressionInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/controlflow/OverlyComplexBooleanExpressionInspectionTest.java new file mode 100644 index 000000000000..bca8529d1ed7 --- /dev/null +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/controlflow/OverlyComplexBooleanExpressionInspectionTest.java @@ -0,0 +1,13 @@ +package com.siyeh.ig.controlflow; + +import com.siyeh.ig.IGInspectionTestCase; + +public class OverlyComplexBooleanExpressionInspectionTest extends IGInspectionTestCase { + + public void test() throws Exception { + final OverlyComplexBooleanExpressionInspection tool = new OverlyComplexBooleanExpressionInspection(); + tool.m_limit = 3; + tool.m_ignorePureConjunctionsDisjunctions = true; + doTest("com/siyeh/igtest/controlflow/overly_complex_boolean_expression", tool); + } +}
\ No newline at end of file |