aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GifTest.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-12-08 10:21:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-08 17:16:00 +0000
commitc465d13e6fca5e171bde45d35b2dd43117f4702e (patch)
tree588b2b31ffba95ed8eecb5327cb4335f35c8c1bd /tests/GifTest.cpp
parent4bcef3c40ad8d3a16bbca4ab74fa15256fb4b125 (diff)
resources: orgainize directory.
Should make it easier to ask just for images. Change-Id: If821743dc924c4bfbc6b2b2d29b14affde7b3afd Reviewed-on: https://skia-review.googlesource.com/82684 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'tests/GifTest.cpp')
-rw-r--r--tests/GifTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GifTest.cpp b/tests/GifTest.cpp
index 29150baeb1..5219825f1b 100644
--- a/tests/GifTest.cpp
+++ b/tests/GifTest.cpp
@@ -225,7 +225,7 @@ DEF_TEST(Gif, reporter) {
// Regression test for decoding a gif image with sampleSize of 4, which was
// previously crashing.
DEF_TEST(Gif_Sampled, r) {
- auto stream = SkFILEStream::Make(GetResourcePath("test640x479.gif").c_str());
+ auto stream = SkFILEStream::Make(GetResourcePath("images/test640x479.gif").c_str());
REPORTER_ASSERT(r, stream);
if (!stream) {
return;
@@ -250,7 +250,7 @@ DEF_TEST(Gif_Sampled, r) {
// If a GIF file is truncated before the header for the first image is defined,
// we should not create an SkCodec.
DEF_TEST(Codec_GifTruncated, r) {
- sk_sp<SkData> data(GetResourceAsData("test640x479.gif"));
+ sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif"));
if (!data) {
return;
}
@@ -262,7 +262,7 @@ DEF_TEST(Codec_GifTruncated, r) {
}
DEF_TEST(Codec_GifTruncated2, r) {
- sk_sp<SkData> data(GetResourceAsData("box.gif"));
+ sk_sp<SkData> data(GetResourceAsData("images/box.gif"));
if (!data) {
return;
}