mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use mockgen source mode
This commit is contained in:
parent
383f1a6e89
commit
efe6d02bef
24 changed files with 146 additions and 111 deletions
|
@ -1,5 +1,5 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/lucas-clemente/quic-go (interfaces: Sender)
|
||||
// Source: send_queue.go
|
||||
|
||||
// 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(arg0 *packetBuffer) {
|
||||
func (m *MockSender) Send(p *packetBuffer) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "Send", arg0)
|
||||
m.ctrl.Call(m, "Send", p)
|
||||
}
|
||||
|
||||
// Send indicates an expected call of Send.
|
||||
func (mr *MockSenderMockRecorder) Send(arg0 interface{}) *gomock.Call {
|
||||
func (mr *MockSenderMockRecorder) Send(p interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockSender)(nil).Send), arg0)
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockSender)(nil).Send), p)
|
||||
}
|
||||
|
||||
// WouldBlock mocks base method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue