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

Issue 95550046: Remove juju-core dependencies from filetesting.

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

Description

Remove juju-core dependencies from filetesting. In order to move the testing/filetesting package to Github, we need to remove its juju-core dependencies. Moved the IsNotExist function from utils to filetesting. If required, the function can be restored in the original place once we also have utils in its own project. https://code.launchpad.net/~frankban/juju-core/filetesting-deps/+merge/220660 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 8

Patch Set 2 : Remove juju-core dependencies from filetesting. #

Total comments: 2

Patch Set 3 : Remove juju-core dependencies from filetesting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -44 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M testing/filetesting/filetesting.go View 1 2 chunks +2 lines, -4 lines 0 comments Download
M testing/filetesting/filetesting_test.go View 1 chunk +0 lines, -3 lines 0 comments Download
A testing/filetesting/isnotexist_test.go View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A testing/filetesting/isnotexist_unix.go View 1 1 chunk +27 lines, -0 lines 0 comments Download
A testing/filetesting/isnotexist_windows.go View 1 1 chunk +14 lines, -0 lines 0 comments Download
M utils/file_test.go View 1 1 chunk +0 lines, -13 lines 0 comments Download
M utils/file_unix.go View 1 2 chunks +0 lines, -18 lines 0 comments Download
M utils/file_windows.go View 1 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
11 years, 7 months ago (2014-05-22 14:21:29 UTC) #1
rog
LGTM modulo a few considerations below. https://codereview.appspot.com/95550046/diff/1/testing/filetesting/file_unix.go File testing/filetesting/file_unix.go (right): https://codereview.appspot.com/95550046/diff/1/testing/filetesting/file_unix.go#newcode1 testing/filetesting/file_unix.go:1: // Copyright 2014 ...
11 years, 7 months ago (2014-05-22 16:49:51 UTC) #2
frankban
Please take a look. https://codereview.appspot.com/95550046/diff/1/testing/filetesting/file_unix.go File testing/filetesting/file_unix.go (right): https://codereview.appspot.com/95550046/diff/1/testing/filetesting/file_unix.go#newcode1 testing/filetesting/file_unix.go:1: // Copyright 2014 Canonical Ltd. ...
11 years, 7 months ago (2014-05-22 17:12:59 UTC) #3
rog
still LGTM https://codereview.appspot.com/95550046/diff/20001/testing/filetesting/isnotexist_test.go File testing/filetesting/isnotexist_test.go (right): https://codereview.appspot.com/95550046/diff/20001/testing/filetesting/isnotexist_test.go#newcode15 testing/filetesting/isnotexist_test.go:15: type fileSuite struct{} isNotExistSuite ?
11 years, 7 months ago (2014-05-22 17:16:36 UTC) #4
frankban
11 years, 7 months ago (2014-05-22 17:22:15 UTC) #5
Please take a look.

https://codereview.appspot.com/95550046/diff/20001/testing/filetesting/isnote...
File testing/filetesting/isnotexist_test.go (right):

https://codereview.appspot.com/95550046/diff/20001/testing/filetesting/isnote...
testing/filetesting/isnotexist_test.go:15: type fileSuite struct{}
On 2014/05/22 17:16:36, rog wrote:
> isNotExistSuite ?

Ah! Right. Thanks for the review!
Sign in to reply to this message.

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