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

#include <gtest.h>

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

Public Member Functions

int Run () GTEST_MUST_USE_RESULT_
const char * original_working_dir () const
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
int random_seed () const
internal::ParameterizedTestCaseRegistryparameterized_test_registry () GTEST_LOCK_EXCLUDED_(mutex_)
int successful_test_case_count () const
int failed_test_case_count () const
int total_test_case_count () const
int test_case_to_run_count () 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 total_test_count () const
int test_to_run_count () const
TimeInMillis start_timestamp () const
TimeInMillis elapsed_time () const
bool Passed () const
bool Failed () const
const TestCaseGetTestCase (int i) const
const TestResultad_hoc_test_result () const
TestEventListenerslisteners ()
int Run () GTEST_MUST_USE_RESULT_
const char * original_working_dir () const
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
int random_seed () const
int successful_test_case_count () const
int failed_test_case_count () const
int total_test_case_count () const
int test_case_to_run_count () 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 total_test_count () const
int test_to_run_count () const
TimeInMillis start_timestamp () const
TimeInMillis elapsed_time () const
bool Passed () const
bool Failed () const
const TestCaseGetTestCase (int i) const
const TestResultad_hoc_test_result () const
TestEventListenerslisteners ()

Static Public Member Functions

static UnitTestGetInstance ()
static UnitTestGetInstance ()

Private Member Functions

EnvironmentAddEnvironment (Environment *env)
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
void RecordProperty (const std::string &key, const std::string &value)
TestCaseGetMutableTestCase (int i)
internal::UnitTestImplimpl ()
const internal::UnitTestImplimpl () const
 UnitTest ()
virtual ~UnitTest ()
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
EnvironmentAddEnvironment (Environment *env)
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
void RecordProperty (const std::string &key, const std::string &value)
TestCaseGetMutableTestCase (int i)
internal::UnitTestImplimpl ()
const internal::UnitTestImplimpl () const
 UnitTest ()
virtual ~UnitTest ()
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)

Private Attributes

internal::Mutex mutex_
internal::UnitTestImplimpl_

Friends

class Test
class internal::AssertHelper
class internal::ScopedTrace
class internal::StreamingListenerTest
class internal::UnitTestRecordPropertyTestHelper
EnvironmentAddGlobalTestEnvironment (Environment *env)
internal::UnitTestImplinternal::GetUnitTestImpl ()
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
EnvironmentAddGlobalTestEnvironment (Environment *env)
internal::UnitTestImplinternal::GetUnitTestImpl ()
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)

Detailed Description

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


Constructor & Destructor Documentation

virtual testing::UnitTest::~UnitTest ( ) [private, virtual]
virtual testing::UnitTest::~UnitTest ( ) [private, virtual]

Member Function Documentation

void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
) [private]
void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
) [private]
bool testing::UnitTest::Failed ( ) const
bool testing::UnitTest::Failed ( ) const

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

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const [inline, private]

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

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

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const [inline, private]

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

bool testing::UnitTest::Passed ( ) const
bool testing::UnitTest::Passed ( ) const
void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace) [private]
void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace) [private]
void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
) [private]
void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
) [private]

Friends And Related Function Documentation

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

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

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

void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
) [friend]
void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
) [friend]

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

internal::StreamingListenerTest [friend]

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

internal::UnitTestRecordPropertyTestHelper [friend]

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

Test [friend]

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


Field Documentation

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

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


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