Home
last modified time | relevance | path

Searched refs:MockConnection (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/components/proximity_auth/
Dconnection_unittest.cc23 class MockConnection : public Connection { class
25 MockConnection() : Connection(RemoteDevice()) {} in MockConnection() function in proximity_auth::__anon30a6414f0111::MockConnection
26 ~MockConnection() {} in ~MockConnection()
53 DISALLOW_COPY_AND_ASSIGN(MockConnection);
89 StrictMock<MockConnection> connection; in TEST()
103 StrictMock<MockConnection> connection; in TEST()
112 NiceMock<MockConnection> connection; in TEST()
121 StrictMock<MockConnection> connection; in TEST()
130 NiceMock<MockConnection> connection; in TEST()
140 StrictMock<MockConnection> connection; in TEST()
[all …]
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_utils.cc38 MockConnection::MockConnection(bool is_server) in MockConnection() function in net::tools::test::MockConnection
48 MockConnection::MockConnection(IPEndPoint address, in MockConnection() function in net::tools::test::MockConnection
58 MockConnection::MockConnection(QuicConnectionId connection_id, in MockConnection() function in net::tools::test::MockConnection
69 MockConnection::MockConnection(bool is_server, in MockConnection() function in net::tools::test::MockConnection
80 MockConnection::~MockConnection() { in ~MockConnection()
83 void MockConnection::AdvanceTime(QuicTime::Delta delta) { in AdvanceTime()
Dquic_test_utils.h42 class MockConnection : public QuicConnection {
45 explicit MockConnection(bool is_server);
48 MockConnection(IPEndPoint address, bool is_server);
51 MockConnection(QuicConnectionId connection_id, bool is_server);
54 MockConnection(bool is_server, const QuicVersionVector& supported_versions);
56 virtual ~MockConnection();
94 DISALLOW_COPY_AND_ASSIGN(MockConnection);
/external/chromium_org/net/tools/quic/
Dquic_dispatcher_test.cc30 using net::tools::test::MockConnection;
68 class MockServerConnection : public MockConnection {
72 : MockConnection(connection_id, true), in MockServerConnection()
93 EXPECT_CALL(*reinterpret_cast<MockConnection*>((*session)->connection()), in CreateSession()
112 MockConnection* connection1() { in connection1()
113 return reinterpret_cast<MockConnection*>(session1_->connection()); in connection1()
116 MockConnection* connection2() { in connection2()
117 return reinterpret_cast<MockConnection*>(session2_->connection()); in connection2()
164 EXPECT_CALL(*reinterpret_cast<MockConnection*>(session1_->connection()), in TEST_F()
180 EXPECT_CALL(*reinterpret_cast<MockConnection*>(session1_->connection()), in TEST_F()
[all …]
Dquic_client_session_test.cc27 using net::tools::test::MockConnection;
126 EXPECT_CALL(*reinterpret_cast<MockConnection*>(session_->connection()), in TEST_P()
129 Invoke(reinterpret_cast<MockConnection*>(session_->connection()), in TEST_P()
130 &MockConnection::ReallyProcessUdpPacket)); in TEST_P()
Dquic_spdy_client_stream_test.cc30 : connection_(new StrictMock<MockConnection>( in QuicSpdyClientStreamTest()
55 StrictMock<MockConnection>* connection_;
Dquic_spdy_server_stream_test.cc24 using net::tools::test::MockConnection;
74 : connection_(new StrictMock<MockConnection>( in QuicSpdyServerStreamTest()
140 StrictMock<MockConnection>* connection_;
Dquic_server_session_test.cc27 using net::test::MockConnection;
82 new StrictMock<MockConnection>(true, SupportedVersions(GetParam())); in QuicServerSessionTest()
95 StrictMock<MockConnection>* connection_;
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.cc241 MockConnection::MockConnection(bool is_server) in MockConnection() function in net::test::MockConnection
251 MockConnection::MockConnection(IPEndPoint address, in MockConnection() function in net::test::MockConnection
261 MockConnection::MockConnection(QuicConnectionId connection_id, in MockConnection() function in net::test::MockConnection
272 MockConnection::MockConnection(bool is_server, in MockConnection() function in net::test::MockConnection
283 MockConnection::~MockConnection() { in ~MockConnection()
286 void MockConnection::AdvanceTime(QuicTime::Delta delta) { in AdvanceTime()
291 : MockConnection(is_server) { in PacketSavingConnection()
297 : MockConnection(is_server, supported_versions) { in PacketSavingConnection()
Dquic_test_utils.h270 class MockConnection : public QuicConnection {
273 explicit MockConnection(bool is_server);
276 MockConnection(IPEndPoint address, bool is_server);
279 MockConnection(QuicConnectionId connection_id, bool is_server);
282 MockConnection(bool is_server, const QuicVersionVector& supported_versions);
284 virtual ~MockConnection();
322 DISALLOW_COPY_AND_ASSIGN(MockConnection);
325 class PacketSavingConnection : public MockConnection {
/external/chromium_org/net/quic/
Dquic_crypto_stream_test.cc50 : connection_(new MockConnection(false)), in QuicCryptoStreamTest()
65 MockConnection* connection_;
Dquic_flow_controller_test.cc44 MockConnection connection_;
125 MockConnection connection(false); in TEST_F()
Dquic_headers_stream_test.cc83 : connection_(new StrictMock<MockConnection>(is_server(), GetVersions())), in QuicHeadersStreamTest()
176 StrictMock<MockConnection>* connection_;
Dquic_reliable_client_stream_test.cc45 : session_(new MockConnection(false, SupportedVersions(GetParam()))) { in QuicReliableClientStreamTest()
Dquic_stream_sequencer_test.cc63 : connection_(new MockConnection(false)), in QuicStreamSequencerTest()
127 MockConnection* connection_;
Dquic_data_stream_test.cc94 connection_ = new testing::StrictMock<MockConnection>( in Initialize()
106 MockConnection* connection_;
Dreliable_quic_stream_test.cc113 new StrictMock<MockConnection>(kIsServer, supported_versions_); in Initialize()
142 MockConnection* connection_;
Dquic_session_test.cc191 : connection_(new MockConnection(true, SupportedVersions(GetParam()))), in QuicSessionTest()
245 MockConnection* connection_;