reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/unittest/googletest/src/gtest-death-test.cc
  142   if (GTEST_FLAG(death_test_style) == "threadsafe")
  143     return !GTEST_FLAG(internal_run_death_test).empty();
 1069   const bool use_fork = GTEST_FLAG(death_test_use_fork);
 1205   if (GTEST_FLAG(death_test_style) == "threadsafe") {
 1207   } else if (GTEST_FLAG(death_test_style) == "fast") {
 1215         "Unknown death test style \"" + GTEST_FLAG(death_test_style)
 1295   if (GTEST_FLAG(internal_run_death_test) == "") return NULL;
 1302   SplitString(GTEST_FLAG(internal_run_death_test).c_str(), '|', &fields);
 1330         + GTEST_FLAG(internal_run_death_test));
utils/unittest/googletest/src/gtest-internal-inl.h
  166     also_run_disabled_tests_ = GTEST_FLAG(also_run_disabled_tests);
  167     break_on_failure_ = GTEST_FLAG(break_on_failure);
  168     catch_exceptions_ = GTEST_FLAG(catch_exceptions);
  169     color_ = GTEST_FLAG(color);
  170     death_test_style_ = GTEST_FLAG(death_test_style);
  171     death_test_use_fork_ = GTEST_FLAG(death_test_use_fork);
  172     filter_ = GTEST_FLAG(filter);
  173     internal_run_death_test_ = GTEST_FLAG(internal_run_death_test);
  174     list_tests_ = GTEST_FLAG(list_tests);
  175     output_ = GTEST_FLAG(output);
  176     print_time_ = GTEST_FLAG(print_time);
  177     random_seed_ = GTEST_FLAG(random_seed);
  178     repeat_ = GTEST_FLAG(repeat);
  179     shuffle_ = GTEST_FLAG(shuffle);
  180     stack_trace_depth_ = GTEST_FLAG(stack_trace_depth);
  181     stream_result_to_ = GTEST_FLAG(stream_result_to);
  182     throw_on_failure_ = GTEST_FLAG(throw_on_failure);
  187     GTEST_FLAG(also_run_disabled_tests) = also_run_disabled_tests_;
  188     GTEST_FLAG(break_on_failure) = break_on_failure_;
  189     GTEST_FLAG(catch_exceptions) = catch_exceptions_;
  190     GTEST_FLAG(color) = color_;
  191     GTEST_FLAG(death_test_style) = death_test_style_;
  192     GTEST_FLAG(death_test_use_fork) = death_test_use_fork_;
  193     GTEST_FLAG(filter) = filter_;
  194     GTEST_FLAG(internal_run_death_test) = internal_run_death_test_;
  195     GTEST_FLAG(list_tests) = list_tests_;
  196     GTEST_FLAG(output) = output_;
  197     GTEST_FLAG(print_time) = print_time_;
  198     GTEST_FLAG(random_seed) = random_seed_;
  199     GTEST_FLAG(repeat) = repeat_;
  200     GTEST_FLAG(shuffle) = shuffle_;
  201     GTEST_FLAG(stack_trace_depth) = stack_trace_depth_;
  202     GTEST_FLAG(stream_result_to) = stream_result_to_;
  203     GTEST_FLAG(throw_on_failure) = throw_on_failure_;
utils/unittest/googletest/src/gtest.cc
  415   const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
  427   const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
  508   const char* const p = GTEST_FLAG(filter).c_str();
  513     positive = GTEST_FLAG(filter).c_str();  // Whole string is a positive filter
  798       static_cast<int>(GTEST_FLAG(stack_trace_depth)),
 2917   const char* const gtest_color = GTEST_FLAG(color).c_str();
 3058   if (GTEST_FLAG(repeat) != 1)
 3061   const char* const filter = GTEST_FLAG(filter).c_str();
 3078   if (GTEST_FLAG(shuffle)) {
 3140   if (GTEST_FLAG(print_time)) {
 3150   if (!GTEST_FLAG(print_time)) return;
 3199   if (GTEST_FLAG(print_time)) {
 3218   if (num_disabled && !GTEST_FLAG(also_run_disabled_tests)) {
 3722   if (GTEST_FLAG(shuffle)) {
 4145     if (GTEST_FLAG(break_on_failure)) {
 4158     } else if (GTEST_FLAG(throw_on_failure)) {
 4187       internal::GTEST_FLAG(internal_run_death_test).length() > 0;
 4216   impl()->set_catch_exceptions(GTEST_FLAG(catch_exceptions));
 4416   const std::string& target = GTEST_FLAG(stream_result_to);
 4596   if (GTEST_FLAG(list_tests)) {
 4602   random_seed_ = GTEST_FLAG(shuffle) ?
 4603       GetRandomSeedFromFlag(GTEST_FLAG(random_seed)) : 0;
 4615   const int repeat = in_subprocess_for_death_test ? 1 : GTEST_FLAG(repeat);
 4626     if (has_tests_to_run && GTEST_FLAG(shuffle)) {
 4678     if (GTEST_FLAG(shuffle)) {
 4824           (GTEST_FLAG(also_run_disabled_tests) || !is_disabled) &&
 5225                        &GTEST_FLAG(also_run_disabled_tests)) ||
 5227                     &GTEST_FLAG(break_on_failure)) ||
 5229                     &GTEST_FLAG(catch_exceptions)) ||
 5230       ParseStringFlag(arg, kColorFlag, &GTEST_FLAG(color)) ||
 5232                       &GTEST_FLAG(death_test_style)) ||
 5234                     &GTEST_FLAG(death_test_use_fork)) ||
 5235       ParseStringFlag(arg, kFilterFlag, &GTEST_FLAG(filter)) ||
 5237                       &GTEST_FLAG(internal_run_death_test)) ||
 5238       ParseBoolFlag(arg, kListTestsFlag, &GTEST_FLAG(list_tests)) ||
 5239       ParseStringFlag(arg, kOutputFlag, &GTEST_FLAG(output)) ||
 5240       ParseBoolFlag(arg, kPrintTimeFlag, &GTEST_FLAG(print_time)) ||
 5241       ParseInt32Flag(arg, kRandomSeedFlag, &GTEST_FLAG(random_seed)) ||
 5242       ParseInt32Flag(arg, kRepeatFlag, &GTEST_FLAG(repeat)) ||
 5243       ParseBoolFlag(arg, kShuffleFlag, &GTEST_FLAG(shuffle)) ||
 5245                      &GTEST_FLAG(stack_trace_depth)) ||
 5247                       &GTEST_FLAG(stream_result_to)) ||
 5249                     &GTEST_FLAG(throw_on_failure));
 5258             GTEST_FLAG(flagfile).c_str());
 5292     } else if (ParseStringFlag(arg, kFlagfileFlag, &GTEST_FLAG(flagfile))) {
 5293       LoadFlagsFromFile(GTEST_FLAG(flagfile));