3600 Commits

Author SHA1 Message Date
zhanyong.wan
f0048c1bea Removes upload*.py from the release package, as they are useless without an SVN checkout. 2009-02-13 19:05:00 +00:00
zhanyong.wan
7a13fee2f0 Removes upload*.py from the release package, as they are useless without an SVN checkout. 2009-02-13 19:00:22 +00:00
zhanyong.wan
31c4522aa1 Adds upload_gmock.py for uploading a patch for review. 2009-02-13 07:46:38 +00:00
zhanyong.wan
44c88653fc Adds upload_gtest.py for uploading a Google Test patch for review. 2009-02-13 07:27:00 +00:00
zhanyong.wan
a4e6314a0b Removes svn:executable and sets svn:eol-style to CRLF for VS project files. 2009-02-13 01:18:34 +00:00
zhanyong.wan
585e57b45b Sets the svn:eol-style property of VS project files to CRLF. 2009-02-13 00:58:13 +00:00
zhanyong.wan
117941f670 Removes the svn:executable attribute from VS project files. 2009-02-13 00:54:56 +00:00
zhanyong.wan
ce198ff899 Implements the MATCHER* macros. 2009-02-12 01:34:27 +00:00
zhanyong.wan
2f0849fef4 Fixes the "ambiguous overload" compiler error when a mock function takes an argument that supports streaming to basic_ostream<C, T>. 2009-02-11 18:06:37 +00:00
zhanyong.wan
a5391b50a2 Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc. 2009-02-09 19:56:02 +00:00
zhanyong.wan
cd3e4016ea Implements the test sharding protocol. By Eric Fellheimer. 2009-02-09 18:05:21 +00:00
zhanyong.wan
886cafd4a3 Fixes the definition of GTEST_HAS_EXCEPTIONS, allowing exception assertions to be used with gcc. 2009-02-08 04:53:35 +00:00
zhanyong.wan
e1cdce5f76 Implements action Throw(exception). 2009-02-06 01:09:43 +00:00
zhanyong.wan
3750499433 Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev). 2009-02-06 00:47:20 +00:00
zhanyong.wan
c069d7fe27 Improves ACTION* to allow explicit instantiating with reference types. 2009-02-02 20:51:53 +00:00
zhanyong.wan
ad99ca1446 Exposes gtest flags to user code access. By Alexander Demin. 2009-02-02 06:37:03 +00:00
zhanyong.wan
4b83461e97 Fixes some warnings when compiled with MSVC at warning level 4. 2009-01-29 06:49:00 +00:00
zhanyong.wan
c946ae6019 Implements a simple regex matcher (to be used by death tests on Windows). 2009-01-29 01:28:52 +00:00
zhanyong.wan
5b95fa7b16 Improves error messages for undefined return value (by Sverre Sundsdal); improves gmock_doctor. 2009-01-27 22:28:45 +00:00
zhanyong.wan
a32fc79c9a Simplifies gtest's implementation by using an existing API to get the original working directory. 2009-01-26 21:04:36 +00:00
zhanyong.wan
650d5bf3ba Fixes the bug where the XML output path is affected by test changing the current directory. By Stefan Weigand. 2009-01-26 19:21:32 +00:00
zhanyong.wan
b593ccbbbe Adds a script to fuse gtest source files into a .h and a .cc. 2009-01-22 17:21:13 +00:00
zhanyong.wan
bbab127250 Improves compatibility with cygwin by making the definition of GTEST_HAS_GLOBAL_WSTRING correct on this platform. 2009-01-21 00:32:01 +00:00
zhanyong.wan
6a896b5ec6 Implements ContainerEq. 2009-01-16 01:13:50 +00:00
zhanyong.wan
19e49afd7d Updates README with instructions on downloading TR1 tuple without the rest of Boost. 2009-01-14 21:09:22 +00:00
shiqian
2456258bb1 Adds Eric Roman to the contributor list. 2009-01-10 01:27:05 +00:00
shiqian
fe186c3829 Implements --gtest_also_run_disabled_tests. By Eric Roman. 2009-01-10 01:16:33 +00:00
shiqian
326aa56412 Implements the ACTION* macros. 2009-01-09 21:43:57 +00:00
shiqian
53e0dc4041 Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq. 2009-01-08 01:10:31 +00:00
shiqian
44a8cf19bc Fixes Windows build instructions in README. 2008-12-22 23:06:35 +00:00
shiqian
9dd55ad366 Fixes incorrect build instructions on Windows. 2008-12-11 19:44:55 +00:00
vladlosev
0efb17dc54 Merged release 1.2.1 updates to trunk 2008-12-11 18:46:41 +00:00
shiqian
c97f2f560b Fixes compatibility with gcc 4.3's tuple implementation. 2008-12-11 17:22:59 +00:00
shiqian
31306c5832 Improves README. 2008-12-11 05:32:22 +00:00
shiqian
c50af1ab55 Improves the documentation. 2008-12-11 05:22:15 +00:00
shiqian
92764e9c93 Improves the instructions in README. 2008-12-11 03:22:43 +00:00
shiqian
281b1d21db More tweaks to the build script. 2008-12-11 00:13:55 +00:00
shiqian
3bcc7a2173 Adds Makefile to the distribution pacakge. 2008-12-10 22:56:18 +00:00
shiqian
635aff1664 Gets ready to release 1.2.1 by bumping up the version number. 2008-12-10 22:21:16 +00:00
shiqian
a92e49620e More tweaks to the build systems. 2008-12-10 18:34:33 +00:00
shiqian
7b3b36fde4 A small re-work of the installed m4 script for Google Test. This
allows other projects to easily leverage an installation or
un-installed build of Google Test from their project's Autoconf
script. This re-work specifically introduces the ability to provide a
path as an argument to the resulting configure script option which can
specify either an installation prefix or a build directory for Google
Test.

This change also makes a small portability tweak by using ``s instead
of $() for command expansion.

By Chandler Carruth.  Reviewed by Benoit Sigoure.
2008-12-10 18:27:39 +00:00
shiqian
c6cece7768 Adds Visual Studio projects for building Google Mock. 2008-12-10 07:50:41 +00:00
shiqian
a369436e2a Changes config_aux to build-aux to conform with the convention. Simplifies the configuration commands in README. By Chandler Carruth. 2008-12-10 05:45:40 +00:00
shiqian
e35fdd936d Initial drop of Google Mock. The files are incomplete and thus may not build correctly yet. 2008-12-10 05:08:54 +00:00
shiqian
fab8c18a00 Necessary changes to gtest-config.in for supporting the up-coming release of Google C++ Mocking Framework. By Chandler Carruth. 2008-12-09 01:35:11 +00:00
shiqian
5145e0fb20 Use <tuple> instead of <tr1/tuple> when the compiler is not gcc, to conform with the TR1 spec. 2008-12-09 00:54:04 +00:00
preston.a.jackson
2051d2ccc7 Updating README with instructions on running python tests from within Xcode. 2008-12-09 00:05:42 +00:00
shiqian
0fb58d70eb Fixes compatibility with IBM z/OS. By Rainer Klaffenboeck. 2008-12-02 23:41:01 +00:00
shiqian
04f025dd57 Fixes compatibility with Linux IA-64. By Rainer Klaffenboeck. 2008-12-02 23:35:18 +00:00
shiqian
3e1e473ccd Adds a Makefile to demonstrate building Google Test with a manually-written Makefile. 2008-12-02 19:52:48 +00:00
vladlosev
389508e355 Merged build script fix from branches/release-1.2 2008-11-27 00:18:29 +00:00
vladlosev
180e74cd35 Updated CHANGES and release version for 1.2 2008-11-26 22:39:11 +00:00
vladlosev
1998cf5d32 Allow Google Mock to initialize Google Test 2008-11-26 20:48:45 +00:00
vladlosev
957ed9fb52 Adding test/gtest_uninitialized_test.py missing from the previous check-in 2008-11-26 20:06:52 +00:00
vladlosev
95536ab53b Fixed gtest_break_on_failure_unittest on Ubuntu 8.04 and Windows 2008-11-26 20:02:45 +00:00
shiqian
c440a6923a Enables the Python tests to run with 2.3 (necessary for testing on Mac OS X Tiger); also fixes gtest_output_test when built with xcode. 2008-11-24 20:13:22 +00:00
vladlosev
514265c415 Fixed two of the failing tests mentioned in issue 9 2008-11-22 02:26:23 +00:00
preston.a.jackson
d4e57d12d4 updating the README (intended for previous ci) 2008-11-21 22:19:28 +00:00
preston.a.jackson
3e93606333 oops forgot the config file 2008-11-21 22:17:45 +00:00
preston.a.jackson
0c7871ca6a Removing a warning when building from the command line. Reordering targets to be semi-alphabetical and to match the ordering in the Makefile. Cleaning up target names to remove the underscore (on the python-based ones), and adding 'run_' Xcode executables to run the python script from within Xcode. Whew 2008-11-21 22:16:36 +00:00
shiqian
1081384940 Sorts the sample and test targets in Makefile.am within their functional group. 2008-11-20 19:40:19 +00:00
shiqian
38e1f9ab9c Moves a code block in gtest.cc to mirror the change in the Google internal version of gtest. 2008-11-20 04:56:21 +00:00
vladlosev
3d70421763 Value-parameterized tests and many bugfixes 2008-11-20 01:40:35 +00:00
shiqian
b6a296d0f7 Clarifies how gtest supports different platforms in README and code comments. 2008-11-17 22:57:44 +00:00
shiqian
d2849f5730 Makes Google Test compile on Solaris and z/OS. By Rainer Klaffenboeck. 2008-11-10 18:27:46 +00:00
shiqian
cea25099b5 Fixes the VC project. Contributed by Rainer Klaffenboeck. 2008-10-31 21:44:12 +00:00
chandlerc
66179b1fb5 On some Linux distros, you need to explicitly #include <limits.h> to get
the definition of PATH_MAX. This patch adds it in the appropriate place.
2008-10-21 05:05:14 +00:00
shiqian
321234377e Fixes the header search path in SConscript and add SConscript to the distribution. 2008-10-12 01:07:26 +00:00
shiqian
e0865dd919 Many changes:
- appends "_" to internal macro names (by Markus Heule).
- makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento).
- adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule).
- changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule).
- adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule).
- adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan).
- adds scons/SConscript for building with scons (by Joi Sigurdsson).
- adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule).
- updates the xcode project to include new tests (by Preston Jackson).
2008-10-11 07:20:02 +00:00
preston.jackson
0cbe322d37 Adding tests to Xcode project 2008-10-08 20:24:46 +00:00
preston.jackson
980926a9ed Adding tests to Xcode project 2008-10-08 20:24:37 +00:00
shiqian
64cdcb69b2 Lots of changes:
* changes the XML report format to match JUnit/Ant's.
* improves file path handling.
* allows the user to disable RTTI using the GTEST_HAS_RTTI macro.
* makes the code compile with -Wswitch-enum.
2008-09-26 16:08:30 +00:00
shiqian
e79c3ccb73 Makes the Python tests more portable by calling standard functions to interpret the result of os.system(). This could fix the broken Python tests on some users' machines. 2008-09-18 21:18:11 +00:00
shiqian
f6b0dc0b40 Makes Google Test compile (and all tests pass) on cygwin (possibly on wingw too). 2008-09-18 18:06:35 +00:00
shiqian
9e672bd5e3 Prepares gtest for release 1.1.0. 2008-09-16 23:48:19 +00:00
shiqian
ee39a89deb Adds suffix 'd' to gtest's libs on Windows. Also fixes gtest_unittest on non-English Windows. By balazs.dan@gmail.com. 2008-09-13 00:49:59 +00:00
shiqian
36865d8d35 Adds exception assertions. By balaz.dan@gmail.com. 2008-09-12 20:57:22 +00:00
preston.jackson
0bbdb14f74 adding two headers to the Xcode project 2008-09-12 15:23:38 +00:00
shiqian
019d19af97 Improves thread-safe death tests by changing to the original working directory before they are executed; also fixes out-dated comments about death tests. 2008-09-12 04:01:37 +00:00
shiqian
29d8235540 Adds new files for type-parameterized tests, which I forgot to commit in the previous revision. 2008-09-09 03:01:38 +00:00
shiqian
a2b1a8556e Adds support for type-parameterized tests (by Zhanyong Wan); also adds case-insensitive wide string comparison to the String class (by Vlad Losev). 2008-09-08 17:55:52 +00:00
vladlosev
0c5a66245b Implement wide->UTF-8 string conversion more correctly 2008-08-25 23:11:54 +00:00
shiqian
c6e674dbb3 Adds a sample on using Google Test as a Mac framework. By Preston Jackson. 2008-08-20 17:43:12 +00:00
shiqian
d5f13d4a25 Changes test creation functions to factories. By Vlad Losev. 2008-08-06 21:44:19 +00:00
shiqian
9b093c1779 Cleans up the usage of testing:: in gtest_unittest. By Zhanyong Wan. 2008-08-06 21:43:15 +00:00
shiqian
dfcf6eba0f Adds Xcode's version requirement to README. By Preston Jackson. 2008-08-06 21:42:12 +00:00
shiqian
bcb12fa0f6 Fixes the definition of GTEST_ATTRIBUTE_UNUSED and make the tests pass in opt mode. 2008-08-01 19:04:48 +00:00
shiqian
bf9b4b48dc Makes gtest work on Windows Mobile and Symbian. By Mika Raento. 2008-07-31 18:34:08 +00:00
shiqian
dc6ee0e36d Makes death tests create temporary files in /tmp instead of the current folder. 2008-07-29 23:15:28 +00:00
shiqian
d88da49d02 Adds a test for the GTEST_PRINT_TIME env var. By Balazs.Dan@gmail.com. 2008-07-25 21:13:11 +00:00
shiqian
15cbe5f70a Adds --gtest_print_test for printing the elapsed time of tests. 2008-07-25 04:06:16 +00:00
shiqian
dbc56bf84b Adds an Xcode project for building gtest. By Preston Jackson. 2008-07-25 00:54:56 +00:00
shiqian
253d2bc576 Makes the output understandable by VS when compiled by MSVC. 2008-07-23 20:32:11 +00:00
shiqian
b758726396 Fixes some style nits; also fixes minor bugs in gtest-death-test.cc. 2008-07-23 20:28:27 +00:00
vladlosev
57b43f2775 Fix incorrect output file name in gtest_main.vcproj 2008-07-15 00:25:58 +00:00
shiqian
c67d1a2ae8 Fixes instructions for building on Mac OS X. 2008-07-11 20:01:35 +00:00
shiqian
8bbeac4c24 Updates the release version to 1.0.1. 2008-07-09 21:53:05 +00:00
shiqian
e0ecb7ac58 Makes Google Test compile on Mac OS X and Cygwin, and adds project files for Microsoft Visual Studio. 2008-07-09 20:58:26 +00:00
shiqian
e4e9a8bd7d Makes the autotools scripts work on Mac OS X. Also hopefully makes gtest compile on Windows CE. 2008-07-08 21:32:17 +00:00
shiqian
d201456903 Initial import. 2008-07-03 22:38:12 +00:00