Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::Flags Struct Reference

Public Member Functions

 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)
 

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 5490 of file gtest_unittest.cc.

Constructor & Destructor Documentation

◆ Flags()

testing::Flags::Flags ( )
inline

Definition at line 5492 of file gtest_unittest.cc.

5492 : also_run_disabled_tests(false),
5493 break_on_failure(false),
5494 catch_exceptions(false),
5495 death_test_use_fork(false),
5496 filter(""),
5497 list_tests(false),
5498 output(""),
5499 print_time(true),
5500 random_seed(0),
5501 repeat(1),
5502 shuffle(false),
5503 stack_trace_depth(kMaxStackTraceDepth),
5504 stream_result_to(""),
5505 throw_on_failure(false) {}
const char * output
const char * filter
const char * stream_result_to

Member Function Documentation

◆ AlsoRunDisabledTests()

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

Definition at line 5511 of file gtest_unittest.cc.

5511 {
5512 Flags flags;
5513 flags.also_run_disabled_tests = also_run_disabled_tests;
5514 return flags;
5515 }
pInfo flags
Here is the caller graph for this function:

◆ BreakOnFailure()

static Flags testing::Flags::BreakOnFailure ( bool break_on_failure)
inlinestatic

Definition at line 5519 of file gtest_unittest.cc.

5519 {
5520 Flags flags;
5521 flags.break_on_failure = break_on_failure;
5522 return flags;
5523 }
Here is the caller graph for this function:

◆ CatchExceptions()

static Flags testing::Flags::CatchExceptions ( bool catch_exceptions)
inlinestatic

Definition at line 5527 of file gtest_unittest.cc.

5527 {
5528 Flags flags;
5529 flags.catch_exceptions = catch_exceptions;
5530 return flags;
5531 }
Here is the caller graph for this function:

◆ DeathTestUseFork()

static Flags testing::Flags::DeathTestUseFork ( bool death_test_use_fork)
inlinestatic

Definition at line 5535 of file gtest_unittest.cc.

5535 {
5536 Flags flags;
5537 flags.death_test_use_fork = death_test_use_fork;
5538 return flags;
5539 }
Here is the caller graph for this function:

◆ Filter()

static Flags testing::Flags::Filter ( const char * filter)
inlinestatic

Definition at line 5543 of file gtest_unittest.cc.

5543 {
5544 Flags flags;
5545 flags.filter = filter;
5546 return flags;
5547 }
Here is the caller graph for this function:

◆ ListTests()

static Flags testing::Flags::ListTests ( bool list_tests)
inlinestatic

Definition at line 5551 of file gtest_unittest.cc.

5551 {
5552 Flags flags;
5553 flags.list_tests = list_tests;
5554 return flags;
5555 }
Here is the caller graph for this function:

◆ Output()

static Flags testing::Flags::Output ( const char * output)
inlinestatic

Definition at line 5559 of file gtest_unittest.cc.

5559 {
5560 Flags flags;
5561 flags.output = output;
5562 return flags;
5563 }
Here is the caller graph for this function:

◆ PrintTime()

static Flags testing::Flags::PrintTime ( bool print_time)
inlinestatic

Definition at line 5567 of file gtest_unittest.cc.

5567 {
5568 Flags flags;
5569 flags.print_time = print_time;
5570 return flags;
5571 }
Here is the caller graph for this function:

◆ RandomSeed()

static Flags testing::Flags::RandomSeed ( Int32 random_seed)
inlinestatic

Definition at line 5575 of file gtest_unittest.cc.

5575 {
5576 Flags flags;
5577 flags.random_seed = random_seed;
5578 return flags;
5579 }
Here is the caller graph for this function:

◆ Repeat()

static Flags testing::Flags::Repeat ( Int32 repeat)
inlinestatic

Definition at line 5583 of file gtest_unittest.cc.

5583 {
5584 Flags flags;
5585 flags.repeat = repeat;
5586 return flags;
5587 }
Here is the caller graph for this function:

◆ Shuffle()

static Flags testing::Flags::Shuffle ( bool shuffle)
inlinestatic

Definition at line 5591 of file gtest_unittest.cc.

5591 {
5592 Flags flags;
5593 flags.shuffle = shuffle;
5594 return flags;
5595 }
Here is the caller graph for this function:

◆ StackTraceDepth()

static Flags testing::Flags::StackTraceDepth ( Int32 stack_trace_depth)
inlinestatic

Definition at line 5599 of file gtest_unittest.cc.

5599 {
5600 Flags flags;
5601 flags.stack_trace_depth = stack_trace_depth;
5602 return flags;
5603 }
Here is the caller graph for this function:

◆ StreamResultTo()

static Flags testing::Flags::StreamResultTo ( const char * stream_result_to)
inlinestatic

Definition at line 5607 of file gtest_unittest.cc.

5607 {
5608 Flags flags;
5609 flags.stream_result_to = stream_result_to;
5610 return flags;
5611 }
Here is the caller graph for this function:

◆ ThrowOnFailure()

static Flags testing::Flags::ThrowOnFailure ( bool throw_on_failure)
inlinestatic

Definition at line 5615 of file gtest_unittest.cc.

5615 {
5616 Flags flags;
5617 flags.throw_on_failure = throw_on_failure;
5618 return flags;
5619 }
Here is the caller graph for this function:

Member Data Documentation

◆ also_run_disabled_tests

bool testing::Flags::also_run_disabled_tests

Definition at line 5622 of file gtest_unittest.cc.

◆ break_on_failure

bool testing::Flags::break_on_failure

Definition at line 5623 of file gtest_unittest.cc.

◆ catch_exceptions

bool testing::Flags::catch_exceptions

Definition at line 5624 of file gtest_unittest.cc.

◆ death_test_use_fork

bool testing::Flags::death_test_use_fork

Definition at line 5625 of file gtest_unittest.cc.

◆ filter

const char* testing::Flags::filter

Definition at line 5626 of file gtest_unittest.cc.

◆ list_tests

bool testing::Flags::list_tests

Definition at line 5627 of file gtest_unittest.cc.

◆ output

const char* testing::Flags::output

Definition at line 5628 of file gtest_unittest.cc.

◆ print_time

bool testing::Flags::print_time

Definition at line 5629 of file gtest_unittest.cc.

◆ random_seed

Int32 testing::Flags::random_seed

Definition at line 5630 of file gtest_unittest.cc.

◆ repeat

Int32 testing::Flags::repeat

Definition at line 5631 of file gtest_unittest.cc.

◆ shuffle

bool testing::Flags::shuffle

Definition at line 5632 of file gtest_unittest.cc.

◆ stack_trace_depth

Int32 testing::Flags::stack_trace_depth

Definition at line 5633 of file gtest_unittest.cc.

◆ stream_result_to

const char* testing::Flags::stream_result_to

Definition at line 5634 of file gtest_unittest.cc.

◆ throw_on_failure

bool testing::Flags::throw_on_failure

Definition at line 5635 of file gtest_unittest.cc.


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