Fix PR comments

This commit is contained in:
tomdaly
2019-02-04 10:54:51 +00:00
parent 37f5031769
commit 7dd44ec414

View File

@ -67,15 +67,37 @@ public class Foo {
</test-code>
<test-code>
<description>#1573 method names should not contain underscores, but skip test methods</description>
<description>#1573 method names should not contain underscores, but skip test methods 1</description>
<expected-problems>0</expected-problems>
<rule-property name="skipTestMethodUnderscores">true</rule-property>
<code><![CDATA[
public class Foo {
@isTest
void test_barFoo() {}
void test_barFoo() {}
}
]]></code>
</test-code>
<test-code>
<description>#1573 method names should not contain underscores, but skip test methods 2</description>
<expected-problems>0</expected-problems>
<rule-property name="skipTestMethodUnderscores">true</rule-property>
<code><![CDATA[
public class Foo {
void testMethod test_barFoo() {}
}
]]></code>
</test-code>
<test-code>
<description>#1573 method names should not contain underscores, but skip test methods 3</description>
<expected-problems>1</expected-problems>
<rule-property name="skipTestMethodUnderscores">false</rule-property>
<code><![CDATA[
public class Foo {
@isTest
void test_barFoo() {}
}
]]></code>
</test-code>
</test-data>