Lutz Justen
8c6deaac90
[common] Fix FileWatcherTest once and for all ( #53 )
...
But...
ONCE AND FOR ALL!
A recent change introduced WaitForWatching(), which was supposed to
block until the file watcher is actively monitoring the directory.
However this always returned immediately since the watcher is in
kFailed state if the directory was deleted, which counts as watching
(IsStarted returns true for both kWatching and kFailed states).
This CL adds an IsWatching() helper function that returns true only for
the kWatching state, which means that the directory is actively being
watched.
2023-01-09 17:56:47 +01:00
..
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-12-19 10:04:36 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:53:02 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:53:02 +01:00
2022-11-15 12:53:02 +01:00
2023-01-09 17:56:47 +01:00
2023-01-09 17:56:47 +01:00
2023-01-09 17:56:47 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-12-01 12:40:00 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-21 23:22:09 +01:00
2022-11-18 10:59:42 +01:00
2022-11-18 10:59:42 +01:00
2022-11-03 10:39:10 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-11-30 09:27:57 +01:00
2022-12-02 14:34:36 +01:00
2022-12-02 14:34:36 +01:00
2022-12-12 10:58:33 +01:00
2022-12-12 10:58:33 +01:00
2022-12-12 10:58:33 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-22 12:05:48 +01:00
2022-11-22 12:05:48 +01:00
2022-11-22 12:05:48 +01:00
2022-11-21 23:22:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:48:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-21 23:22:09 +01:00
2022-11-21 23:22:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00