proxygen
|
#include <gtest.h>
Public Member Functions | |
TestEventListeners () | |
~TestEventListeners () | |
void | Append (TestEventListener *listener) |
TestEventListener * | Release (TestEventListener *listener) |
TestEventListener * | default_result_printer () const |
TestEventListener * | default_xml_generator () const |
TestEventListeners () | |
~TestEventListeners () | |
void | Append (TestEventListener *listener) |
TestEventListener * | Release (TestEventListener *listener) |
TestEventListener * | default_result_printer () const |
TestEventListener * | default_xml_generator () const |
TestEventListeners () | |
~TestEventListeners () | |
void | Append (TestEventListener *listener) |
TestEventListener * | Release (TestEventListener *listener) |
TestEventListener * | default_result_printer () const |
TestEventListener * | default_xml_generator () const |
Private Member Functions | |
TestEventListener * | repeater () |
void | SetDefaultResultPrinter (TestEventListener *listener) |
void | SetDefaultXmlGenerator (TestEventListener *listener) |
bool | EventForwardingEnabled () const |
void | SuppressEventForwarding () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestEventListeners) | |
TestEventListener * | repeater () |
void | SetDefaultResultPrinter (TestEventListener *listener) |
void | SetDefaultXmlGenerator (TestEventListener *listener) |
bool | EventForwardingEnabled () const |
void | SuppressEventForwarding () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestEventListeners) | |
TestEventListener * | repeater () |
void | SetDefaultResultPrinter (TestEventListener *listener) |
void | SetDefaultXmlGenerator (TestEventListener *listener) |
bool | EventForwardingEnabled () const |
void | SuppressEventForwarding () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestEventListeners) | |
Private Attributes | |
internal::TestEventRepeater * | repeater_ |
TestEventListener * | default_result_printer_ |
TestEventListener * | default_xml_generator_ |
Friends | |
class | TestCase |
class | TestInfo |
class | internal::DefaultGlobalTestPartResultReporter |
class | internal::NoExecDeathTest |
class | internal::TestEventListenersAccessor |
class | internal::UnitTestImpl |
testing::TestEventListeners::TestEventListeners | ( | ) |
Definition at line 3890 of file gtest.cc.
Referenced by testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
testing::TestEventListeners::~TestEventListeners | ( | ) |
Definition at line 3896 of file gtest.cc.
References repeater_.
Referenced by testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
testing::TestEventListeners::TestEventListeners | ( | ) |
testing::TestEventListeners::~TestEventListeners | ( | ) |
testing::TestEventListeners::TestEventListeners | ( | ) |
testing::TestEventListeners::~TestEventListeners | ( | ) |
void testing::TestEventListeners::Append | ( | TestEventListener * | listener | ) |
Definition at line 3902 of file gtest.cc.
References testing::internal::TestEventRepeater::Append(), and repeater_.
Referenced by testing::internal::UnitTestImpl::ConfigureXmlOutput(), main(), testing::internal::UnitTestImpl::PostFlagParsingInit(), SetDefaultResultPrinter(), SetDefaultXmlGenerator(), TEST(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
void testing::TestEventListeners::Append | ( | TestEventListener * | listener | ) |
void testing::TestEventListeners::Append | ( | TestEventListener * | listener | ) |
|
inline |
Definition at line 1084 of file gtest.h.
|
inline |
Definition at line 1084 of file gtest.h.
Referenced by TEST().
|
inline |
Definition at line 1084 of file gtest.h.
|
inline |
Definition at line 1095 of file gtest.h.
Referenced by TEST().
|
inline |
Definition at line 1095 of file gtest.h.
References GTEST_API_, GTEST_DISALLOW_COPY_AND_ASSIGN_, GTEST_LOCK_EXCLUDED_, GTEST_MUST_USE_RESULT_, i, mutex_, Run(), string, and value.
|
inline |
Definition at line 1095 of file gtest.h.
References GTEST_API_, GTEST_DISALLOW_COPY_AND_ASSIGN_, GTEST_LOCK_EXCLUDED_, GTEST_MUST_USE_RESULT_, i, mutex_, Run(), string, and value.
|
private |
Definition at line 3955 of file gtest.cc.
References testing::internal::TestEventRepeater::forwarding_enabled(), and repeater_.
Referenced by testing::internal::TestEventListenersAccessor::EventForwardingEnabled(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
|
private |
|
private |
|
private |
|
private |
|
private |
TestEventListener* testing::TestEventListeners::Release | ( | TestEventListener * | listener | ) |
TestEventListener * testing::TestEventListeners::Release | ( | TestEventListener * | listener | ) |
Definition at line 3909 of file gtest.cc.
References default_result_printer_, default_xml_generator_, testing::internal::TestEventRepeater::Release(), and repeater_.
Referenced by SetDefaultResultPrinter(), SetDefaultXmlGenerator(), TEST(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
TestEventListener* testing::TestEventListeners::Release | ( | TestEventListener * | listener | ) |
|
private |
Definition at line 3919 of file gtest.cc.
References repeater_.
Referenced by testing::internal::TestEventListenersAccessor::GetRepeater(), testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(), testing::TestInfo::Run(), testing::TestCase::Run(), testing::internal::UnitTestImpl::RunAllTests(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 3926 of file gtest.cc.
References Append(), default_result_printer_, and Release().
Referenced by testing::internal::TestEventListenersAccessor::SetDefaultResultPrinter(), testing::internal::UnitTestImpl::UnitTestImpl(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
|
private |
|
private |
Definition at line 3942 of file gtest.cc.
References Append(), default_xml_generator_, and Release().
Referenced by testing::internal::UnitTestImpl::ConfigureXmlOutput(), testing::internal::TestEventListenersAccessor::SetDefaultXmlGenerator(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
|
private |
|
private |
|
private |
Definition at line 3959 of file gtest.cc.
References repeater_, and testing::internal::TestEventRepeater::set_forwarding_enabled().
Referenced by testing::internal::UnitTestImpl::RecordProperty(), testing::internal::TestEventListenersAccessor::SuppressEventForwarding(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
|
private |
|
friend |
|
private |
Definition at line 1133 of file gtest.h.
Referenced by Release(), and SetDefaultResultPrinter().
|
private |
Definition at line 1135 of file gtest.h.
Referenced by Release(), and SetDefaultXmlGenerator().
|
private |
Definition at line 1131 of file gtest.h.
Referenced by Append(), EventForwardingEnabled(), Release(), repeater(), SuppressEventForwarding(), and ~TestEventListeners().