Home
last modified time | relevance | path

Searched refs:mockFileSystem (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java303 FileSystem mockFileSystem = mock(FileSystem.class); in test_open_Path_Set_FileAttributes() local
314 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_Set_FileAttributes()
315 when(mockFileSystem.provider()).thenReturn(mockFileSystemProvider); in test_open_Path_Set_FileAttributes()
331 FileSystem mockFileSystem = mock(FileSystem.class); in test_open_Path_OpenOptions() local
339 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_OpenOptions()
340 when(mockFileSystem.provider()).thenReturn(mockFileSystemProvider); in test_open_Path_OpenOptions()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java73 private FileSystem mockFileSystem; field in FilesTest
79 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp()
80 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
81 when(mockFileSystem.provider()).thenReturn(mockFileSystemProvider); in setUp()
DFiles2Test.java106 private FileSystem mockFileSystem; field in Files2Test
112 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp()
113 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
114 when(mockFileSystem.provider()).thenReturn(mockFileSystemProvider); in setUp()