Skip to content

Commit

Permalink
Update ndn-cxx to ndn-cxx-0.8.0-18-g4999b2ed
Browse files Browse the repository at this point in the history
Change-Id: Ia8825953dbbc0ee718aee1e0d52e57d5feccb9bf
  • Loading branch information
cawka committed May 5, 2022
1 parent f007a99 commit a4d86e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ndn-cxx
5 changes: 3 additions & 2 deletions tests/unit-tests/model/ndn-block-header.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,16 @@ BOOST_AUTO_TEST_CASE(EncodePrintData)
auto packet(lpPacket.wireEncode());
BlockHeader header(packet);

BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1350);

{
Ptr<Packet> packet = Create<Packet>();
packet->AddHeader(header);
boost::test_tools::output_test_stream output;
packet->Print(output);
BOOST_CHECK(output.is_equal("ns3::ndn::Packet (Data: /other/prefix)"));
}

BOOST_TEST(data.getKeyLocator()->getName() == "/dummy/KEY/-%9C%28r%B8%AA%3B%60/NA/%FD%00%00%01%5E%DF%3C%C6%7C");
BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1365);
}

BOOST_AUTO_TEST_CASE(PrintLpPacket)
Expand Down

0 comments on commit a4d86e7

Please sign in to comment.