I am using the Google Test Framework for my project. I selected an exception from the code as:
throw DerivedClassException("message");
and in the test frame using:
ASSERT_THROW(commond(), DerivedClassException);
I want to receive a message with the what() API. Any way to get an accurate exception message.
c ++ exception-handling c ++ 11 googletest
anurudh
source share