diff options
author | Narayan Kamath <narayan@google.com> | 2014-10-08 13:34:06 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-10-08 13:34:06 +0100 |
commit | 593a2e1667f8923dff875268169bb5dfa4c67bef (patch) | |
tree | 4e70eebc241ad3cb98ba164032d066b546e9da0e /annotations/generate_annotated_java_files.py | |
parent | 957ec8b09833e1c2f2c21380e53c13c9962e6b3e (diff) |
Fix FileTest.
FileTest.testParent expects "user.home" to be non empty. The test
uses "user.home" because the author of the test (mistakenly) assumed
that calling "new File(path)" creates a new file. The value can be
safely replaced by a non-empty and non-existent path.
This test was broken by commit 566618403d002719a94a6624 changed
"user.home" from "/" to "" to match the documented value of the
property and to match all older versions of android *except* for
kitkat (which sets "/").
Note that this test is new with "L".
bug: 17906647
Change-Id: I21ca18c8d53095c37a9068ce18bcf937a0ccf877
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions