X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2Fextra-tests%2FAllBundles.test.cc;h=cd031fc07ce5959579f08d8fb9de6c062f0f767b;hb=84f14a42f9993e186c7897ce0db021300e0a2d48;hp=27553a489649de4c474c20189a3cd35d00cb58c3;hpb=8dbb3db32c2a258edcbd70e3f1b526e7e3b97b49;p=senf.git diff --git a/senf/Packets/extra-tests/AllBundles.test.cc b/senf/Packets/extra-tests/AllBundles.test.cc index 27553a4..cd031fc 100644 --- a/senf/Packets/extra-tests/AllBundles.test.cc +++ b/senf/Packets/extra-tests/AllBundles.test.cc @@ -23,9 +23,6 @@ /** \file \brief AllBundles unit tests */ -//#include "PacketLink.test.hh" -//#include "PacketLink.test.ih" - // Custom includes #include #include @@ -36,22 +33,22 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -BOOST_AUTO_UNIT_TEST(packetLink) +SENF_AUTO_UNIT_TEST(packetLink) { // This test shall test, if there is now duplicated packet registration in AllBundles. // The test will fail at the start with an assertion error in this case. - + boost::uint8_t data[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, // source mac 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, // target mac 0x86, 0xdd, // ethertype - 0x60, 0x00, 0x00, 0x00, // IP version, class, + 0x60, 0x00, 0x00, 0x00, // IP version, class, // flow label 0x00, 0x00, // payload length 0x3B, // no next header 0x10, // hop limit 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // source ip - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // target ip 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 };