security: adjust description of PibImpl interfaces
1. Intialize default setting when there is no default setting
2. Removal method should be deep removal.
Change-Id: Id30947834a8002b6dc177ac18c6beae2600efa92
Refs: #2896, #2898
diff --git a/tests/unit-tests/security/identity.t.cpp b/tests/unit-tests/security/identity.t.cpp
index c55c00f..d77d680 100644
--- a/tests/unit-tests/security/identity.t.cpp
+++ b/tests/unit-tests/security/identity.t.cpp
@@ -21,7 +21,7 @@
#include "security/identity.hpp"
#include "security/pib.hpp"
-#include "security/in-memory-pib-impl.hpp"
+#include "security/pib-memory.hpp"
#include "pib-data-fixture.hpp"
#include "boost-test.hpp"
@@ -45,7 +45,7 @@
else
BOOST_CHECK(true);
- auto pibImpl = make_shared<InMemoryPibImpl>();
+ auto pibImpl = make_shared<PibMemory>();
id = Identity(id1, pibImpl, true);
BOOST_CHECK_EQUAL(static_cast<bool>(id), true);
@@ -59,7 +59,7 @@
BOOST_FIXTURE_TEST_CASE(TestKeyOperation, PibDataFixture)
{
- auto pibImpl = make_shared<InMemoryPibImpl>();
+ auto pibImpl = make_shared<PibMemory>();
Identity identity1(id1, pibImpl, true);