Qucs-core  0.0.19
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
testing::TestCase Class Reference

#include <gtest.h>

Collaboration diagram for testing::TestCase:
Collaboration graph
[legend]

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

Private Member Functions

std::vector< TestInfo * > & test_info_list ()
const std::vector< TestInfo * > & test_info_list () const
TestInfoGetMutableTestInfo (int i)
void set_should_run (bool should)
void AddTestInfo (TestInfo *test_info)
void ClearResult ()
void Run ()
void RunSetUpTestCase ()
void RunTearDownTestCase ()
void ShuffleTests (internal::Random *random)
void UnshuffleTests ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestCase)
std::vector< TestInfo * > & test_info_list ()
const std::vector< TestInfo * > & test_info_list () const
TestInfoGetMutableTestInfo (int i)
void set_should_run (bool should)
void AddTestInfo (TestInfo *test_info)
void ClearResult ()
void Run ()
void RunSetUpTestCase ()
void RunTearDownTestCase ()
void ShuffleTests (internal::Random *random)
void UnshuffleTests ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestCase)

Static Private Member Functions

static void ClearTestCaseResult (TestCase *test_case)
static bool TestPassed (const TestInfo *test_info)
static bool TestFailed (const TestInfo *test_info)
static bool TestReportableDisabled (const TestInfo *test_info)
static bool TestDisabled (const TestInfo *test_info)
static bool TestReportable (const TestInfo *test_info)
static bool ShouldRunTest (const TestInfo *test_info)
static void ClearTestCaseResult (TestCase *test_case)
static bool TestPassed (const TestInfo *test_info)
static bool TestFailed (const TestInfo *test_info)
static bool TestReportableDisabled (const TestInfo *test_info)
static bool TestDisabled (const TestInfo *test_info)
static bool TestReportable (const TestInfo *test_info)
static bool ShouldRunTest (const TestInfo *test_info)

Private Attributes

std::string name_
const internal::scoped_ptr
< const ::std::string > 
type_param_
std::vector< TestInfo * > test_info_list_
std::vector< inttest_indices_
Test::SetUpTestCaseFunc set_up_tc_
Test::TearDownTestCaseFunc tear_down_tc_
bool should_run_
TimeInMillis elapsed_time_
TestResult ad_hoc_test_result_

Friends

class Test
class internal::UnitTestImpl

Detailed Description

Definition at line 18159 of file fused-src/gtest/gtest.h.


Constructor & Destructor Documentation

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

Member Function Documentation

Definition at line 817 of file include/gtest/gtest.h.

Definition at line 18230 of file fused-src/gtest/gtest.h.

void testing::TestCase::AddTestInfo ( TestInfo test_info) [private]
void testing::TestCase::AddTestInfo ( TestInfo test_info) [private]
void testing::TestCase::ClearResult ( ) [private]
void testing::TestCase::ClearResult ( ) [private]
static void testing::TestCase::ClearTestCaseResult ( TestCase test_case) [inline, static, private]

Definition at line 846 of file include/gtest/gtest.h.

static void testing::TestCase::ClearTestCaseResult ( TestCase test_case) [inline, static, private]

Definition at line 18259 of file fused-src/gtest/gtest.h.

Definition at line 809 of file include/gtest/gtest.h.

Definition at line 18222 of file fused-src/gtest/gtest.h.

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

Definition at line 806 of file include/gtest/gtest.h.

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

Definition at line 18219 of file fused-src/gtest/gtest.h.

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

Definition at line 768 of file include/gtest/gtest.h.

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

Definition at line 18181 of file fused-src/gtest/gtest.h.

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

Definition at line 803 of file include/gtest/gtest.h.

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

Definition at line 18216 of file fused-src/gtest/gtest.h.

void testing::TestCase::Run ( ) [private]
void testing::TestCase::Run ( ) [private]
void testing::TestCase::RunSetUpTestCase ( ) [inline, private]

Definition at line 855 of file include/gtest/gtest.h.

void testing::TestCase::RunSetUpTestCase ( ) [inline, private]

Definition at line 18268 of file fused-src/gtest/gtest.h.

void testing::TestCase::RunTearDownTestCase ( ) [inline, private]

Definition at line 859 of file include/gtest/gtest.h.

void testing::TestCase::RunTearDownTestCase ( ) [inline, private]

Definition at line 18272 of file fused-src/gtest/gtest.h.

void testing::TestCase::set_should_run ( bool  should) [inline, private]

Definition at line 836 of file include/gtest/gtest.h.

void testing::TestCase::set_should_run ( bool  should) [inline, private]

Definition at line 18249 of file fused-src/gtest/gtest.h.

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

Definition at line 779 of file include/gtest/gtest.h.

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

Definition at line 18192 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::ShouldRunTest ( const TestInfo test_info) [inline, static, private]

Definition at line 888 of file include/gtest/gtest.h.

static bool testing::TestCase::ShouldRunTest ( const TestInfo test_info) [inline, static, private]

Definition at line 18301 of file fused-src/gtest/gtest.h.

void testing::TestCase::ShuffleTests ( internal::Random random) [private]
void testing::TestCase::ShuffleTests ( internal::Random random) [private]
std::vector<TestInfo*>& testing::TestCase::test_info_list ( ) [inline, private]

Definition at line 824 of file include/gtest/gtest.h.

const std::vector<TestInfo*>& testing::TestCase::test_info_list ( ) const [inline, private]

Definition at line 827 of file include/gtest/gtest.h.

std::vector<TestInfo*>& testing::TestCase::test_info_list ( ) [inline, private]

Definition at line 18237 of file fused-src/gtest/gtest.h.

const std::vector<TestInfo*>& testing::TestCase::test_info_list ( ) const [inline, private]

Definition at line 18240 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::TestDisabled ( const TestInfo test_info) [inline, static, private]

Definition at line 878 of file include/gtest/gtest.h.

static bool testing::TestCase::TestDisabled ( const TestInfo test_info) [inline, static, private]

Definition at line 18291 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::TestFailed ( const TestInfo test_info) [inline, static, private]

Definition at line 867 of file include/gtest/gtest.h.

static bool testing::TestCase::TestFailed ( const TestInfo test_info) [inline, static, private]

Definition at line 18280 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::TestPassed ( const TestInfo test_info) [inline, static, private]

Definition at line 862 of file include/gtest/gtest.h.

static bool testing::TestCase::TestPassed ( const TestInfo test_info) [inline, static, private]

Definition at line 18275 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::TestReportable ( const TestInfo test_info) [inline, static, private]

Definition at line 883 of file include/gtest/gtest.h.

static bool testing::TestCase::TestReportable ( const TestInfo test_info) [inline, static, private]

Definition at line 18296 of file fused-src/gtest/gtest.h.

static bool testing::TestCase::TestReportableDisabled ( const TestInfo test_info) [inline, static, private]

Definition at line 873 of file include/gtest/gtest.h.

static bool testing::TestCase::TestReportableDisabled ( const TestInfo test_info) [inline, static, private]

Definition at line 18286 of file fused-src/gtest/gtest.h.

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

Definition at line 772 of file include/gtest/gtest.h.

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

Definition at line 18185 of file fused-src/gtest/gtest.h.


Friends And Related Function Documentation

Definition at line 18234 of file fused-src/gtest/gtest.h.

Test [friend]

Definition at line 18233 of file fused-src/gtest/gtest.h.


Field Documentation

Definition at line 18333 of file fused-src/gtest/gtest.h.

Definition at line 18330 of file fused-src/gtest/gtest.h.

std::string testing::TestCase::name_ [private]

Definition at line 18312 of file fused-src/gtest/gtest.h.

Definition at line 18324 of file fused-src/gtest/gtest.h.

Definition at line 18328 of file fused-src/gtest/gtest.h.

Definition at line 18326 of file fused-src/gtest/gtest.h.

std::vector< int > testing::TestCase::test_indices_ [private]

Definition at line 18322 of file fused-src/gtest/gtest.h.

std::vector< TestInfo * > testing::TestCase::test_info_list_ [private]

Definition at line 18318 of file fused-src/gtest/gtest.h.

const internal::scoped_ptr< const ::std::string > testing::TestCase::type_param_ [private]

Definition at line 18315 of file fused-src/gtest/gtest.h.


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