Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/file/
DWatchServiceTest.java319 WatchService watchService2 = FileSystems.getDefault().newWatchService(); in test_multipleServices() local
334 WatchKey directoryKey2 = directory2.register(watchService2, ALL_EVENTS_KINDS); in test_multipleServices()
345 checkWatchServiceEvent(watchService2, directoryKey2, in test_multipleServices()
350 WatchKey directoryKey3 = directory1.register(watchService2, ALL_EVENTS_KINDS); in test_multipleServices()
358 checkWatchServiceEvent(watchService2, directoryKey3, in test_multipleServices()
366 assertNull(watchService2.poll()); in test_multipleServices()
367 watchService2.close(); in test_multipleServices()