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

Side by Side Diff: tools/ToolUtils.h

Issue 19807005: refactor duplication (shouldSkip and skip_name) into a utility function (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Forgot to add new files.. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/skia_test.cpp ('k') | tools/ToolUtils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef ToolUtils_DEFINED
2 #define ToolUtils_DEFINED
3
4 #include "SkTDArray.h"
5
6 /* Takes a list of the form [~][^]match[$]
7 ~ causes a matching test to always be skipped
8 ^ requires the start of the test to match
9 $ requires the end of the test to match
10 ^ and $ requires an exact match
11 If a test does not match any list entry, it is skipped unless some list entry starts with ~
12 */
13 bool shouldSkip(const SkTDArray<const char*>& strings, const char* name);
reed1 2013/07/23 14:01:40 1. This file name is slightly odd, in that it has
14
15 #endif
OLDNEW
« no previous file with comments | « tests/skia_test.cpp ('k') | tools/ToolUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698