1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-09 20:49:10 -04:00

relocate mocks

This commit is contained in:
Darien Raymond
2018-10-23 22:27:45 +02:00
parent 0c6fc2b946
commit 5fc606ce9d
4 changed files with 100 additions and 2 deletions

View File

@@ -2,4 +2,5 @@ package core
//go:generate go get -u github.com/golang/mock/gomock
//go:generate go install github.com/golang/mock/mockgen
//go:generate mockgen -package mocks -destination v2ray.com/core/features/mocks/dns.go v2ray.com/core/features/dns Client
//go:generate mockgen -package mocks -destination v2ray.com/core/testing/mocks/dns.go -mock_names Client=MockDNSClient v2ray.com/core/features/dns Client
//go:generate mockgen -package mocks -destination v2ray.com/core/testing/mocks/proxy.go -mock_names Inbound=MockProxyInbound,Outbound=MockProxyOutbound v2ray.com/core/proxy Inbound,Outbound