Home
last modified time | relevance | path

Searched refs:NiceMock (Results 1 – 25 of 111) sorted by relevance

12345

/external/webrtc/media/engine/
Dencoder_simulcast_proxy_unittest.cc36 using ::testing::NiceMock;
71 auto mock_encoder = std::make_unique<NiceMock<MockVideoEncoder>>(); in TEST()
72 NiceMock<MockVideoEncoderFactory> simulcast_factory; in TEST()
92 NiceMock<MockVideoEncoderFactory> nonsimulcast_factory; in TEST()
97 auto mock_encoder = std::make_unique<NiceMock<MockVideoEncoder>>(); in TEST()
106 auto mock_encoder = std::make_unique<NiceMock<MockVideoEncoder>>(); in TEST()
127 auto mock_encoder_owned = std::make_unique<NiceMock<MockVideoEncoder>>(); in TEST()
129 NiceMock<MockVideoEncoderFactory> simulcast_factory; in TEST()
154 auto mock_encoder_owned = std::make_unique<NiceMock<MockVideoEncoder>>(); in TEST()
155 NiceMock<MockVideoEncoder>* mock_encoder = mock_encoder_owned.get(); in TEST()
[all …]
/external/webrtc/modules/pacing/
Dpacket_router_unittest.cc42 using ::testing::NiceMock;
104 NiceMock<MockRtpRtcpInterface> rtp_1; in TEST_F()
109 NiceMock<MockRtpRtcpInterface> rtp_2; in TEST_F()
146 NiceMock<MockRtpRtcpInterface> audio_module; in TEST_F()
152 NiceMock<MockRtpRtcpInterface> video_module; in TEST_F()
198 NiceMock<MockRtpRtcpInterface> rtp_1; in TEST_F()
209 NiceMock<MockRtpRtcpInterface> rtp_2; in TEST_F()
221 NiceMock<MockRtpRtcpInterface> rtp_3; in TEST_F()
301 NiceMock<MockRtpRtcpInterface> rtp_1; in TEST_F()
319 NiceMock<MockRtpRtcpInterface> rtp_1; in TEST_F()
[all …]
/external/googletest/googlemock/test/
Dgmock-nice-strict_test.cc56 using testing::NiceMock;
200 NiceMock<MockFoo> nice_foo; in TEST()
211 NiceMock<MockFoo>* const nice_foo = new NiceMock<MockFoo>; in TEST()
224 NiceMock<MockFoo> nice_foo; in TEST()
240 NiceMock<MockFoo> nice_foo; in TEST()
250 NiceMock<MockFoo> nice_foo; in TEST()
265 NiceMock<MockFoo> nice_foo; in TEST()
274 NiceMock<MockBar> nice_bar("hi"); in TEST()
284 NiceMock<MockBar> nice_bar('a', 'b', "c", "d", 'e', 'f', in TEST()
293 NiceMock<MockFoo>* leaked = new NiceMock<MockFoo>; in TEST()
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-nice-strict.h82 class NiceMock : public MockClass {
86 NiceMock() { in NiceMock() function
94 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock() function
99 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in NiceMock() function
105 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in NiceMock() function
111 NiceMock(const A1& a1, const A2& a2, const A3& a3, in NiceMock() function
118 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock() function
126 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock() function
134 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock() function
143 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock() function
[all …]
/external/llvm-project/lldb/unittests/Host/
DNativeProcessProtocolTest.cpp21 NiceMock<MockDelegate> DummyDelegate; in TEST()
35 NiceMock<MockDelegate> DummyDelegate; in TEST()
46 NiceMock<MockDelegate> DummyDelegate; in TEST()
61 NiceMock<MockDelegate> DummyDelegate; in TEST()
77 NiceMock<MockDelegate> DummyDelegate; in TEST()
102 NiceMock<MockDelegate> DummyDelegate; in TEST()
118 NiceMock<MockDelegate> DummyDelegate; in TEST()
134 NiceMock<MockDelegate> DummyDelegate; in TEST()
/external/googletest/googlemock/include/gmock/
Dgmock-nice-strict.h73 class NiceMock; variable
81 std::true_type StrictnessModifierProbe(const NiceMock<T>&);
136 class GTEST_INTERNAL_EMPTY_BASE_CLASS NiceMock
145 NiceMock() : MockClass() { in NiceMock() function
158 explicit NiceMock(A&& arg) : MockClass(std::forward<A>(arg)) { in NiceMock() function
164 NiceMock(TArg1&& arg1, TArg2&& arg2, An&&... args) in NiceMock() function
172 GTEST_DISALLOW_COPY_AND_ASSIGN_(NiceMock);
/external/openscreen/cast/common/channel/testing/
Dfake_cast_socket.h64 std::make_unique<::testing::NiceMock<MockTlsConnection>>( in FakeCastSocketPair()
70 auto moved_peer = std::make_unique<::testing::NiceMock<MockTlsConnection>>( in FakeCastSocketPair()
96 ::testing::NiceMock<MockTlsConnection>* connection;
100 ::testing::NiceMock<MockTlsConnection>* peer_connection;
/external/angle/src/libANGLE/
DImage_unittest.cpp21 using ::testing::NiceMock;
34 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
35 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
103 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
104 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
/external/webrtc/video/
Drtp_video_stream_receiver_frame_transformer_delegate_unittest.cc35 using ::testing::NiceMock;
91 new rtc::RefCountedObject<testing::NiceMock<MockFrameTransformer>>()); in TEST()
105 new rtc::RefCountedObject<NiceMock<MockFrameTransformer>>()); in TEST()
131 new rtc::RefCountedObject<NiceMock<MockFrameTransformer>>(); in TEST()
Dvideo_stream_decoder_impl_unittest.cc24 using ::testing::NiceMock;
129 NiceMock<StubVideoDecoder> vp8_decoder_;
130 NiceMock<StubVideoDecoder> av1_decoder_;
173 NiceMock<MockVideoStreamDecoderCallbacks> callbacks_;
/external/angle/src/libANGLE/renderer/
DFramebufferImpl_mock.h66 inline ::testing::NiceMock<MockFramebufferImpl> *MakeFramebufferMock() in MakeFramebufferMock()
68 ::testing::NiceMock<MockFramebufferImpl> *framebufferImpl = in MakeFramebufferMock()
69 new ::testing::NiceMock<MockFramebufferImpl>(); in MakeFramebufferMock()
DProgramImpl_mock.h75 inline ::testing::NiceMock<MockProgramImpl> *MakeProgramMock() in MakeProgramMock()
77 ::testing::NiceMock<MockProgramImpl> *programImpl = new ::testing::NiceMock<MockProgramImpl>(); in MakeProgramMock()
/external/tensorflow/tensorflow/compiler/mlir/
Dmlir_graph_optimization_pass_test.cc26 using ::testing::NiceMock;
83 std::make_unique<NiceMock<MockMlirOptimizationPass>>(); in Init()
100 std::make_unique<NiceMock<ModifyMlirModulePass>>(run_status); in AddModuleModificationPass()
235 0, std::make_unique<NiceMock<MockMlirOptimizationPass>>()); in TEST()
237 0, std::make_unique<NiceMock<MockMlirOptimizationPass>>()), in TEST()
/external/webrtc/api/video_codecs/test/
Dvideo_encoder_software_fallback_wrapper_unittest.cc692 auto* sw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
693 auto* hw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
708 auto* sw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
709 auto* hw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
723 auto* sw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
724 auto* hw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
753 auto* sw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
754 auto* hw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
768 auto* sw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
769 auto* hw_encoder = new ::testing::NiceMock<MockVideoEncoder>(); in TEST()
[all …]
/external/webrtc/audio/
Dchannel_receive_frame_transformer_delegate_unittest.cc25 using ::testing::NiceMock;
72 new rtc::RefCountedObject<NiceMock<MockFrameTransformer>>(); in TEST()
103 new rtc::RefCountedObject<testing::NiceMock<MockFrameTransformer>>(); in TEST()
Dchannel_send_frame_transformer_delegate_unittest.cc26 using ::testing::NiceMock;
85 new rtc::RefCountedObject<NiceMock<MockFrameTransformer>>(); in TEST()
115 new rtc::RefCountedObject<testing::NiceMock<MockFrameTransformer>>(); in TEST()
/external/webrtc/call/
Drtp_demuxer_unittest.cc34 using ::testing::NiceMock;
431 NiceMock<MockRtpPacketSink> sink; in TEST_F()
503 NiceMock<MockRtpPacketSink> sink; in TEST_F()
550 NiceMock<MockRtpPacketSink> sink; in TEST_F()
586 NiceMock<MockRtpPacketSink> sink; in TEST_F()
604 NiceMock<MockRtpPacketSink> sink; in TEST_F()
746 NiceMock<MockRtpPacketSink> ssrc_sink; in TEST_F()
750 NiceMock<MockRtpPacketSink> rsid_sink; in TEST_F()
772 NiceMock<MockRtpPacketSink> sink; in TEST_F()
811 NiceMock<MockRtpPacketSink> sink1; in TEST_F()
[all …]
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer_unittest.cc34 using testing::NiceMock;
78 MockProtoTranslationTable(NiceMock<MockFtraceProcfs>* ftrace_procfs, in MockProtoTranslationTable()
177 NiceMock<MockFtraceProcfs> table_procfs_;
244 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
346 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
459 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
498 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
531 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
591 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
654 NiceMock<MockFtraceProcfs> ftrace; in TEST_F()
[all …]
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Daudio_network_adaptor_impl_unittest.cc29 using ::testing::NiceMock;
77 std::unique_ptr<MockController>(new NiceMock<MockController>()); in CreateAudioNetworkAdaptor()
84 new NiceMock<MockControllerManager>()); in CreateAudioNetworkAdaptor()
92 states.event_log.reset(new NiceMock<MockRtcEventLog>()); in CreateAudioNetworkAdaptor()
95 std::unique_ptr<MockDebugDumpWriter>(new NiceMock<MockDebugDumpWriter>()); in CreateAudioNetworkAdaptor()
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc39 using ::testing::NiceMock;
122 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
136 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
155 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
168 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
196 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
517 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST_F()
556 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST()
571 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST()
591 auto* const vpx = new NiceMock<MockLibvpxVp8Interface>(); in TEST()
/external/openscreen/osp/impl/quic/testing/
Dquic_test_support.h70 ::testing::NiceMock<MockServiceObserver> mock_client_observer;
71 ::testing::NiceMock<MockServerObserver> mock_server_observer;
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_transceiver_unittest.cc33 using ::testing::NiceMock;
97 NiceMock<MockTransport> outgoing_transport; in TEST()
114 NiceMock<MockTransport> outgoing_transport; in TEST()
134 NiceMock<MockTransport> outgoing_transport; // Must outlive queue below. in TEST()
245 NiceMock<MockTransport> outgoing_transport; in TEST()
/external/openscreen/osp/impl/
Dservice_publisher_impl_unittest.cc17 using ::testing::NiceMock;
56 NiceMock<MockMdnsDelegate> mock_delegate_;
137 NiceMock<MockMdnsDelegate> mock_delegate; in TEST_F()
/external/llvm-project/lldb/unittests/Process/POSIX/
DNativeProcessELFTest.cpp52 NiceMock<MockDelegate> DummyDelegate; in TEST()
65 NiceMock<MockDelegate> DummyDelegate; in TEST()
116 NiceMock<MockDelegate> DummyDelegate; in TEST()
/external/webrtc/audio/voip/test/
Dvoip_core_unittest.cc23 using ::testing::NiceMock;
47 NiceMock<MockTransport> transport_;

12345