external/gtest.git
4 weeks agoWhen --gtest_filter is specified, XML report now doesn't contain information about... master
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

4 weeks 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

6 weeks 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

6 weeks 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

7 weeks 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

7 weeks 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

3 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

3 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

3 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

3 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

5 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

6 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

8 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

8 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

8 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

9 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

9 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

10 months 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

10 months 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

11 months 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

11 months 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

12 months 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

13 months 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

14 months agoMisc small updates to some debug death code, and to messages streaming to macros
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

15 months 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

16 months 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

17 months 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

18 months 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

18 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

20 months 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

20 months 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

20 months 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

21 months 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

21 months 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

22 months 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

23 months 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

23 months 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

23 months 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 years agoFixes 'formatting error or buffer exceeded' error when outputting long failure messag...
vladlosev [Wed, 30 Mar 2011 17:45:53 +0000 (17:45 +0000)]
Fixes 'formatting error or buffer exceeded' error when outputting long failure messages in XML.

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

2 years agoAllows Google Mock to compile on platforms that do not support typed tests.
vladlosev [Tue, 29 Mar 2011 21:42:53 +0000 (21:42 +0000)]
Allows Google Mock to compile on platforms that do not support typed tests.

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

2 years agoFixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility
zhanyong.wan [Fri, 11 Mar 2011 23:05:00 +0000 (23:05 +0000)]
Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility
with Android (by Zachary Vorhies).

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

2 years agoMakes IsContainerTest compatible with Sun C++ and Visual Age C++, based on Hady Zalek...
zhanyong.wan [Wed, 9 Mar 2011 01:13:19 +0000 (01:13 +0000)]
Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on Hady Zalek's report and experiment; also fixes a bug that causes it to think that a class named const_iterator is a container; also clarifies the Borland C++ compatibility fix in the comments based on Josh Kelley's suggestion.

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

2 years agoFixes compatibility with Borland C++Builder. Original patch by Josh
zhanyong.wan [Sat, 5 Mar 2011 08:04:01 +0000 (08:04 +0000)]
Fixes compatibility with Borland C++Builder.  Original patch by Josh
Kelley.  Simplified by Zhanyong Wan.

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

2 years agoFixes non-conforming uses of commas in enums s.t. the code compiles on
zhanyong.wan [Sat, 5 Mar 2011 01:16:12 +0000 (01:16 +0000)]
Fixes non-conforming uses of commas in enums s.t. the code compiles on
Sun OS. Patch by Hady Zalek.

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

2 years agoFixes PrintUnprintableTypeTest.InGlobalNamespace in gtest-printers_test on 64bit...
vladlosev [Mon, 28 Feb 2011 18:02:01 +0000 (18:02 +0000)]
Fixes PrintUnprintableTypeTest.InGlobalNamespace in gtest-printers_test on 64bit PowerPCs.

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

2 years agoAdds test/gtest-death-test_ex_test.cc to the release package.
zhanyong.wan [Thu, 24 Feb 2011 21:06:00 +0000 (21:06 +0000)]
Adds test/gtest-death-test_ex_test.cc to the release package.

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

2 years agoAdds cmake scripts to the release package.
zhanyong.wan [Thu, 24 Feb 2011 20:51:17 +0000 (20:51 +0000)]
Adds cmake scripts to the release package.

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

2 years agoRemoves the scons directory, which is empty.
zhanyong.wan [Thu, 24 Feb 2011 20:25:41 +0000 (20:25 +0000)]
Removes the scons directory, which is empty.

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

2 years agoChanges gtest's version to 1.6.0 and adds release notes.
zhanyong.wan [Thu, 24 Feb 2011 07:27:15 +0000 (07:27 +0000)]
Changes gtest's version to 1.6.0 and adds release notes.

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

2 years agoIndents preprocessor directives.
zhanyong.wan [Tue, 22 Feb 2011 22:08:59 +0000 (22:08 +0000)]
Indents preprocessor directives.

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

2 years agoFixes off-by-one error in a message about test sharding (by David Glasser).
vladlosev [Sat, 12 Feb 2011 07:12:20 +0000 (07:12 +0000)]
Fixes off-by-one error in a message about test sharding (by David Glasser).

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

2 years agoUpdates an outdated error message.
vladlosev [Thu, 10 Feb 2011 23:14:49 +0000 (23:14 +0000)]
Updates an outdated error message.

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

2 years agoAdds null check for file locations in XML output printer.
vladlosev [Wed, 2 Feb 2011 10:07:04 +0000 (10:07 +0000)]
Adds null check for file locations in XML output printer.

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

2 years agoAdd markers to death test messages to make them more recogizable (by Jeff Shute).
zhanyong.wan [Wed, 2 Feb 2011 01:25:37 +0000 (01:25 +0000)]
Add markers to death test messages to make them more recogizable (by Jeff Shute).

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

2 years agoRemoves unused include directive.
vladlosev [Wed, 2 Feb 2011 01:18:50 +0000 (01:18 +0000)]
Removes unused include directive.

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

2 years agoAdds type_param and value_param as <testcase> attributes to the XML
zhanyong.wan [Wed, 2 Feb 2011 00:49:33 +0000 (00:49 +0000)]
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.

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

2 years agotemplate selection error in IBM's xIC_r compiler.
vladlosev [Sat, 29 Jan 2011 16:19:14 +0000 (16:19 +0000)]
template selection error in IBM's xIC_r compiler.

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

2 years agoRenames some internal functions to avoid name clashes.
vladlosev [Sat, 29 Jan 2011 16:15:40 +0000 (16:15 +0000)]
Renames some internal functions to avoid name clashes.

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

2 years agoFixes GCC 4.6 warnings (patch by Jeffrey Yasskin).
zhanyong.wan [Mon, 10 Jan 2011 18:17:59 +0000 (18:17 +0000)]
Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).

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

2 years agoRemoves unused NC tests.
zhanyong.wan [Fri, 7 Jan 2011 01:21:35 +0000 (01:21 +0000)]
Removes unused NC tests.

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

2 years agoSuppresses self-assignment warnings.
zhanyong.wan [Fri, 7 Jan 2011 01:14:05 +0000 (01:14 +0000)]
Suppresses self-assignment warnings.

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

2 years agoAllows a value-parameterized test fixture to derive from Test and WithParamInterface...
zhanyong.wan [Mon, 6 Dec 2010 22:18:59 +0000 (22:18 +0000)]
Allows a value-parameterized test fixture to derive from Test and WithParamInterface<T> separately; contributed by Matt Austern.

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

2 years agoMakes gtest print string literals correctly when it contains \x escape sequences...
zhanyong.wan [Thu, 2 Dec 2010 23:28:38 +0000 (23:28 +0000)]
Makes gtest print string literals correctly when it contains \x escape sequences.  Contributed by Yair Chuchem.

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

2 years agoAdds Google Native Client compatibility (issue 329).
vladlosev [Tue, 30 Nov 2010 22:10:12 +0000 (22:10 +0000)]
Adds Google Native Client compatibility (issue 329).

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