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

Issue 16098011: Fix bug in setting directories for tests. (Closed)

Created:
7 years, 6 months ago by scroggo
Modified:
7 years, 6 months ago
Reviewers:
epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix bug in setting directories for tests. make_canonical_dir_path only worked if the provided directory did not end with a slash. Remove this function, and call SkPathJoin instead. Update the documentation to acknowledge that this is an acceptable use of SkPathJoin, and update its test. R=epoger@google.com Committed: https://code.google.com/p/skia/source/detail?r=9458

Patch Set 1 #

Total comments: 3

Patch Set 2 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -46 lines) Patch
M include/core/SkOSFile.h View 1 chunk +3 lines, -1 line 0 comments Download
M tests/OSPathTest.cpp View 2 chunks +11 lines, -0 lines 0 comments Download
M tests/StreamTest.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tests/Test.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/skia_test.cpp View 1 4 chunks +16 lines, -39 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scroggo
7 years, 6 months ago (2013-06-03 19:15:34 UTC) #1
epoger
LGTM* https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp File tests/skia_test.cpp (right): https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp#newcode115 tests/skia_test.cpp:115: static SkString gTmpDir; Hey, if this change fixes ...
7 years, 6 months ago (2013-06-04 15:15:34 UTC) #2
scroggo
https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp File tests/skia_test.cpp (right): https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp#newcode115 tests/skia_test.cpp:115: static SkString gTmpDir; On 2013/06/04 15:15:34, epoger wrote: > ...
7 years, 6 months ago (2013-06-04 19:50:39 UTC) #3
epoger
LGTM https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp File tests/skia_test.cpp (right): https://codereview.chromium.org/16098011/diff/1/tests/skia_test.cpp#newcode115 tests/skia_test.cpp:115: static SkString gTmpDir; On 2013/06/04 19:50:39, scroggo wrote: ...
7 years, 6 months ago (2013-06-05 14:34:14 UTC) #4
scroggo
7 years, 6 months ago (2013-06-06 15:00:00 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r9458 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698