Home
last modified time | relevance | path

Searched refs:StrictMock (Results 1 – 25 of 92) sorted by relevance

1234

/external/openscreen/discovery/mdns/
Dmdns_probe_manager_unittest.cc24 using testing::StrictMock;
61 return std::make_unique<StrictMock<MockMdnsProbe>>(std::move(name), in CreateProbe()
65 StrictMock<MockMdnsProbe>* GetOngoingMockProbeByTarget( in GetOngoingMockProbeByTarget()
73 return static_cast<StrictMock<MockMdnsProbe>*>(it->probe.get()); in GetOngoingMockProbeByTarget()
78 StrictMock<MockMdnsProbe>* GetCompletedMockProbe(const DomainName& target) { in GetCompletedMockProbe()
81 return static_cast<StrictMock<MockMdnsProbe>*>(it->get()); in GetCompletedMockProbe()
135 StrictMock<MockMdnsProbe>* ExpectProbeOngoing(const DomainName& name) { in ExpectProbeOngoing()
148 StrictMock<MockMdnsProbe>* ExpectProbeCompleted(const DomainName& name) { in ExpectProbeCompleted()
161 StrictMock<MockMdnsProbe>* SetUpCompletedProbe(const DomainName& name, in SetUpCompletedProbe()
165 StrictMock<MockMdnsProbe>* ongoing_probe = ExpectProbeOngoing(name); in SetUpCompletedProbe()
[all …]
Dmdns_sender_unittest.cc22 using testing::StrictMock;
106 StrictMock<MockUdpSocket> socket; in TEST_F()
118 StrictMock<MockUdpSocket> socket; in TEST_F()
132 StrictMock<MockUdpSocket> socket; in TEST_F()
147 StrictMock<MockUdpSocket> socket; in TEST_F()
Dmdns_probe_unittest.cc24 using testing::StrictMock;
81 StrictMock<MockMdnsSender> sender_;
84 StrictMock<MockObserver> observer_;
/external/googletest/googlemock/test/
Dgmock-nice-strict_test.cc57 using testing::StrictMock;
446 StrictMock<MockFoo> strict_foo; in TEST()
454 StrictMock<MockFoo> strict_foo; in TEST()
463 StrictMock<MockFoo> strict_foo; in TEST()
472 StrictMock<MockFoo>* const strict_foo = new StrictMock<MockFoo>; in TEST()
484 StrictMock<MockBar> strict_bar("hi"); in TEST()
494 StrictMock<MockBar> strict_bar('a', 'b', "c", "d", 'e', 'f', in TEST()
503 StrictMock<MockFoo>* leaked = new StrictMock<MockFoo>; in TEST()
510 StrictMock<MockBaz> strict_baz(MockBaz::MoveOnly{}); in TEST()
516 StrictMock< ::Mock> strict; in TEST()
[all …]
/external/perfetto/src/perfetto_cmd/
Drate_limiter_unittest.cc33 using testing::StrictMock;
159 StrictMock<MockRateLimiter> limiter; in TEST()
167 StrictMock<MockRateLimiter> limiter; in TEST()
174 StrictMock<MockRateLimiter> limiter; in TEST()
197 StrictMock<MockRateLimiter> limiter; in TEST()
219 StrictMock<MockRateLimiter> limiter; in TEST()
247 StrictMock<MockRateLimiter> limiter; in TEST()
286 StrictMock<MockRateLimiter> limiter; in TEST()
306 StrictMock<MockRateLimiter> limiter; in TEST()
330 StrictMock<MockRateLimiter> limiter; in TEST()
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-nice-strict.h274 class StrictMock : public MockClass {
278 StrictMock() { in StrictMock() function
286 explicit StrictMock(const A1& a1) : MockClass(a1) { in StrictMock() function
291 StrictMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in StrictMock() function
297 StrictMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in StrictMock() function
303 StrictMock(const A1& a1, const A2& a2, const A3& a3, in StrictMock() function
310 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
318 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
326 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
335 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
[all …]
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dperiodic_sampler_test.cc31 using testing::StrictMock;
42 StrictMock<MockPeriodicSampler> sampler; in TEST()
63 StrictMock<MockPeriodicSampler> sampler; in TEST()
81 StrictMock<MockPeriodicSampler> sampler; in TEST()
91 StrictMock<MockPeriodicSampler> sampler; in TEST()
101 StrictMock<MockPeriodicSampler> sampler; in TEST()
115 StrictMock<MockPeriodicSampler> sampler; in TEST()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc31 using testing::StrictMock;
42 StrictMock<MockPeriodicSampler> sampler; in TEST()
63 StrictMock<MockPeriodicSampler> sampler; in TEST()
81 StrictMock<MockPeriodicSampler> sampler; in TEST()
91 StrictMock<MockPeriodicSampler> sampler; in TEST()
101 StrictMock<MockPeriodicSampler> sampler; in TEST()
115 StrictMock<MockPeriodicSampler> sampler; in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc31 using testing::StrictMock;
42 StrictMock<MockPeriodicSampler> sampler; in TEST()
63 StrictMock<MockPeriodicSampler> sampler; in TEST()
81 StrictMock<MockPeriodicSampler> sampler; in TEST()
91 StrictMock<MockPeriodicSampler> sampler; in TEST()
101 StrictMock<MockPeriodicSampler> sampler; in TEST()
115 StrictMock<MockPeriodicSampler> sampler; in TEST()
/external/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc31 using testing::StrictMock;
42 StrictMock<MockPeriodicSampler> sampler; in TEST()
63 StrictMock<MockPeriodicSampler> sampler; in TEST()
81 StrictMock<MockPeriodicSampler> sampler; in TEST()
91 StrictMock<MockPeriodicSampler> sampler; in TEST()
101 StrictMock<MockPeriodicSampler> sampler; in TEST()
115 StrictMock<MockPeriodicSampler> sampler; in TEST()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc31 using testing::StrictMock;
42 StrictMock<MockPeriodicSampler> sampler; in TEST()
63 StrictMock<MockPeriodicSampler> sampler; in TEST()
81 StrictMock<MockPeriodicSampler> sampler; in TEST()
91 StrictMock<MockPeriodicSampler> sampler; in TEST()
101 StrictMock<MockPeriodicSampler> sampler; in TEST()
115 StrictMock<MockPeriodicSampler> sampler; in TEST()
/external/webrtc/call/
Drtx_receive_stream_unittest.cc26 using ::testing::StrictMock;
115 StrictMock<MockRtpPacketSink> media_sink; in TEST()
132 StrictMock<MockRtpPacketSink> media_sink; in TEST()
146 StrictMock<MockRtpPacketSink> media_sink; in TEST()
157 StrictMock<MockRtpPacketSink> media_sink; in TEST()
166 StrictMock<MockRtpPacketSink> media_sink; in TEST()
193 StrictMock<MockRtpPacketSink> media_sink; in TEST()
204 StrictMock<MockRtpPacketSink> media_sink; in TEST()
233 StrictMock<MockRtpPacketSink> media_sink; in TEST()
/external/googletest/googlemock/include/gmock/
Dgmock-nice-strict.h77 class StrictMock; variable
85 std::true_type StrictnessModifierProbe(const StrictMock<T>&);
217 class GTEST_INTERNAL_EMPTY_BASE_CLASS StrictMock
227 StrictMock() : MockClass() { in StrictMock() function
240 explicit StrictMock(A&& arg) : MockClass(std::forward<A>(arg)) { in StrictMock() function
246 StrictMock(TArg1&& arg1, TArg2&& arg2, An&&... args) in StrictMock() function
254 GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
/external/perfetto/src/traced/service/
Dbuiltin_producer_unittest.cc35 using ::testing::StrictMock;
51 StrictMock<MockBuiltinProducer> p(&task_runner); in TEST()
70 StrictMock<MockBuiltinProducer> p(&task_runner); in TEST()
89 StrictMock<MockBuiltinProducer> p(&task_runner); in TEST()
111 StrictMock<MockBuiltinProducer> p(&task_runner); in TEST()
135 StrictMock<MockBuiltinProducer> p(&task_runner); in TEST()
/external/webrtc/modules/audio_processing/aec3/
Dblock_processor_unittest.cc34 using ::testing::StrictMock;
148 std::unique_ptr<testing::StrictMock<webrtc::test::MockRenderDelayBuffer>> in TEST()
150 new StrictMock<webrtc::test::MockRenderDelayBuffer>(rate, 1)); in TEST()
191 std::unique_ptr<testing::StrictMock<webrtc::test::MockRenderDelayBuffer>> in TEST()
193 new StrictMock<webrtc::test::MockRenderDelayBuffer>(rate, 1)); in TEST()
195 ::testing::StrictMock<webrtc::test::MockRenderDelayController>> in TEST()
197 new StrictMock<webrtc::test::MockRenderDelayController>()); in TEST()
198 std::unique_ptr<testing::StrictMock<webrtc::test::MockEchoRemover>> in TEST()
199 echo_remover_mock(new StrictMock<webrtc::test::MockEchoRemover>()); in TEST()
/external/webrtc/call/adaptation/
Dresource_unittest.cc24 using ::testing::StrictMock;
35 StrictMock<MockResourceListener> resource_listener; in TEST_F()
48 StrictMock<MockResourceListener> resource_listener; in TEST_F()
Dbroadcast_resource_listener_unittest.cc21 using ::testing::StrictMock;
32 StrictMock<MockResourceListener> listener; in TEST()
68 StrictMock<MockResourceListener> destination_listener1; in TEST()
69 StrictMock<MockResourceListener> destination_listener2; in TEST()
/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc41 testing::StrictMock<MockTask> mock_task_a; in TEST()
42 testing::StrictMock<MockTask> mock_task_b; in TEST()
43 testing::StrictMock<MockTask> mock_task_c; in TEST()
44 testing::StrictMock<MockTask> mock_task_d; in TEST()
45 testing::StrictMock<MockTask> mock_task_e; in TEST()
Ddelayed_task_manager_unittest.cc57 testing::StrictMock<MockTask> mock_task_;
148 testing::StrictMock<MockTask> mock_task_a; in TEST_F()
152 testing::StrictMock<MockTask> mock_task_b; in TEST_F()
156 testing::StrictMock<MockTask> mock_task_c; in TEST_F()
/external/webrtc/rtc_base/synchronization/
Dyield_policy_unittest.cc27 ::testing::StrictMock<MockYieldHandler> handler; in TEST()
46 ::testing::StrictMock<MockYieldHandler> local_handler; in TEST()
62 ::testing::StrictMock<MockYieldHandler> main_handler; in TEST()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_test.cc27 using ::testing::StrictMock;
56 testing::StrictMock<MockFuzzer> mock; in TEST()
71 testing::StrictMock<MockFuzzer> mock; in TEST()
84 testing::StrictMock<MockFuzzer> mock; in TEST()
/external/libbrillo/brillo/streams/
Dinput_stream_set_test.cc19 using testing::StrictMock;
27 itf1_.reset(new StrictMock<MockStream>{}); in SetUp()
28 itf2_.reset(new StrictMock<MockStream>{}); in SetUp()
38 std::unique_ptr<StrictMock<MockStream>> itf1_;
39 std::unique_ptr<StrictMock<MockStream>> itf2_;
/external/openscreen/cast/test/
Dcast_socket_e2e_test.cc40 using ::testing::StrictMock;
144 std::make_unique<StrictMock<SenderSocketsClient>>(sender_router_.get()); in SetUp()
164 receiver_client_ = std::make_unique<StrictMock<ReceiverSocketsClient>>( in SetUp()
258 std::unique_ptr<StrictMock<SenderSocketsClient>> sender_client_;
266 std::unique_ptr<StrictMock<ReceiverSocketsClient>> receiver_client_;
/external/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc29 using ::testing::StrictMock;
119 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
142 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
164 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
212 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
261 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
303 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
349 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
435 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
484 StrictMock<MockStatisticsCalculator> mock_stats; in TEST()
[all …]
/external/openscreen/discovery/dnssd/impl/
Dquerier_impl_unittest.cc89 using testing::StrictMock;
101 StrictMock<MockMdnsService>& service() { return mock_service_; } in service()
103 StrictMock<MockReportingClient>& reporting_client() { in reporting_client()
108 StrictMock<MockDnsDataGraph>& GetMockedGraph() { in GetMockedGraph()
110 graph_ = std::make_unique<StrictMock<MockDnsDataGraph>>(); in GetMockedGraph()
114 return static_cast<StrictMock<MockDnsDataGraph>&>(*graph_); in GetMockedGraph()
129 StrictMock<MockMdnsService> mock_service_;
130 StrictMock<MockReportingClient> reporting_client_;
215 StrictMock<MockCallback> callback;
249 StrictMock<MockCallback> callback2; in TEST_F()
[all …]

1234