History log of /libcore/luni/src/test/java/libcore/java/nio/file/FilesSetup.java
Revision Date Author Comments
045e5227741aed0984c3cd0c17f9a76508ccb711 13-Feb-2017 Shubham Ajmera <shubhamajmera@google.com> Add missing unit tests for java.nio.files.Files

Add missing unit tests for java.nio.files.Files

Bug: 29030887
Test: run cts -m CtsLibcoreTestCases
Change-Id: I67e1b4c3a446625fadc39ed13002e19461034d75
1a75c10f777eed2433bc1dee9f44aec577404ca0 06-Jun-2016 Shubham Ajmera <shubhamajmera@google.com> Add tests for java.nio.file.Path

Test: cts-tradefed run cts -m CtsLibcoreTestCases -t
libcore.java.nio.file.LinuxPathTest
Bug: 29030838

Change-Id: I3bef19c562f46d48fc8d2cd4f2997258328136d6
63c1e9c4b3865ebb9a69b6255e18c73303705a63 09-Aug-2016 Shubham Ajmera <shubhamajmera@google.com> Add more tests for java.nio.file.File

and DefaultFileSystemProvider. Also some minor refractoring to get a
path in test directory.

Bug: 27331465
Test: Ran the tests on CTS
Change-Id: If5533e66a205f8d9df0eb6e286ec93ff0bb26cbf
959fcd7b9e6cec8f5d4884ee9cb9fe52cf949c53 15-Aug-2016 Shubham Ajmera <shubhamajmera@google.com> 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
1bb59e506f74fdcb6a08c71d82fd8ea942f56eea 02-Jun-2016 Shubham Ajmera <shubhamajmera@google.com> Add junit tests for java.nio.file.Files

Bug: 27331465
Change-Id: I6d36a7b24c3ef595314be1f6588ff63825c8cedc