face/mgmt/fw/tools: add localUri to FaceStatus and FaceEventNotification
refs #1396
Change-Id: I6084745c62c44a409ecbd4a795cb712475e32416
diff --git a/tests/face/face.cpp b/tests/face/face.cpp
index 1ad6f52..6187035 100644
--- a/tests/face/face.cpp
+++ b/tests/face/face.cpp
@@ -25,15 +25,15 @@
BOOST_AUTO_TEST_CASE(LocalControlHeaderEnabled)
{
DummyLocalFace face;
-
+
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(), false);
-
+
face.setLocalControlHeaderFeature(LOCAL_CONTROL_FEATURE_INCOMING_FACE_ID, true);
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(), true);
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(LOCAL_CONTROL_FEATURE_INCOMING_FACE_ID), true);
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(
LOCAL_CONTROL_FEATURE_NEXT_HOP_FACE_ID), false);
-
+
face.setLocalControlHeaderFeature(LOCAL_CONTROL_FEATURE_INCOMING_FACE_ID, false);
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(), false);
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(
@@ -44,10 +44,10 @@
{
DummyFace face;
const FaceCounters& counters = face.getCounters();
- BOOST_CHECK_EQUAL(counters.getInInterest() , 0);
- BOOST_CHECK_EQUAL(counters.getInData() , 0);
- BOOST_CHECK_EQUAL(counters.getOutInterest(), 0);
- BOOST_CHECK_EQUAL(counters.getOutData() , 0);
+ BOOST_CHECK_EQUAL(counters.getNInInterests() , 0);
+ BOOST_CHECK_EQUAL(counters.getNInDatas() , 0);
+ BOOST_CHECK_EQUAL(counters.getNOutInterests(), 0);
+ BOOST_CHECK_EQUAL(counters.getNOutDatas() , 0);
}
BOOST_AUTO_TEST_SUITE_END()