Searched refs:watchService1 (Results 1 – 1 of 1) sorted by relevance
279 WatchService watchService1 = FileSystems.getDefault().newWatchService(); in test_multipleKeys() local291 WatchKey directoryKey1 = directory1.register(watchService1, ALL_EVENTS_KINDS); in test_multipleKeys()292 WatchKey directoryKey2 = directory2.register(watchService1, ALL_EVENTS_KINDS); in test_multipleKeys()311 checkWatchServiceEventMultipleKeys(watchService1, expected, true); in test_multipleKeys()312 assertNull(watchService1.poll()); in test_multipleKeys()313 watchService1.close(); in test_multipleKeys()318 WatchService watchService1 = FileSystems.getDefault().newWatchService(); in test_multipleServices() local333 WatchKey directoryKey1 = directory1.register(watchService1, ALL_EVENTS_KINDS); in test_multipleServices()342 checkWatchServiceEvent(watchService1, directoryKey1, in test_multipleServices()355 checkWatchServiceEvent(watchService1, directoryKey1, in test_multipleServices()[all …]