184af0c9bSNicolas Bonnefon #include "gmock/gmock.h" 284af0c9bSNicolas Bonnefon 384af0c9bSNicolas Bonnefon #include <memory> 484af0c9bSNicolas Bonnefon 5*f869e41dSNicolas Bonnefon #include "platformfilewatcher.h" 684af0c9bSNicolas Bonnefon 784af0c9bSNicolas Bonnefon using namespace std; 884af0c9bSNicolas Bonnefon 984af0c9bSNicolas Bonnefon class FileWatcherBehaviour: public testing::Test { 1084af0c9bSNicolas Bonnefon public: 1184af0c9bSNicolas Bonnefon shared_ptr<FileWatcher> file_watcher; 1284af0c9bSNicolas Bonnefon SetUp()1384af0c9bSNicolas Bonnefon void SetUp() override { 14*f869e41dSNicolas Bonnefon file_watcher = make_shared<PlatformFileWatcher>(); 1584af0c9bSNicolas Bonnefon } 1684af0c9bSNicolas Bonnefon }; 1784af0c9bSNicolas Bonnefon TEST_F(FileWatcherBehaviour,DetectsAnAppendedFile)1884af0c9bSNicolas BonnefonTEST_F( FileWatcherBehaviour, DetectsAnAppendedFile ) { 1984af0c9bSNicolas Bonnefon EXPECT_EQ(1, 1); 2084af0c9bSNicolas Bonnefon } 21