courtneypresto / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gtest should print the exception text when it catches a test exception #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dmytro Ovdiienko (dmitriy.ovdienko _at_ gmail.com) contributed this patch.

"It allows GTest to display exception text instead of the code.

Also I added USE_STATIC_RT switch to the CMakeLists.txt to allow user
switch between static/dynamic runtimes."

We are waiting for Dmytro's signature on the CLA.

Original issue reported on code.google.com by w...@google.com on 25 Mar 2010 at 6:25

Attachments:

GoogleCodeExporter commented 9 years ago
According to the agreement I send you patch to close this issue only. It has 
some 
improvements comparing to the previous patch. I added code to the 
GTEST_HAS_EXCEPTIONS 
block.

Patch for CMakeLists.txt I will send you in the next bugreport.

Also this patch does not handle case when exception is raised from the 
SetUpTestCase.

Original comment by Dmitriy....@gmail.com on 25 Mar 2010 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, Dmitriy!  Have you signed the CLA yet?

Original comment by w...@google.com on 25 Mar 2010 at 7:03

GoogleCodeExporter commented 9 years ago
yes, I have.

Original comment by Dmitriy....@gmail.com on 30 Mar 2010 at 5:33

GoogleCodeExporter commented 9 years ago
Sorry this fell through the crack, Dmitriy.  I believe a recent change by Vlad 
Losev fixed this in the SVN trunk.

Original comment by w...@google.com on 8 Sep 2010 at 6:19