kosak
1e86cae1d6
Inject GTEST_EXTRA_DEATH_TEST_CHILD_SETUP
2015-07-27 21:42:24 +00:00
kosak
c33ce7c159
Inject the custom InitGoogleTest function using a macro.
2015-07-27 21:36:08 +00:00
kosak
4188ec3529
Inject GTEST_CUSTOM_TEST_EVENT_LISTENER_
2015-07-24 21:16:59 +00:00
kosak
f972f1680a
Inject GetArgvs() with a macro from custom/gtest-port.h.
2015-07-24 20:43:09 +00:00
kosak
4d69b1607a
GTEST_USE_OWN_FLAGFILE support
2015-07-19 21:50:45 +00:00
kosak
e7dbfde8ce
Move stack trace logic into custom/ and add a macro to inject it.
2015-07-17 23:57:03 +00:00
kosak
4f8dc917eb
Add support for --gtest_flagfile.
2015-07-17 22:11:58 +00:00
kosak
195610d30c
Add support for --gtest_flagfile
2015-07-17 21:56:19 +00:00
kosak
0928adbfea
Move the selection of the flag saver implementation into gtest-port.h and
...
custom/gtest-port.h.
2015-07-14 22:44:39 +00:00
kosak
38dd7485c0
Change GetDefaultFilter to allow for the injection of a custom filter.
2015-07-14 21:49:27 +00:00
kosak
1197daf357
urxvt supports colors
2015-04-28 22:04:35 +00:00
kosak
5c996c6466
Make an int64->double conversion explicit to silence -Wconversion.
...
Addresses issue #173 :
https://code.google.com/p/googlemock/issues/detail?id=173
2015-04-28 21:43:13 +00:00
kosak
12ab6bb16f
Small Mingw localtime() fix.
...
Thanks tberghammer for pointing it out.
https://codereview.appspot.com/185420043/
2015-01-08 03:12:18 +00:00
kosak
c2101c2877
Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.
2015-01-08 02:35:11 +00:00
kosak
102b50483a
Noop changes to suppress compile-time warnings in WINDOWS code paths.
2014-11-17 02:56:14 +00:00
kosak
b54098a9ab
Expand equality failure messages with a by-line diff.
2014-07-28 21:54:50 +00:00
kosak
96ddffe8fd
Reduce the number of occurrences of gendered pronouns in gtest.
2014-06-18 00:22:42 +00:00
billydonahue
8120f66c32
Push upstream to SVN.
2014-05-15 19:42:15 +00:00
kosak
a6340420b9
Implement threading support for gtest on Windows.
...
Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows.
2014-03-24 21:58:25 +00:00
zhanyong.wan
c306ef2e14
supports a protocol for catching tests that prematurely exit
2013-09-06 22:50:25 +00:00
zhanyong.wan
48568d0688
Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.
2013-06-18 18:44:25 +00:00
vladlosev
c506784b08
When --gtest_filter is specified, XML report now doesn't contain information about tests that are filtered out (issue 141).
2013-04-25 17:58:52 +00:00
zhanyong.wan
c84afbeaf1
Fixes a thread annotation; updates CHANGES for 1.7.0
2013-04-24 02:48:07 +00:00
zhanyong.wan
0fac83390a
prints type/value parameters when listing tests
2013-04-10 04:29:33 +00:00
vladlosev
f5fa71f728
Implements support for calling Test::RecordProperty() outside of a test.
2013-04-05 20:50:46 +00:00
zhanyong.wan
6b7a167dca
Supports colored output on term type screen-256color.
...
Proposed as a one-line patch by Tom Jakubowski (tom@crystae.net );
finished by Zhanyong Wan.
2013-03-11 17:52:13 +00:00
zhanyong.wan
fc01f532a6
Fixes unused function warning on Mac, and fixes compatibility with newer GCC.
2013-02-28 23:52:42 +00:00
zhanyong.wan
6a036a5c8c
Fixes a nasty issue in gtest's template instantiation.
2013-02-28 23:46:07 +00:00
zhanyong.wan
1b89db9705
Removes an unused variable; also refactors to support an up-coming
...
googlemock change.
2013-02-28 22:55:25 +00:00
kosak
ba072ccca4
Fixes gUnit streaming output format.
2013-02-22 20:25:42 +00:00
kosak
cc1fdb58ca
Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment.
2013-02-22 20:10:40 +00:00
jgm
87fdda2cf2
Unfortunately, the svn repo is a bit out of date. This commit contains 8
...
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.
2012-11-15 15:47:38 +00:00
jgm
a1c4b46bc2
added defines for iOS
2012-07-09 13:22:29 +00:00
zhanyong.wan
a88c9a88e4
Improves gtest's failure messages. In particulars, char pointers and
...
char arrays are not escapped properly.
2012-06-07 20:34:34 +00:00
zhanyong.wan
a3b859162d
Fixes threading annotations and compatibility with C++11, which doesn't
...
allow exepctions to be thrown in a destructor.
2012-05-31 20:37:13 +00:00
jgm
4d6f296e8e
Adds file and line information to the "message", which is used as the summary
...
of a failure.
2012-01-17 15:11:32 +00:00
vladlosev
8965a6a0d2
Improves conformance to the Google C++ Style Guide (by Greg Miller).
2011-11-04 17:56:23 +00:00
vladlosev
4c11f25f8c
Expressed the thread-safety annotations in code, replacing the existing comment-based system (by Aaron Jacobs).
2011-10-24 21:13:56 +00:00
vladlosev
431a8be166
Implements the timestamp attribute for the testsuites element in the output XML (external contribution by Dirk Meister).
2011-10-05 05:52:34 +00:00
zhanyong.wan
2ca4d21500
Simplifies the implementatoin of the test result printer; by Ulfar Erlingsson
2011-09-16 16:43:37 +00:00
vladlosev
7e29bb7f7e
Adds support for building Google Mock as a shared library (DLL).
2011-05-20 00:38:55 +00:00
zhanyong.wan
741d6c0d47
makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the name of xlC (by Hady Zalek).
2011-04-07 18:36:50 +00:00
vladlosev
03062e2337
Fixes 'formatting error or buffer exceeded' error when outputting long failure messages in XML.
2011-03-30 17:45:53 +00:00
zhanyong.wan
5017fe0090
Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility
...
with Android (by Zachary Vorhies).
2011-03-11 23:05:00 +00:00
zhanyong.wan
603533a0a4
Fixes compatibility with Borland C++Builder. Original patch by Josh
...
Kelley. Simplified by Zhanyong Wan.
2011-03-05 08:04:01 +00:00
zhanyong.wan
ffeb11d14a
Indents preprocessor directives.
2011-02-22 22:08:59 +00:00
vladlosev
0980b4bd66
Fixes off-by-one error in a message about test sharding (by David Glasser).
2011-02-12 07:12:20 +00:00
vladlosev
9d7455f984
Adds null check for file locations in XML output printer.
2011-02-02 10:07:04 +00:00
zhanyong.wan
9bcf4d0a65
Adds type_param and value_param as <testcase> attributes to the XML
...
report; also removes the comment() and test_case_comment() fields of
TestInfo. Proposed and initally implemented by Joey Oravec.
Re-implemented by Vlad Losev.
2011-02-02 00:49:33 +00:00
vladlosev
c8efea6705
template selection error in IBM's xIC_r compiler.
2011-01-29 16:19:14 +00:00