Namespaces | Defines | Functions
lightweight_test.hpp File Reference
#include <boost/current_function.hpp>
#include <iostream>
Include dependency graph for lightweight_test.hpp:

Go to the source code of this file.

Namespaces

namespace  boost
namespace  boost::detail

Defines

#define BOOST_ERROR(msg)   ::boost::detail::error_impl(msg, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)
#define BOOST_TEST(expr)   ((expr)? (void)0: ::boost::detail::test_failed_impl(#expr, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION))
#define BOOST_TEST_EQ(expr1, expr2)   ( ::boost::detail::test_eq_impl(#expr1, #expr2, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION, expr1, expr2) )

Functions

void boost::detail::error_impl (char const *msg, char const *file, int line, char const *function)
int boost::report_errors ()
template<class T , class U >
void boost::detail::test_eq_impl (char const *expr1, char const *expr2, char const *file, int line, char const *function, T const &t, U const &u)
int & boost::detail::test_errors ()
void boost::detail::test_failed_impl (char const *expr, char const *file, int line, char const *function)

Define Documentation

#define BOOST_ERROR (   msg)    ::boost::detail::error_impl(msg, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)

Definition at line 88 of file lightweight_test.hpp.

#define BOOST_TEST (   expr)    ((expr)? (void)0: ::boost::detail::test_failed_impl(#expr, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION))

Definition at line 87 of file lightweight_test.hpp.

#define BOOST_TEST_EQ (   expr1,
  expr2 
)    ( ::boost::detail::test_eq_impl(#expr1, #expr2, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION, expr1, expr2) )

Definition at line 89 of file lightweight_test.hpp.



appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29