| 38 | // cpp_main ----------------------------------------------------------------// |
| 39 | |
| 40 | int cpp_main(int argc, char* argv[]) |
| 41 | { |
| 42 | if (argc > 1 && std::strcmp(argv[1], "--no-cleanup") == 0) |
| 43 | cleanup = false; |
| 44 | |
| 45 | // Test cases go after this block of comments |
| 46 | // Use test case macros from boost/detail/lightweight_test.hpp: |
| 47 | // |
| 48 | // BOOST_TEST(predicate); // test passes if predicate evaluates to true |
| 49 | // BOOST_TEST_EQ(x, y); // test passes if x == y |
| 50 | // BOOST_TEST_NE(x, y); // test passes if x != y |
| 51 | // BOOST_ERROR(msg); // test fails, outputs msg |
| 52 | // Examples: |
| 53 | // BOOST_TEST(path("f00").size() == 3); // test passes |
| 54 | // BOOST_TEST_EQ(path("f00").size(), 3); // test passes |
| 55 | // BOOST_MSG("Oops!"); // test fails, outputs "Oops!" |
| 56 | |
| 57 | if (cleanup) |
| 58 | { |
| 59 | // Remove any test files or directories here |
| 60 | } |
| 61 | |
| 62 | return ::boost::report_errors(); |
| 63 | } |
nothing calls this directly
no outgoing calls
no test coverage detected