Skip to content

Commit

Permalink
remove integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Jun 9, 2024
1 parent f45c85f commit 8085351
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions nelns/naming_service/tests/naming_service.test.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>

#include <nel/misc/config_file.h>

#include <nelns/naming_service/naming_service.h>

using ::testing::Eq;
Expand All @@ -11,8 +9,6 @@ using ::testing::IsNull;
using ::testing::IsTrue;
using ::testing::NotNull;

using ::NLMISC::CConfigFile;

TEST(CNamingService, shouldInstantiateSingleton)
{
CNamingService instance;
Expand Down Expand Up @@ -53,18 +49,3 @@ TEST(CNamingService, shouldAllowNewInstanceAfterDestruction)
EXPECT_THAT(CNamingService::getInstance(), Eq(&second));
};
}

TEST(CNamingService, shouldInitialize)
{
CNamingService instance;
CConfigFile::CVar var;
var.Type = CConfigFile::CVar::T_STRING;

instance.ConfigFile.insertVar("UniqueOnShardServices", var);
instance.ConfigFile.insertVar("UniqueByMachineServices", var);

instance.init();
instance.update();

instance.release();
}

0 comments on commit 8085351

Please sign in to comment.