Add some more tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-09-27 03:04:49 +00:00
parent 67914b1475
commit 9960dd4204
1 changed files with 3 additions and 0 deletions

View File

@ -339,6 +339,9 @@ public void testSpecialCharacters() throws Exception {
testSdfAndFdp("Q" ,"", true); // bad pattern character
testSdfAndFdp("$" ,"$", false); // OK
testSdfAndFdp("?.d" ,"?.12", false); // OK
testSdfAndFdp("''yyyyMMdd'A''B'HHmmssSSS''", "'20030210A'B153320989'", false); // OK
testSdfAndFdp("''''yyyyMMdd'A''B'HHmmssSSS''", "''20030210A'B153320989'", false); // OK
testSdfAndFdp("'$\\Ed'" ,"$\\Ed", false); // OK
}
@Test