forked from phoedos/pmd
Add another test case for java
This commit is contained in:
@ -131,7 +131,7 @@ public class ParserCornersTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testUnicodeIndent() {
|
public void testUnicodeIndent() {
|
||||||
// https://github.com/pmd/pmd/issues/3423
|
// https://github.com/pmd/pmd/issues/3423
|
||||||
java7.parseResource("UnicodeIndent.java");
|
java7.parseResource("UnicodeIdentifier.java");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -16,3 +16,22 @@ public class PmdTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum CodeSet {
|
||||||
|
|
||||||
|
START_CODE_A('Ë'),
|
||||||
|
START_CODE_B('Ì'),
|
||||||
|
START_CODE_C('Í'),
|
||||||
|
A_TILDE('\u00c3'),
|
||||||
|
STOP_CODE('Î');
|
||||||
|
|
||||||
|
private final char encoding;
|
||||||
|
|
||||||
|
CodeSet(final char encoding) {
|
||||||
|
this.encoding = encoding;
|
||||||
|
}
|
||||||
|
|
||||||
|
public char getEncoding() {
|
||||||
|
return encoding;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user