mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
simplify mockgen usage for private interfaces (#3769)
This commit is contained in:
parent
379e7ec848
commit
c9a2f79b1c
35 changed files with 325 additions and 310 deletions
|
@ -1,5 +1,5 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: send_queue.go
|
||||
// Source: github.com/quic-go/quic-go (interfaces: Sender)
|
||||
|
||||
// Package quic is a generated GoMock package.
|
||||
package quic
|
||||
|
@ -74,15 +74,15 @@ func (mr *MockSenderMockRecorder) Run() *gomock.Call {
|
|||
}
|
||||
|
||||
// Send mocks base method.
|
||||
func (m *MockSender) Send(p *packetBuffer) {
|
||||
func (m *MockSender) Send(arg0 *packetBuffer) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "Send", p)
|
||||
m.ctrl.Call(m, "Send", arg0)
|
||||
}
|
||||
|
||||
// Send indicates an expected call of Send.
|
||||
func (mr *MockSenderMockRecorder) Send(p interface{}) *gomock.Call {
|
||||
func (mr *MockSenderMockRecorder) Send(arg0 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockSender)(nil).Send), p)
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockSender)(nil).Send), arg0)
|
||||
}
|
||||
|
||||
// WouldBlock mocks base method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue