#include "chrome/browser/upgrade_detector/directory_monitor.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
class DirectoryMonitorTest : public ::testing::Test { … };
TEST_F(DirectoryMonitorTest, NoNoise) { … }
TEST_F(DirectoryMonitorTest, OneChange) { … }
TEST_F(DirectoryMonitorTest, MultipleChanges) { … }
TEST_F(DirectoryMonitorTest, MtimeChange) { … }