// we use gettimeofday() now to determine the packet rcv time, since on some boxes...
[senf.git] / senf / Socket / Protocols / BSDSocketAddress.test.cc
index cb53808..df69808 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 //
-// Copyright (C) 2008 
+// Copyright (C) 2008
 // Fraunhofer Institute for Open Communication Systems (FOKUS)
 // Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 
 // Custom includes
 #include "BSDSocketAddress.hh"
-#include "INet/INetAddressing.hh"
+#include <senf/Socket/Protocols/INet/INetAddressing.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(bsdSocketAddress)
+SENF_AUTO_UNIT_TEST(bsdSocketAddress)
 {
     senf::GenericBSDSocketAddress g1;
     senf::GenericBSDSocketAddress g2 (senf::INet4SocketAddress("1.2.3.4:5678"));
@@ -46,7 +46,7 @@ BOOST_AUTO_UNIT_TEST(bsdSocketAddress)
     BOOST_CHECK_THROW( senf::sockaddr_cast<senf::INet6SocketAddress>(g2), std::bad_cast );
     BOOST_CHECK( g2 );
     BOOST_CHECK( ! g1 );
-    BOOST_CHECK( g1 != g2 );
+    SENF_CHECK_NOT_EQUAL( g1, g2 );
     g1 = g2;
     BOOST_CHECK( g1 == g2 );
 }