From: g0dil Date: Tue, 30 Oct 2007 14:48:42 +0000 (+0000) Subject: Fix boot auto unit tests for Boost V1.34 compatibility X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;p=senf.git Fix boot auto unit tests for Boost V1.34 compatibility git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@483 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/PPI/ActiveFeeder.test.cc b/PPI/ActiveFeeder.test.cc index ac413c0..efe99d7 100644 --- a/PPI/ActiveFeeder.test.cc +++ b/PPI/ActiveFeeder.test.cc @@ -31,7 +31,7 @@ #include "DebugModules.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/CloneSource.test.cc b/PPI/CloneSource.test.cc index 544461e..1b47375 100644 --- a/PPI/CloneSource.test.cc +++ b/PPI/CloneSource.test.cc @@ -32,7 +32,7 @@ #include "Setup.hh" #include "../Packets/Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Connectors.test.cc b/PPI/Connectors.test.cc index 9277a34..25d7b19 100644 --- a/PPI/Connectors.test.cc +++ b/PPI/Connectors.test.cc @@ -31,7 +31,7 @@ #include "DebugModules.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/DebugEvent.test.cc b/PPI/DebugEvent.test.cc index 5eed5d9..b9b9444 100644 --- a/PPI/DebugEvent.test.cc +++ b/PPI/DebugEvent.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "DebugEvent.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/DebugModules.test.cc b/PPI/DebugModules.test.cc index a5e5183..646b807 100644 --- a/PPI/DebugModules.test.cc +++ b/PPI/DebugModules.test.cc @@ -37,7 +37,7 @@ #include "DebugModules.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/DiscardSink.test.cc b/PPI/DiscardSink.test.cc index 9e7bb3f..7135a0b 100644 --- a/PPI/DiscardSink.test.cc +++ b/PPI/DiscardSink.test.cc @@ -31,7 +31,7 @@ #include "DebugModules.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/EventManager.test.cc b/PPI/EventManager.test.cc index 5a4b771..ae34cf4 100644 --- a/PPI/EventManager.test.cc +++ b/PPI/EventManager.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "EventManager.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Events.test.cc b/PPI/Events.test.cc index 1c687cd..23bf746 100644 --- a/PPI/Events.test.cc +++ b/PPI/Events.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Events.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/IOEvent.test.cc b/PPI/IOEvent.test.cc index 5c010fc..884c480 100644 --- a/PPI/IOEvent.test.cc +++ b/PPI/IOEvent.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "IOEvent.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/IdleEvent.test.cc b/PPI/IdleEvent.test.cc index bd9688a..2d66494 100644 --- a/PPI/IdleEvent.test.cc +++ b/PPI/IdleEvent.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "IdleEvent.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/IntervalTimer.test.cc b/PPI/IntervalTimer.test.cc index 9b49d27..f2e92e6 100644 --- a/PPI/IntervalTimer.test.cc +++ b/PPI/IntervalTimer.test.cc @@ -31,7 +31,7 @@ #include "Module.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Joins.test.cc b/PPI/Joins.test.cc index fbe9e05..635e222 100644 --- a/PPI/Joins.test.cc +++ b/PPI/Joins.test.cc @@ -32,7 +32,7 @@ #include "Setup.hh" #include "../Packets/Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Module.test.cc b/PPI/Module.test.cc index 47795da..2cf6334 100644 --- a/PPI/Module.test.cc +++ b/PPI/Module.test.cc @@ -30,7 +30,7 @@ #include "Setup.hh" #include "Module.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #include diff --git a/PPI/ModuleManager.test.cc b/PPI/ModuleManager.test.cc index 0693b0c..ec8ac90 100644 --- a/PPI/ModuleManager.test.cc +++ b/PPI/ModuleManager.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "ModuleManager.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/PassiveQueue.test.cc b/PPI/PassiveQueue.test.cc index d1b2550..2fe3b9c 100644 --- a/PPI/PassiveQueue.test.cc +++ b/PPI/PassiveQueue.test.cc @@ -32,7 +32,7 @@ #include "Setup.hh" #include "../Packets/Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Queueing.test.cc b/PPI/Queueing.test.cc index 7e05f4e..1b9c960 100644 --- a/PPI/Queueing.test.cc +++ b/PPI/Queueing.test.cc @@ -34,7 +34,7 @@ #include "../Packets/Packets.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Route.test.cc b/PPI/Route.test.cc index 08e5125..3b6f12c 100644 --- a/PPI/Route.test.cc +++ b/PPI/Route.test.cc @@ -33,7 +33,7 @@ #include "Module.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/Setup.test.cc b/PPI/Setup.test.cc index 7f0359a..0815599 100644 --- a/PPI/Setup.test.cc +++ b/PPI/Setup.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/SocketSink.test.cc b/PPI/SocketSink.test.cc index d8c637c..42e84c5 100644 --- a/PPI/SocketSink.test.cc +++ b/PPI/SocketSink.test.cc @@ -34,7 +34,7 @@ #include "SocketSink.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/SocketSource.test.cc b/PPI/SocketSource.test.cc index 2140626..47cc426 100644 --- a/PPI/SocketSource.test.cc +++ b/PPI/SocketSource.test.cc @@ -34,7 +34,7 @@ #include "DebugModules.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/ThrottleBarrier.test.cc b/PPI/ThrottleBarrier.test.cc index 75ac4c3..7029463 100644 --- a/PPI/ThrottleBarrier.test.cc +++ b/PPI/ThrottleBarrier.test.cc @@ -31,7 +31,7 @@ #include "DebugModules.hh" #include "../Packets/Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/PPI/main.test.cc b/PPI/main.test.cc index 91e601d..1d6a963 100644 --- a/PPI/main.test.cc +++ b/PPI/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/EthernetPacket.test.cc b/Packets/DefaultBundle/EthernetPacket.test.cc index 397f6f5..06e2acb 100644 --- a/Packets/DefaultBundle/EthernetPacket.test.cc +++ b/Packets/DefaultBundle/EthernetPacket.test.cc @@ -29,7 +29,7 @@ #include "EthernetPacket.hh" #include "IpV4Packet.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/IpV4Packet.test.cc b/Packets/DefaultBundle/IpV4Packet.test.cc index eee06a1..68fc7b0 100644 --- a/Packets/DefaultBundle/IpV4Packet.test.cc +++ b/Packets/DefaultBundle/IpV4Packet.test.cc @@ -29,7 +29,7 @@ #include "IpV4Packet.hh" #include "UDPPacket.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/IpV6Extensions.test.cc b/Packets/DefaultBundle/IpV6Extensions.test.cc index bf79564..f74e893 100644 --- a/Packets/DefaultBundle/IpV6Extensions.test.cc +++ b/Packets/DefaultBundle/IpV6Extensions.test.cc @@ -30,7 +30,7 @@ #include "UDPPacket.hh" #include "../../Socket/Protocols/INet/INetAddressing.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/IpV6Packet.test.cc b/Packets/DefaultBundle/IpV6Packet.test.cc index d19e050..8838cc5 100644 --- a/Packets/DefaultBundle/IpV6Packet.test.cc +++ b/Packets/DefaultBundle/IpV6Packet.test.cc @@ -29,7 +29,7 @@ #include "../../Socket/Protocols/INet/INetAddressing.hh" #include "../../Packets/DataPacket.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/UDPPacket.test.cc b/Packets/DefaultBundle/UDPPacket.test.cc index d9d84c3..744c439 100644 --- a/Packets/DefaultBundle/UDPPacket.test.cc +++ b/Packets/DefaultBundle/UDPPacket.test.cc @@ -29,7 +29,7 @@ #include "UDPPacket.hh" #include "IpV4Packet.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/DefaultBundle/main.test.cc b/Packets/DefaultBundle/main.test.cc index 7607fdc..62f13a9 100644 --- a/Packets/DefaultBundle/main.test.cc +++ b/Packets/DefaultBundle/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/MPEGDVBBundle/TLVPacket.test.cc b/Packets/MPEGDVBBundle/TLVPacket.test.cc index eee6c80..0e3889d 100644 --- a/Packets/MPEGDVBBundle/TLVPacket.test.cc +++ b/Packets/MPEGDVBBundle/TLVPacket.test.cc @@ -29,7 +29,7 @@ #include "TLVPacket.hh" #include -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/MPEGDVBBundle/TransportPacket.test.cc b/Packets/MPEGDVBBundle/TransportPacket.test.cc index e2e09ef..6c4e5d2 100644 --- a/Packets/MPEGDVBBundle/TransportPacket.test.cc +++ b/Packets/MPEGDVBBundle/TransportPacket.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "TransportPacket.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/MPEGDVBBundle/main.test.cc b/Packets/MPEGDVBBundle/main.test.cc index c784c25..f7e93d9 100644 --- a/Packets/MPEGDVBBundle/main.test.cc +++ b/Packets/MPEGDVBBundle/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/Packet.test.cc b/Packets/Packet.test.cc index baa89f0..8da1546 100644 --- a/Packets/Packet.test.cc +++ b/Packets/Packet.test.cc @@ -28,7 +28,7 @@ #include #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/PacketData.test.cc b/Packets/PacketData.test.cc index 91c5447..adab115 100644 --- a/Packets/PacketData.test.cc +++ b/Packets/PacketData.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/PacketImpl.test.cc b/Packets/PacketImpl.test.cc index 8f6fe56..a38d6a5 100644 --- a/Packets/PacketImpl.test.cc +++ b/Packets/PacketImpl.test.cc @@ -28,7 +28,7 @@ #include "Packets.hh" #include "main.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/PacketInterpreter.test.cc b/Packets/PacketInterpreter.test.cc index 2428699..a83bb78 100644 --- a/Packets/PacketInterpreter.test.cc +++ b/Packets/PacketInterpreter.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/PacketParser.test.cc b/Packets/PacketParser.test.cc index 8be0524..cfa0990 100644 --- a/Packets/PacketParser.test.cc +++ b/Packets/PacketParser.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/PacketRegistry.test.cc b/Packets/PacketRegistry.test.cc index 07523d9..37b6750 100644 --- a/Packets/PacketRegistry.test.cc +++ b/Packets/PacketRegistry.test.cc @@ -29,7 +29,7 @@ #include #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseArray.test.cc b/Packets/ParseArray.test.cc index 350d7d5..2d21600 100644 --- a/Packets/ParseArray.test.cc +++ b/Packets/ParseArray.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseHelpers.test.cc b/Packets/ParseHelpers.test.cc index 3d42cff..1fa89cb 100644 --- a/Packets/ParseHelpers.test.cc +++ b/Packets/ParseHelpers.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseInt.test.cc b/Packets/ParseInt.test.cc index e240e37..0f6f095 100644 --- a/Packets/ParseInt.test.cc +++ b/Packets/ParseInt.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseList.test.cc b/Packets/ParseList.test.cc index 1145af6..e2830cc 100644 --- a/Packets/ParseList.test.cc +++ b/Packets/ParseList.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseListB.test.cc b/Packets/ParseListB.test.cc index 764ab64..a3d5fc1 100644 --- a/Packets/ParseListB.test.cc +++ b/Packets/ParseListB.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseListN.test.cc b/Packets/ParseListN.test.cc index 3800a0d..1e8c56f 100644 --- a/Packets/ParseListN.test.cc +++ b/Packets/ParseListN.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseVariant.test.cc b/Packets/ParseVariant.test.cc index d3bd24f..e795e49 100644 --- a/Packets/ParseVariant.test.cc +++ b/Packets/ParseVariant.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Packets/ParseVec.test.cc b/Packets/ParseVec.test.cc index 64e68e6..daa30d1 100644 --- a/Packets/ParseVec.test.cc +++ b/Packets/ParseVec.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "Packets.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #include diff --git a/Packets/main.test.cc b/Packets/main.test.cc index c2972fd..ec5fc37 100644 --- a/Packets/main.test.cc +++ b/Packets/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../Utils/auto_unit_test.hh" #include #include "Packets.hh" diff --git a/Scheduler/ClockService.test.cc b/Scheduler/ClockService.test.cc index fbbe5ab..1231e5d 100644 --- a/Scheduler/ClockService.test.cc +++ b/Scheduler/ClockService.test.cc @@ -30,7 +30,7 @@ #include "ClockService.hh" #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Scheduler/ReadHelper.test.cc b/Scheduler/ReadHelper.test.cc index 79b0715..466b4fb 100644 --- a/Scheduler/ReadHelper.test.cc +++ b/Scheduler/ReadHelper.test.cc @@ -10,7 +10,7 @@ // Custom includes #include "ReadHelper.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Scheduler/Scheduler.test.cc b/Scheduler/Scheduler.test.cc index 5116a9c..f3f498e 100644 --- a/Scheduler/Scheduler.test.cc +++ b/Scheduler/Scheduler.test.cc @@ -39,7 +39,7 @@ #include "Scheduler.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Scheduler/WriteHelper.test.cc b/Scheduler/WriteHelper.test.cc index ab4f479..b6b4527 100644 --- a/Scheduler/WriteHelper.test.cc +++ b/Scheduler/WriteHelper.test.cc @@ -10,7 +10,7 @@ // Custom includes #include "WriteHelper.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Scheduler/main.test.cc b/Scheduler/main.test.cc index b759387..385b730 100644 --- a/Scheduler/main.test.cc +++ b/Scheduler/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/ClientSocketHandle.test.cc b/Socket/ClientSocketHandle.test.cc index 37494d7..01ddad2 100644 --- a/Socket/ClientSocketHandle.test.cc +++ b/Socket/ClientSocketHandle.test.cc @@ -31,7 +31,7 @@ #include "ClientSocketHandle.hh" #include "AddressingPolicy.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/FileHandle.test.cc b/Socket/FileHandle.test.cc index f4dac9d..014d072 100644 --- a/Socket/FileHandle.test.cc +++ b/Socket/FileHandle.test.cc @@ -31,7 +31,7 @@ #include #include "FileHandle.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/ProtocolClientSocketHandle.test.cc b/Socket/ProtocolClientSocketHandle.test.cc index ad37183..11e93a8 100644 --- a/Socket/ProtocolClientSocketHandle.test.cc +++ b/Socket/ProtocolClientSocketHandle.test.cc @@ -29,7 +29,7 @@ #include "ProtocolClientSocketHandle.hh" #include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/ProtocolServerSocketHandle.test.cc b/Socket/ProtocolServerSocketHandle.test.cc index 4243729..4cda809 100644 --- a/Socket/ProtocolServerSocketHandle.test.cc +++ b/Socket/ProtocolServerSocketHandle.test.cc @@ -29,7 +29,7 @@ #include "ProtocolServerSocketHandle.hh" #include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/DVB/main.test.cc b/Socket/Protocols/DVB/main.test.cc index 91e601d..8c0780c 100644 --- a/Socket/Protocols/DVB/main.test.cc +++ b/Socket/Protocols/DVB/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/INet4Address.test.cc b/Socket/Protocols/INet/INet4Address.test.cc index aaf58f8..3dc83ae 100644 --- a/Socket/Protocols/INet/INet4Address.test.cc +++ b/Socket/Protocols/INet/INet4Address.test.cc @@ -32,7 +32,7 @@ #include #include "INet4Address.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/INet6Address.test.cc b/Socket/Protocols/INet/INet6Address.test.cc index 2fae5a0..658b465 100644 --- a/Socket/Protocols/INet/INet6Address.test.cc +++ b/Socket/Protocols/INet/INet6Address.test.cc @@ -30,7 +30,7 @@ #include #include "INet6Address.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/INetAddressing.test.cc b/Socket/Protocols/INet/INetAddressing.test.cc index c4d392f..52f94aa 100644 --- a/Socket/Protocols/INet/INetAddressing.test.cc +++ b/Socket/Protocols/INet/INetAddressing.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "INetAddressing.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/TCPSocketHandle.test.cc b/Socket/Protocols/INet/TCPSocketHandle.test.cc index 6a120ee..3b4d049 100644 --- a/Socket/Protocols/INet/TCPSocketHandle.test.cc +++ b/Socket/Protocols/INet/TCPSocketHandle.test.cc @@ -35,7 +35,7 @@ #include "TCPSocketHandle.hh" #include -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/UDPSocketHandle.test.cc b/Socket/Protocols/INet/UDPSocketHandle.test.cc index 939763b..b309e43 100644 --- a/Socket/Protocols/INet/UDPSocketHandle.test.cc +++ b/Socket/Protocols/INet/UDPSocketHandle.test.cc @@ -36,7 +36,7 @@ #include "UDPSocketHandle.hh" #include -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/INet/main.test.cc b/Socket/Protocols/INet/main.test.cc index 91e601d..8c0780c 100644 --- a/Socket/Protocols/INet/main.test.cc +++ b/Socket/Protocols/INet/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/Raw/LLAddressing.test.cc b/Socket/Protocols/Raw/LLAddressing.test.cc index 1d9f570..87b02d2 100644 --- a/Socket/Protocols/Raw/LLAddressing.test.cc +++ b/Socket/Protocols/Raw/LLAddressing.test.cc @@ -29,7 +29,7 @@ #include #include "LLAddressing.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/Raw/MACAddress.test.cc b/Socket/Protocols/Raw/MACAddress.test.cc index 86dfa3e..f33f1b9 100644 --- a/Socket/Protocols/Raw/MACAddress.test.cc +++ b/Socket/Protocols/Raw/MACAddress.test.cc @@ -29,7 +29,7 @@ #include #include "MACAddress.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/Raw/PacketSocketHandle.test.cc b/Socket/Protocols/Raw/PacketSocketHandle.test.cc index 79dbde0..6241013 100644 --- a/Socket/Protocols/Raw/PacketSocketHandle.test.cc +++ b/Socket/Protocols/Raw/PacketSocketHandle.test.cc @@ -31,7 +31,7 @@ #include #include -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/Raw/main.test.cc b/Socket/Protocols/Raw/main.test.cc index 91e601d..8c0780c 100644 --- a/Socket/Protocols/Raw/main.test.cc +++ b/Socket/Protocols/Raw/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/UN/UNAddress.test.cc b/Socket/Protocols/UN/UNAddress.test.cc index 715afda..af64685 100644 --- a/Socket/Protocols/UN/UNAddress.test.cc +++ b/Socket/Protocols/UN/UNAddress.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "UNAddress.hh" #include -#include +#include "../../../Utils/auto_unit_test.hh" #include #include diff --git a/Socket/Protocols/UN/UNAddressing.test.cc b/Socket/Protocols/UN/UNAddressing.test.cc index ebab854..7bd8e7f 100644 --- a/Socket/Protocols/UN/UNAddressing.test.cc +++ b/Socket/Protocols/UN/UNAddressing.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "UNAddressing.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #include diff --git a/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc b/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc index 83827e3..69e743e 100644 --- a/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc +++ b/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "UNDatagramSocketHandle.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/UN/UNProtocol.test.cc b/Socket/Protocols/UN/UNProtocol.test.cc index 3d7e8dc..a2ceb76 100644 --- a/Socket/Protocols/UN/UNProtocol.test.cc +++ b/Socket/Protocols/UN/UNProtocol.test.cc @@ -27,7 +27,7 @@ // Custom includes #include "UNProtocol.hh" -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/UN/main.test.cc b/Socket/Protocols/UN/main.test.cc index 91e601d..8c0780c 100644 --- a/Socket/Protocols/UN/main.test.cc +++ b/Socket/Protocols/UN/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/Protocols/main.test.cc b/Socket/Protocols/main.test.cc index 91e601d..be0cdde 100644 --- a/Socket/Protocols/main.test.cc +++ b/Socket/Protocols/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/ServerSocketHandle.test.cc b/Socket/ServerSocketHandle.test.cc index 6495856..5f9230e 100644 --- a/Socket/ServerSocketHandle.test.cc +++ b/Socket/ServerSocketHandle.test.cc @@ -31,7 +31,7 @@ #include "SocketProtocol.test.hh" #include "AddressingPolicy.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/SocketHandle.test.cc b/Socket/SocketHandle.test.cc index f2e31a7..10336be 100644 --- a/Socket/SocketHandle.test.cc +++ b/Socket/SocketHandle.test.cc @@ -30,7 +30,7 @@ #include "SocketProtocol.test.hh" #include "AddressingPolicy.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/SocketPolicy.test.cc b/Socket/SocketPolicy.test.cc index 84a830c..4729bca 100644 --- a/Socket/SocketPolicy.test.cc +++ b/Socket/SocketPolicy.test.cc @@ -29,7 +29,7 @@ #include "SocketPolicy.hh" #include "SocketPolicy.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #include #include diff --git a/Socket/SocketProtocol.test.cc b/Socket/SocketProtocol.test.cc index 2168488..ea1c412 100644 --- a/Socket/SocketProtocol.test.cc +++ b/Socket/SocketProtocol.test.cc @@ -30,7 +30,7 @@ #include "SocketPolicy.hh" #include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Socket/main.test.cc b/Socket/main.test.cc index b759387..385b730 100644 --- a/Socket/main.test.cc +++ b/Socket/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Buffer.test.cc b/Utils/Buffer.test.cc index a5d9d4e..ff205cf 100644 --- a/Utils/Buffer.test.cc +++ b/Utils/Buffer.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Buffer.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Exception.test.cc b/Utils/Exception.test.cc index 7421921..314cc41 100644 --- a/Utils/Exception.test.cc +++ b/Utils/Exception.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "Exception.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/IpChecksum.test.cc b/Utils/IpChecksum.test.cc index 24319d0..54642b2 100644 --- a/Utils/IpChecksum.test.cc +++ b/Utils/IpChecksum.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "IpChecksum.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/IteratorTraits.test.cc b/Utils/IteratorTraits.test.cc index d874e22..4a27dcc 100644 --- a/Utils/IteratorTraits.test.cc +++ b/Utils/IteratorTraits.test.cc @@ -31,7 +31,7 @@ #include #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/AreaRegistry.test.cc b/Utils/Logger/AreaRegistry.test.cc index a299cf3..f451098 100644 --- a/Utils/Logger/AreaRegistry.test.cc +++ b/Utils/Logger/AreaRegistry.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "main.test.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/Config.test.cc b/Utils/Logger/Config.test.cc index 5371e66..6a2be18 100644 --- a/Utils/Logger/Config.test.cc +++ b/Utils/Logger/Config.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "main.test.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/Log.test.cc b/Utils/Logger/Log.test.cc index a79397a..0d38bc2 100644 --- a/Utils/Logger/Log.test.cc +++ b/Utils/Logger/Log.test.cc @@ -27,7 +27,7 @@ //#include "Log.test.ih" // Custom includes -#include +#include "../../Utils/auto_unit_test.hh" #include #include "main.test.hh" diff --git a/Utils/Logger/Parameters.test.cc b/Utils/Logger/Parameters.test.cc index ed2d8c6..a22c1ce 100644 --- a/Utils/Logger/Parameters.test.cc +++ b/Utils/Logger/Parameters.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "main.test.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/StreamRegistry.test.cc b/Utils/Logger/StreamRegistry.test.cc index 21901a0..a5c6824 100644 --- a/Utils/Logger/StreamRegistry.test.cc +++ b/Utils/Logger/StreamRegistry.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "main.test.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/Target.test.cc b/Utils/Logger/Target.test.cc index b41ead9..270852c 100644 --- a/Utils/Logger/Target.test.cc +++ b/Utils/Logger/Target.test.cc @@ -30,7 +30,7 @@ #include #include "main.test.hh" -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/Logger/main.test.cc b/Utils/Logger/main.test.cc index 2e4e387..d3f3be2 100644 --- a/Utils/Logger/main.test.cc +++ b/Utils/Logger/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/SafeBool.test.cc b/Utils/SafeBool.test.cc index 39a95be..88dd748 100644 --- a/Utils/SafeBool.test.cc +++ b/Utils/SafeBool.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "SafeBool.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/TypeIdValue.test.cc b/Utils/TypeIdValue.test.cc index 12b9251..39cf7d4 100644 --- a/Utils/TypeIdValue.test.cc +++ b/Utils/TypeIdValue.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "TypeIdValue.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index a8e7312..ac6c5f9 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.test.cc @@ -28,7 +28,7 @@ // Custom includes #include "TypeInfo.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/auto_unit_test.hh b/Utils/auto_unit_test.hh new file mode 100644 index 0000000..beb770f --- /dev/null +++ b/Utils/auto_unit_test.hh @@ -0,0 +1,58 @@ +// $Id$ +// +// Copyright (C) 2007 +// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) +// Kompetenzzentrum fuer NETwork research (NET) +// Stefan Bund +// +// 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 +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the +// Free Software Foundation, Inc., +// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +/** \file + \brief auto_unit_test public header */ + +#ifndef HH_auto_unit_test_ +#define HH_auto_unit_test_ 1 + +// Custom includes +#include + +//#include "auto_unit_test.mpp" +///////////////////////////////hh.p//////////////////////////////////////// + +#if BOOST_VERSION >= 103400 + +# define BOOST_AUTO_UNIT_TEST BOOST_AUTO_TEST_CASE + +#endif + +#include + +///////////////////////////////hh.e//////////////////////////////////////// +//#include "auto_unit_test.cci" +//#include "auto_unit_test.ct" +//#include "auto_unit_test.cti" +#endif + + +// Local Variables: +// mode: c++ +// fill-column: 100 +// comment-column: 40 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// End: diff --git a/Utils/hexdump.test.cc b/Utils/hexdump.test.cc index ac64f5f..caf5a35 100644 --- a/Utils/hexdump.test.cc +++ b/Utils/hexdump.test.cc @@ -30,7 +30,7 @@ #include "hexdump.hh" #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/intrusive_refcount.test.cc b/Utils/intrusive_refcount.test.cc index ca05e18..07ad394 100644 --- a/Utils/intrusive_refcount.test.cc +++ b/Utils/intrusive_refcount.test.cc @@ -29,7 +29,7 @@ #include "intrusive_refcount.hh" #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/main.test.cc b/Utils/main.test.cc index b759387..385b730 100644 --- a/Utils/main.test.cc +++ b/Utils/main.test.cc @@ -27,7 +27,7 @@ // Custom includes #define BOOST_AUTO_TEST_MAIN -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/membind.test.cc b/Utils/membind.test.cc index 3cfbb87..98ddb17 100644 --- a/Utils/membind.test.cc +++ b/Utils/membind.test.cc @@ -30,7 +30,7 @@ #include #include "../Utils/membind.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/mpl.test.cc b/Utils/mpl.test.cc index 5e69658..9e80f68 100644 --- a/Utils/mpl.test.cc +++ b/Utils/mpl.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "mpl.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/pool_alloc_mixin.test.cc b/Utils/pool_alloc_mixin.test.cc index 2fb6107..e91ac4a 100644 --- a/Utils/pool_alloc_mixin.test.cc +++ b/Utils/pool_alloc_mixin.test.cc @@ -30,7 +30,7 @@ #include "pool_alloc_mixin.hh" #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ diff --git a/Utils/singleton.test.cc b/Utils/singleton.test.cc index fb134af..24560c2 100644 --- a/Utils/singleton.test.cc +++ b/Utils/singleton.test.cc @@ -29,7 +29,7 @@ // Custom includes #include "singleton.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_