Commit Graph

55 Commits

Author SHA1 Message Date
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