summaryrefslogtreecommitdiffstats
path: root/googletest/include
diff options
context:
space:
mode:
authorChris Johnson <chrisjohnsonmail@gmail.com>2023-06-22 17:01:48 (GMT)
committerGitHub <noreply@github.com>2023-06-22 17:01:48 (GMT)
commitb2a2d36f3a28921af8ccbed92c47fbfe8570173c (patch)
treec7a7268259498bd3a4c7137c0889178af3c7c2b4 /googletest/include
parente3d405f62b61a228e5359208b1fa933e03eadc65 (diff)
parentec4fed93217bc2830959bb8e86798c1d86956949 (diff)
downloadgoogletest-b2a2d36f3a28921af8ccbed92c47fbfe8570173c.zip
googletest-b2a2d36f3a28921af8ccbed92c47fbfe8570173c.tar.gz
googletest-b2a2d36f3a28921af8ccbed92c47fbfe8570173c.tar.bz2
Merge branch 'google:main' into feat/qn9090refs/pull/4301/head
Diffstat (limited to 'googletest/include')
-rw-r--r--googletest/include/gtest/gtest.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h
index 8412503..86777c8 100644
--- a/googletest/include/gtest/gtest.h
+++ b/googletest/include/gtest/gtest.h
@@ -1055,6 +1055,10 @@ class GTEST_API_ TestEventListeners {
return default_xml_generator_;
}
+ // Controls whether events will be forwarded by the repeater to the
+ // listeners in the list.
+ void SuppressEventForwarding(bool);
+
private:
friend class TestSuite;
friend class TestInfo;
@@ -1084,7 +1088,6 @@ class GTEST_API_ TestEventListeners {
// Controls whether events will be forwarded by the repeater to the
// listeners in the list.
bool EventForwardingEnabled() const;
- void SuppressEventForwarding();
// The actual list of listeners.
internal::TestEventRepeater* repeater_;