aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-internal-inl.h
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-1183/+0
|
* Move stack trace logic into custom/ and add a macro to inject it.kosak2015-07-171-17/+7
|
* Add support for --gtest_flagfilekosak2015-07-171-0/+1
|
* Reduce the number of occurrences of gendered pronouns in gtest.kosak2014-06-181-1/+1
|
* Implement threading support for gtest on Windows.kosak2014-03-241-26/+0
| | | | Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows.
* When --gtest_filter is specified, XML report now doesn't contain information ↵vladlosev2013-04-251-0/+6
| | | | about tests that are filtered out (issue 141).
* Implements support for calling Test::RecordProperty() outside of a test.vladlosev2013-04-051-3/+9
|
* Removes an unused variable; also refactors to support an up-comingzhanyong.wan2013-02-281-1/+0
| | | | googlemock change.
* Fixes gUnit streaming output format.kosak2013-02-221-0/+153
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-5/+3
| | | | truncates the result at 4096 chars. Also update an obsolete link in comment.
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Adds file and line information to the "message", which is used as the summaryjgm2012-01-171-1/+1
| | | | of a failure.
* Removes spurious semicolon.vladlosev2011-11-281-2/+1
|
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-0/+1
|
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-241-1/+5
| | | | comment-based system (by Aaron Jacobs).
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-051-0/+14
| | | | XML (external contribution by Dirk Meister).
* Fixes Sun C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-121-1/+8
|
* Indents preprocessor directives.zhanyong.wan2011-02-221-9/+15
|
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-021-3/+5
| | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev.
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-3/+3
|
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-311-5/+21
| | | | 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).
* Removes the Windows golden file (by Vlad Losev); implements test result ↵zhanyong.wan2010-08-191-0/+10
| | | | streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan).
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-091-85/+4
| | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
* Makes gtest report failures in ad hoc test assertions executed before ↵zhanyong.wan2010-06-161-2/+6
| | | | RUN_ALL_TESTS().
* Fixes a typo in comments.vladlosev2010-05-171-5/+5
|
* Improves support for building Google Test as Windows DLL.vladlosev2010-05-051-1/+1
|
* Adds missing gtest DLL exports.zhanyong.wan2010-03-221-28/+44
|
* Fixes MSVC warnings in 64-bit mode.zhanyong.wan2010-02-251-2/+2
|
* Simplifies the implementation by using std::vector instead of Vector.zhanyong.wan2010-02-251-260/+64
|
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-241-1/+4
| | | | 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).
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-161-4/+4
|
* Prevents Google Test from printing help message upon seeing the ↵vladlosev2009-11-171-0/+4
| | | | --gtest_stack_trace_depth flag. This was breaking gmock_output_test.
* Refactors the scons script (by Vlad Losev).zhanyong.wan2009-09-301-2/+2
| | | | Fixes a typo in __GNUC__ (by Zhanyong Wan).
* Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵zhanyong.wan2009-09-301-24/+115
| | | | | | patch). Enables death tests on minGW (by Vlad Losev).
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-301-2/+2
| | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev).
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-241-2/+0
| | | | to simplify gtest code (by Zhanyong Wan).
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-041-17/+26
| | | | the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev).
* Fixes an uninitialized field in class OsStackTraceGetter.zhanyong.wan2009-08-261-1/+1
|
* Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); ↵zhanyong.wan2009-07-221-2/+3
| | | | refactors scons script (by Vlad Losev).
* More refactoring for the event listener API, by Vlad Losev.zhanyong.wan2009-07-161-9/+29
|
* Adds the command line flags needed for test shuffling. Most code by Josh ↵zhanyong.wan2009-07-141-1/+46
| | | | Kelley.
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-131-36/+46
| | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-011-226/+85
| | | | implementation and makes it easier to implement test shuffling.
* Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; ↵zhanyong.wan2009-07-011-5/+0
| | | | hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
* Makes list traversal O(N) instead of O(N^2) (by Zhanyong Wan).zhanyong.wan2009-06-251-12/+51
|
* Makes gtest's tuple implementation work with Symbian 5th edition by ↵zhanyong.wan2009-06-241-0/+26
| | | | bypassing 2 compiler bugs (by Zhanyong Wan); refactors for the event listener API (by Vlad Losev).
* Turns on exceptions when compiling gtest_output_test (by Vlad Losev); moves ↵zhanyong.wan2009-06-221-134/+0
| | | | TestCase to gtest.h to prepare for the event listener API (by Vlad Losev).
* Moves TestResult from gtest-internal-inl.h to gtest.h to prepare for the ↵zhanyong.wan2009-06-191-96/+0
| | | | even listener API work (by Vlad Losev); cleans up the scons script (by Zhanyong Wan).
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-191-1/+3
|
* Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); ↵zhanyong.wan2009-06-191-35/+0
| | | | fixes the wrong usage of os.environ.clear() in gtest_output_test.py (by Vlad Losev); fixes the logic for detecting Symbian (by Zhanyong Wan); moves TestProperty for event listener (by Vlad Losev).