summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2016-08-15 13:32:03 +0100
committerShubham Ajmera <shubhamajmera@google.com>2016-08-15 18:04:20 +0100
commit959fcd7b9e6cec8f5d4884ee9cb9fe52cf949c53 (patch)
tree450d0d68d75233dc399265d793eea9913a633306 /annotations/generate_annotated_java_files.py
parent4abb9a349cad85d17830d9219d2a2796eaf533af (diff)
Fix FilesSetup#initializeFile to use temporary directory
As the method was creating files in the current directory, the tests in libcore.java.nio.file.FilesTest/DefaultFileSystemProviderTest/DefaultFileStoreTest were failing on CTS as the directory is read-only. Instead, now it creates a temporary directory. Also, removed @RunWith annotation from DefaultFileSystemProviderTest as it is not supported by CTS. Bug: 30815448 Test: Ran libcore.java.nio.file.FilesTest/DefaultFileSystemProviderTest/DefaultFileStoreTest tests on CTS and Vogar Change-Id: Ieca38f56b4e4dc98c9ffffce92ac15168821cf62
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions