MCPcopy Create free account
hub / github.com/boostorg/stacktrace / main

Function main

test/test.cpp:311–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311int main(const int, const char* argv[]) {
312 test_deeply_nested_namespaces();
313 test_frames_string_data_validity();
314 test_nested<15>();
315 test_comparisons();
316 test_iterators();
317 test_frame();
318 test_empty_basic_stacktrace<true>();
319 test_empty_basic_stacktrace<false>();
320
321 BOOST_TEST(&make_some_stacktrace1 != &make_some_stacktrace2);
322 boost::stacktrace::stacktrace b1 = make_some_stacktrace1();
323 BOOST_TEST(b1.size() == 4);
324 boost::stacktrace::stacktrace b2 = make_some_stacktrace2();
325 BOOST_TEST(b2.size() == 4);
326 test_comparisons_base(make_some_stacktrace1(), make_some_stacktrace2());
327
328 test_nested<260>(false);
329
330 test_stacktrace_limits();
331 test_relative_virtual_address(argv[0]);
332
333 return boost::report_errors();
334}

Callers

nothing calls this directly

Calls 8

test_comparisonsFunction · 0.85
test_iteratorsFunction · 0.85
test_frameFunction · 0.85
test_comparisons_baseFunction · 0.85
test_stacktrace_limitsFunction · 0.85

Tested by

no test coverage detected