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

#include <gtest.h>

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

Public Member Functions

 TestResult ()
 ~TestResult ()
int total_part_count () const
int test_property_count () const
bool Passed () const
bool Failed () const
bool HasFatalFailure () const
bool HasNonfatalFailure () const
TimeInMillis elapsed_time () const
const TestPartResultGetTestPartResult (int i) const
const TestPropertyGetTestProperty (int i) const
 TestResult ()
 ~TestResult ()
int total_part_count () const
int test_property_count () const
bool Passed () const
bool Failed () const
bool HasFatalFailure () const
bool HasNonfatalFailure () const
TimeInMillis elapsed_time () const
const TestPartResultGetTestPartResult (int i) const
const TestPropertyGetTestProperty (int i) const

Private Member Functions

const std::vector
< TestPartResult > & 
test_part_results () const
const std::vector< TestProperty > & test_properties () const
void set_elapsed_time (TimeInMillis elapsed)
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
void AddTestPartResult (const TestPartResult &test_part_result)
int death_test_count () const
int increment_death_test_count ()
void ClearTestPartResults ()
void Clear ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
const std::vector
< TestPartResult > & 
test_part_results () const
const std::vector< TestProperty > & test_properties () const
void set_elapsed_time (TimeInMillis elapsed)
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
void AddTestPartResult (const TestPartResult &test_part_result)
int death_test_count () const
int increment_death_test_count ()
void ClearTestPartResults ()
void Clear ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)

Static Private Member Functions

static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)
static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)

Private Attributes

internal::Mutex test_properites_mutex_
std::vector< TestPartResulttest_part_results_
std::vector< TestPropertytest_properties_
int death_test_count_
TimeInMillis elapsed_time_

Friends

class TestInfo
class TestCase
class UnitTest
class internal::DefaultGlobalTestPartResultReporter
class internal::ExecDeathTest
class internal::TestResultAccessor
class internal::UnitTestImpl
class internal::WindowsDeathTest

Detailed Description

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


Constructor & Destructor Documentation


Member Function Documentation

void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result) [private]
void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result) [private]
void testing::TestResult::Clear ( ) [private]
void testing::TestResult::Clear ( ) [private]
int testing::TestResult::death_test_count ( ) const [inline, private]

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

int testing::TestResult::death_test_count ( ) const [inline, private]

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

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

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

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

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

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

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

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

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

void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
) [private]
void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
) [private]
void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed) [inline, private]

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

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed) [inline, private]

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

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const [inline, private]

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

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const [inline, private]

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

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const [inline, private]

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

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const [inline, private]

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

static bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
) [static, private]
static bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
) [static, private]

Friends And Related Function Documentation

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

internal::ExecDeathTest [friend]

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

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

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

internal::WindowsDeathTest [friend]

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

TestCase [friend]

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

TestInfo [friend]

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

UnitTest [friend]

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


Field Documentation

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

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

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

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

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


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