MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / GoogleTestFailureException

Class GoogleTestFailureException

src/gtest/gtest-all.cpp:3357–3361  ·  view source on GitHub ↗

A failed Google Test assertion will throw an exception of this type when GTEST_FLAG(throw_on_failure) is true (if exceptions are enabled). We derive it from std::runtime_error, which is for errors presumably detectable only at run time. Since std::runtime_error inherits from std::exception, many testing frameworks know how to extract and print the message inside it.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AddTestPartResultMethod · 0.85

Calls

no outgoing calls

Tested by 1

AddTestPartResultMethod · 0.68