summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Inject the name of the Init function using a macro.kosak@google.com2015-07-271-3/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@740 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for named value-parameterized tests.kosak@google.com2015-07-243-5/+193
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@735 861a406c-534a-0410-8894-cb66d6ee9925
* Inject implementation of *FromGTestEnv using macros.kosak@google.com2015-07-241-0/+4
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@734 861a406c-534a-0410-8894-cb66d6ee9925
* Do not create an extra default instance of T when constructing a ThreadLocal<T>.kosak@google.com2015-07-191-32/+9
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@732 861a406c-534a-0410-8894-cb66d6ee9925
* Condition some code on !GTEST_HAS_MUTEX_AND_THREAD_LOCAL_kosak@google.com2015-07-191-0/+9
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@730 861a406c-534a-0410-8894-cb66d6ee9925
* GTEST_USE_OWN_FLAGFILE supportkosak@google.com2015-07-191-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@729 861a406c-534a-0410-8894-cb66d6ee9925
* Determine the existence of hash_map/hash_set in gtest-port.h.kosak@google.com2015-07-171-5/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@727 861a406c-534a-0410-8894-cb66d6ee9925
* Implement GetThreadCount for Linux.kosak@google.com2015-07-171-28/+21
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@726 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for --gtest_flagfile.kosak@google.com2015-07-171-1/+55
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@725 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for --gtest_flagfilekosak@google.com2015-07-172-18/+99
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@724 861a406c-534a-0410-8894-cb66d6ee9925
* Minor refactoring.kosak@google.com2015-07-142-12/+14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@722 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for gtest custom printers.kosak@google.com2015-07-141-31/+15
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@720 861a406c-534a-0410-8894-cb66d6ee9925
* Add comment.kosak@google.com2015-07-141-0/+10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@719 861a406c-534a-0410-8894-cb66d6ee9925
* Remove TestPrematureExitFileEnvVarIsSetkosak@google.com2015-07-141-16/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@718 861a406c-534a-0410-8894-cb66d6ee9925
* Minor changes.kosak@google.com2015-07-141-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@717 861a406c-534a-0410-8894-cb66d6ee9925
* Control death test with an #ifdef guard.kosak@google.com2015-07-141-0/+4
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@715 861a406c-534a-0410-8894-cb66d6ee9925
* fully-qualify use of scoped_ptr namekosak@google.com2015-07-132-3/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@712 861a406c-534a-0410-8894-cb66d6ee9925
* urxvt supports colorskosak@google.com2015-04-281-0/+6
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@711 861a406c-534a-0410-8894-cb66d6ee9925
* Work around some unsigned->signed warnings in our tests/.kosak@google.com2015-04-283-19/+20
| | | | | | | Thanks to Diego Barrios Romero <eldruin@gmail.com>. git-svn-id: http://googletest.googlecode.com/svn/trunk@710 861a406c-534a-0410-8894-cb66d6ee9925
* Strip trailing whitespace when stringifying type lists.kosak@google.com2014-11-171-0/+19
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@698 861a406c-534a-0410-8894-cb66d6ee9925
* Distinguish between C++11 language and library support for std::function, ↵kosak@google.com2014-11-171-1/+1
| | | | | | std::begin, std::end, and std::move in gtest and gmock. git-svn-id: http://googletest.googlecode.com/svn/trunk@694 861a406c-534a-0410-8894-cb66d6ee9925
* Expand equality failure messages with a by-line diff.kosak@google.com2014-07-283-5/+116
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@691 861a406c-534a-0410-8894-cb66d6ee9925
* Push upstream to SVN.billydonahue@google.com2014-05-154-70/+77
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@686 861a406c-534a-0410-8894-cb66d6ee9925
* Export tuple and friends in the ::testing namespace.kosak@google.com2014-04-021-3/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@682 861a406c-534a-0410-8894-cb66d6ee9925
* Implement threading support for gtest on Windows.kosak@google.com2014-03-243-39/+175
| | | | | | | Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows. git-svn-id: http://googletest.googlecode.com/svn/trunk@681 861a406c-534a-0410-8894-cb66d6ee9925
* Remove code referencing Google protocol buffers version 1.kosak@google.com2014-03-121-7/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@679 861a406c-534a-0410-8894-cb66d6ee9925
* Suppress "Conditional expression is constant" warning on Visual Studio.kosak@google.com2014-01-291-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@677 861a406c-534a-0410-8894-cb66d6ee9925
* Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.kosak@google.com2014-01-132-4/+5
| | | | | | | Also improve an error message in gtest_test_utils.py. git-svn-id: http://googletest.googlecode.com/svn/trunk@675 861a406c-534a-0410-8894-cb66d6ee9925
* Define specialization of PrintTo(...) for ::std::tuple.kosak@google.com2014-01-121-28/+120
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@673 861a406c-534a-0410-8894-cb66d6ee9925
* Fix warnings encountered with clang -Wall.kosak@google.com2013-12-032-2/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@670 861a406c-534a-0410-8894-cb66d6ee9925
* Delete whitespace, and change the return type of ↵kosak@google.com2013-12-031-2/+0
| | | | | | ImplicitlyConvertible::MakeFrom() to From&. git-svn-id: http://googletest.googlecode.com/svn/trunk@668 861a406c-534a-0410-8894-cb66d6ee9925
* avoids clash with the max() macro on Windowszhanyong.wan2013-09-181-7/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@663 861a406c-534a-0410-8894-cb66d6ee9925
* supports a protocol for catching tests that prematurely exitzhanyong.wan2013-09-064-19/+183
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@662 861a406c-534a-0410-8894-cb66d6ee9925
* makes gtest-death-test_test.cc compile on platforms that don't support death ↵zhanyong.wan2013-07-081-20/+21
| | | | | | tests; h/t to Steve Robbins for reporting the issue and suggesting the fix. git-svn-id: http://googletest.googlecode.com/svn/trunk@657 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.zhanyong.wan2013-06-181-9/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@655 861a406c-534a-0410-8894-cb66d6ee9925
* When --gtest_filter is specified, XML report now doesn't contain information ↵vladlosev2013-04-253-14/+34
| | | | | | about tests that are filtered out (issue 141). git-svn-id: http://googletest.googlecode.com/svn/trunk@654 861a406c-534a-0410-8894-cb66d6ee9925
* prints type/value parameters when listing testszhanyong.wan2013-04-102-34/+136
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@652 861a406c-534a-0410-8894-cb66d6ee9925
* Implements support for calling Test::RecordProperty() outside of a test.vladlosev2013-04-054-53/+199
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@648 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes some compatibility issues with STLport.zhanyong.wan2013-04-042-5/+10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@647 861a406c-534a-0410-8894-cb66d6ee9925
* Prints a useful message when GetParam() is called in a non-parameterized test.zhanyong.wan2013-03-121-0/+7
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@645 861a406c-534a-0410-8894-cb66d6ee9925
* Supports colored output on term type screen-256color.zhanyong.wan2013-03-111-0/+3
| | | | | | | | | Proposed as a one-line patch by Tom Jakubowski (tom@crystae.net); finished by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@644 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes unused function warning on Mac, and fixes compatibility with newer GCC.zhanyong.wan2013-02-281-2/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@643 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes gUnit streaming output format.kosak@google.com2013-02-221-0/+75
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@637 861a406c-534a-0410-8894-cb66d6ee9925
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak@google.com2013-02-221-54/+20
| | | | | | truncates the result at 4096 chars. Also update an obsolete link in comment. git-svn-id: http://googletest.googlecode.com/svn/trunk@636 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-1511-571/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://googletest.googlecode.com/svn/trunk@628 861a406c-534a-0410-8894-cb66d6ee9925
* Improves Android support (by David Turner).vladlosev2012-09-192-1/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@625 861a406c-534a-0410-8894-cb66d6ee9925
* Removes obsolete debug code.vladlosev2012-09-063-5/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@623 861a406c-534a-0410-8894-cb66d6ee9925
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-075-36/+330
| | | | | | | 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-312-8/+14
| | | | | | | | allow exepctions to be thrown in a destructor. git-svn-id: http://googletest.googlecode.com/svn/trunk@615 861a406c-534a-0410-8894-cb66d6ee9925
* Misc small updates to some debug death code, and to messages streaming to macrosjgm@google.com2012-03-096-29/+140
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@612 861a406c-534a-0410-8894-cb66d6ee9925