summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixes broken build on VC++ 7.1.vladlosev2011-06-133-28/+53
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@584 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Sun C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-121-4/+10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@569 861a406c-534a-0410-8894-cb66d6ee9925
* Avoids iterator_traits, as it's not available in libCStd when compiled with ↵zhanyong.wan2011-04-121-0/+20
| | | | | | Sun C++. git-svn-id: http://googletest.googlecode.com/svn/trunk@568 861a406c-534a-0410-8894-cb66d6ee9925
* Removes commas from last items in enums (a C++ standard compliance fix).vladlosev2011-04-081-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@564 861a406c-534a-0410-8894-cb66d6ee9925
* makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵zhanyong.wan2011-04-071-2/+2
| | | | | | name of xlC (by Hady Zalek). git-svn-id: http://googletest.googlecode.com/svn/trunk@563 861a406c-534a-0410-8894-cb66d6ee9925
* Changes diagnostic output of the question mark from '\?' to '?'.vladlosev2011-04-011-14/+14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@560 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Windows CE compatibility problem (issue ↵vladlosev2011-03-302-4/+4
| | | | | | http://code.google.com/p/googletest/issues/detail?id=362). git-svn-id: http://googletest.googlecode.com/svn/trunk@559 861a406c-534a-0410-8894-cb66d6ee9925
* Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on ↵zhanyong.wan2011-03-091-0/+22
| | | | | | 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
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-051-6/+19
| | | | | | | Kelley. Simplified by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@553 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes non-conforming uses of commas in enums s.t. the code compiles onzhanyong.wan2011-03-052-3/+3
| | | | | | | Sun OS. Patch by Hady Zalek. git-svn-id: http://googletest.googlecode.com/svn/trunk@552 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes PrintUnprintableTypeTest.InGlobalNamespace in gtest-printers_test on ↵vladlosev2011-02-281-1/+1
| | | | | | 64bit PowerPCs. git-svn-id: http://googletest.googlecode.com/svn/trunk@551 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-2211-141/+187
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes off-by-one error in a message about test sharding (by David Glasser).vladlosev2011-02-121-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@543 861a406c-534a-0410-8894-cb66d6ee9925
* Updates an outdated error message.vladlosev2011-02-101-5/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@542 861a406c-534a-0410-8894-cb66d6ee9925
* Adds null check for file locations in XML output printer.vladlosev2011-02-021-0/+38
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@540 861a406c-534a-0410-8894-cb66d6ee9925
* Add markers to death test messages to make them more recogizable (by Jeff ↵zhanyong.wan2011-02-021-3/+59
| | | | | | Shute). git-svn-id: http://googletest.googlecode.com/svn/trunk@539 861a406c-534a-0410-8894-cb66d6ee9925
* Removes unused include directive.vladlosev2011-02-021-1/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@538 861a406c-534a-0410-8894-cb66d6ee9925
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-025-51/+100
| | | | | | | | | 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
* Renames some internal functions to avoid name clashes.vladlosev2011-01-291-7/+7
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@535 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).zhanyong.wan2011-01-102-8/+11
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@531 861a406c-534a-0410-8894-cb66d6ee9925
* Removes unused NC tests.zhanyong.wan2011-01-072-349/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@530 861a406c-534a-0410-8894-cb66d6ee9925
* Suppresses self-assignment warnings.zhanyong.wan2011-01-073-48/+51
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@529 861a406c-534a-0410-8894-cb66d6ee9925
* Allows a value-parameterized test fixture to derive from Test and ↵zhanyong.wan2010-12-061-0/+33
| | | | | | WithParamInterface<T> separately; contributed by Matt Austern. git-svn-id: http://googletest.googlecode.com/svn/trunk@526 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest print string literals correctly when it contains \x escape ↵zhanyong.wan2010-12-021-0/+24
| | | | | | sequences. Contributed by Yair Chuchem. git-svn-id: http://googletest.googlecode.com/svn/trunk@525 861a406c-534a-0410-8894-cb66d6ee9925
* Changes default of --gtest_catch_exceptions to true.vladlosev2010-10-263-12/+11
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@504 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-221-1/+8
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@503 861a406c-534a-0410-8894-cb66d6ee9925
* Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev2010-10-182-2/+98
| | | | | | escaping them as failures. git-svn-id: http://googletest.googlecode.com/svn/trunk@500 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵zhanyong.wan2010-10-113-41/+57
| | | | | | linked_ptr::release() method (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@492 861a406c-534a-0410-8894-cb66d6ee9925
* Removes uses of deprecated AssertionFailure() API (by Vlad Losev).zhanyong.wan2010-09-271-16/+11
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@487 861a406c-534a-0410-8894-cb66d6ee9925
* Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵zhanyong.wan2010-09-271-0/+23
| | | | | | second argument. git-svn-id: http://googletest.googlecode.com/svn/trunk@485 861a406c-534a-0410-8894-cb66d6ee9925
* Implements GTEST_ASSERT_XY as alias of ASSERT_XY.zhanyong.wan2010-09-151-0/+35
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@484 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-1443-70/+70
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Removes all uses of StrStream; fixes the VC projects and simplifies them by ↵zhanyong.wan2010-09-081-3/+2
| | | | | | using gtest-all.cc. git-svn-id: http://googletest.googlecode.com/svn/trunk@481 861a406c-534a-0410-8894-cb66d6ee9925
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-315-75/+93
| | | | | | 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
* Removes the Windows golden file (by Vlad Losev); implements test result ↵zhanyong.wan2010-08-194-599/+67
| | | | | | 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
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-097-218/+619
| | | | | | 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
* Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad ↵zhanyong.wan2010-07-264-8/+40
| | | | | | Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@451 861a406c-534a-0410-8894-cb66d6ee9925
* Removes unused scons-related scripts; makes gtest_nc_test compatible with Clang.zhanyong.wan2010-07-223-1146/+12
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@449 861a406c-534a-0410-8894-cb66d6ee9925
* Allows Google Test to build on OSes other then a pre-determined set and ↵vladlosev2010-07-221-0/+11
| | | | | | 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
* Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵zhanyong.wan2010-07-214-34/+123
| | | | | | | | | | 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
* Makes gtest_break_on_failure_unittest work on minGW (by vladl); improveszhanyong.wan2010-07-081-1/+1
| | | | | | | 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
* Makes gtest report failures in ad hoc test assertions executed before ↵zhanyong.wan2010-06-162-4/+12
| | | | | | RUN_ALL_TESTS(). git-svn-id: http://googletest.googlecode.com/svn/trunk@441 861a406c-534a-0410-8894-cb66d6ee9925
* Adds tests for SkipPrefix().zhanyong.wan2010-06-081-0/+27
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@440 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes issue 286.vladlosev2010-05-221-3/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@437 861a406c-534a-0410-8894-cb66d6ee9925
* Implements printing parameters of failed parameterized tests (issue 71).vladlosev2010-05-185-19/+79
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@435 861a406c-534a-0410-8894-cb66d6ee9925
* Adds GTEST_REMOVE_REFERENCE_AND_CONST_.zhanyong.wan2010-05-171-0/+15
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@433 861a406c-534a-0410-8894-cb66d6ee9925
* Renames test script flags.vladlosev2010-05-134-8/+8
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@431 861a406c-534a-0410-8894-cb66d6ee9925
* Moves the universal printer from gmock to gtest and refactors the cmake ↵zhanyong.wan2010-05-103-2/+1612
| | | | | | script for reusing in gmock (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@425 861a406c-534a-0410-8894-cb66d6ee9925
* Improves support for building Google Test as Windows DLL.vladlosev2010-05-052-4/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@423 861a406c-534a-0410-8894-cb66d6ee9925
* Implements color output in GNU Screen sessions (issue 277).vladlosev2010-04-221-0/+9
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@421 861a406c-534a-0410-8894-cb66d6ee9925