Electroneum
Loading...
Searching...
No Matches
testing::TestResult Class Reference

#include <gtest.h>

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

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 523 of file gtest.h.

Constructor & Destructor Documentation

◆ TestResult() [1/2]

testing::TestResult::TestResult ( )

◆ ~TestResult() [1/2]

testing::TestResult::~TestResult ( )

◆ TestResult() [2/2]

testing::TestResult::TestResult ( )

◆ ~TestResult() [2/2]

testing::TestResult::~TestResult ( )

Member Function Documentation

◆ elapsed_time() [1/2]

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

Definition at line 551 of file gtest.h.

551{ return elapsed_time_; }

◆ elapsed_time() [2/2]

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

Definition at line 551 of file gtest.h.

551{ return elapsed_time_; }

◆ Failed() [1/2]

bool testing::TestResult::Failed ( ) const
Here is the caller graph for this function:

◆ Failed() [2/2]

bool testing::TestResult::Failed ( ) const

◆ GetTestPartResult() [1/2]

const TestPartResult & testing::TestResult::GetTestPartResult ( int i) const

◆ GetTestPartResult() [2/2]

const TestPartResult & testing::TestResult::GetTestPartResult ( int i) const

◆ GetTestProperty() [1/2]

const TestProperty & testing::TestResult::GetTestProperty ( int i) const

◆ GetTestProperty() [2/2]

const TestProperty & testing::TestResult::GetTestProperty ( int i) const
Here is the call graph for this function:

◆ HasFatalFailure() [1/2]

bool testing::TestResult::HasFatalFailure ( ) const

◆ HasFatalFailure() [2/2]

bool testing::TestResult::HasFatalFailure ( ) const

◆ HasNonfatalFailure() [1/2]

bool testing::TestResult::HasNonfatalFailure ( ) const

◆ HasNonfatalFailure() [2/2]

bool testing::TestResult::HasNonfatalFailure ( ) const

◆ Passed() [1/2]

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

Definition at line 539 of file gtest.h.

539{ return !Failed(); }
bool Failed() const
Here is the call graph for this function:

◆ Passed() [2/2]

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

Definition at line 539 of file gtest.h.

539{ return !Failed(); }
Here is the call graph for this function:

◆ test_property_count() [1/2]

int testing::TestResult::test_property_count ( ) const

◆ test_property_count() [2/2]

int testing::TestResult::test_property_count ( ) const

◆ total_part_count() [1/2]

int testing::TestResult::total_part_count ( ) const

◆ total_part_count() [2/2]

int testing::TestResult::total_part_count ( ) const

◆ internal::DefaultGlobalTestPartResultReporter

Definition at line 567 of file gtest.h.

◆ internal::ExecDeathTest

internal::ExecDeathTest
friend

Definition at line 568 of file gtest.h.

◆ internal::TestResultAccessor

Definition at line 569 of file gtest.h.

◆ internal::UnitTestImpl

Definition at line 570 of file gtest.h.

◆ internal::WindowsDeathTest

internal::WindowsDeathTest
friend

Definition at line 571 of file gtest.h.

◆ TestCase

TestCase
friend

Definition at line 565 of file gtest.h.

◆ TestInfo

TestInfo
friend

Definition at line 564 of file gtest.h.

◆ UnitTest

UnitTest
friend

Definition at line 566 of file gtest.h.


The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/gtest.h