summaryrefslogtreecommitdiffstats
path: root/test/gtest_output_test_.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-1062/+0
|
* Add support for named value-parameterized tests.kosak2015-07-241-0/+26
|
* Minor refactoring.kosak2015-07-141-7/+4
|
* fully-qualify use of scoped_ptr namekosak2015-07-131-2/+2
|
* Expand equality failure messages with a by-line diff.kosak2014-07-281-0/+5
|
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems.
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-071-2/+15
| | | | char arrays are not escapped properly.
* Misc small updates to some debug death code, and to messages streaming to macrosjgm2012-03-091-4/+4
|
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-0/+1
|
* Indents preprocessor directives.zhanyong.wan2011-02-221-7/+7
|
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-2/+2
|
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-091-131/+0
| | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
* Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad ↵zhanyong.wan2010-07-261-0/+4
| | | | Losev).
* Implements printing parameters of failed parameterized tests (issue 71).vladlosev2010-05-181-0/+14
|
* Improves support for building Google Test as Windows DLL.vladlosev2010-05-051-3/+1
|
* Renames ThreadStartSempahore to Notificaton (by Vlad Losev); adds threading ↵zhanyong.wan2010-03-041-18/+144
| | | | tests for SCOPED_TRACE() (by Vlad Losev); replaces native pthread calls with gtest's threading constructs (by Vlad Losev); fixes flakiness in CountedDestructor (by Vlad Losev); minor MSVC 7.1 clean-up (by Zhanyong Wan).
* Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); ↵zhanyong.wan2009-07-221-2/+2
| | | | refactors scons script (by Vlad Losev).
* Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). ↵zhanyong.wan2009-05-291-0/+4
| | | | Minor format adjustments.
* Change a few visibilities to work around a bug in g++ 3.4.2.tsunanet2009-05-181-1/+1
| | | | | | | | | | | | | | | It looks like this version of g++ is confused by the local class generated by the TEST_F macro and it can't tell that we're in a method that inherits the class we want to access. This bug causes the following kind of error: ../samples/../test/gtest_unittest.cc: In static member function `static void <unnamed>::ExpectFatalFailureTest_CatchesFatalFaliure_Test::TestBody()::GTestExpectFatalFailureHelper::Execute()': ../samples/../test/gtest_unittest.cc:799: error: `static void <unnamed>::ScopedFakeTestPartResultReporterTest::AddFailure(<unnamed>::ScopedFakeTestPartResultReporterTest::FailureMode)' is protected ../samples/../test/gtest_unittest.cc:883: error: within this context Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
* Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version ↵zhanyong.wan2009-05-051-7/+0
| | | | before 4.0.0 (by Zhanyong Wan).
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-2/+2
| | | | SConscript (by Vlad Losev).
* Makes gtest print elapsed time by default.zhanyong.wan2009-04-141-0/+2
|
* Fixes a MSVC warning (by Vlad Losev); fixes SConscript to work with VC 7.1 ↵zhanyong.wan2009-03-311-1/+0
| | | | and exceptions enabled (by Zhanyong Wan).
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-261-9/+3
| | | | death test style flag to --help.
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-061-0/+11
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
* Cleans up macro definitions.zhanyong.wan2009-02-231-10/+10
|
* Implements the test sharding protocol. By Eric Fellheimer.zhanyong.wan2009-02-091-0/+6
|
* Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by ↵zhanyong.wan2009-02-061-0/+12
| | | | Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev).
* Implements --gtest_also_run_disabled_tests. By Eric Roman.shiqian2009-01-101-0/+8
|
* Many changes:shiqian2008-10-111-1/+135
| | | | | | | | | | | | - appends "_" to internal macro names (by Markus Heule). - makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento). - adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule). - changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule). - adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule). - adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan). - adds scons/SConscript for building with scons (by Joi Sigurdsson). - adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule). - updates the xcode project to include new tests (by Preston Jackson).
* Adds support for type-parameterized tests (by Zhanyong Wan); also adds ↵shiqian2008-09-081-0/+91
| | | | case-insensitive wide string comparison to the String class (by Vlad Losev).
* Initial import.shiqian2008-07-031-0/+755