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/pib.t.cpp b/tests/unit-tests/security/pib.t.cpp
index 5210df6..bc05ca9 100644
--- a/tests/unit-tests/security/pib.t.cpp
+++ b/tests/unit-tests/security/pib.t.cpp
@@ -20,7 +20,7 @@
*/
#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"
@@ -33,7 +33,7 @@
BOOST_FIXTURE_TEST_CASE(ValidityChecking, PibDataFixture)
{
- auto pibImpl = make_shared<InMemoryPibImpl>();
+ auto pibImpl = make_shared<PibMemory>();
Pib pib("pib-memory", "", pibImpl);
Identity id = pib.addIdentity(id1);
@@ -60,7 +60,7 @@
BOOST_FIXTURE_TEST_CASE(TestIdentityOperation, PibDataFixture)
{
- auto pibImpl = make_shared<InMemoryPibImpl>();
+ auto pibImpl = make_shared<PibMemory>();
Pib pib("pib-memory", "", pibImpl);
BOOST_CHECK_THROW(pib.getIdentity(id1), Pib::Error);