commit | 83830f316e264537af77289fc695187a5e7b5cee | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Fri May 20 07:12:57 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 20 15:21:21 2022 |
tree | fe84e5c79e2c341fd6b607c6f4c8108394b75415 | |
parent | be2fb41b325558e4fd8b12e85c583dab6985ee22 [diff] [blame] |
Delete TestListener and top-level thread wrapping. Instead use rtc::AutoThread in tests that need that. Bug: webrtc:9714 Change-Id: I1f33b1b2d321770d062504dd9ef86d66a345dd42 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/254681 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36950}
diff --git a/pc/sdp_offer_answer_unittest.cc b/pc/sdp_offer_answer_unittest.cc index 2ce9e52..4f16de4 100644 --- a/pc/sdp_offer_answer_unittest.cc +++ b/pc/sdp_offer_answer_unittest.cc
@@ -95,6 +95,7 @@ rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory_; private: + rtc::AutoThread main_thread_; }; TEST_F(SdpOfferAnswerTest, OnTrackReturnsProxiedObject) {