Comments (5)
Hi,
Finally, here is my patch to solve this problem.
I've used the same trick that you used in death test macros. Thus only one
EXPECT_*
or ASSERT_* macro can be used in one line! (The same is true for ASSERT_DEATH
for
example.) I believe it is not a big restriction, however it is not for me to
decide..
I had to change the death test test, because you are using 2 EXPECT_ macro in a
death test macro which violates the new restriction. Maybe this will the
meaning of
that test also!
The format is maybe not perfect, but provides more information about the source
of
the error.
Catching is still controlled by catch_exceptions flag.
New tests implemented in gtest_unittest.cc to check the new feature.
Best regards,
Balazs
Original comment by [email protected]
on 19 Jul 2008 at 1:00
Attachments:
from googletest.
Original comment by [email protected]
on 31 Jul 2008 at 6:40
- Changed state: Started
- Added labels: OpSys-All, Priority-High, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from googletest.
Original comment by [email protected]
on 31 Jul 2008 at 6:40
from googletest.
Based on the complexity of the change and the likelihood of it breaking existing
code, we decided that it may not be worth it.
Original comment by [email protected]
on 5 Aug 2008 at 7:15
- Changed state: WontFix
from googletest.
I am sorry I am resurrecting this wontfix, but it sounds quite bad that it is
not possible to get the reason a test fails. It is completely opaque both on
the message output and on the debugging session, as the program exits without a
chance to check a backtrace with the debugger.
Original comment by [email protected]
on 4 Jan 2015 at 12:42
from googletest.
Related Issues (20)
- Allow GoogleTest to find clone() with PGI compiler HOT 1
- Project home summary says wiki links are on right, but they are on the left
- With 32-bit target, icc generates remarks about cast of void * to 64-bit integer in PrintTo
- [deleted issue]
- Unable to determine if a test should run before calling RUN_ALL_TESTS HOT 2
- My assert is not caught and the test fails HOT 2
- Throwing an exception as default breaks call count expectation HOT 3
- I put my tests in a library and Google Test doesn't run them - GCC 4.8 HOT 3
- Unknown option specified: gtest_output
- error:SEH exception with code 0xc0000005 thrown in auxiliary test code<environment or event listeners>
- Compilation errors on MinGW
- Duplicate Symbols adding Samples (Xcode)
- PATCH: Fix ‘make check’ in separate build directory
- SEGV on 4 or more test cases with Address Sanitizer HOT 5
- Add the ability to specify parameterized test names
- moving to GITHUB ?
- Plase add a way to skip/disable some tests during runtime.
- README CMake section missing step of putting built libraries into lib subdirectory
- New release
- memory leak when gtest are printing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googletest.