Searched refs:fileTime (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 123 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_move_CopyOption() local 124 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_move_CopyOption() local 126 assertEquals(fileTime.to(TimeUnit.SECONDS), in test_move_CopyOption() 339 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_readAttributes() local 340 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_readAttributes() local 345 assertEquals(fileTime.to(TimeUnit.SECONDS), lastModifiedTime.to(TimeUnit.SECONDS)); in test_readAttributes() 373 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis()); in test_setAttribute() local 374 provider.setAttribute(filesSetup.getTestPath(), "basic:lastModifiedTime", fileTime); in test_setAttribute() local 529 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis()); in test_newFileChannel_withFileAttributes() local 530 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_newFileChannel_withFileAttributes() local [all …]
|
D | DefaultFileSystemProviderTest.java | 673 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_copy_CopyOption() local 674 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_copy_CopyOption() local 676 assertEquals(fileTime.to(TimeUnit.SECONDS), in test_copy_CopyOption()
|