From 1bee03704408fad8df334f6193267774bb21231b Mon Sep 17 00:00:00 2001 From: "scroggo@google.com" Date: Fri, 24 May 2013 18:12:17 +0000 Subject: Add path utils, plus a test for it. SkOSFile: Added class SkOSPath with functions for modifying strings representing path names. OSPathTest.cpp: Test of the new utilities. factory.cpp: Use SkPathJoin. gmmain and gm_expectations: Use SkOSPath::SkPathJoin instead of a local version. skimage_main.cpp: Use the new location of SkPathJoin and SkBasename. R=epoger@google.com Review URL: https://codereview.chromium.org/15747004 git-svn-id: http://skia.googlecode.com/svn/trunk@9277 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/gm_expectations.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gm/gm_expectations.h') diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h index 8efb986713..55122d4ab8 100644 --- a/gm/gm_expectations.h +++ b/gm/gm_expectations.h @@ -32,16 +32,6 @@ namespace skiagm { void gm_fprintf(FILE *stream, const char format[], ...); - /** - * Assembles rootPath and relativePath into a single path, like this: - * rootPath/relativePath - * - * Uses SkPATH_SEPARATOR, to work on all platforms. - * - * TODO(epoger): This should probably move into SkOSFile.h - */ - SkString SkPathJoin(const char *rootPath, const char *relativePath); - Json::Value CreateJsonTree(Json::Value expectedResults, Json::Value actualResultsFailed, Json::Value actualResultsFailureIgnored, -- cgit v1.2.3