external/googletest.git
4 weeks agoAdditional changes, to add support for Windows Phone and Windows RT master
kosak@google.com [Wed, 18 Jun 2014 21:31:01 +0000 (21:31 +0000)]
Additional changes, to add support for Windows Phone and Windows RT

git-svn-id: http://googletest.googlecode.com/svn/trunk@690 861a406c-534a-0410-8894-cb66d6ee9925

5 weeks agoReduce the number of occurrences of gendered pronouns in gtest.
kosak@google.com [Wed, 18 Jun 2014 00:22:42 +0000 (00:22 +0000)]
Reduce the number of occurrences of gendered pronouns in gtest.

git-svn-id: http://googletest.googlecode.com/svn/trunk@689 861a406c-534a-0410-8894-cb66d6ee9925

5 weeks agoDisable asan instrumentation for StackGrowsDown().
kosak@google.com [Tue, 17 Jun 2014 23:16:37 +0000 (23:16 +0000)]
Disable asan instrumentation for StackGrowsDown().

git-svn-id: http://googletest.googlecode.com/svn/trunk@688 861a406c-534a-0410-8894-cb66d6ee9925

2 months agoPush upstream to SVN.
billydonahue@google.com [Thu, 15 May 2014 19:42:15 +0000 (19:42 +0000)]
Push upstream to SVN.

git-svn-id: http://googletest.googlecode.com/svn/trunk@686 861a406c-534a-0410-8894-cb66d6ee9925

3 months agoExport tuple and friends in the ::testing namespace.
kosak@google.com [Wed, 2 Apr 2014 20:26:07 +0000 (20:26 +0000)]
Export tuple and friends in the ::testing namespace.

git-svn-id: http://googletest.googlecode.com/svn/trunk@682 861a406c-534a-0410-8894-cb66d6ee9925

3 months agoImplement threading support for gtest on Windows.
kosak@google.com [Mon, 24 Mar 2014 21:58:25 +0000 (21:58 +0000)]
Implement threading support for gtest on Windows.
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

4 months agoAdd annotations to suppress ThreadSanitizer failures due to gunit/gmock printer.
kosak@google.com [Wed, 12 Mar 2014 22:55:56 +0000 (22:55 +0000)]
Add annotations to suppress ThreadSanitizer failures due to gunit/gmock printer.

git-svn-id: http://googletest.googlecode.com/svn/trunk@680 861a406c-534a-0410-8894-cb66d6ee9925

4 months agoRemove code referencing Google protocol buffers version 1.
kosak@google.com [Wed, 12 Mar 2014 22:51:07 +0000 (22:51 +0000)]
Remove code referencing Google protocol buffers version 1.

git-svn-id: http://googletest.googlecode.com/svn/trunk@679 861a406c-534a-0410-8894-cb66d6ee9925

4 months agoStandards compliance changes to fix QNX build.
kosak@google.com [Wed, 12 Mar 2014 21:03:35 +0000 (21:03 +0000)]
Standards compliance changes to fix QNX build.

git-svn-id: http://googletest.googlecode.com/svn/trunk@678 861a406c-534a-0410-8894-cb66d6ee9925

5 months agoSuppress "Conditional expression is constant" warning on Visual Studio.
kosak@google.com [Wed, 29 Jan 2014 07:29:19 +0000 (07:29 +0000)]
Suppress "Conditional expression is constant" warning on Visual Studio.

git-svn-id: http://googletest.googlecode.com/svn/trunk@677 861a406c-534a-0410-8894-cb66d6ee9925

5 months agoAdd GTEST_MOVE macro, to support mocking methods with move-only return types.
kosak@google.com [Wed, 29 Jan 2014 06:34:44 +0000 (06:34 +0000)]
Add GTEST_MOVE macro, to support mocking methods with move-only return types.
Add GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_

git-svn-id: http://googletest.googlecode.com/svn/trunk@676 861a406c-534a-0410-8894-cb66d6ee9925

6 months agoMake Google Test build cleanly on Visual Studio 2010, 2012, 2013.
kosak@google.com [Mon, 13 Jan 2014 22:24:15 +0000 (22:24 +0000)]
Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.
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

6 months agoFix a couple of typos in Google Test's README.
kosak@google.com [Sun, 12 Jan 2014 23:29:39 +0000 (23:29 +0000)]
Fix a couple of typos in Google Test's README.

git-svn-id: http://googletest.googlecode.com/svn/trunk@674 861a406c-534a-0410-8894-cb66d6ee9925

6 months agoDefine specialization of PrintTo(...) for ::std::tuple.
kosak@google.com [Sun, 12 Jan 2014 19:59:41 +0000 (19:59 +0000)]
Define specialization of PrintTo(...) for ::std::tuple.

git-svn-id: http://googletest.googlecode.com/svn/trunk@673 861a406c-534a-0410-8894-cb66d6ee9925

6 months agoImproves documentation on gtest's macros.
kosak@google.com [Sun, 12 Jan 2014 18:51:09 +0000 (18:51 +0000)]
Improves documentation on gtest's macros.
Adds script to automate releasing new version of wiki docs.

git-svn-id: http://googletest.googlecode.com/svn/trunk@672 861a406c-534a-0410-8894-cb66d6ee9925

7 months agoDistinguish between C++11 language and library support for <initializer_list>.
kosak@google.com [Wed, 4 Dec 2013 23:44:22 +0000 (23:44 +0000)]
Distinguish between C++11 language and library support for <initializer_list>.
Fix spelling: repositary -> repository.

git-svn-id: http://googletest.googlecode.com/svn/trunk@671 861a406c-534a-0410-8894-cb66d6ee9925

7 months agoFix warnings encountered with clang -Wall.
kosak@google.com [Tue, 3 Dec 2013 23:15:40 +0000 (23:15 +0000)]
Fix warnings encountered with clang -Wall.

git-svn-id: http://googletest.googlecode.com/svn/trunk@670 861a406c-534a-0410-8894-cb66d6ee9925

7 months agoAdd MemorySanitizer annotations in gtest printers. Also remove unused variable kPathS...
kosak@google.com [Tue, 3 Dec 2013 22:38:22 +0000 (22:38 +0000)]
Add MemorySanitizer annotations in gtest printers. Also remove unused variable kPathSeparatorString.

git-svn-id: http://googletest.googlecode.com/svn/trunk@669 861a406c-534a-0410-8894-cb66d6ee9925

7 months agoDelete whitespace, and change the return type of ImplicitlyConvertible::MakeFrom...
kosak@google.com [Tue, 3 Dec 2013 01:36:29 +0000 (01:36 +0000)]
Delete whitespace, and change the return type of ImplicitlyConvertible::MakeFrom() to From&.

git-svn-id: http://googletest.googlecode.com/svn/trunk@668 861a406c-534a-0410-8894-cb66d6ee9925

10 months agoavoids clash with the max() macro on Windows
zhanyong.wan [Wed, 18 Sep 2013 17:49:56 +0000 (17:49 +0000)]
avoids clash with the max() macro on Windows

git-svn-id: http://googletest.googlecode.com/svn/trunk@663 861a406c-534a-0410-8894-cb66d6ee9925

10 months agosupports a protocol for catching tests that prematurely exit
zhanyong.wan [Fri, 6 Sep 2013 22:50:25 +0000 (22:50 +0000)]
supports a protocol for catching tests that prematurely exit

git-svn-id: http://googletest.googlecode.com/svn/trunk@662 861a406c-534a-0410-8894-cb66d6ee9925

10 months agoUpdates gtest.xcodeproj to be compatible with OS X 10.8.4 & Xcode 4.6.3
zhanyong.wan [Tue, 27 Aug 2013 20:09:54 +0000 (20:09 +0000)]
Updates gtest.xcodeproj to be compatible with OS X 10.8.4 & Xcode 4.6.3

git-svn-id: http://googletest.googlecode.com/svn/trunk@661 861a406c-534a-0410-8894-cb66d6ee9925

12 months agofixes a typo in CMake script; h/t to Jay Mueller for reporting the issue
zhanyong.wan [Tue, 9 Jul 2013 04:45:37 +0000 (04:45 +0000)]
fixes a typo in CMake script; h/t to Jay Mueller for reporting the issue

git-svn-id: http://googletest.googlecode.com/svn/trunk@659 861a406c-534a-0410-8894-cb66d6ee9925

12 months agoallows gtest-config.in to work with an absoulte path for @top_srcdir@. h/t to Jimi...
zhanyong.wan [Mon, 8 Jul 2013 05:51:32 +0000 (05:51 +0000)]
allows gtest-config.in to work with an absoulte path for @top_srcdir@. h/t to Jimi Xenidis for reporting the issue and the fix.

git-svn-id: http://googletest.googlecode.com/svn/trunk@658 861a406c-534a-0410-8894-cb66d6ee9925

12 months agomakes gtest-death-test_test.cc compile on platforms that don't support death tests...
zhanyong.wan [Mon, 8 Jul 2013 04:40:28 +0000 (04:40 +0000)]
makes gtest-death-test_test.cc compile on platforms that don't support death 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

13 months agoFixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.
zhanyong.wan [Tue, 18 Jun 2013 18:44:25 +0000 (18:44 +0000)]
Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.

git-svn-id: http://googletest.googlecode.com/svn/trunk@655 861a406c-534a-0410-8894-cb66d6ee9925

14 months agoWhen --gtest_filter is specified, XML report now doesn't contain information about...
vladlosev [Thu, 25 Apr 2013 17:58:52 +0000 (17:58 +0000)]
When --gtest_filter is specified, XML report now doesn't contain information about tests that are filtered out (issue 141).

git-svn-id: http://googletest.googlecode.com/svn/trunk@654 861a406c-534a-0410-8894-cb66d6ee9925

14 months agoFixes a thread annotation; updates CHANGES for 1.7.0
zhanyong.wan [Wed, 24 Apr 2013 02:48:07 +0000 (02:48 +0000)]
Fixes a thread annotation; updates CHANGES for 1.7.0

git-svn-id: http://googletest.googlecode.com/svn/trunk@653 861a406c-534a-0410-8894-cb66d6ee9925

15 months agoprints type/value parameters when listing tests
zhanyong.wan [Wed, 10 Apr 2013 04:29:33 +0000 (04:29 +0000)]
prints type/value parameters when listing tests

git-svn-id: http://googletest.googlecode.com/svn/trunk@652 861a406c-534a-0410-8894-cb66d6ee9925

15 months agoUpdates the version number to 1.7.0
zhanyong.wan [Sun, 7 Apr 2013 03:15:36 +0000 (03:15 +0000)]
Updates the version number to 1.7.0

git-svn-id: http://googletest.googlecode.com/svn/trunk@651 861a406c-534a-0410-8894-cb66d6ee9925

15 months agoImplements support for calling Test::RecordProperty() outside of a test.
vladlosev [Fri, 5 Apr 2013 20:50:46 +0000 (20:50 +0000)]
Implements support for calling Test::RecordProperty() outside of a test.

git-svn-id: http://googletest.googlecode.com/svn/trunk@648 861a406c-534a-0410-8894-cb66d6ee9925

15 months agoFixes some compatibility issues with STLport.
zhanyong.wan [Thu, 4 Apr 2013 22:44:57 +0000 (22:44 +0000)]
Fixes some compatibility issues with STLport.

git-svn-id: http://googletest.googlecode.com/svn/trunk@647 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoReplaces unportable == with portable = in configure.ac.
zhanyong.wan [Tue, 19 Mar 2013 00:04:54 +0000 (00:04 +0000)]
Replaces unportable == with portable = in configure.ac.
Contributed by tk@giga.or.at.

git-svn-id: http://googletest.googlecode.com/svn/trunk@646 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoPrints a useful message when GetParam() is called in a non-parameterized test.
zhanyong.wan [Tue, 12 Mar 2013 21:17:22 +0000 (21:17 +0000)]
Prints a useful message when GetParam() is called in a non-parameterized test.

git-svn-id: http://googletest.googlecode.com/svn/trunk@645 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoSupports colored output on term type screen-256color.
zhanyong.wan [Mon, 11 Mar 2013 17:52:13 +0000 (17:52 +0000)]
Supports colored output on term type screen-256color.

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

16 months agoFixes unused function warning on Mac, and fixes compatibility with newer GCC.
zhanyong.wan [Thu, 28 Feb 2013 23:52:42 +0000 (23:52 +0000)]
Fixes unused function warning on Mac, and fixes compatibility with newer GCC.

git-svn-id: http://googletest.googlecode.com/svn/trunk@643 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoFixes a nasty issue in gtest's template instantiation.
zhanyong.wan [Thu, 28 Feb 2013 23:46:07 +0000 (23:46 +0000)]
Fixes a nasty issue in gtest's template instantiation.

git-svn-id: http://googletest.googlecode.com/svn/trunk@642 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoImplements RUN_ALL_TESTS() as a function.
zhanyong.wan [Thu, 28 Feb 2013 23:29:06 +0000 (23:29 +0000)]
Implements RUN_ALL_TESTS() as a function.

git-svn-id: http://googletest.googlecode.com/svn/trunk@641 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoRemoves an unused variable; also refactors to support an up-coming
zhanyong.wan [Thu, 28 Feb 2013 22:55:25 +0000 (22:55 +0000)]
Removes an unused variable; also refactors to support an up-coming
googlemock change.

git-svn-id: http://googletest.googlecode.com/svn/trunk@640 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoRemoves dangling references in make/cmake files.
zhanyong.wan [Wed, 27 Feb 2013 18:51:27 +0000 (18:51 +0000)]
Removes dangling references in make/cmake files.

git-svn-id: http://googletest.googlecode.com/svn/trunk@639 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoAdds -pthread and changes -I to -isystem in gtest's build instructions.
zhanyong.wan [Wed, 27 Feb 2013 17:49:18 +0000 (17:49 +0000)]
Adds -pthread and changes -I to -isystem in gtest's build instructions.

git-svn-id: http://googletest.googlecode.com/svn/trunk@638 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoFixes gUnit streaming output format.
kosak@google.com [Fri, 22 Feb 2013 20:25:42 +0000 (20:25 +0000)]
Fixes gUnit streaming output format.

git-svn-id: http://googletest.googlecode.com/svn/trunk@637 861a406c-534a-0410-8894-cb66d6ee9925

16 months agoRemoves testing::internal::String::Format(), which causes problems as it truncates...
kosak@google.com [Fri, 22 Feb 2013 20:10:40 +0000 (20:10 +0000)]
Removes testing::internal::String::Format(), which causes problems as it 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

17 months agoFixes an out-dated URL.
zhanyong.wan [Sat, 2 Feb 2013 18:45:13 +0000 (18:45 +0000)]
Fixes an out-dated URL.

git-svn-id: http://googletest.googlecode.com/svn/trunk@635 861a406c-534a-0410-8894-cb66d6ee9925

17 months agoAdds the LICENSE file to the distribution.
vladlosev [Tue, 29 Jan 2013 20:34:47 +0000 (20:34 +0000)]
Adds the LICENSE file to the distribution.

git-svn-id: http://googletest.googlecode.com/svn/trunk@634 861a406c-534a-0410-8894-cb66d6ee9925

19 months agoUnbreak building gtest with -std=c++11 on Mac OS X 10.6. Also, better support for...
jgm@google.com [Mon, 3 Dec 2012 18:52:06 +0000 (18:52 +0000)]
Unbreak building gtest with -std=c++11 on Mac OS X 10.6. Also, better support for death tests in iOS simulator.

git-svn-id: http://googletest.googlecode.com/svn/trunk@629 861a406c-534a-0410-8894-cb66d6ee9925

20 months agoUnfortunately, the svn repo is a bit out of date. This commit contains 8
jgm@google.com [Thu, 15 Nov 2012 15:47:38 +0000 (15:47 +0000)]
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.

git-svn-id: http://googletest.googlecode.com/svn/trunk@628 861a406c-534a-0410-8894-cb66d6ee9925

22 months agoImproves Android support (by David Turner).
vladlosev [Wed, 19 Sep 2012 17:58:01 +0000 (17:58 +0000)]
Improves Android support (by David Turner).

git-svn-id: http://googletest.googlecode.com/svn/trunk@625 861a406c-534a-0410-8894-cb66d6ee9925

22 months agoRemoves obsolete debug code.
vladlosev [Thu, 6 Sep 2012 17:09:27 +0000 (17:09 +0000)]
Removes obsolete debug code.

git-svn-id: http://googletest.googlecode.com/svn/trunk@623 861a406c-534a-0410-8894-cb66d6ee9925

22 months agoFixes gtest-tuple.h in Visual C++ 7.1.
vladlosev [Thu, 6 Sep 2012 16:41:18 +0000 (16:41 +0000)]
Fixes gtest-tuple.h in Visual C++ 7.1.

git-svn-id: http://googletest.googlecode.com/svn/trunk@622 861a406c-534a-0410-8894-cb66d6ee9925

23 months agoFixed Native Client build of gtest when using glibc (by Ben Smith).
vladlosev [Tue, 14 Aug 2012 15:20:28 +0000 (15:20 +0000)]
Fixed Native Client build of gtest when using glibc (by Ben Smith).

git-svn-id: http://googletest.googlecode.com/svn/trunk@621 861a406c-534a-0410-8894-cb66d6ee9925

23 months agoPrevents pump.py from splitting long IWYU pragma lines.
vladlosev [Tue, 14 Aug 2012 15:20:01 +0000 (15:20 +0000)]
Prevents pump.py from splitting long IWYU pragma lines.

git-svn-id: http://googletest.googlecode.com/svn/trunk@620 861a406c-534a-0410-8894-cb66d6ee9925

2 years agofixes a problem in which we pass the address one byte ...
jgm@google.com [Thu, 12 Jul 2012 16:46:50 +0000 (16:46 +0000)]
fixes a problem in which we pass the address one byte                                                                                                                                                                  ~/svn/googletest/trunk
after the end of stack space in a call to clone().  According to
Linux's man page on clone(), the 'stack' parameter usually points
to the topmost address of the memory space set up for the child stack.  The existing code points one byte after the end

git-svn-id: http://googletest.googlecode.com/svn/trunk@618 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoadded defines for iOS
jgm@google.com [Mon, 9 Jul 2012 13:22:29 +0000 (13:22 +0000)]
added defines for iOS

git-svn-id: http://googletest.googlecode.com/svn/trunk@617 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoImproves gtest's failure messages. In particulars, char pointers and
zhanyong.wan [Thu, 7 Jun 2012 20:34:34 +0000 (20:34 +0000)]
Improves gtest's failure messages.  In particulars, char pointers and
char arrays are not escapped properly.

git-svn-id: http://googletest.googlecode.com/svn/trunk@616 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoFixes threading annotations and compatibility with C++11, which doesn't
zhanyong.wan [Thu, 31 May 2012 20:37:13 +0000 (20:37 +0000)]
Fixes threading annotations and compatibility with C++11, which doesn't
allow exepctions to be thrown in a destructor.

git-svn-id: http://googletest.googlecode.com/svn/trunk@615 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoTeach gtest to autodetect rtti support with clang (by Nico Weber).
vladlosev [Wed, 2 May 2012 18:09:59 +0000 (18:09 +0000)]
Teach gtest to autodetect rtti support with clang (by Nico Weber).

git-svn-id: http://googletest.googlecode.com/svn/trunk@614 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdded support for platforms where pthread_t is a struct rather than an integral
jgm@google.com [Mon, 2 Apr 2012 17:41:03 +0000 (17:41 +0000)]
Added support for platforms where pthread_t is a struct rather than an integral
type.

git-svn-id: http://googletest.googlecode.com/svn/trunk@613 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoMisc small updates to some debug death code, and to messages streaming to macros git-svn
jgm@google.com [Fri, 9 Mar 2012 17:12:39 +0000 (17:12 +0000)]
Misc small updates to some debug death code, and to messages streaming to macros

git-svn-id: http://googletest.googlecode.com/svn/trunk@612 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoLocking for Notification class.
jgm@google.com [Fri, 27 Jan 2012 21:26:58 +0000 (21:26 +0000)]
Locking for Notification class.

git-svn-id: http://googletest.googlecode.com/svn/trunk@610 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds file and line information to the "message", which is used as the summary
jgm@google.com [Tue, 17 Jan 2012 15:11:32 +0000 (15:11 +0000)]
Adds file and line information to the "message", which is used as the summary
of a failure.

git-svn-id: http://googletest.googlecode.com/svn/trunk@609 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoRemoves spurious semicolon.
vladlosev [Mon, 28 Nov 2011 19:52:07 +0000 (19:52 +0000)]
Removes spurious semicolon.

git-svn-id: http://googletest.googlecode.com/svn/trunk@608 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoImproves conformance to the Google C++ Style Guide (by Greg Miller).
vladlosev [Fri, 4 Nov 2011 17:56:23 +0000 (17:56 +0000)]
Improves conformance to the Google C++ Style Guide (by Greg Miller).

git-svn-id: http://googletest.googlecode.com/svn/trunk@607 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds support for detection of running in death test child processes.
vladlosev [Fri, 28 Oct 2011 16:19:04 +0000 (16:19 +0000)]
Adds support for detection of running in death test child processes.

git-svn-id: http://googletest.googlecode.com/svn/trunk@606 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds empty methods to Mutex on platforms where Google Test is not thread-safe. This...
vladlosev [Mon, 24 Oct 2011 23:36:46 +0000 (23:36 +0000)]
Adds empty methods to Mutex on platforms where Google Test is not thread-safe. This will support a reentrancy fix in Google Mock.

git-svn-id: http://googletest.googlecode.com/svn/trunk@605 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoExpressed the thread-safety annotations in code, replacing the existing comment-based...
vladlosev [Mon, 24 Oct 2011 21:13:56 +0000 (21:13 +0000)]
Expressed the thread-safety annotations in code, replacing the existing comment-based system (by Aaron Jacobs).

git-svn-id: http://googletest.googlecode.com/svn/trunk@604 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoChanges to fix gtest-printers_test on VC++ 2010.
vladlosev [Mon, 24 Oct 2011 18:33:26 +0000 (18:33 +0000)]
Changes to fix gtest-printers_test on VC++ 2010.

git-svn-id: http://googletest.googlecode.com/svn/trunk@603 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoSimplifies test assertions in sample5.
vladlosev [Fri, 14 Oct 2011 01:18:53 +0000 (01:18 +0000)]
Simplifies test assertions in sample5.

git-svn-id: http://googletest.googlecode.com/svn/trunk@602 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoImplements the timestamp attribute for the testsuites element in the output XML ...
vladlosev [Wed, 5 Oct 2011 05:52:34 +0000 (05:52 +0000)]
Implements the timestamp attribute for the testsuites element in the output XML (external contribution by Dirk Meister).

git-svn-id: http://googletest.googlecode.com/svn/trunk@600 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds ability to inject death test child arguments for test purposes.
vladlosev [Wed, 5 Oct 2011 05:51:10 +0000 (05:51 +0000)]
Adds ability to inject death test child arguments for test purposes.

git-svn-id: http://googletest.googlecode.com/svn/trunk@599 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoFixes test failure on 32-bit Ubuntu.
vladlosev [Wed, 5 Oct 2011 05:49:40 +0000 (05:49 +0000)]
Fixes test failure on 32-bit Ubuntu.

git-svn-id: http://googletest.googlecode.com/svn/trunk@598 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds a new macro simplifying use of snprinf on MS platforms.
vladlosev [Mon, 26 Sep 2011 17:54:02 +0000 (17:54 +0000)]
Adds a new macro simplifying use of snprinf on MS platforms.

git-svn-id: http://googletest.googlecode.com/svn/trunk@597 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoFixes C++0x compatibility problems.
vladlosev [Mon, 26 Sep 2011 17:52:19 +0000 (17:52 +0000)]
Fixes C++0x compatibility problems.

git-svn-id: http://googletest.googlecode.com/svn/trunk@596 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoSimplifies the implementatoin of the test result printer; by Ulfar Erlingsson
zhanyong.wan [Fri, 16 Sep 2011 16:43:37 +0000 (16:43 +0000)]
Simplifies the implementatoin of the test result printer; by Ulfar Erlingsson

git-svn-id: http://googletest.googlecode.com/svn/trunk@595 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoRenames the license file.
vladlosev [Fri, 9 Sep 2011 07:02:56 +0000 (07:02 +0000)]
Renames the license file.

git-svn-id: http://googletest.googlecode.com/svn/trunk@593 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoIgnore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs permanent...
vladlosev [Fri, 9 Sep 2011 05:42:09 +0000 (05:42 +0000)]
Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs permanently if it consumes more cpu than the SIGPROF signal timer interval (by Nabeel Mian).

git-svn-id: http://googletest.googlecode.com/svn/trunk@592 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoAdds explanation on how to build the Xcode project under Xcode 4+ to README.
vladlosev [Mon, 22 Aug 2011 21:30:01 +0000 (21:30 +0000)]
Adds explanation on how to build the Xcode project under Xcode 4+ to README.

git-svn-id: http://googletest.googlecode.com/svn/trunk@589 861a406c-534a-0410-8894-cb66d6ee9925

2 years agoFixes a user reported test break (modifying a dict while iterating).
vladlosev [Tue, 16 Aug 2011 00:47:22 +0000 (00:47 +0000)]
Fixes a user reported test break (modifying a dict while iterating).

git-svn-id: http://googletest.googlecode.com/svn/trunk@588 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes a resource leak in gtest-port_test (by Haruka Iwao).
vladlosev [Mon, 11 Jul 2011 19:27:07 +0000 (19:27 +0000)]
Fixes a resource leak in gtest-port_test (by Haruka Iwao).

git-svn-id: http://googletest.googlecode.com/svn/trunk@587 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoQNX compatibility patch (by Haruka Iwao).
vladlosev [Mon, 20 Jun 2011 21:43:18 +0000 (21:43 +0000)]
QNX compatibility patch (by Haruka Iwao).

git-svn-id: http://googletest.googlecode.com/svn/trunk@586 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoSuppresses the tail-call optimization of StackGrowsDown() in GCC4.6 (by Paul Pluzhnikov).
vladlosev [Mon, 13 Jun 2011 20:09:57 +0000 (20:09 +0000)]
Suppresses the tail-call optimization of StackGrowsDown() in GCC4.6 (by Paul Pluzhnikov).

git-svn-id: http://googletest.googlecode.com/svn/trunk@585 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes broken build on VC++ 7.1.
vladlosev [Mon, 13 Jun 2011 19:00:37 +0000 (19:00 +0000)]
Fixes broken build on VC++ 7.1.

git-svn-id: http://googletest.googlecode.com/svn/trunk@584 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoAdds support for building Google Mock as a shared library (DLL).
vladlosev [Fri, 20 May 2011 00:38:55 +0000 (00:38 +0000)]
Adds support for building Google Mock as a shared library (DLL).

git-svn-id: http://googletest.googlecode.com/svn/trunk@583 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoSimplifies the code by removing condfitional section that is no longer necessary.
vladlosev [Thu, 12 May 2011 17:32:42 +0000 (17:32 +0000)]
Simplifies the code by removing condfitional section that is no longer necessary.

git-svn-id: http://googletest.googlecode.com/svn/trunk@582 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoAdds support for death tests in OpenBSD (by Paweł Hajdan Jr.)
vladlosev [Tue, 3 May 2011 01:58:34 +0000 (01:58 +0000)]
Adds support for death tests in OpenBSD (by Paweł Hajdan Jr.)

git-svn-id: http://googletest.googlecode.com/svn/trunk@581 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoMakes generation of fused sources contingent on availability of Python.
vladlosev [Thu, 21 Apr 2011 21:48:51 +0000 (21:48 +0000)]
Makes generation of fused sources contingent on availability of Python.

git-svn-id: http://googletest.googlecode.com/svn/trunk@580 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes XL C++ 10.1 compiler errors (based on patch by Hady Zalek); cleans up formattin...
zhanyong.wan [Fri, 15 Apr 2011 19:50:39 +0000 (19:50 +0000)]
Fixes XL C++ 10.1 compiler errors (based on patch by Hady Zalek); cleans up formatting of GTEST_NO_INLINE_.

git-svn-id: http://googletest.googlecode.com/svn/trunk@572 861a406c-534a-0410-8894-cb66d6ee9925

3 years agofixes a problem caused by gcc 4.6 optimization (by Paul Pluzhnikov)
zhanyong.wan [Thu, 14 Apr 2011 19:36:05 +0000 (19:36 +0000)]
fixes a problem caused by gcc 4.6 optimization (by Paul Pluzhnikov)

git-svn-id: http://googletest.googlecode.com/svn/trunk@571 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoAdds Pasi to CONTRIBUTORS and documents the latest changes.
zhanyong.wan [Thu, 14 Apr 2011 07:37:13 +0000 (07:37 +0000)]
Adds Pasi to CONTRIBUTORS and documents the latest changes.

git-svn-id: http://googletest.googlecode.com/svn/trunk@570 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes Sun C++ compiler errors (by Pasi Valminen)
zhanyong.wan [Tue, 12 Apr 2011 20:36:11 +0000 (20:36 +0000)]
Fixes Sun C++ compiler errors (by Pasi Valminen)

git-svn-id: http://googletest.googlecode.com/svn/trunk@569 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoAvoids iterator_traits, as it's not available in libCStd when compiled with Sun C++.
zhanyong.wan [Tue, 12 Apr 2011 18:24:59 +0000 (18:24 +0000)]
Avoids iterator_traits, as it's not available in libCStd when compiled with Sun C++.

git-svn-id: http://googletest.googlecode.com/svn/trunk@568 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoSimplifies ASCII character detection in gtest-printers.h. This also makes it possible...
vladlosev [Sat, 9 Apr 2011 00:09:41 +0000 (00:09 +0000)]
Simplifies ASCII character detection in gtest-printers.h. This also makes it possible to build Google Test on MinGW.

git-svn-id: http://googletest.googlecode.com/svn/trunk@567 861a406c-534a-0410-8894-cb66d6ee9925

3 years agofixes XL C++ compiler errors (by Pasi Valminen)
zhanyong.wan [Fri, 8 Apr 2011 02:42:59 +0000 (02:42 +0000)]
fixes XL C++ compiler errors (by Pasi Valminen)

git-svn-id: http://googletest.googlecode.com/svn/trunk@566 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes a compiler error when compiling with Visual Age (by Hady Zalek).
vladlosev [Fri, 8 Apr 2011 00:42:19 +0000 (00:42 +0000)]
Fixes a compiler error when compiling with Visual Age (by Hady Zalek).

git-svn-id: http://googletest.googlecode.com/svn/trunk@565 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoRemoves commas from last items in enums (a C++ standard compliance fix).
vladlosev [Fri, 8 Apr 2011 00:29:12 +0000 (00:29 +0000)]
Removes commas from last items in enums (a C++ standard compliance fix).

git-svn-id: http://googletest.googlecode.com/svn/trunk@564 861a406c-534a-0410-8894-cb66d6ee9925

3 years agomakes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the name of...
zhanyong.wan [Thu, 7 Apr 2011 18:36:50 +0000 (18:36 +0000)]
makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the name of xlC (by Hady Zalek).

git-svn-id: http://googletest.googlecode.com/svn/trunk@563 861a406c-534a-0410-8894-cb66d6ee9925

3 years agodisables 'make install'
zhanyong.wan [Thu, 7 Apr 2011 07:08:02 +0000 (07:08 +0000)]
disables 'make install'

git-svn-id: http://googletest.googlecode.com/svn/trunk@562 861a406c-534a-0410-8894-cb66d6ee9925

3 years agofixes link error in 'make check' on some systems
zhanyong.wan [Thu, 7 Apr 2011 02:37:43 +0000 (02:37 +0000)]
fixes link error in 'make check' on some systems

git-svn-id: http://googletest.googlecode.com/svn/trunk@561 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoChanges diagnostic output of the question mark from '\?' to '?'.
vladlosev [Fri, 1 Apr 2011 21:57:36 +0000 (21:57 +0000)]
Changes diagnostic output of the question mark from '\?' to '?'.

git-svn-id: http://googletest.googlecode.com/svn/trunk@560 861a406c-534a-0410-8894-cb66d6ee9925

3 years agoFixes Windows CE compatibility problem (issue http://code.google.com/p/googletest...
vladlosev [Wed, 30 Mar 2011 22:02:47 +0000 (22:02 +0000)]
Fixes Windows CE compatibility problem (issue code.google.com/p/googletest/issues/detail?id=362).

git-svn-id: http://googletest.googlecode.com/svn/trunk@559 861a406c-534a-0410-8894-cb66d6ee9925