Fix test files
This commit is contained in:
1 parent
9b00cb3ceb
commit
22e5538e14
2 files changed
+13
-1
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
|
||||
package net.sourceforge.pmd.lang.apex.rule.bestpractices;
|
||||
|
||||
import net.sourceforge.pmd.testframework.PmdRuleTst;
|
||||
|
||||
|
||||
public class DebugsShouldUseLoggingLevelTest extends PmdRuleTst {
|
||||
// no additional unit tests
|
||||
}
|
||||
+1
-1
@@ -22,7 +22,7 @@ public class Foo {
|
||||
|
||||
<test-code>
|
||||
<description>When using strict mode, one should not use the DEBUG LoggingLevel.</description>
|
||||
<rule-property name="strictMode" value="true"/>
|
||||
<rule-property name="strictMode">true</rule-property>
|
||||
<expected-problems>1</expected-problems>
|
||||
<expected-linenumbers>5</expected-linenumbers>
|
||||
<code><![CDATA[
|
||||
Reference in new issue
Block a user