// Copyright (C) 2009
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
-// Dennis Goslar <dennis.goslar@inf.hochschule-bonn-rhein-sieg.de>
+// Dennis Goslar <dennis.goslar@inf.hochschule-bonn-rhein-sieg.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#include "IPv4Packet.hh"
#include "IPv6Packet.hh"
-#include "../../Utils/auto_unit_test.hh"
+#include <senf/Utils/auto_unit_test.hh>
#include <boost/test/test_tools.hpp>
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
-BOOST_AUTO_UNIT_TEST(tcpPacket_parse)
+SENF_AUTO_UNIT_TEST(tcpPacket_parse)
{
-
unsigned char data[] = {
0x80, 0xA6, 0x00, 0x50, 0x2E, 0x93, 0x31, 0xB8, 0x66, 0xF9, 0xB7,
0xA1, 0x80, 0x18, 0x00, 0x2E, 0xCF, 0x65, 0x00, 0x00
SENF_CHECK_NO_THROW( p.dump( oss));
}
-BOOST_AUTO_UNIT_TEST(tcpPacket_in_ipv4_parse)
+SENF_AUTO_UNIT_TEST(tcpPacket_in_ipv4_parse)
{
unsigned char data[] = {
//20 Byte IPv4-Header
}
-BOOST_AUTO_UNIT_TEST(tcpPacket_in_ipv6_parse)
+SENF_AUTO_UNIT_TEST(tcpPacket_in_ipv6_parse)
{
unsigned char data[] = {
// IPv6-Header
BOOST_CHECK( tcp->validateChecksum() );
}
-BOOST_AUTO_UNIT_TEST(tcpPacket_in_ipv6_create)
+SENF_AUTO_UNIT_TEST(tcpPacket_in_ipv6_create)
{
unsigned char data[] = {
// IPv6-Header