Move flow control mocks to a separate package

This allows the other mocks to be used in the FC tests.
This commit is contained in:
Lucas Clemente
2017-06-09 12:08:26 +02:00
parent 050358bbc5
commit 8b6a662223
5 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
package mocks
//go:generate mockgen -destination flow_control_manager.go -package mocks github.com/lucas-clemente/quic-go/flowcontrol FlowControlManager
//go:generate mockgen -destination mocks_fc/flow_control_manager.go -package mocks_fc github.com/lucas-clemente/quic-go/flowcontrol FlowControlManager
//go:generate mockgen -destination cpm.go -package mocks github.com/lucas-clemente/quic-go/handshake ConnectionParametersManager

View File

@@ -1,7 +1,7 @@
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/lucas-clemente/quic-go/flowcontrol (interfaces: FlowControlManager)
package mocks
package mocks_fc
import (
gomock "github.com/golang/mock/gomock"