commit | ab205c20e623366cbcc79bcad6bb8382efce62a1 | [log] [tgz] |
---|---|---|
author | Chengyu Fan <chengy.fan@gmail.com> | Tue Nov 18 10:58:41 2014 -0700 |
committer | Chengyu Fan <chengy.fan@gmail.com> | Tue Nov 18 11:10:37 2014 -0700 |
tree | 4216482efa6189f498fbd77f04c054879ebb48e8 | |
parent | ec3e4fc30529d31717805c63e351fec806ad73fe [diff] [blame] |
mgmt: respond Nack when query is invalid refs #1993 Change-Id: I21e398cd7b2e562b7dc759a89f6e668960e72c41
diff --git a/tests/daemon/mgmt/face-query-status-publisher-common.hpp b/tests/daemon/mgmt/face-query-status-publisher-common.hpp index a0e4070..a274c52 100644 --- a/tests/daemon/mgmt/face-query-status-publisher-common.hpp +++ b/tests/daemon/mgmt/face-query-status-publisher-common.hpp
@@ -133,13 +133,13 @@ m_finished = true; } - //void - //decodeNackBlock(const Data& data) - //{ - // BOOST_REQUIRE_EQUAL(data.getContentType(), ndn::tlv::ContentType_Nack); + void + decodeNackBlock(const Data& data) + { + BOOST_REQUIRE_EQUAL(data.getContentType(), tlv::ContentType_Nack); - // m_finished = true; - //} + m_finished = true; + } protected: Forwarder m_forwarder;