Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(773)

Issue 7369052: code review 7369052: net: make use of testing.B.Skip and reflect.DeepEqual i... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by mikio
Modified:
12 years, 3 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net
Visibility:
Public.

Description

net: make use of testing.B.Skip and reflect.DeepEqual in test This CL addresses the comments on CL 7368046 that I've overlooked. Update issue 4866.

Patch Set 1 #

Patch Set 2 : diff -r a3c0a11b128a https://code.google.com/p/go #

Total comments: 2

Patch Set 3 : diff -r a3c0a11b128a https://code.google.com/p/go #

Total comments: 4

Patch Set 4 : diff -r a3c0a11b128a https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -21 lines) Patch
M src/pkg/net/interface_test.go View 1 2 3 7 chunks +12 lines, -21 lines 0 comments Download

Messages

Total messages: 8
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 3 months ago (2013-02-25 11:07:34 UTC) #1
dave_cheney.net
Thank you for addressing these points. This is very close. https://codereview.appspot.com/7369052/diff/3001/src/pkg/net/interface_test.go File src/pkg/net/interface_test.go (right): https://codereview.appspot.com/7369052/diff/3001/src/pkg/net/interface_test.go#newcode13 ...
12 years, 3 months ago (2013-02-25 11:14:36 UTC) #2
mikio
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 3 months ago (2013-02-25 11:27:23 UTC) #3
dave_cheney.net
LGTM. A few final comments. https://codereview.appspot.com/7369052/diff/7002/src/pkg/net/interface_test.go File src/pkg/net/interface_test.go (right): https://codereview.appspot.com/7369052/diff/7002/src/pkg/net/interface_test.go#newcode14 src/pkg/net/interface_test.go:14: // found. It returns ...
12 years, 3 months ago (2013-02-25 11:34:52 UTC) #4
mikio
thanks for your review. I guess we can use existing mock ICMP stuff and this ...
12 years, 3 months ago (2013-02-25 11:42:52 UTC) #5
dave_cheney.net
> in that case we can't use loopbackInterface for other tests. What if you made ...
12 years, 3 months ago (2013-02-25 11:55:12 UTC) #6
mikio
On Mon, Feb 25, 2013 at 8:55 PM, <dave@cheney.net> wrote: > What if you made ...
12 years, 3 months ago (2013-02-25 12:45:44 UTC) #7
mikio
12 years, 3 months ago (2013-02-25 14:05:50 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=cac5b17d8699 ***

net: make use of testing.B.Skip and reflect.DeepEqual in test

This CL addresses the comments on CL 7368046 that I've overlooked.

Update issue 4866.

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7369052

https://codereview.appspot.com/7369052/diff/7002/src/pkg/net/interface_test.go
File src/pkg/net/interface_test.go (right):

https://codereview.appspot.com/7369052/diff/7002/src/pkg/net/interface_test.g...
src/pkg/net/interface_test.go:14: // found.
On 2013/02/25 11:34:52, dfc wrote:
> It returns nil if no suitable interface is found.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b