src: configuration file parsing
used boost::property_tree::info_parser for parsing nlsr's configuration file and
changed configuration command style to info command style. Removed tokenizer from
nlsr
Refs: #1542
Change-Id: If017ddd7eef5caa59b33940bfc27a71aa4de266b
diff --git a/tests/test-nexthop.cpp b/tests/test-nexthop.cpp
index 0cdf23c..fb6a8fb 100644
--- a/tests/test-nexthop.cpp
+++ b/tests/test-nexthop.cpp
@@ -16,11 +16,11 @@
{
NextHop np1;
- np1.setConnectingFace(1);
+ np1.setConnectingFaceUri("udp://test/uri");
np1.setRouteCost(10.5);
- BOOST_CHECK_EQUAL(np1.getConnectingFace(), (uint32_t)1);
+ BOOST_CHECK_EQUAL(np1.getConnectingFaceUri(), "udp://test/uri");
BOOST_CHECK_CLOSE(np1.getRouteCost(), 10.5, 0.0001);
}