Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2012 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #include "picture_utils.h" | |
| 9 | |
| 10 #include "SkString.h" | |
| 11 #include "Test.h" | |
| 12 | |
| 13 DEF_TEST(PictureUtils, reporter) { | |
| 14 SkString result; | |
| 15 SkString filename("test"); | |
| 16 SkString dir("test/path"); | |
| 17 sk_tools::make_filepath(&result, dir, filename); | |
| 18 REPORTER_ASSERT(reporter, result.equals("test/path/test")); | |
| 19 } | |
| OLD | NEW |