1 #include "gmock/gmock.h" 2 3 #include <memory> 4 5 #include "platformfilewatcher.h" 6 7 using namespace std; 8 9 class FileWatcherBehaviour: public testing::Test { 10 public: 11 shared_ptr<FileWatcher> file_watcher; 12 SetUp()13 void SetUp() override { 14 file_watcher = make_shared<PlatformFileWatcher>(); 15 } 16 }; 17 TEST_F(FileWatcherBehaviour,DetectsAnAppendedFile)18TEST_F( FileWatcherBehaviour, DetectsAnAppendedFile ) { 19 EXPECT_EQ(1, 1); 20 } 21