Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 155842: Add unit test for chrome\installer\util\version (Closed)

Created:
11 years, 5 months ago by sra
Modified:
9 years, 7 months ago
Reviewers:
kuchhal
CC:
chromium-reviews_googlegroups.com, kuchhal
Visibility:
Public.

Description

Add unit test for chrome\installer\util\version BUG=none TEST=this Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21229

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -0 lines) Patch
M chrome/installer/installer.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/installer/util/version_unittest.cc View 1 2 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sra
Hi Rahul, I wrote this test some while ago when I was trying to figure ...
11 years, 5 months ago (2009-07-21 05:43:30 UTC) #1
kuchhal
lgtm, thanks for adding this. some nits below. http://codereview.chromium.org/155842/diff/4/6 File chrome/installer/util/version_unittest.cc (right): http://codereview.chromium.org/155842/diff/4/6#newcode12 Line 12: ...
11 years, 5 months ago (2009-07-21 16:09:22 UTC) #2
sra
11 years, 5 months ago (2009-07-21 23:19:19 UTC) #3
I'll submit when the tree opens.

http://codereview.chromium.org/155842/diff/4/6
File chrome/installer/util/version_unittest.cc (right):

http://codereview.chromium.org/155842/diff/4/6#newcode12
Line 12: static const installer::Version* no_version = NULL;
On 2009/07/21 16:09:22, kuchhal wrote:
> rename to kNoVersion?

Done.

http://codereview.chromium.org/155842/diff/4/6#newcode14
Line 14: TEST(VersionTests, Parse) {
On 2009/07/21 16:09:22, kuchhal wrote:
> I think the convention is to name the class as VersionTest not VersionTests

Done.

http://codereview.chromium.org/155842/diff/4/6#newcode24
Line 24: delete v1;
On 2009/07/21 16:09:22, kuchhal wrote:
> use a scoped_ptr instead?

Done.

Powered by Google App Engine
This is Rietveld 408576698