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

Issue 439863004: Initial import of unittests using GTest/GMock. (Closed)

Created:
6 years, 4 months ago by Benedikt Meurer
Modified:
6 years, 4 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Initial import of unittests using GTest/GMock. R=jochen@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22847

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix invalid EXPECT_EQ #

Total comments: 8

Patch Set 3 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -6 lines) Patch
M build/all.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + test/unittests/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/compiler/arm/test-instruction-selector-arm.cc View 1 chunk +12 lines, -0 lines 0 comments Download
A test/unittests/compiler/test-instruction-selector.h View 1 chunk +88 lines, -0 lines 0 comments Download
A test/unittests/compiler/test-instruction-selector.cc View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A test/unittests/test-isolate.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A test/unittests/test-isolate.cc View 1 chunk +39 lines, -0 lines 0 comments Download
A test/unittests/test-zone.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A test/unittests/test-zone.cc View 1 chunk +17 lines, -0 lines 0 comments Download
A test/unittests/testcfg.py View 1 chunk +51 lines, -0 lines 0 comments Download
A test/unittests/unittests.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A test/unittests/unittests.cc View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A test/unittests/unittests.gyp View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A test/unittests/unittests.status View 1 chunk +6 lines, -0 lines 0 comments Download
M testing/gtest.gyp View 1 chunk +0 lines, -3 lines 0 comments Download
M tools/presubmit.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M tools/run-tests.py View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Benedikt Meurer
PTAL
6 years, 4 months ago (2014-08-05 07:06:44 UTC) #1
Benedikt Meurer
6 years, 4 months ago (2014-08-05 07:07:45 UTC) #2
Sven Panne
lgtm https://codereview.chromium.org/439863004/diff/1/tools/presubmit.py File tools/presubmit.py (right): https://codereview.chromium.org/439863004/diff/1/tools/presubmit.py#newcode239 tools/presubmit.py:239: return ['src', 'include', 'samples', join('test', 'cctest'), join('test', 'unittests')] ...
6 years, 4 months ago (2014-08-05 07:20:16 UTC) #3
jochen (gone - plz use gerrit)
why not put the unitttests next to the actually tested files? And name them foo_unittests.cc ...
6 years, 4 months ago (2014-08-05 07:36:20 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/439863004/diff/20001/test/unittests/test-isolate.h File test/unittests/test-isolate.h (right): https://codereview.chromium.org/439863004/diff/20001/test/unittests/test-isolate.h#newcode20 test/unittests/test-isolate.h:20: ~IsolateTest(); On 2014/08/05 07:36:19, jochen wrote: > i bet ...
6 years, 4 months ago (2014-08-05 08:01:53 UTC) #5
Benedikt Meurer
https://codereview.chromium.org/439863004/diff/1/tools/presubmit.py File tools/presubmit.py (right): https://codereview.chromium.org/439863004/diff/1/tools/presubmit.py#newcode239 tools/presubmit.py:239: return ['src', 'include', 'samples', join('test', 'cctest'), join('test', 'unittests')] On ...
6 years, 4 months ago (2014-08-05 08:06:03 UTC) #6
jochen (gone - plz use gerrit)
lgtm
6 years, 4 months ago (2014-08-05 08:07:00 UTC) #7
Benedikt Meurer
6 years, 4 months ago (2014-08-05 08:07:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as 22847 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698