proxygen
testing::Flags Struct Reference

Public Member Functions

 Flags ()
 
 Flags ()
 
 Flags ()
 

Static Public Member Functions

static Flags AlsoRunDisabledTests (bool also_run_disabled_tests)
 
static Flags BreakOnFailure (bool break_on_failure)
 
static Flags CatchExceptions (bool catch_exceptions)
 
static Flags DeathTestUseFork (bool death_test_use_fork)
 
static Flags Filter (const char *filter)
 
static Flags ListTests (bool list_tests)
 
static Flags Output (const char *output)
 
static Flags PrintTime (bool print_time)
 
static Flags RandomSeed (Int32 random_seed)
 
static Flags Repeat (Int32 repeat)
 
static Flags Shuffle (bool shuffle)
 
static Flags StackTraceDepth (Int32 stack_trace_depth)
 
static Flags StreamResultTo (const char *stream_result_to)
 
static Flags ThrowOnFailure (bool throw_on_failure)
 
static Flags AlsoRunDisabledTests (bool also_run_disabled_tests)
 
static Flags BreakOnFailure (bool break_on_failure)
 
static Flags CatchExceptions (bool catch_exceptions)
 
static Flags DeathTestUseFork (bool death_test_use_fork)
 
static Flags Filter (const char *filter)
 
static Flags ListTests (bool list_tests)
 
static Flags Output (const char *output)
 
static Flags PrintTime (bool print_time)
 
static Flags RandomSeed (Int32 random_seed)
 
static Flags Repeat (Int32 repeat)
 
static Flags Shuffle (bool shuffle)
 
static Flags StackTraceDepth (Int32 stack_trace_depth)
 
static Flags StreamResultTo (const char *stream_result_to)
 
static Flags ThrowOnFailure (bool throw_on_failure)
 
static Flags AlsoRunDisabledTests (bool also_run_disabled_tests)
 
static Flags BreakOnFailure (bool break_on_failure)
 
static Flags CatchExceptions (bool catch_exceptions)
 
static Flags DeathTestUseFork (bool death_test_use_fork)
 
static Flags Filter (const char *filter)
 
static Flags ListTests (bool list_tests)
 
static Flags Output (const char *output)
 
static Flags PrintTime (bool print_time)
 
static Flags RandomSeed (Int32 random_seed)
 
static Flags Repeat (Int32 repeat)
 
static Flags Shuffle (bool shuffle)
 
static Flags StackTraceDepth (Int32 stack_trace_depth)
 
static Flags StreamResultTo (const char *stream_result_to)
 
static Flags ThrowOnFailure (bool throw_on_failure)
 

Public Attributes

bool also_run_disabled_tests
 
bool break_on_failure
 
bool catch_exceptions
 
bool death_test_use_fork
 
const char * filter
 
bool list_tests
 
const char * output
 
bool print_time
 
Int32 random_seed
 
Int32 repeat
 
bool shuffle
 
Int32 stack_trace_depth
 
const char * stream_result_to
 
bool throw_on_failure
 

Detailed Description

Definition at line 5456 of file gtest_unittest.cc.

Constructor & Destructor Documentation

testing::Flags::Flags ( )
inline

Definition at line 5458 of file gtest_unittest.cc.

5458  : also_run_disabled_tests(false),
5459  break_on_failure(false),
5460  catch_exceptions(false),
5461  death_test_use_fork(false),
5462  filter(""),
5463  list_tests(false),
5464  output(""),
5465  print_time(true),
5466  random_seed(0),
5467  repeat(1),
5468  shuffle(false),
5470  stream_result_to(""),
5471  throw_on_failure(false) {}
const char * stream_result_to
const int kMaxStackTraceDepth
Definition: gtest.h:147
const char * filter
const char * output
testing::Flags::Flags ( )
inline

Definition at line 5458 of file gtest_unittest.cc.

5458  : also_run_disabled_tests(false),
5459  break_on_failure(false),
5460  catch_exceptions(false),
5461  death_test_use_fork(false),
5462  filter(""),
5463  list_tests(false),
5464  output(""),
5465  print_time(true),
5466  random_seed(0),
5467  repeat(1),
5468  shuffle(false),
5470  stream_result_to(""),
5471  throw_on_failure(false) {}
const char * stream_result_to
const int kMaxStackTraceDepth
Definition: gtest.h:147
const char * filter
const char * output
testing::Flags::Flags ( )
inline

Definition at line 5458 of file gtest_unittest.cc.

5458  : also_run_disabled_tests(false),
5459  break_on_failure(false),
5460  catch_exceptions(false),
5461  death_test_use_fork(false),
5462  filter(""),
5463  list_tests(false),
5464  output(""),
5465  print_time(true),
5466  random_seed(0),
5467  repeat(1),
5468  shuffle(false),
5470  stream_result_to(""),
5471  throw_on_failure(false) {}
const char * stream_result_to
const int kMaxStackTraceDepth
Definition: gtest.h:147
const char * filter
const char * output

Member Function Documentation

static Flags testing::Flags::AlsoRunDisabledTests ( bool  also_run_disabled_tests)
inlinestatic

Definition at line 5477 of file gtest_unittest.cc.

References also_run_disabled_tests.

Referenced by testing::TEST_F().

5477  {
5478  Flags flags;
5479  flags.also_run_disabled_tests = also_run_disabled_tests;
5480  return flags;
5481  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::AlsoRunDisabledTests ( bool  also_run_disabled_tests)
inlinestatic

Definition at line 5477 of file gtest_unittest.cc.

References also_run_disabled_tests.

5477  {
5478  Flags flags;
5479  flags.also_run_disabled_tests = also_run_disabled_tests;
5480  return flags;
5481  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::AlsoRunDisabledTests ( bool  also_run_disabled_tests)
inlinestatic

Definition at line 5477 of file gtest_unittest.cc.

References also_run_disabled_tests.

5477  {
5478  Flags flags;
5479  flags.also_run_disabled_tests = also_run_disabled_tests;
5480  return flags;
5481  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::BreakOnFailure ( bool  break_on_failure)
inlinestatic

Definition at line 5485 of file gtest_unittest.cc.

References break_on_failure.

Referenced by testing::TEST_F().

5485  {
5486  Flags flags;
5487  flags.break_on_failure = break_on_failure;
5488  return flags;
5489  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::BreakOnFailure ( bool  break_on_failure)
inlinestatic

Definition at line 5485 of file gtest_unittest.cc.

References break_on_failure.

5485  {
5486  Flags flags;
5487  flags.break_on_failure = break_on_failure;
5488  return flags;
5489  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::BreakOnFailure ( bool  break_on_failure)
inlinestatic

Definition at line 5485 of file gtest_unittest.cc.

References break_on_failure.

5485  {
5486  Flags flags;
5487  flags.break_on_failure = break_on_failure;
5488  return flags;
5489  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::CatchExceptions ( bool  catch_exceptions)
inlinestatic

Definition at line 5493 of file gtest_unittest.cc.

References catch_exceptions.

5493  {
5494  Flags flags;
5495  flags.catch_exceptions = catch_exceptions;
5496  return flags;
5497  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::CatchExceptions ( bool  catch_exceptions)
inlinestatic

Definition at line 5493 of file gtest_unittest.cc.

References catch_exceptions.

Referenced by testing::TEST_F().

5493  {
5494  Flags flags;
5495  flags.catch_exceptions = catch_exceptions;
5496  return flags;
5497  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::CatchExceptions ( bool  catch_exceptions)
inlinestatic

Definition at line 5493 of file gtest_unittest.cc.

References catch_exceptions.

5493  {
5494  Flags flags;
5495  flags.catch_exceptions = catch_exceptions;
5496  return flags;
5497  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::DeathTestUseFork ( bool  death_test_use_fork)
inlinestatic

Definition at line 5501 of file gtest_unittest.cc.

References death_test_use_fork.

5501  {
5502  Flags flags;
5503  flags.death_test_use_fork = death_test_use_fork;
5504  return flags;
5505  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::DeathTestUseFork ( bool  death_test_use_fork)
inlinestatic

Definition at line 5501 of file gtest_unittest.cc.

References death_test_use_fork.

Referenced by testing::TEST_F().

5501  {
5502  Flags flags;
5503  flags.death_test_use_fork = death_test_use_fork;
5504  return flags;
5505  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::DeathTestUseFork ( bool  death_test_use_fork)
inlinestatic

Definition at line 5501 of file gtest_unittest.cc.

References death_test_use_fork.

5501  {
5502  Flags flags;
5503  flags.death_test_use_fork = death_test_use_fork;
5504  return flags;
5505  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Filter ( const char *  filter)
inlinestatic

Definition at line 5509 of file gtest_unittest.cc.

References folly::pushmi::operators::filter, and filter.

5509  {
5510  Flags flags;
5511  flags.filter = filter;
5512  return flags;
5513  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * filter
static Flags testing::Flags::Filter ( const char *  filter)
inlinestatic

Definition at line 5509 of file gtest_unittest.cc.

References folly::pushmi::operators::filter, and filter.

5509  {
5510  Flags flags;
5511  flags.filter = filter;
5512  return flags;
5513  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * filter
static Flags testing::Flags::Filter ( const char *  filter)
inlinestatic

Definition at line 5509 of file gtest_unittest.cc.

References folly::pushmi::operators::filter, and filter.

Referenced by testing::TEST_F().

5509  {
5510  Flags flags;
5511  flags.filter = filter;
5512  return flags;
5513  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * filter
static Flags testing::Flags::ListTests ( bool  list_tests)
inlinestatic

Definition at line 5517 of file gtest_unittest.cc.

References list_tests.

5517  {
5518  Flags flags;
5519  flags.list_tests = list_tests;
5520  return flags;
5521  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::ListTests ( bool  list_tests)
inlinestatic

Definition at line 5517 of file gtest_unittest.cc.

References list_tests.

5517  {
5518  Flags flags;
5519  flags.list_tests = list_tests;
5520  return flags;
5521  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::ListTests ( bool  list_tests)
inlinestatic

Definition at line 5517 of file gtest_unittest.cc.

References list_tests.

Referenced by testing::TEST_F().

5517  {
5518  Flags flags;
5519  flags.list_tests = list_tests;
5520  return flags;
5521  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Output ( const char *  output)
inlinestatic

Definition at line 5525 of file gtest_unittest.cc.

References gmock_output_test::output, and output.

5525  {
5526  Flags flags;
5527  flags.output = output;
5528  return flags;
5529  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * output
static Flags testing::Flags::Output ( const char *  output)
inlinestatic

Definition at line 5525 of file gtest_unittest.cc.

References gmock_output_test::output, and output.

5525  {
5526  Flags flags;
5527  flags.output = output;
5528  return flags;
5529  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * output
static Flags testing::Flags::Output ( const char *  output)
inlinestatic

Definition at line 5525 of file gtest_unittest.cc.

References gmock_output_test::output, and output.

Referenced by testing::TEST_F().

5525  {
5526  Flags flags;
5527  flags.output = output;
5528  return flags;
5529  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * output
static Flags testing::Flags::PrintTime ( bool  print_time)
inlinestatic

Definition at line 5533 of file gtest_unittest.cc.

References print_time.

Referenced by testing::TEST_F().

5533  {
5534  Flags flags;
5535  flags.print_time = print_time;
5536  return flags;
5537  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::PrintTime ( bool  print_time)
inlinestatic

Definition at line 5533 of file gtest_unittest.cc.

References print_time.

5533  {
5534  Flags flags;
5535  flags.print_time = print_time;
5536  return flags;
5537  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::PrintTime ( bool  print_time)
inlinestatic

Definition at line 5533 of file gtest_unittest.cc.

References print_time.

5533  {
5534  Flags flags;
5535  flags.print_time = print_time;
5536  return flags;
5537  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::RandomSeed ( Int32  random_seed)
inlinestatic

Definition at line 5541 of file gtest_unittest.cc.

References random_seed.

5541  {
5542  Flags flags;
5543  flags.random_seed = random_seed;
5544  return flags;
5545  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::RandomSeed ( Int32  random_seed)
inlinestatic

Definition at line 5541 of file gtest_unittest.cc.

References random_seed.

5541  {
5542  Flags flags;
5543  flags.random_seed = random_seed;
5544  return flags;
5545  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::RandomSeed ( Int32  random_seed)
inlinestatic

Definition at line 5541 of file gtest_unittest.cc.

References random_seed.

Referenced by testing::TEST_F().

5541  {
5542  Flags flags;
5543  flags.random_seed = random_seed;
5544  return flags;
5545  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Repeat ( Int32  repeat)
inlinestatic

Definition at line 5549 of file gtest_unittest.cc.

References repeat(), and repeat.

Referenced by testing::TEST_F().

5549  {
5550  Flags flags;
5551  flags.repeat = repeat;
5552  return flags;
5553  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Repeat ( Int32  repeat)
inlinestatic

Definition at line 5549 of file gtest_unittest.cc.

References repeat(), and repeat.

5549  {
5550  Flags flags;
5551  flags.repeat = repeat;
5552  return flags;
5553  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Repeat ( Int32  repeat)
inlinestatic

Definition at line 5549 of file gtest_unittest.cc.

References repeat(), and repeat.

5549  {
5550  Flags flags;
5551  flags.repeat = repeat;
5552  return flags;
5553  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Shuffle ( bool  shuffle)
inlinestatic

Definition at line 5557 of file gtest_unittest.cc.

References shuffle.

Referenced by testing::TEST_F().

5557  {
5558  Flags flags;
5559  flags.shuffle = shuffle;
5560  return flags;
5561  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Shuffle ( bool  shuffle)
inlinestatic

Definition at line 5557 of file gtest_unittest.cc.

References shuffle.

5557  {
5558  Flags flags;
5559  flags.shuffle = shuffle;
5560  return flags;
5561  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::Shuffle ( bool  shuffle)
inlinestatic

Definition at line 5557 of file gtest_unittest.cc.

References shuffle.

5557  {
5558  Flags flags;
5559  flags.shuffle = shuffle;
5560  return flags;
5561  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::StackTraceDepth ( Int32  stack_trace_depth)
inlinestatic

Definition at line 5565 of file gtest_unittest.cc.

References stack_trace_depth.

5565  {
5566  Flags flags;
5567  flags.stack_trace_depth = stack_trace_depth;
5568  return flags;
5569  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::StackTraceDepth ( Int32  stack_trace_depth)
inlinestatic

Definition at line 5565 of file gtest_unittest.cc.

References stack_trace_depth.

5565  {
5566  Flags flags;
5567  flags.stack_trace_depth = stack_trace_depth;
5568  return flags;
5569  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::StackTraceDepth ( Int32  stack_trace_depth)
inlinestatic

Definition at line 5565 of file gtest_unittest.cc.

References stack_trace_depth.

Referenced by testing::TEST_F().

5565  {
5566  Flags flags;
5567  flags.stack_trace_depth = stack_trace_depth;
5568  return flags;
5569  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::StreamResultTo ( const char *  stream_result_to)
inlinestatic

Definition at line 5573 of file gtest_unittest.cc.

References stream_result_to.

5573  {
5574  Flags flags;
5575  flags.stream_result_to = stream_result_to;
5576  return flags;
5577  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * stream_result_to
static Flags testing::Flags::StreamResultTo ( const char *  stream_result_to)
inlinestatic

Definition at line 5573 of file gtest_unittest.cc.

References stream_result_to.

5573  {
5574  Flags flags;
5575  flags.stream_result_to = stream_result_to;
5576  return flags;
5577  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * stream_result_to
static Flags testing::Flags::StreamResultTo ( const char *  stream_result_to)
inlinestatic

Definition at line 5573 of file gtest_unittest.cc.

References stream_result_to.

Referenced by testing::TEST_F().

5573  {
5574  Flags flags;
5575  flags.stream_result_to = stream_result_to;
5576  return flags;
5577  }
flags
Definition: http_parser.h:127
uint32_t Flags
const char * stream_result_to
static Flags testing::Flags::ThrowOnFailure ( bool  throw_on_failure)
inlinestatic

Definition at line 5581 of file gtest_unittest.cc.

References folly::pushmi::operators::filter, gmock_output_test::output, repeat(), and throw_on_failure.

5581  {
5582  Flags flags;
5583  flags.throw_on_failure = throw_on_failure;
5584  return flags;
5585  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::ThrowOnFailure ( bool  throw_on_failure)
inlinestatic

Definition at line 5581 of file gtest_unittest.cc.

References throw_on_failure.

Referenced by testing::TEST_F().

5581  {
5582  Flags flags;
5583  flags.throw_on_failure = throw_on_failure;
5584  return flags;
5585  }
flags
Definition: http_parser.h:127
uint32_t Flags
static Flags testing::Flags::ThrowOnFailure ( bool  throw_on_failure)
inlinestatic

Definition at line 5581 of file gtest_unittest.cc.

References folly::pushmi::operators::filter, gmock_output_test::output, repeat(), and throw_on_failure.

5581  {
5582  Flags flags;
5583  flags.throw_on_failure = throw_on_failure;
5584  return flags;
5585  }
flags
Definition: http_parser.h:127
uint32_t Flags

Member Data Documentation

bool testing::Flags::also_run_disabled_tests
bool testing::Flags::break_on_failure
bool testing::Flags::catch_exceptions

Definition at line 5590 of file gtest_unittest.cc.

Referenced by CatchExceptions(), and testing::InitGoogleTestTest::CheckFlags().

bool testing::Flags::death_test_use_fork
const char * testing::Flags::filter
bool testing::Flags::list_tests
const char * testing::Flags::output

Definition at line 5594 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and Output().

bool testing::Flags::print_time

Definition at line 5595 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and PrintTime().

Int32 testing::Flags::random_seed

Definition at line 5596 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and RandomSeed().

Int32 testing::Flags::repeat

Definition at line 5597 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and Repeat().

bool testing::Flags::shuffle

Definition at line 5598 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and Shuffle().

Int32 testing::Flags::stack_trace_depth

Definition at line 5599 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and StackTraceDepth().

const char * testing::Flags::stream_result_to

Definition at line 5600 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and StreamResultTo().

bool testing::Flags::throw_on_failure

Definition at line 5601 of file gtest_unittest.cc.

Referenced by testing::InitGoogleTestTest::CheckFlags(), and ThrowOnFailure().


The documentation for this struct was generated from the following file: