From: Mukund Sivaraman Date: Thu, 24 May 2012 06:06:45 +0000 (+0530) Subject: [1704] Replace TEST_F with TEST X-Git-Tag: trac2351_base~226^2~60^2^2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31b153df2003831950bf3fcd6a4da782dc579eb1;p=thirdparty%2Fkea.git [1704] Replace TEST_F with TEST --- diff --git a/src/lib/util/tests/interprocess_sync_file_unittest.cc b/src/lib/util/tests/interprocess_sync_file_unittest.cc index cc97aa78ec..cf17106819 100644 --- a/src/lib/util/tests/interprocess_sync_file_unittest.cc +++ b/src/lib/util/tests/interprocess_sync_file_unittest.cc @@ -20,12 +20,7 @@ using namespace std; namespace isc { namespace util { -class InterprocessSyncFileTest : public ::testing::Test { -protected: - InterprocessSyncFileTest() {} -}; - -TEST_F(InterprocessSyncFileTest, TestLock) { +TEST(InterprocessSyncFileTest, TestLock) { InterprocessSyncFile sync("test"); InterprocessSyncLocker locker(sync); @@ -72,7 +67,7 @@ TEST_F(InterprocessSyncFileTest, TestLock) { EXPECT_TRUE(locker.unlock()); } -TEST_F(InterprocessSyncFileTest, TestMultipleFilesDirect) { +TEST(InterprocessSyncFileTest, TestMultipleFilesDirect) { InterprocessSyncFile sync("test1"); InterprocessSyncLocker locker(sync); @@ -86,7 +81,7 @@ TEST_F(InterprocessSyncFileTest, TestMultipleFilesDirect) { EXPECT_TRUE(locker.unlock()); } -TEST_F(InterprocessSyncFileTest, TestMultipleFilesForked) { +TEST(InterprocessSyncFileTest, TestMultipleFilesForked) { InterprocessSyncFile sync("test"); InterprocessSyncLocker locker(sync);