]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1704] Replace TEST_F with TEST
authorMukund Sivaraman <muks@isc.org>
Thu, 24 May 2012 06:06:45 +0000 (11:36 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 24 May 2012 06:06:45 +0000 (11:36 +0530)
src/lib/util/tests/interprocess_sync_file_unittest.cc

index cc97aa78ec8e03208cd10a0e452ee119e9647f98..cf17106819af10c7222ac6e9e71e603dccf16a6f 100644 (file)
@@ -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);