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

Issue 830513004: Simplify skiatest framework. (Closed)

Created:
5 years, 11 months ago by hal.canary
Modified:
5 years, 11 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Simplify skiatest framework. skiatest::Test class is now a simple struct. Some functionalty, such as counting errors or timing is now handled elsewhere. skiatest:Reporter is now a simpler abstract class. The two implementations handle test errors. DM and pathops_unittest updated. Committed: https://skia.googlesource.com/skia/+/87f3ba4847aa575016eb3a21e944197d757df8c0

Patch Set 1 #

Total comments: 24

Patch Set 2 : mtklein comments #

Total comments: 25

Patch Set 3 : Another Patch Set #

Total comments: 6

Patch Set 4 : Another Patch Set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -365 lines) Patch
M dm/DM.cpp View 1 2 3 2 chunks +24 lines, -30 lines 0 comments Download
M tests/DataRefTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/DocumentTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/LListTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M tests/MetaDataTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M tests/StreamTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/Test.h View 1 2 2 chunks +65 lines, -168 lines 0 comments Download
M tests/Test.cpp View 1 2 3 1 chunk +14 lines, -94 lines 0 comments Download
M tests/skia_test.cpp View 1 2 3 4 chunks +80 lines, -69 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
hal.canary
ptal
5 years, 11 months ago (2015-01-15 19:52:56 UTC) #2
mtklein
big fan, many nits https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp#newcode26 dm/DM.cpp:26: DEFINE_string2(tmpDir, t, NULL, "tmp directory ...
5 years, 11 months ago (2015-01-15 23:46:46 UTC) #3
hal.canary
https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp#newcode357 dm/DM.cpp:357: int fErrorCount; On 2015/01/15 23:46:46, mtklein wrote: > Where ...
5 years, 11 months ago (2015-01-15 23:55:14 UTC) #4
hal.canary
https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/1/dm/DM.cpp#newcode26 dm/DM.cpp:26: DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use."); ...
5 years, 11 months ago (2015-01-16 15:31:58 UTC) #5
mtklein
https://codereview.chromium.org/830513004/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/20001/dm/DM.cpp#newcode376 dm/DM.cpp:376: SkString getTmpDir() const SK_OVERRIDE { return sk_tools::GetTmpDir(); } Why ...
5 years, 11 months ago (2015-01-18 22:57:55 UTC) #6
hal.canary
https://codereview.chromium.org/830513004/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/20001/dm/DM.cpp#newcode376 dm/DM.cpp:376: SkString getTmpDir() const SK_OVERRIDE { return sk_tools::GetTmpDir(); } On ...
5 years, 11 months ago (2015-01-20 16:01:52 UTC) #7
mtklein
lgtm https://codereview.chromium.org/830513004/diff/40001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/40001/dm/DM.cpp#newcode393 dm/DM.cpp:393: return FLAGS_pathOpsExtended; One line? https://codereview.chromium.org/830513004/diff/40001/dm/DM.cpp#newcode397 dm/DM.cpp:397: reporter; usually ...
5 years, 11 months ago (2015-01-20 16:16:54 UTC) #8
hal.canary
https://codereview.chromium.org/830513004/diff/40001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/830513004/diff/40001/dm/DM.cpp#newcode393 dm/DM.cpp:393: return FLAGS_pathOpsExtended; On 2015/01/20 16:16:53, mtklein wrote: > One ...
5 years, 11 months ago (2015-01-20 16:21:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830513004/60001
5 years, 11 months ago (2015-01-20 16:22:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/1629) Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/1601)
5 years, 11 months ago (2015-01-20 16:23:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830513004/100001
5 years, 11 months ago (2015-01-20 17:27:36 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-20 17:30:24 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/87f3ba4847aa575016eb3a21e944197d757df8c0

Powered by Google App Engine
This is Rietveld 408576698