GNU Radio's DSD Package
testing::TestCase Class Reference

#include <gtest.h>

Public Member Functions

 TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc)
virtual ~TestCase ()
const char * name () const
const char * type_param () const
bool should_run () const
int successful_test_count () const
int failed_test_count () const
int reportable_disabled_test_count () const
int disabled_test_count () const
int reportable_test_count () const
int test_to_run_count () const
int total_test_count () const
bool Passed () const
bool Failed () const
TimeInMillis elapsed_time () const
const TestInfoGetTestInfo (int i) const
const TestResultad_hoc_test_result () const
 TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc)
virtual ~TestCase ()
const char * name () const
const char * type_param () const
bool should_run () const
int successful_test_count () const
int failed_test_count () const
int reportable_disabled_test_count () const
int disabled_test_count () const
int reportable_test_count () const
int test_to_run_count () const
int total_test_count () const
bool Passed () const
bool Failed () const
TimeInMillis elapsed_time () const
const TestInfoGetTestInfo (int i) const
const TestResultad_hoc_test_result () const

Friends

class Test
class internal::UnitTestImpl

Constructor & Destructor Documentation

◆ TestCase() [1/2]

testing::TestCase::TestCase ( const char * name,
const char * a_type_param,
Test::SetUpTestCaseFunc set_up_tc,
Test::TearDownTestCaseFunc tear_down_tc )

References name().

◆ ~TestCase() [1/2]

virtual testing::TestCase::~TestCase ( )
virtual

◆ TestCase() [2/2]

testing::TestCase::TestCase ( const char * name,
const char * a_type_param,
Test::SetUpTestCaseFunc set_up_tc,
Test::TearDownTestCaseFunc tear_down_tc )

References name().

◆ ~TestCase() [2/2]

virtual testing::TestCase::~TestCase ( )
virtual

Member Function Documentation

◆ ad_hoc_test_result() [1/2]

const TestResult & testing::TestCase::ad_hoc_test_result ( ) const
inline

◆ ad_hoc_test_result() [2/2]

const TestResult & testing::TestCase::ad_hoc_test_result ( ) const
inline

◆ disabled_test_count() [1/2]

int testing::TestCase::disabled_test_count ( ) const

◆ disabled_test_count() [2/2]

int testing::TestCase::disabled_test_count ( ) const

◆ elapsed_time() [1/2]

TimeInMillis testing::TestCase::elapsed_time ( ) const
inline

◆ elapsed_time() [2/2]

TimeInMillis testing::TestCase::elapsed_time ( ) const
inline

◆ Failed() [1/2]

bool testing::TestCase::Failed ( ) const
inline

References failed_test_count().

Referenced by Passed().

◆ Failed() [2/2]

bool testing::TestCase::Failed ( ) const
inline

References failed_test_count().

◆ failed_test_count() [1/2]

int testing::TestCase::failed_test_count ( ) const

Referenced by Failed().

◆ failed_test_count() [2/2]

int testing::TestCase::failed_test_count ( ) const

◆ GetTestInfo() [1/2]

const TestInfo * testing::TestCase::GetTestInfo ( int i) const

◆ GetTestInfo() [2/2]

const TestInfo * testing::TestCase::GetTestInfo ( int i) const

◆ name() [1/2]

const char * testing::TestCase::name ( ) const
inline

Referenced by TestCase().

◆ name() [2/2]

const char * testing::TestCase::name ( ) const
inline

◆ Passed() [1/2]

bool testing::TestCase::Passed ( ) const
inline

References Failed().

◆ Passed() [2/2]

bool testing::TestCase::Passed ( ) const
inline

References Failed().

◆ reportable_disabled_test_count() [1/2]

int testing::TestCase::reportable_disabled_test_count ( ) const

◆ reportable_disabled_test_count() [2/2]

int testing::TestCase::reportable_disabled_test_count ( ) const

◆ reportable_test_count() [1/2]

int testing::TestCase::reportable_test_count ( ) const

◆ reportable_test_count() [2/2]

int testing::TestCase::reportable_test_count ( ) const

◆ should_run() [1/2]

bool testing::TestCase::should_run ( ) const
inline

◆ should_run() [2/2]

bool testing::TestCase::should_run ( ) const
inline

◆ successful_test_count() [1/2]

int testing::TestCase::successful_test_count ( ) const

◆ successful_test_count() [2/2]

int testing::TestCase::successful_test_count ( ) const

◆ test_to_run_count() [1/2]

int testing::TestCase::test_to_run_count ( ) const

◆ test_to_run_count() [2/2]

int testing::TestCase::test_to_run_count ( ) const

◆ total_test_count() [1/2]

int testing::TestCase::total_test_count ( ) const

◆ total_test_count() [2/2]

int testing::TestCase::total_test_count ( ) const

◆ type_param() [1/2]

const char * testing::TestCase::type_param ( ) const
inline

◆ type_param() [2/2]

const char * testing::TestCase::type_param ( ) const
inline

◆ internal::UnitTestImpl

◆ Test

Test
friend

References Test.

Referenced by Test.


The documentation for this class was generated from the following files: