tests: avoid usage of deprecated namespace ndn::Tlv
refs #2079
Change-Id: Iab8865fb607f8f3f2e530397f6224f37b0fc6a05
diff --git a/tests/dummy-face.hpp b/tests/dummy-face.hpp
index a3a9402..56ef8ca 100644
--- a/tests/dummy-face.hpp
+++ b/tests/dummy-face.hpp
@@ -54,10 +54,10 @@
virtual void
send(const Block& wire)
{
- if (wire.type() == Tlv::Interest) {
+ if (wire.type() == tlv::Interest) {
m_sentInterests->push_back(Interest(wire));
}
- else if (wire.type() == Tlv::Data) {
+ else if (wire.type() == tlv::Data) {
m_sentDatas->push_back(Data(wire));
}
}
@@ -113,4 +113,4 @@
} // namespace ndn
-#endif // NLSR_TEST_DUMMY_FACE_HPP
\ No newline at end of file
+#endif // NLSR_TEST_DUMMY_FACE_HPP