diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-02-02 06:37:03 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-02-02 06:37:03 +0000 |
commit | 0ebc16a68eea644a9f8a718fbdef95112a4a0ff2 (patch) | |
tree | 9d78a31a14ff899d38bbf15f328b44c7c28d0caa /src/gtest-internal-inl.h | |
parent | b0a12f719caf4e37894868334ce41b1864b0be53 (diff) | |
download | googletest-0ebc16a68eea644a9f8a718fbdef95112a4a0ff2.tar.gz |
Exposes gtest flags to user code access. By Alexander Demin.
git-svn-id: http://googletest.googlecode.com/svn/trunk@184 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src/gtest-internal-inl.h')
-rw-r--r-- | src/gtest-internal-inl.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/gtest-internal-inl.h b/src/gtest-internal-inl.h index ef3fe98..cefed20 100644 --- a/src/gtest-internal-inl.h +++ b/src/gtest-internal-inl.h @@ -60,21 +60,10 @@ namespace testing { // Declares the flags. // -// We don't want the users to modify these flags in the code, but want -// Google Test's own unit tests to be able to access them. Therefore we -// declare them here as opposed to in gtest.h. -GTEST_DECLARE_bool_(also_run_disabled_tests); -GTEST_DECLARE_bool_(break_on_failure); -GTEST_DECLARE_bool_(catch_exceptions); -GTEST_DECLARE_string_(color); +// We don't want the users to modify this flag in the code, but want +// Google Test's own unit tests to be able to access it. Therefore we +// declare it here as opposed to in gtest.h. GTEST_DECLARE_bool_(death_test_use_fork); -GTEST_DECLARE_string_(filter); -GTEST_DECLARE_bool_(list_tests); -GTEST_DECLARE_string_(output); -GTEST_DECLARE_bool_(print_time); -GTEST_DECLARE_int32_(repeat); -GTEST_DECLARE_bool_(show_internal_stack_frames); -GTEST_DECLARE_int32_(stack_trace_depth); namespace internal { |