diff options
author | Ivo Stoilov (GitHub) <istoilov@luxoft.com> | 2017-01-19 12:13:46 +0200 |
---|---|---|
committer | Ivo Stoilov (GitHub) <istoilov@luxoft.com> | 2017-01-25 16:50:56 +0200 |
commit | c1fdd8f0fc39b79c8d336cb318dc7b8559444680 (patch) | |
tree | bb4b637e44aa0b663e620d51d7545df137b6a9fe /src/components/rpc_base/test | |
parent | 046ffb3b0d0926fee7368e995fe1b688032a801c (diff) | |
download | sdl_core-c1fdd8f0fc39b79c8d336cb318dc7b8559444680.tar.gz |
Update test namespaces in rpc_base and smart_object test
Related tasks APPLINK-30588 APPLINK-30974
Diffstat (limited to 'src/components/rpc_base/test')
4 files changed, 20 insertions, 2 deletions
diff --git a/src/components/rpc_base/test/rpc_base_dbus_test.cc b/src/components/rpc_base/test/rpc_base_dbus_test.cc index d18a954b8c..4a22e111a3 100644 --- a/src/components/rpc_base/test/rpc_base_dbus_test.cc +++ b/src/components/rpc_base/test/rpc_base_dbus_test.cc @@ -35,6 +35,9 @@ #include "rpc_base/rpc_base_dbus_inl.h" namespace test { +namespace components { +namespace rpc_base_test { + using namespace rpc; using namespace dbus; @@ -674,4 +677,6 @@ TEST_F(DbusFailuresTest, DbusNonExistentArrayReadTest) { ASSERT_EQ(val, 0); } +} // namespace rpc_base_test +} // namespace components } // namespace test diff --git a/src/components/rpc_base/test/rpc_base_json_test.cc b/src/components/rpc_base/test/rpc_base_json_test.cc index 07ac0418e0..7b14d20b61 100644 --- a/src/components/rpc_base/test/rpc_base_json_test.cc +++ b/src/components/rpc_base/test/rpc_base_json_test.cc @@ -35,6 +35,9 @@ #include "rpc_base/rpc_base.h" namespace test { +namespace components { +namespace rpc_base_test { + using namespace rpc; using Json::Value; @@ -365,4 +368,6 @@ TEST(ValidatedTypesJson, OptionalIntFromJsonTest) { ASSERT_EQ(readback.asInt(), 42); } +} // namespace rpc_base_test +} // namespace components } // namespace test diff --git a/src/components/rpc_base/test/rpc_base_test.cc b/src/components/rpc_base/test/rpc_base_test.cc index 37a64b319e..c4ffbc321e 100644 --- a/src/components/rpc_base/test/rpc_base_test.cc +++ b/src/components/rpc_base/test/rpc_base_test.cc @@ -36,6 +36,8 @@ #include "rpc_base/rpc_base.h" namespace test { +namespace components { +namespace rpc_base_test { using namespace rpc; namespace { @@ -435,4 +437,6 @@ TEST(ValidatedTypes, ReportIncorrectlyInitializedMap2) { PrettyFormat(report)); } -} // namespace codegen +} // namespace rpc_base_test +} // namespace components +} // namespace test diff --git a/src/components/rpc_base/test/validation_report_test.cc b/src/components/rpc_base/test/validation_report_test.cc index e7dded342c..596bfdb20d 100644 --- a/src/components/rpc_base/test/validation_report_test.cc +++ b/src/components/rpc_base/test/validation_report_test.cc @@ -35,6 +35,8 @@ #include "rpc_base/validation_report.h" namespace test { +namespace components { +namespace rpc_base_test { using namespace rpc; class ValidationReportTest : public testing::Test { @@ -157,4 +159,6 @@ TEST_F(ValidationReportTest, PrettyFormat_ExpectDataCorrect) { EXPECT_EQ(temp2, result2); } -} // namespace rpc +} // namespace rpc_base_test +} // namespace components +} // namespace test |