table: rename StrategyInfoHost::getOrCreateStrategyInfo to insertStrategyInfo
refs #3205
Change-Id: Icd3ab9e4fdb5a2ffc39a8d0e0c713e22f13fe28c
diff --git a/tests/daemon/table/measurements.t.cpp b/tests/daemon/table/measurements.t.cpp
index 79b2b94..539c409 100644
--- a/tests/daemon/table/measurements.t.cpp
+++ b/tests/daemon/table/measurements.t.cpp
@@ -134,7 +134,7 @@
BOOST_AUTO_TEST_CASE(FindLongestPrefixMatch)
{
measurements.get("/A");
- measurements.get("/A/B/C").getOrCreateStrategyInfo<DummyStrategyInfo1>();
+ measurements.get("/A/B/C").insertStrategyInfo<DummyStrategyInfo1>();
measurements.get("/A/B/C/D");
Entry* found1 = measurements.findLongestPrefixMatch("/A/B/C/D/E");
@@ -156,7 +156,7 @@
Pit pit(nameTree);
measurements.get("/A");
- measurements.get("/A/B/C").getOrCreateStrategyInfo<DummyStrategyInfo1>();
+ measurements.get("/A/B/C").insertStrategyInfo<DummyStrategyInfo1>();
measurements.get("/A/B/C/D");
shared_ptr<Interest> interest = makeInterest("/A/B/C/D/E");