namespace isc {
namespace util {
-class InterprocessSyncFileTest : public ::testing::Test {
-protected:
- InterprocessSyncFileTest() {}
-};
-
-TEST_F(InterprocessSyncFileTest, TestLock) {
+TEST(InterprocessSyncFileTest, TestLock) {
InterprocessSyncFile sync("test");
InterprocessSyncLocker locker(sync);
EXPECT_TRUE(locker.unlock());
}
-TEST_F(InterprocessSyncFileTest, TestMultipleFilesDirect) {
+TEST(InterprocessSyncFileTest, TestMultipleFilesDirect) {
InterprocessSyncFile sync("test1");
InterprocessSyncLocker locker(sync);
EXPECT_TRUE(locker.unlock());
}
-TEST_F(InterprocessSyncFileTest, TestMultipleFilesForked) {
+TEST(InterprocessSyncFileTest, TestMultipleFilesForked) {
InterprocessSyncFile sync("test");
InterprocessSyncLocker locker(sync);