summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2014-04-15 18:22:09 +0100
committerNarayan Kamath <narayan@google.com>2014-05-14 13:58:07 +0100
commit83503b28ef1361319dfb3e698a9861cbaa7ef703 (patch)
tree6eaeee514a4698e82de5ec0ecb00fcbbd020cd5e /annotations/generate_annotated_java_files.py
parent0ed1f9fd26b80f14ec4a5676c6f3fe00072c9bb5 (diff)
Fix broken CTS test
The fix is in test_isJavaIdentifierPartC() and reverses the assertion for Character.isJavaIdentifierPart('\u200b') from false to true. The test method below it (isIdentifierPart(int)) was already asserting this and the behavior has been confirmed against the RI. Other changes made: Uncommented some assertions that now pass, removed unnecessary / incorrect comments, added missing braces, some reformatting to 100 chars to improve readability, removed empty lines at the beginning of methods . Converted all assertTrue(msg, !condition); to assertFalse(msg, condition). Bug: 13748395 (cherry picked from commit 2a025c1955e9fccac12587c019f3ae82ff5505c3) Change-Id: I18ac7d2b0b8f87d4a13cb32113bbea1abe691a4a
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions