/external/chromium_org/components/proximity_auth/ |
D | connection_unittest.cc | 23 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/ |
D | quic_test_utils.cc | 38 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()
|
D | quic_test_utils.h | 42 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/ |
D | quic_dispatcher_test.cc | 30 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 …]
|
D | quic_client_session_test.cc | 27 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()
|
D | quic_spdy_client_stream_test.cc | 30 : connection_(new StrictMock<MockConnection>( in QuicSpdyClientStreamTest() 55 StrictMock<MockConnection>* connection_;
|
D | quic_spdy_server_stream_test.cc | 24 using net::tools::test::MockConnection; 74 : connection_(new StrictMock<MockConnection>( in QuicSpdyServerStreamTest() 140 StrictMock<MockConnection>* connection_;
|
D | quic_server_session_test.cc | 27 using net::test::MockConnection; 82 new StrictMock<MockConnection>(true, SupportedVersions(GetParam())); in QuicServerSessionTest() 95 StrictMock<MockConnection>* connection_;
|
/external/chromium_org/net/quic/test_tools/ |
D | quic_test_utils.cc | 241 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()
|
D | quic_test_utils.h | 270 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/ |
D | quic_crypto_stream_test.cc | 50 : connection_(new MockConnection(false)), in QuicCryptoStreamTest() 65 MockConnection* connection_;
|
D | quic_flow_controller_test.cc | 44 MockConnection connection_; 125 MockConnection connection(false); in TEST_F()
|
D | quic_headers_stream_test.cc | 83 : connection_(new StrictMock<MockConnection>(is_server(), GetVersions())), in QuicHeadersStreamTest() 176 StrictMock<MockConnection>* connection_;
|
D | quic_reliable_client_stream_test.cc | 45 : session_(new MockConnection(false, SupportedVersions(GetParam()))) { in QuicReliableClientStreamTest()
|
D | quic_stream_sequencer_test.cc | 63 : connection_(new MockConnection(false)), in QuicStreamSequencerTest() 127 MockConnection* connection_;
|
D | quic_data_stream_test.cc | 94 connection_ = new testing::StrictMock<MockConnection>( in Initialize() 106 MockConnection* connection_;
|
D | reliable_quic_stream_test.cc | 113 new StrictMock<MockConnection>(kIsServer, supported_versions_); in Initialize() 142 MockConnection* connection_;
|
D | quic_session_test.cc | 191 : connection_(new MockConnection(true, SupportedVersions(GetParam()))), in QuicSessionTest() 245 MockConnection* connection_;
|