Packets: Add StringParser ostream operation
[senf.git] / Utils / auto_unit_test.hh
index b2e60ae..c12bb7d 100644 (file)
     </pre> (with possibliy adjusted path).
  */
 
-#ifndef HH_auto_unit_test_
-#define HH_auto_unit_test_ 1
+#ifndef HH_SENF_Utils_auto_unit_test_
+#define HH_SENF_Utils_auto_unit_test_ 1
 
 // Custom includes
+#include <iostream>
 #include <boost/version.hpp>
 
 //#include "auto_unit_test.mpp"
@@ -57,7 +58,7 @@
 
 /** \brief Check for compile failure
 
-    COMPILE_RAIL() is used to check, that a certain piece of code will produce a compile time
+    COMPILE_FAIL() is used to check, that a certain piece of code will produce a compile time
     failure.
 
     \code
@@ -90,7 +91,7 @@
  */
 #define SENF_CHECK_NO_THROW(expr)                                                                 \
     BOOST_CHECK_NO_THROW(                                                                         \
-        try { (void) expr ; }                                                                     \
+        try { expr ; }                                                                            \
         catch (std::exception & e) { std::cerr << e.what() << std::endl; throw; } )
 
 ///////////////////////////////hh.e////////////////////////////////////////