1c99ea8ed8
BUG=None TEST=make tests && out/Debug/tests R=epoger@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/321693002
20 lines
451 B
C++
20 lines
451 B
C++
/*
|
|
* Copyright 2012 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#include "picture_utils.h"
|
|
|
|
#include "SkString.h"
|
|
#include "Test.h"
|
|
|
|
DEF_TEST(PictureUtils, reporter) {
|
|
SkString result;
|
|
SkString filename("test");
|
|
SkString dir("test/path");
|
|
sk_tools::make_filepath(&result, dir, filename);
|
|
REPORTER_ASSERT(reporter, result.equals("test/path/test"));
|
|
}
|