From 3c254cb5f57162fc06b76f3ad361f0fa31e6d980 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 24 Feb 2019 11:31:37 +1100 Subject: [PATCH] Rename gif "not enough / too much" data tests --- test/c/std/gif.c | 12 ++++++------ ...nough-data.gif => gif-pixel-data-not-enough.gif} | Bin ...f-pixel-data-not-enough.gif.make-artificial.txt} | 0 ...oo-much-data.gif => gif-pixel-data-too-much.gif} | Bin ...gif-pixel-data-too-much.gif.make-artificial.txt} | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename test/data/artificial/{gif-not-enough-data.gif => gif-pixel-data-not-enough.gif} (100%) rename test/data/artificial/{gif-not-enough-data.gif.make-artificial.txt => gif-pixel-data-not-enough.gif.make-artificial.txt} (100%) rename test/data/artificial/{gif-too-much-data.gif => gif-pixel-data-too-much.gif} (100%) rename test/data/artificial/{gif-too-much-data.gif.make-artificial.txt => gif-pixel-data-too-much.gif.make-artificial.txt} (100%) diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 453e6b57..433a878d 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -1036,7 +1036,7 @@ const char* test_wuffs_gif_decode_pixel_data_none() { src, wuffs_base__error__not_enough_data, true); } -const char* test_wuffs_gif_decode_not_enough_data() { +const char* test_wuffs_gif_decode_pixel_data_not_enough() { CHECK_FOCUS(__func__); wuffs_base__io_buffer src = ((wuffs_base__io_buffer){ @@ -1044,7 +1044,7 @@ const char* test_wuffs_gif_decode_not_enough_data() { }); const char* status = - read_file(&src, "test/data/artificial/gif-not-enough-data.gif"); + read_file(&src, "test/data/artificial/gif-pixel-data-not-enough.gif"); if (status) { return status; } @@ -1053,7 +1053,7 @@ const char* test_wuffs_gif_decode_not_enough_data() { src, wuffs_base__error__not_enough_data, false); } -const char* test_wuffs_gif_decode_too_much_data() { +const char* test_wuffs_gif_decode_pixel_data_too_much() { CHECK_FOCUS(__func__); wuffs_base__io_buffer src = ((wuffs_base__io_buffer){ @@ -1061,7 +1061,7 @@ const char* test_wuffs_gif_decode_too_much_data() { }); const char* status = - read_file(&src, "test/data/artificial/gif-too-much-data.gif"); + read_file(&src, "test/data/artificial/gif-pixel-data-too-much.gif"); if (status) { return status; } @@ -1687,8 +1687,8 @@ proc tests[] = { test_wuffs_gif_decode_missing_two_src_bytes, // test_wuffs_gif_decode_multiple_loop_counts, // test_wuffs_gif_decode_pixel_data_none, // - test_wuffs_gif_decode_not_enough_data, // - test_wuffs_gif_decode_too_much_data, // + test_wuffs_gif_decode_pixel_data_not_enough, // + test_wuffs_gif_decode_pixel_data_too_much, // test_wuffs_gif_frame_dirty_rect, // test_wuffs_gif_num_decoded_frame_configs, // test_wuffs_gif_num_decoded_frames, // diff --git a/test/data/artificial/gif-not-enough-data.gif b/test/data/artificial/gif-pixel-data-not-enough.gif similarity index 100% rename from test/data/artificial/gif-not-enough-data.gif rename to test/data/artificial/gif-pixel-data-not-enough.gif diff --git a/test/data/artificial/gif-not-enough-data.gif.make-artificial.txt b/test/data/artificial/gif-pixel-data-not-enough.gif.make-artificial.txt similarity index 100% rename from test/data/artificial/gif-not-enough-data.gif.make-artificial.txt rename to test/data/artificial/gif-pixel-data-not-enough.gif.make-artificial.txt diff --git a/test/data/artificial/gif-too-much-data.gif b/test/data/artificial/gif-pixel-data-too-much.gif similarity index 100% rename from test/data/artificial/gif-too-much-data.gif rename to test/data/artificial/gif-pixel-data-too-much.gif diff --git a/test/data/artificial/gif-too-much-data.gif.make-artificial.txt b/test/data/artificial/gif-pixel-data-too-much.gif.make-artificial.txt similarity index 100% rename from test/data/artificial/gif-too-much-data.gif.make-artificial.txt rename to test/data/artificial/gif-pixel-data-too-much.gif.make-artificial.txt