[gnome-photos/wip/rishi/tests-gegl-zoom-in: 2/6] test-gegl: Rearrange the /gegl/buffer/zoom/* tests
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/tests-gegl-zoom-in: 2/6] test-gegl: Rearrange the /gegl/buffer/zoom/* tests
- Date: Wed, 1 Apr 2020 16:06:25 +0000 (UTC)
commit dde6f0a5a0e69a168c7ad5b7585239d8306bc5ab
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 30 23:25:48 2020 +0200
test-gegl: Rearrange the /gegl/buffer/zoom/* tests
While the SHA256 checksum is the ultimate source of truth when
comparing GeglBuffers, the checksum values provide very little insight
into why the buffers are different. Therefore, it's better to run the
/gegl/buffer/zoom/nop test first as a smoke test to establish a minimum
baseline.
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/126
tests/unit/photos-test-gegl.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tests/unit/photos-test-gegl.c b/tests/unit/photos-test-gegl.c
index 5cda0d59..9a6807c3 100644
--- a/tests/unit/photos-test-gegl.c
+++ b/tests/unit/photos-test-gegl.c
@@ -1,6 +1,6 @@
/*
* Photos - access, organize and share your photos on GNOME
- * Copyright © 2018 – 2019 Red Hat, Inc.
+ * Copyright © 2018 – 2020 Red Hat, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1088,25 +1088,25 @@ main (gint argc, gchar *argv[])
photos_test_gegl_buffer_apply_orientation_top_mirror_3,
photos_test_gegl_teardown);
- g_test_add ("/gegl/buffer/zoom/in-0",
+ g_test_add ("/gegl/buffer/zoom/nop",
PhotosTestGeglFixture,
NULL,
photos_test_gegl_setup_with_alpha_even_dimensions,
- photos_test_gegl_buffer_zoom_in_0,
+ photos_test_gegl_buffer_zoom_nop,
photos_test_gegl_teardown);
- g_test_add ("/gegl/buffer/zoom/in-1",
+ g_test_add ("/gegl/buffer/zoom/in-0",
PhotosTestGeglFixture,
NULL,
photos_test_gegl_setup_with_alpha_even_dimensions,
- photos_test_gegl_buffer_zoom_in_1,
+ photos_test_gegl_buffer_zoom_in_0,
photos_test_gegl_teardown);
- g_test_add ("/gegl/buffer/zoom/nop",
+ g_test_add ("/gegl/buffer/zoom/in-1",
PhotosTestGeglFixture,
NULL,
photos_test_gegl_setup_with_alpha_even_dimensions,
- photos_test_gegl_buffer_zoom_nop,
+ photos_test_gegl_buffer_zoom_in_1,
photos_test_gegl_teardown);
g_test_add ("/gegl/buffer/zoom/out-0",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]