|
|
@ -35,8 +35,8 @@ |
|
|
|
#include "gtest/gtest.h" |
|
|
|
#include "gtest/gtest.h" |
|
|
|
|
|
|
|
|
|
|
|
// Verifies that the command line flag variables can be accessed in
|
|
|
|
// Verifies that the command line flag variables can be accessed in
|
|
|
|
// code once "gtest/gtest.h" has been
|
|
|
|
// code once "gtest.h" has been #included.
|
|
|
|
// #included. Do not move it after other gtest #includes.
|
|
|
|
// Do not move it after other gtest #includes.
|
|
|
|
TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) { |
|
|
|
TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) { |
|
|
|
bool dummy = testing::GTEST_FLAG(also_run_disabled_tests) |
|
|
|
bool dummy = testing::GTEST_FLAG(also_run_disabled_tests) |
|
|
|
|| testing::GTEST_FLAG(break_on_failure) |
|
|
|
|| testing::GTEST_FLAG(break_on_failure) |
|
|
|