diff options
author | Arthur Sfez <asfez@google.com> | 2020-09-22 15:04:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-22 15:06:16 -0700 |
commit | cf3cef1171bdfb41a27d563eb368d4488e0b99f1 (patch) | |
tree | 734bce9fbb5016aa5696cbaa9cfc565a2eed8a45 /pkg/tcpip/network/testutil/BUILD | |
parent | 20dc83c9ecde1c4e99e10023c79008420fa0601f (diff) |
Refactor testutil.TestEndpoint and use it instead of limitedEP
The new testutil.MockLinkEndpoint implementation is not composed by
channel.Channel anymore because none of its features were used.
PiperOrigin-RevId: 333167753
Diffstat (limited to 'pkg/tcpip/network/testutil/BUILD')
-rw-r--r-- | pkg/tcpip/network/testutil/BUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/tcpip/network/testutil/BUILD b/pkg/tcpip/network/testutil/BUILD index e218563d0..c9e57dc0d 100644 --- a/pkg/tcpip/network/testutil/BUILD +++ b/pkg/tcpip/network/testutil/BUILD @@ -7,11 +7,14 @@ go_library( srcs = [ "testutil.go", ], - visibility = ["//pkg/tcpip/network/ipv4:__pkg__"], + visibility = [ + "//pkg/tcpip/network/ipv4:__pkg__", + "//pkg/tcpip/network/ipv6:__pkg__", + ], deps = [ "//pkg/tcpip", "//pkg/tcpip/buffer", - "//pkg/tcpip/link/channel", + "//pkg/tcpip/header", "//pkg/tcpip/stack", ], ) |