diff options
author | Chris Johnson <chrisjohnsonmail@gmail.com> | 2023-06-22 17:01:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 17:01:48 (GMT) |
commit | b2a2d36f3a28921af8ccbed92c47fbfe8570173c (patch) | |
tree | c7a7268259498bd3a4c7137c0889178af3c7c2b4 /googletest/include | |
parent | e3d405f62b61a228e5359208b1fa933e03eadc65 (diff) | |
parent | ec4fed93217bc2830959bb8e86798c1d86956949 (diff) | |
download | googletest-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.h | 5 |
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_; |