Commit Graph

420 Commits

Author SHA1 Message Date
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
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
53e0dc4041 Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq. 2009-01-08 01:10:31 +00:00
vladlosev
0efb17dc54 Merged release 1.2.1 updates to trunk 2008-12-11 18:46:41 +00:00
shiqian
31306c5832 Improves README. 2008-12-11 05:32:22 +00:00
shiqian
92764e9c93 Improves the instructions in README. 2008-12-11 03:22:43 +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
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
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
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