summaryrefslogtreecommitdiff
path: root/src/gtest.cc
Commit message (Collapse)AuthorAge
* added defines for iOSjgm@google.com2012-07-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@617 861a406c-534a-0410-8894-cb66d6ee9925
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-07
| | | | | | | char arrays are not escapped properly. git-svn-id: http://googletest.googlecode.com/svn/trunk@616 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes threading annotations and compatibility with C++11, which doesn'tzhanyong.wan2012-05-31
| | | | | | | | allow exepctions to be thrown in a destructor. git-svn-id: http://googletest.googlecode.com/svn/trunk@615 861a406c-534a-0410-8894-cb66d6ee9925
* Adds file and line information to the "message", which is used as the summaryjgm@google.com2012-01-17
| | | | | | | of a failure. git-svn-id: http://googletest.googlecode.com/svn/trunk@609 861a406c-534a-0410-8894-cb66d6ee9925
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-04
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@607 861a406c-534a-0410-8894-cb66d6ee9925
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-24
| | | | | | comment-based system (by Aaron Jacobs). git-svn-id: http://googletest.googlecode.com/svn/trunk@604 861a406c-534a-0410-8894-cb66d6ee9925
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-05
| | | | | | XML (external contribution by Dirk Meister). git-svn-id: http://googletest.googlecode.com/svn/trunk@600 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the implementatoin of the test result printer; by Ulfar Erlingssonzhanyong.wan2011-09-16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@595 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@583 861a406c-534a-0410-8894-cb66d6ee9925
* makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵zhanyong.wan2011-04-07
| | | | | | name of xlC (by Hady Zalek). git-svn-id: http://googletest.googlecode.com/svn/trunk@563 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes 'formatting error or buffer exceeded' error when outputting long ↵vladlosev2011-03-30
| | | | | | failure messages in XML. git-svn-id: http://googletest.googlecode.com/svn/trunk@558 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibilityzhanyong.wan2011-03-11
| | | | | | | with Android (by Zachary Vorhies). git-svn-id: http://googletest.googlecode.com/svn/trunk@555 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-05
| | | | | | | Kelley. Simplified by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@553 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes off-by-one error in a message about test sharding (by David Glasser).vladlosev2011-02-12
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@543 861a406c-534a-0410-8894-cb66d6ee9925
* Adds null check for file locations in XML output printer.vladlosev2011-02-02
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@540 861a406c-534a-0410-8894-cb66d6ee9925
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-02
| | | | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. git-svn-id: http://googletest.googlecode.com/svn/trunk@537 861a406c-534a-0410-8894-cb66d6ee9925
* template selection error in IBM's xIC_r compiler.vladlosev2011-01-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@536 861a406c-534a-0410-8894-cb66d6ee9925
* Changes default of --gtest_catch_exceptions to true.vladlosev2010-10-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@504 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@503 861a406c-534a-0410-8894-cb66d6ee9925
* Removes uses of deprecated AssertionFailure() API (by Vlad Losev).zhanyong.wan2010-09-27
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@487 861a406c-534a-0410-8894-cb66d6ee9925
* Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵zhanyong.wan2010-09-27
| | | | | | second argument. git-svn-id: http://googletest.googlecode.com/svn/trunk@485 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Removes all uses of StrStream; fixes the VC projects and simplifies them by ↵zhanyong.wan2010-09-08
| | | | | | using gtest-all.cc. git-svn-id: http://googletest.googlecode.com/svn/trunk@481 861a406c-534a-0410-8894-cb66d6ee9925
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-31
| | | | | | behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@480 861a406c-534a-0410-8894-cb66d6ee9925
* Removes the Windows golden file (by Vlad Losev); implements test result ↵zhanyong.wan2010-08-19
| | | | | | streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@478 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-09
| | | | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@453 861a406c-534a-0410-8894-cb66d6ee9925
* Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵zhanyong.wan2010-07-21
| | | | | | | | | | Zhanyong Wan). Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan). Works around a bug in Cymbian's C++ compiler (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@446 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes warnings when built by GCC with -Wswitch-default. Original patch by ↵vladlosev2010-07-14
| | | | | | Zhixu Liu (zhixu.liu@gmail.com). git-svn-id: http://googletest.googlecode.com/svn/trunk@445 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest_break_on_failure_unittest work on minGW (by vladl); improveszhanyong.wan2010-07-08
| | | | | | | the NULL-dereferencing hack to work with LLVM (by chandlerc). git-svn-id: http://googletest.googlecode.com/svn/trunk@443 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest report failures in ad hoc test assertions executed before ↵zhanyong.wan2010-06-16
| | | | | | RUN_ALL_TESTS(). git-svn-id: http://googletest.googlecode.com/svn/trunk@441 861a406c-534a-0410-8894-cb66d6ee9925
* Implements printing parameters of failed parameterized tests (issue 71).vladlosev2010-05-18
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@435 861a406c-534a-0410-8894-cb66d6ee9925
* Implements color output in GNU Screen sessions (issue 277).vladlosev2010-04-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@421 861a406c-534a-0410-8894-cb66d6ee9925
* Enables death tests on AIX, by Hady Zalek.zhanyong.wan2010-03-23
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@402 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes MSVC warnings in 64-bit mode.zhanyong.wan2010-02-25
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@379 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the implementation by using std::vector instead of Vector.zhanyong.wan2010-02-25
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@377 861a406c-534a-0410-8894-cb66d6ee9925
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-24
| | | | | | Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth). git-svn-id: http://googletest.googlecode.com/svn/trunk@376 861a406c-534a-0410-8894-cb66d6ee9925
* Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵zhanyong.wan2010-01-28
| | | | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek). git-svn-id: http://googletest.googlecode.com/svn/trunk@369 861a406c-534a-0410-8894-cb66d6ee9925
* Implements stdout capturing (by Vlad Losev); fixes compiler error on NVCC ↵zhanyong.wan2010-01-27
| | | | | | (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@368 861a406c-534a-0410-8894-cb66d6ee9925
* Changes Message() to print double with enough precision by default.zhanyong.wan2010-01-08
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@365 861a406c-534a-0410-8894-cb66d6ee9925
* Removes uses of GTEST_HAS_STD_STRING.zhanyong.wan2009-12-16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@353 861a406c-534a-0410-8894-cb66d6ee9925
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@350 861a406c-534a-0410-8894-cb66d6ee9925
* Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev).zhanyong.wan2009-12-01
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@346 861a406c-534a-0410-8894-cb66d6ee9925
* Prevents Google Test from printing help message upon seeing the ↵vladlosev2009-11-17
| | | | | | --gtest_stack_trace_depth flag. This was breaking gmock_output_test. git-svn-id: http://googletest.googlecode.com/svn/trunk@342 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes linker error when used with gMock on Windowsvladlosev2009-10-23
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@336 861a406c-534a-0410-8894-cb66d6ee9925
* Prints help when encountering unrecognized Google Test flags.vladlosev2009-10-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@335 861a406c-534a-0410-8894-cb66d6ee9925
* Implements support for AssertionResult in Boolean assertions such as ↵vladlosev2009-10-20
| | | | | | EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests. git-svn-id: http://googletest.googlecode.com/svn/trunk@331 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes: Scons build file broken when used in another SConstruct; warning in ↵vladlosev2009-10-14
| | | | | | VC 8.0 when compiled with /Wp64 git-svn-id: http://googletest.googlecode.com/svn/trunk@330 861a406c-534a-0410-8894-cb66d6ee9925
* Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵zhanyong.wan2009-09-30
| | | | | | | | | patch). Enables death tests on minGW (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@322 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-30
| | | | | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@321 861a406c-534a-0410-8894-cb66d6ee9925