v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Friends | List of all members
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
 

Friends

class Test
 
class internal::UnitTestImpl
 

Detailed Description

Definition at line 778 of file 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

Member Function Documentation

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

Definition at line 800 of file gtest.h.

Referenced by testing::internal::TestResultAccessor::test_part_results().

Here is the caller graph for this function:

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

Definition at line 804 of file gtest.h.

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

Definition at line 811 of file gtest.h.

int testing::TestCase::successful_test_count ( ) const
int testing::TestCase::failed_test_count ( ) const
int testing::TestCase::reportable_disabled_test_count ( ) const
int testing::TestCase::disabled_test_count ( ) const
int testing::TestCase::reportable_test_count ( ) const
int testing::TestCase::test_to_run_count ( ) const
int testing::TestCase::total_test_count ( ) const
bool testing::TestCase::Passed ( ) const
inline

Definition at line 835 of file gtest.h.

Referenced by testing::internal::TestResultAccessor::test_part_results().

Here is the caller graph for this function:

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

Definition at line 838 of file gtest.h.

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

Definition at line 841 of file gtest.h.

Referenced by testing::internal::TestResultAccessor::test_part_results().

Here is the caller graph for this function:

const TestInfo* testing::TestCase::GetTestInfo ( int  i) const
const TestResult& testing::TestCase::ad_hoc_test_result ( ) const
inline

Definition at line 849 of file gtest.h.

Friends And Related Function Documentation

friend class Test
friend

Definition at line 852 of file gtest.h.

friend class internal::UnitTestImpl
friend

Definition at line 853 of file gtest.h.


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