chromium/testing/gtest.git
3 years agoFixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility master git-svn
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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 years agoFixes scripts/test/Makefile failing with link error.
vladlosev [Fri, 19 Nov 2010 20:05:58 +0000 (20:05 +0000)]
Fixes scripts/test/Makefile failing with link error.

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

3 years agoFixes comments in sample7_unittest.cc.
vladlosev [Wed, 17 Nov 2010 23:33:18 +0000 (23:33 +0000)]
Fixes comments in sample7_unittest.cc.

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

3 years agoFixes two pump.py bugs. One of them ("$range 1..n $$ comment" doesn't parse) was...
zhanyong.wan [Tue, 9 Nov 2010 00:41:16 +0000 (00:41 +0000)]
Fixes two pump.py bugs. One of them ("$range 1..n $$ comment" doesn't parse) was reported by user Aksai Chin.  Aksai also contributed a patch, which I didn't look at as I didn't want to bother him with signing the CLA.  Instead I wrote the fix from scratch.

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

4 years agoChanges default of --gtest_catch_exceptions to true.
vladlosev [Tue, 26 Oct 2010 23:12:47 +0000 (23:12 +0000)]
Changes default of --gtest_catch_exceptions to true.

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

4 years agoFixes compiler warning when built with -std=c++0x.
vladlosev [Fri, 22 Oct 2010 01:33:11 +0000 (01:33 +0000)]
Fixes compiler warning when built with -std=c++0x.

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

4 years agoModifies handling of C++ exceptions in death tests to treat exceptions escaping them...
vladlosev [Mon, 18 Oct 2010 22:09:55 +0000 (22:09 +0000)]
Modifies handling of C++ exceptions in death tests to treat exceptions escaping them as failures.

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

4 years agoAdds a missing #include (by Vlad Losev).
zhanyong.wan [Thu, 14 Oct 2010 06:50:49 +0000 (06:50 +0000)]
Adds a missing #include (by Vlad Losev).

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

4 years agoFixes broken XCode build (issue http://code.google.com/p/googletest/issues/detail...
vladlosev [Tue, 12 Oct 2010 22:08:04 +0000 (22:08 +0000)]
Fixes broken XCode build (issue code.google.com/p/googletest/issues/detail?id=317).

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

4 years agoMakes gtest wokr on MinGW (by Vlad Losev); removes unused linked_ptr::release() metho...
zhanyong.wan [Mon, 11 Oct 2010 06:28:54 +0000 (06:28 +0000)]
Makes gtest wokr on MinGW (by Vlad Losev); removes unused linked_ptr::release() method (by Zhanyong Wan).

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

4 years agoAdds a gtest_disable_pthreads CMake option; also fixes an include order problem in...
zhanyong.wan [Tue, 5 Oct 2010 19:22:50 +0000 (19:22 +0000)]
Adds a gtest_disable_pthreads CMake option; also fixes an include order problem in the cmake script.

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

4 years agoClarifies how to use gtest as a shared library in README.
zhanyong.wan [Tue, 28 Sep 2010 21:28:24 +0000 (21:28 +0000)]
Clarifies how to use gtest as a shared library in README.

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

4 years agoRemoves uses of deprecated AssertionFailure() API (by Vlad Losev).
zhanyong.wan [Mon, 27 Sep 2010 22:09:42 +0000 (22:09 +0000)]
Removes uses of deprecated AssertionFailure() API (by Vlad Losev).

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

4 years agoAllows EXPECT_FATAL_FAILURE() and friends to accept a string object as the second...
zhanyong.wan [Mon, 27 Sep 2010 17:42:52 +0000 (17:42 +0000)]
Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the second argument.

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

4 years agoImplements GTEST_ASSERT_XY as alias of ASSERT_XY.
zhanyong.wan [Wed, 15 Sep 2010 04:56:58 +0000 (04:56 +0000)]
Implements GTEST_ASSERT_XY as alias of ASSERT_XY.

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

4 years agoInclude gtest headers as user headers instead of system headers.
zhanyong.wan [Tue, 14 Sep 2010 05:35:59 +0000 (05:35 +0000)]
Include gtest headers as user headers instead of system headers.

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

4 years agoRemoves all uses of StrStream; fixes the VC projects and simplifies them by using...
zhanyong.wan [Wed, 8 Sep 2010 05:57:37 +0000 (05:57 +0000)]
Removes all uses of StrStream; fixes the VC projects and simplifies them by using gtest-all.cc.

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

4 years agoCasts char to unsigned char before calling isspace() etc to avoid undefined behavior...
zhanyong.wan [Tue, 31 Aug 2010 18:21:13 +0000 (18:21 +0000)]
Casts char to unsigned char before calling isspace() etc to avoid undefined 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).

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

4 years agoRemoves the Windows golden file (by Vlad Losev); implements test result streaming...
zhanyong.wan [Thu, 19 Aug 2010 22:16:00 +0000 (22:16 +0000)]
Removes the Windows golden file (by Vlad Losev); implements test result streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan).

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

4 years agoAdds new test files to the distro, and sorts the file lists.
zhanyong.wan [Mon, 9 Aug 2010 22:42:56 +0000 (22:42 +0000)]
Adds new test files to the distro, and sorts the file lists.

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

4 years agoMakes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); improves...
zhanyong.wan [Mon, 9 Aug 2010 18:19:15 +0000 (18:19 +0000)]
Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).

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

4 years agoAdds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad Losev).
zhanyong.wan [Mon, 26 Jul 2010 21:59:50 +0000 (21:59 +0000)]
Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad Losev).

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

4 years agoRemoves unused scripts from the distro.
zhanyong.wan [Thu, 22 Jul 2010 22:22:18 +0000 (22:22 +0000)]
Removes unused scripts from the distro.

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

4 years agoRemoves unused scons-related scripts; makes gtest_nc_test compatible with Clang.
zhanyong.wan [Thu, 22 Jul 2010 22:03:48 +0000 (22:03 +0000)]
Removes unused scons-related scripts; makes gtest_nc_test compatible with Clang.

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

4 years agoAllows Google Test to build on OSes other then a pre-determined set and implements...
vladlosev [Thu, 22 Jul 2010 21:07:19 +0000 (21:07 +0000)]
Allows Google Test to build on OSes other then a pre-determined set and implements GTEST_HAS_POSIX_REGEX condition for compatibility with them.

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

4 years agoAllows EXPECT_EQ to accept arguments that don't have operator << (by Zhanyong Wan).
zhanyong.wan [Wed, 21 Jul 2010 22:15:17 +0000 (22:15 +0000)]
Allows EXPECT_EQ to accept arguments that don't have operator << (by Zhanyong Wan).
Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan).
Works around a bug in Cymbian's C++ compiler (by Vlad Losev).

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

4 years agoFixes warnings when built by GCC with -Wswitch-default. Original patch by Zhixu Liu...
vladlosev [Wed, 14 Jul 2010 22:36:31 +0000 (22:36 +0000)]
Fixes warnings when built by GCC with -Wswitch-default. Original patch by Zhixu Liu (zhixu.liu@gmail.com).

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

4 years agoFixes definitions from pthread.h used before the header inclusion.
vladlosev [Mon, 12 Jul 2010 19:17:22 +0000 (19:17 +0000)]
Fixes definitions from pthread.h used before the header inclusion.

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

4 years agoMakes gtest_break_on_failure_unittest work on minGW (by vladl); improves
zhanyong.wan [Thu, 8 Jul 2010 21:44:59 +0000 (21:44 +0000)]
Makes gtest_break_on_failure_unittest work on minGW (by vladl); improves
the NULL-dereferencing hack to work with LLVM (by chandlerc).

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

4 years agoMakes gtest report failures in ad hoc test assertions executed before RUN_ALL_TESTS().
zhanyong.wan [Wed, 16 Jun 2010 22:47:13 +0000 (22:47 +0000)]
Makes gtest report failures in ad hoc test assertions executed before RUN_ALL_TESTS().

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

4 years agoAdds tests for SkipPrefix().
zhanyong.wan [Tue, 8 Jun 2010 22:51:46 +0000 (22:51 +0000)]
Adds tests for SkipPrefix().

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

4 years agoFixes a wrong comment for OnTestPartResult().
vladlosev [Mon, 31 May 2010 23:30:01 +0000 (23:30 +0000)]
Fixes a wrong comment for OnTestPartResult().

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

4 years agoFixes issue 286.
vladlosev [Sat, 22 May 2010 00:27:10 +0000 (00:27 +0000)]
Fixes issue 286.

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

4 years agoCorrects test binary paths in the CMake build script.
vladlosev [Sat, 22 May 2010 00:26:29 +0000 (00:26 +0000)]
Corrects test binary paths in the CMake build script.

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

4 years agoImplements printing parameters of failed parameterized tests (issue 71).
vladlosev [Tue, 18 May 2010 21:13:48 +0000 (21:13 +0000)]
Implements printing parameters of failed parameterized tests (issue 71).

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

4 years agoIntroduces gtest_force_shared_crt option for CMake build scripts.
vladlosev [Tue, 18 May 2010 21:08:05 +0000 (21:08 +0000)]
Introduces gtest_force_shared_crt option for CMake build scripts.

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

4 years agoAdds GTEST_REMOVE_REFERENCE_AND_CONST_.
zhanyong.wan [Mon, 17 May 2010 19:31:00 +0000 (19:31 +0000)]
Adds GTEST_REMOVE_REFERENCE_AND_CONST_.

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

4 years agoFixes a typo in comments.
vladlosev [Mon, 17 May 2010 16:35:55 +0000 (16:35 +0000)]
Fixes a typo in comments.

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

4 years agoRenames test script flags.
vladlosev [Thu, 13 May 2010 18:05:20 +0000 (18:05 +0000)]
Renames test script flags.

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

4 years agoComment tweaks in CMakeLists.txt.
vladlosev [Thu, 13 May 2010 18:02:27 +0000 (18:02 +0000)]
Comment tweaks in CMakeLists.txt.

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

4 years agoReplaces UniversalPrinter<T>::Print(x, os) with UniversalPrint(x, os) as appropriate...
vladlosev [Thu, 13 May 2010 18:00:59 +0000 (18:00 +0000)]
Replaces UniversalPrinter<T>::Print(x, os) with UniversalPrint(x, os) as appropriate (by Zhanyong Wan).

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

4 years agoLucid autotools compatibility patch by Jeffrey Yasskin.
vladlosev [Tue, 11 May 2010 09:39:04 +0000 (09:39 +0000)]
Lucid autotools compatibility patch by Jeffrey Yasskin.

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

4 years agoRenames CMake build script options.
vladlosev [Tue, 11 May 2010 09:37:33 +0000 (09:37 +0000)]
Renames CMake build script options.

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

4 years agoSuppresses some Clang warnings (by Chandler Carruth, Jeffrey Yasskin, and Zhanyong...
zhanyong.wan [Mon, 10 May 2010 17:23:54 +0000 (17:23 +0000)]
Suppresses some Clang warnings (by Chandler Carruth, Jeffrey Yasskin, and Zhanyong Wan).

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

4 years agoMoves the universal printer from gmock to gtest and refactors the cmake script for...
zhanyong.wan [Mon, 10 May 2010 17:11:58 +0000 (17:11 +0000)]
Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev).

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

4 years agoSilence a Clang warning about an unused variable.
chandlerc [Sun, 9 May 2010 08:16:50 +0000 (08:16 +0000)]
Silence a Clang warning about an unused variable.

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

4 years agoImproves support for building Google Test as Windows DLL.
vladlosev [Wed, 5 May 2010 13:09:35 +0000 (13:09 +0000)]
Improves support for building Google Test as Windows DLL.

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

4 years agoMinor improvement to hermetic build support in the CMake script, by Vlad Losev.
zhanyong.wan [Thu, 22 Apr 2010 23:35:34 +0000 (23:35 +0000)]
Minor improvement to hermetic build support in the CMake script, by Vlad Losev.

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

4 years agoImplements color output in GNU Screen sessions (issue 277).
vladlosev [Thu, 22 Apr 2010 11:44:59 +0000 (11:44 +0000)]
Implements color output in GNU Screen sessions (issue 277).

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

4 years agoFixes gtest-port_test on MinGW.
vladlosev [Thu, 22 Apr 2010 11:43:55 +0000 (11:43 +0000)]
Fixes gtest-port_test on MinGW.

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

4 years agoOver-hauls README, and fixes Makefile.
zhanyong.wan [Wed, 14 Apr 2010 05:34:38 +0000 (05:34 +0000)]
Over-hauls README, and fixes Makefile.

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

4 years agoAdds alternative spellings for FAIL, SUCCEED, and TEST.
zhanyong.wan [Tue, 13 Apr 2010 04:40:32 +0000 (04:40 +0000)]
Adds alternative spellings for FAIL, SUCCEED, and TEST.

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

4 years agoSimplifies Makefile.am (by Zhanyong Wan and Vlad Losev).
zhanyong.wan [Tue, 13 Apr 2010 02:19:25 +0000 (02:19 +0000)]
Simplifies Makefile.am (by Zhanyong Wan and Vlad Losev).

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

4 years agoFixes gtest_filter_unittest and gtest_help_test on systems without death tests.
vladlosev [Thu, 8 Apr 2010 01:01:12 +0000 (01:01 +0000)]
Fixes gtest_filter_unittest and gtest_help_test on systems without death tests.

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

4 years agoC++ Builder compatibility patch by Josh Kelley.
vladlosev [Wed, 7 Apr 2010 05:32:34 +0000 (05:32 +0000)]
C++ Builder compatibility patch by Josh Kelley.

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

4 years agoCMake 2.8/Visual Age compatibility patch by Hady Zalek.
vladlosev [Mon, 5 Apr 2010 20:50:36 +0000 (20:50 +0000)]
CMake 2.8/Visual Age compatibility patch by Hady Zalek.

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

4 years agoFixes a leak in ThreadLocal.
zhanyong.wan [Fri, 26 Mar 2010 20:23:06 +0000 (20:23 +0000)]
Fixes a leak in ThreadLocal.

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

4 years agoFixes compatibility with Visual Age versions lower than 9.0 (by Hady Zalek); updates...
zhanyong.wan [Fri, 26 Mar 2010 05:35:42 +0000 (05:35 +0000)]
Fixes compatibility with Visual Age versions lower than 9.0 (by Hady Zalek); updates the release notes.

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

4 years agoCleans up the cmake script.
zhanyong.wan [Thu, 25 Mar 2010 23:12:35 +0000 (23:12 +0000)]
Cleans up the cmake script.

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

4 years agoAdds Hady and Manuel to CONTRIBUTORS.
zhanyong.wan [Thu, 25 Mar 2010 20:16:33 +0000 (20:16 +0000)]
Adds Hady and Manuel to CONTRIBUTORS.

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

4 years agoSupports no-RTTI mode on AIX (by Hady Zalek).
zhanyong.wan [Thu, 25 Mar 2010 18:57:09 +0000 (18:57 +0000)]
Supports no-RTTI mode on AIX (by Hady Zalek).

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

4 years agoMakes the cmake script work on Solaris and AIX (by Hady Zalek).
zhanyong.wan [Thu, 25 Mar 2010 18:36:31 +0000 (18:36 +0000)]
Makes the cmake script work on Solaris and AIX (by Hady Zalek).

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

4 years agoEnables death tests on AIX, by Hady Zalek.
zhanyong.wan [Tue, 23 Mar 2010 19:53:07 +0000 (19:53 +0000)]
Enables death tests on AIX, by Hady Zalek.

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

4 years agoMakes gtest work with Sun Studio. Patch submitted by Hady Zalek.
zhanyong.wan [Tue, 23 Mar 2010 15:58:37 +0000 (15:58 +0000)]
Makes gtest work with Sun Studio.  Patch submitted by Hady Zalek.

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

4 years agoAdds the pump.py script.
zhanyong.wan [Tue, 23 Mar 2010 07:23:27 +0000 (07:23 +0000)]
Adds the pump.py script.

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

4 years agoAdds missing gtest DLL exports.
zhanyong.wan [Mon, 22 Mar 2010 21:23:51 +0000 (21:23 +0000)]
Adds missing gtest DLL exports.

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

4 years agoFixes comments and tests for the moment of generator parameter evaluation in INSTANTI...
vladlosev [Sat, 20 Mar 2010 12:33:48 +0000 (12:33 +0000)]
Fixes comments and tests for the moment of generator parameter evaluation in INSTANTIATE_TEST_CASE_P.

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

4 years agoSolaris and AIX patch by Hady Zalek
vladlosev [Wed, 17 Mar 2010 18:22:59 +0000 (18:22 +0000)]
Solaris and AIX patch by Hady Zalek

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

4 years agoFixes a -Wextra warning in gtest-param-util.h and updates the cmake script to verify...
zhanyong.wan [Wed, 17 Mar 2010 00:08:06 +0000 (00:08 +0000)]
Fixes a -Wextra warning in gtest-param-util.h and updates the cmake script to verify it (by Zhanyong Wan); adds support for hermetic build to the cmake script (by Vlad Losev).

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

4 years agoFixes a typo in comment, by Vlad Losev.
zhanyong.wan [Mon, 15 Mar 2010 21:21:18 +0000 (21:21 +0000)]
Fixes a typo in comment, by Vlad Losev.

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

4 years agoFixes an 'unreachable code' warning by MSVC on certain opt settings in gtest-death...
vladlosev [Mon, 8 Mar 2010 20:42:47 +0000 (20:42 +0000)]
Fixes an 'unreachable code' warning by MSVC on certain opt settings in gtest-death-test_test.cc.

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

4 years agoAdds a smoketest for ThreadWithParam.
vladlosev [Fri, 5 Mar 2010 22:17:25 +0000 (22:17 +0000)]
Adds a smoketest for ThreadWithParam.

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

4 years agoRemoves the old DLL solution.
zhanyong.wan [Fri, 5 Mar 2010 21:41:43 +0000 (21:41 +0000)]
Removes the old DLL solution.

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

4 years agoAdds Miklós Fazekas to CONTRIBUTORS
vladlosev [Fri, 5 Mar 2010 21:37:41 +0000 (21:37 +0000)]
Adds Miklós Fazekas to CONTRIBUTORS

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

4 years agoSupports building gtest as a DLL (by Vlad Losev).
zhanyong.wan [Fri, 5 Mar 2010 21:21:06 +0000 (21:21 +0000)]
Supports building gtest as a DLL (by Vlad Losev).

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

4 years agoSimplifies ThreadWithParam.
zhanyong.wan [Thu, 4 Mar 2010 22:33:46 +0000 (22:33 +0000)]
Simplifies ThreadWithParam.

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

4 years agoRenames ThreadStartSempahore to Notificaton (by Vlad Losev); adds threading tests...
zhanyong.wan [Thu, 4 Mar 2010 22:15:53 +0000 (22:15 +0000)]
Renames ThreadStartSempahore to Notificaton (by Vlad Losev);  adds threading tests for SCOPED_TRACE() (by Vlad Losev);  replaces native pthread calls with gtest's threading constructs (by Vlad Losev);  fixes flakiness in CountedDestructor (by Vlad Losev);  minor MSVC 7.1 clean-up (by Zhanyong Wan).

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