Lines Matching refs:GTEST_FLAG
41 bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
42 || testing::GTEST_FLAG(break_on_failure)
43 || testing::GTEST_FLAG(catch_exceptions)
44 || testing::GTEST_FLAG(color) != "unknown"
45 || testing::GTEST_FLAG(filter) != "unknown"
46 || testing::GTEST_FLAG(list_tests)
47 || testing::GTEST_FLAG(output) != "unknown"
48 || testing::GTEST_FLAG(print_time)
49 || testing::GTEST_FLAG(random_seed)
50 || testing::GTEST_FLAG(repeat) > 0
51 || testing::GTEST_FLAG(show_internal_stack_frames)
52 || testing::GTEST_FLAG(shuffle)
53 || testing::GTEST_FLAG(stack_trace_depth) > 0
54 || testing::GTEST_FLAG(throw_on_failure);
123 using testing::GTEST_FLAG(also_run_disabled_tests);
124 using testing::GTEST_FLAG(break_on_failure);
125 using testing::GTEST_FLAG(catch_exceptions);
126 using testing::GTEST_FLAG(color);
127 using testing::GTEST_FLAG(death_test_use_fork);
128 using testing::GTEST_FLAG(filter);
129 using testing::GTEST_FLAG(list_tests);
130 using testing::GTEST_FLAG(output);
131 using testing::GTEST_FLAG(print_time);
132 using testing::GTEST_FLAG(random_seed);
133 using testing::GTEST_FLAG(repeat);
134 using testing::GTEST_FLAG(show_internal_stack_frames);
135 using testing::GTEST_FLAG(shuffle);
136 using testing::GTEST_FLAG(stack_trace_depth);
137 using testing::GTEST_FLAG(throw_on_failure);
2013 GTEST_FLAG(also_run_disabled_tests) = false;
2014 GTEST_FLAG(break_on_failure) = false;
2015 GTEST_FLAG(catch_exceptions) = false;
2016 GTEST_FLAG(death_test_use_fork) = false;
2017 GTEST_FLAG(color) = "auto";
2018 GTEST_FLAG(filter) = "";
2019 GTEST_FLAG(list_tests) = false;
2020 GTEST_FLAG
2021 GTEST_FLAG(print_time) = true;
2022 GTEST_FLAG(random_seed) = 0;
2023 GTEST_FLAG(repeat) = 1;
2024 GTEST_FLAG(shuffle) = false;
2025 GTEST_FLAG(throw_on_failure) = false;
2038 EXPECT_FALSE(GTEST_FLAG(also_run_disabled_tests));
2039 EXPECT_FALSE(GTEST_FLAG(break_on_failure));
2040 EXPECT_FALSE(GTEST_FLAG(catch_exceptions));
2041 EXPECT_STREQ("auto", GTEST_FLAG(color).c_str());
2042 EXPECT_FALSE(GTEST_FLAG(death_test_use_fork));
2043 EXPECT_STREQ("", GTEST_FLAG(filter).c_str());
2044 EXPECT_FALSE(GTEST_FLAG(list_tests));
2045 EXPECT_STREQ("", GTEST_FLAG(output).c_str());
2046 EXPECT_TRUE(GTEST_FLAG(print_time));
2047 EXPECT_EQ(0, GTEST_FLAG(random_seed));
2048 EXPECT_EQ(1, GTEST_FLAG(repeat));
2049 EXPECT_FALSE(GTEST_FLAG(shuffle));
2050 EXPECT_FALSE(GTEST_FLAG(throw_on_failure));
2052 GTEST_FLAG(also_run_disabled_tests) = true;
2053 GTEST_FLAG(break_on_failure) = true;
2054 GTEST_FLAG(catch_exceptions) = true;
2055 GTEST_FLAG(color) = "no";
2056 GTEST_FLAG(death_test_use_fork) = true;
2057 GTEST_FLAG(filter) = "abc";
2058 GTEST_FLAG(list_tests) = true;
2059 GTEST_FLAG(output) = "xml:foo.xml";
2060 GTEST_FLAG(print_time) = false;
2061 GTEST_FLAG(random_seed) = 1;
2062 GTEST_FLAG(repeat) = 100;
2063 GTEST_FLAG(shuffle) = true;
2064 GTEST_FLAG(throw_on_failure) = true;
5338 GTEST_FLAG(also_run_disabled_tests) = false;
5339 GTEST_FLAG(break_on_failure) = false;
5340 GTEST_FLAG(catch_exceptions) = false;
5341 GTEST_FLAG(death_test_use_fork) = false;
5342 GTEST_FLAG(filter) = "";
5343 GTEST_FLAG(list_tests) = false;
5344 GTEST_FLAG(output) = "";
5345 GTEST_FLAG(print_time) = true;
5346 GTEST_FLAG(random_seed) = 0;
5347 GTEST_FLAG(repeat) = 1;
5348 GTEST_FLAG(shuffle) = false;
5349 GTEST_FLAG(throw_on_failure) = false;
5366 GTEST_FLAG(also_run_disabled_tests));
5367 EXPECT_EQ(expected.break_on_failure, GTEST_FLAG(break_on_failure));
5368 EXPECT_EQ(expected.catch_exceptions, GTEST_FLAG(catch_exceptions));
5369 EXPECT_EQ(expected.death_test_use_fork, GTEST_FLAG(death_test_use_fork));
5370 EXPECT_STREQ(expected.filter, GTEST_FLAG(filter).c_str());
5371 EXPECT_EQ(expected.list_tests, GTEST_FLAG(list_tests));
5372 EXPECT_STREQ(expected.output, GTEST_FLAG(output).c_str());
5373 EXPECT_EQ(expected.print_time, GTEST_FLAG(print_time));
5374 EXPECT_EQ(expected.random_seed, GTEST_FLAG(random_seed));
5375 EXPECT_EQ(expected.repeat, GTEST_FLAG(repeat));
5376 EXPECT_EQ(expected.shuffle, GTEST_FLAG(shuffle));
5377 EXPECT_EQ(expected.throw_on_failure, GTEST_FLAG(throw_on_failure));
6299 GTEST_FLAG(color) = "yes";
6313 GTEST_FLAG(color) = "True";
6316 GTEST_FLAG(color) = "t";
6319 GTEST_FLAG(color) = "1";
6324 GTEST_FLAG(color) = "no";
6338 GTEST_FLAG(color) = "F";
6341 GTEST_FLAG(color) = "0";
6344 GTEST_FLAG(color) = "unknown";
6349 GTEST_FLAG(color) = "auto";
6357 GTEST_FLAG(color) = "auto";