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

Issue 7232065: testutil: new package for test clean up

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by niemeyer
Modified:
11 years, 3 months ago
Reviewers:
mp+145878, rog
Visibility:
Public.

Description

testutil: new package for test clean up Killed all the repetition in suite_test files, and improved the implementation of the test HTTP server. A few test bugs were also fixed on the way. https://code.launchpad.net/~niemeyer/goamz/testing-cleanup/+merge/145878 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : testutil: new package for test clean up #

Patch Set 3 : testutil: new package for test clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -1143 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M aws/aws_test.go View 1 chunk +5 lines, -0 lines 0 comments Download
D aws/suite_test.go View 1 chunk +0 lines, -139 lines 0 comments Download
M ec2/ec2.go View 7 chunks +17 lines, -17 lines 0 comments Download
M ec2/ec2_test.go View 25 chunks +38 lines, -27 lines 0 comments Download
M ec2/ec2i_test.go View 2 chunks +2 lines, -4 lines 0 comments Download
M ec2/ec2t_test.go View 1 5 chunks +5 lines, -8 lines 0 comments Download
M ec2/ec2test/filter.go View 1 chunk +2 lines, -2 lines 0 comments Download
M ec2/ec2test/server.go View 1 1 chunk +12 lines, -12 lines 0 comments Download
M ec2/sign.go View 1 1 chunk +4 lines, -4 lines 0 comments Download
D ec2/suite_test.go View 1 chunk +0 lines, -118 lines 0 comments Download
M exp/mturk/mturk.go View 4 chunks +5 lines, -5 lines 0 comments Download
M exp/mturk/mturk_test.go View 3 chunks +15 lines, -4 lines 0 comments Download
D exp/mturk/suite_test.go View 1 chunk +0 lines, -120 lines 0 comments Download
M exp/sdb/sdb.go View 3 chunks +3 lines, -3 lines 0 comments Download
M exp/sdb/sdb_test.go View 8 chunks +21 lines, -10 lines 0 comments Download
D exp/sdb/suite_test.go View 1 chunk +0 lines, -139 lines 0 comments Download
M exp/sns/sns_test.go View 1 chunk +13 lines, -2 lines 0 comments Download
D exp/sns/suite_test.go View 1 chunk +0 lines, -200 lines 0 comments Download
M iam/iam_test.go View 5 chunks +18 lines, -7 lines 0 comments Download
M iam/iami_test.go View 2 chunks +2 lines, -4 lines 0 comments Download
D iam/suite_test.go View 1 chunk +0 lines, -128 lines 0 comments Download
M s3/s3.go View 8 chunks +18 lines, -13 lines 0 comments Download
M s3/s3_test.go View 11 chunks +25 lines, -14 lines 0 comments Download
M s3/s3i_test.go View 8 chunks +18 lines, -24 lines 0 comments Download
D s3/suite_test.go View 1 chunk +0 lines, -139 lines 0 comments Download
A testutil/http.go View 1 chunk +174 lines, -0 lines 0 comments Download
A testutil/suite.go View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 7
niemeyer
Please take a look.
11 years, 3 months ago (2013-01-31 15:01:04 UTC) #1
rog
LGTM except for the query about the default security group test. nice to see all ...
11 years, 3 months ago (2013-01-31 15:42:43 UTC) #2
niemeyer
https://codereview.appspot.com/7232065/diff/1/ec2/ec2t_test.go File ec2/ec2t_test.go (right): https://codereview.appspot.com/7232065/diff/1/ec2/ec2t_test.go#newcode447 ec2/ec2t_test.go:447: //resp, err := s.ec2.SecurityGroups([]ec2.SecurityGroup{{Name: "default"}}, nil) On 2013/01/31 15:42:43, ...
11 years, 3 months ago (2013-01-31 15:58:33 UTC) #3
rog
On 31 January 2013 15:58, <n13m3y3r@gmail.com> wrote: > > https://codereview.appspot.com/7232065/diff/1/ec2/ec2t_test.go > File ec2/ec2t_test.go (right): > ...
11 years, 3 months ago (2013-01-31 17:01:29 UTC) #4
niemeyer
On 2013/01/31 17:01:29, rog wrote: > The default is created by automatically, can't be removed, ...
11 years, 3 months ago (2013-01-31 17:03:47 UTC) #5
niemeyer
Please take a look. https://codereview.appspot.com/7232065/diff/1/ec2/ec2test/server.go File ec2/ec2test/server.go (right): https://codereview.appspot.com/7232065/diff/1/ec2/ec2test/server.go#newcode420 ec2/ec2test/server.go:420: // ImageId: accept anything, we ...
11 years, 3 months ago (2013-01-31 17:07:03 UTC) #6
niemeyer
11 years, 3 months ago (2013-01-31 17:12:04 UTC) #7
*** Submitted:

testutil: new package for test clean up

Killed all the repetition in suite_test files, and improved the
implementation of the test HTTP server.

A few test bugs were also fixed on the way.

R=rog
CC=
https://codereview.appspot.com/7232065
Sign in to reply to this message.

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