Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
external
/
chromium_org
/
testing
/
gtest
/
cf8a584c9971a7d646d58be41dd3547e62cb538f
/
test
/
gtest_unittest.cc
cf8a584
Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek).
by zhanyong.wan
· 14 years ago
65de7e0
Changes Message() to print double with enough precision by default.
by zhanyong.wan
· 14 years ago
47ff745
Removes uses of GTEST_HAS_STD_STRING.
by zhanyong.wan
· 15 years ago
08e43ce
Moves mis-placed tests.
by zhanyong.wan
· 15 years ago
7de3401
Turns on -Wshadow (by Preston Jackson).
by zhanyong.wan
· 15 years ago
ba015a9
Prevents Google Test from printing help message upon seeing the --gtest_stack_trace_depth flag. This was breaking gmock_output_test.
by vladlosev
· 15 years ago
fbd53a5
Implements support for AssertionResult in Boolean assertions such as EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests.
by vladlosev
· 15 years ago
f19450f
Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original patch).
by zhanyong.wan
· 15 years ago
f6d087b
Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).
by zhanyong.wan
· 15 years ago
fff0334
Publishes the even listener API (by Vlad Losev); adds OS-indicating macros to simplify gtest code (by Zhanyong Wan).
by zhanyong.wan
· 15 years ago
85f555a
Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the scons script build in a deterministic order (by Zhanyong Wan).
by zhanyong.wan
· 15 years ago
334aaea
Renames the TestPartResult type enums and adjusts the order of methods in the event listener interface (by Vlad Losev).
by zhanyong.wan
· 15 years ago
d586f9f
Makes gtest compile cleanly with MSVC's warning 4511 & 4512 (copy ctor /
by zhanyong.wan
· 15 years ago
7dcfb6b
Renames the methods in the event listener API, and changes the order of *End events (by Vlad Losev).
by zhanyong.wan
· 15 years ago
d541f02
Improves EXPECT_DEATH_IF_SUPPORTED to allow streaming of messages and enforcing the validity of arguments (by Vlad Losev); adds samples for the event listener API (by Vlad Losev); simplifies the tests using EXPECT_DEATH_IF_SUPPORTED (by Zhanyong Wan).
by zhanyong.wan
· 15 years ago
f39160b
More implementation of the event listener interface (by Vlad Losev); Reduces the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev).
by zhanyong.wan
· 15 years ago
89be576
Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad Losev).
by zhanyong.wan
· 15 years ago
535de53
Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev).
by zhanyong.wan
· 15 years ago
1cdc763
More refactoring for the event listener API, by Vlad Losev.
by zhanyong.wan
· 15 years ago
9b9794f
Adds the command line flags needed for test shuffling. Most code by Josh Kelley.
by zhanyong.wan
· 15 years ago
a8a582f
Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
by zhanyong.wan
· 15 years ago
449f84d
Makes List a random-access data structure. This simplifies the implementation and makes it easier to implement test shuffling.
by zhanyong.wan
· 15 years ago
b7ec0f7
Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
by zhanyong.wan
· 15 years ago
a80f23f
Refactors for the event listener API (by Vlad Losev): hides some methods in UnitTest; implements the result printers using the public API.
by zhanyong.wan
· 15 years ago
9644db8
Makes gtest's tuple implementation work with Symbian 5th edition by bypassing 2 compiler bugs (by Zhanyong Wan); refactors for the event listener API (by Vlad Losev).
by zhanyong.wan
· 15 years ago
c427f5e
Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).
by zhanyong.wan
· 15 years ago
4e7e2fc
Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); fixes the wrong usage of os.environ.clear() in gtest_output_test.py (by Vlad Losev); fixes the logic for detecting Symbian (by Zhanyong Wan); moves TestProperty for event listener (by Vlad Losev).
by zhanyong.wan
· 15 years ago
acd0f32
Change a few visibilities to work around a bug in g++ 3.4.2.
by tsunanet
· 15 years ago
98efcc4
Ports gtest to C++Builder, by Josh Kelley.
by zhanyong.wan
· 15 years ago
73ad5a3
Makes gtest print elapsed time by default.
by zhanyong.wan
· 15 years ago
1b17110
Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan).
by zhanyong.wan
· 15 years ago
efa2fc7
Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.
by zhanyong.wan
· 15 years ago
b0fe69f
Implements --gtest_throw_on_failure for using gtest with other testing frameworks.
by zhanyong.wan
· 15 years ago
4cd6260
Cleans up macro definitions.
by zhanyong.wan
· 15 years ago
951e75d
Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc.
by zhanyong.wan
· 15 years ago
905074c
Implements the test sharding protocol. By Eric Fellheimer.
by zhanyong.wan
· 15 years ago
ac60cef
Fixes the definition of GTEST_HAS_EXCEPTIONS, allowing exception assertions to be used with gcc.
by zhanyong.wan
· 15 years ago
e0ca02f
Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev).
by zhanyong.wan
· 15 years ago
0ebc16a
Exposes gtest flags to user code access. By Alexander Demin.
by zhanyong.wan
· 15 years ago
b0a12f7
Fixes some warnings when compiled with MSVC at warning level 4.
by zhanyong.wan
· 15 years ago
ca6949f
Implements --gtest_also_run_disabled_tests. By Eric Roman.
by shiqian
· 15 years ago
21d43d1
Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq.
by shiqian
· 15 years ago
f179f4e
Allow Google Mock to initialize Google Test
by vladlosev
· 16 years ago
fe6a9a4
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.
by shiqian
· 16 years ago
f904a61
Value-parameterized tests and many bugfixes
by vladlosev
· 16 years ago
e44602e
Many changes:
by shiqian
· 16 years ago
f0e809a
Lots of changes:
by shiqian
· 16 years ago
afebcbd
Adds suffix 'd' to gtest's libs on Windows. Also fixes gtest_unittest on non-English Windows. By balazs.dan@gmail.com.
by shiqian
· 16 years ago
9204c8e
Adds exception assertions. By balaz.dan@gmail.com.
by shiqian
· 16 years ago
c3b4de3
Improves thread-safe death tests by changing to the original working directory before they are executed; also fixes out-dated comments about death tests.
by shiqian
· 16 years ago
e8ff148
Adds support for type-parameterized tests (by Zhanyong Wan); also adds case-insensitive wide string comparison to the String class (by Vlad Losev).
by shiqian
· 16 years ago
e006e68
Implement wide->UTF-8 string conversion more correctly
by vladlosev
· 16 years ago
760af5c
Cleans up the usage of testing:: in gtest_unittest. By Zhanyong Wan.
by shiqian
· 16 years ago
dd4a17b
Makes gtest work on Windows Mobile and Symbian. By Mika Raento.
by shiqian
· 16 years ago
d981cee
Adds --gtest_print_test for printing the elapsed time of tests.
by shiqian
· 16 years ago
4f1d72e
Makes Google Test compile on Mac OS X and Cygwin, and adds project files for Microsoft Visual Studio.
by shiqian
· 16 years ago
4b6829f
Initial import.
by shiqian
· 16 years ago