// we use gettimeofday() now to determine the packet rcv time, since on some boxes...
[senf.git] / senf / Socket / Protocols / UN / UNAddressing.test.cc
index d3a7fc6..d65c95f 100644 (file)
 
 // Custom includes
 #include "UNAddressing.hh"
-#include "../AddressExceptions.hh"
+#include <senf/Socket/Protocols/AddressExceptions.hh>
 #include <sstream>
 
-#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(UNSocketAddress)
+SENF_AUTO_UNIT_TEST(UNSocketAddress)
 {
     senf::UNSocketAddress addr;
     BOOST_CHECK( ! addr);
-        
+
     std::string path ("/tmp/SENF_TEST");
     addr.path( path);
-    
+
     BOOST_CHECK( addr);
     BOOST_CHECK_EQUAL( addr.path(), path);
     BOOST_CHECK_EQUAL( addr, senf::UNSocketAddress(path));
     BOOST_CHECK_EQUAL( addr, senf::UNSocketAddress(addr));
-    
+
     std::stringstream str;
     str << addr;
     BOOST_CHECK_EQUAL( str.str(), path );
-    
+
     // UNSocketAddress path too long
     BOOST_CHECK_THROW( senf::UNSocketAddress(std::string(1024, 'x')), senf::AddressSyntaxException );
 }