blob: fbe2e70e094564a5855d9a33845a28fe3546c7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
public class JUnit3MethodNamingConvention extends junit.framework.TestCase {
public void <warning descr="JUnit 3 test method name 'testA' is too short (5 < 8)">testA</warning>() {}
public void <warning descr="JUnit 3 test method name 'testAbcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz' is too long (82 > 64)">testAbcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz</warning>() {}
public void <warning descr="JUnit 3 test method name 'testGiveMeMore$$$' doesn't match regex 'test[A-Za-z_\d]*'">testGiveMeMore$$$</warning>() {}
public void test_me_properly() {}
}
|