Skip to content

Commit a4d86e7

Browse files
committed
Update ndn-cxx to ndn-cxx-0.8.0-18-g4999b2ed
Change-Id: Ia8825953dbbc0ee718aee1e0d52e57d5feccb9bf
1 parent f007a99 commit a4d86e7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ndn-cxx

tests/unit-tests/model/ndn-block-header.t.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,16 @@ BOOST_AUTO_TEST_CASE(EncodePrintData)
8080
auto packet(lpPacket.wireEncode());
8181
BlockHeader header(packet);
8282

83-
BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1350);
84-
8583
{
8684
Ptr<Packet> packet = Create<Packet>();
8785
packet->AddHeader(header);
8886
boost::test_tools::output_test_stream output;
8987
packet->Print(output);
9088
BOOST_CHECK(output.is_equal("ns3::ndn::Packet (Data: /other/prefix)"));
9189
}
90+
91+
BOOST_TEST(data.getKeyLocator()->getName() == "/dummy/KEY/-%9C%28r%B8%AA%3B%60/NA/%FD%00%00%01%5E%DF%3C%C6%7C");
92+
BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1365);
9293
}
9394

9495
BOOST_AUTO_TEST_CASE(PrintLpPacket)

0 commit comments

Comments
 (0)