X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2Fextra-tests%2FAllBundles.test.cc;h=b89640b934f4ae30223a030b6bb8e58e9d2a91ea;hb=7ee689fe38d66aa3a0004d55e8708750d35adc0b;hp=7398028d0631f3091f1b10acdde4531322f51042;hpb=51eaceeb2936c1e6a8fe8cc3c2dfdf28013b68f9;p=senf.git diff --git a/senf/Packets/extra-tests/AllBundles.test.cc b/senf/Packets/extra-tests/AllBundles.test.cc index 7398028..b89640b 100644 --- a/senf/Packets/extra-tests/AllBundles.test.cc +++ b/senf/Packets/extra-tests/AllBundles.test.cc @@ -31,24 +31,24 @@ #include #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 }; @@ -58,7 +58,7 @@ BOOST_AUTO_UNIT_TEST(packetLink) BOOST_CHECK( p.next().is() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_