[nautilus] canvas-container: fix compute_stretch tests
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] canvas-container: fix compute_stretch tests
- Date: Sat, 24 Jan 2015 02:56:11 +0000 (UTC)
commit 1bd36eb8893a410742372f7c7f7fa7b7dfb96056
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jan 23 18:31:11 2015 -0800
canvas-container: fix compute_stretch tests
Since we changed the small icon size value, this test should be updated
with the new expected results.
libnautilus-private/nautilus-canvas-container.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-container.c b/libnautilus-private/nautilus-canvas-container.c
index c13c6f1..dad8574 100644
--- a/libnautilus-private/nautilus-canvas-container.c
+++ b/libnautilus-private/nautilus-canvas-container.c
@@ -8200,9 +8200,9 @@ check_compute_stretch (int icon_x, int icon_y, int icon_size,
void
nautilus_self_check_canvas_container (void)
{
- EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 0, 0, 0, 0), "0,0:16");
- EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 17), "0,0:17");
- EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 16), "0,0:16");
+ EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 64, 0, 0, 0, 0), "0,0:64");
+ EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 64, 64, 64, 65, 65), "0,0:65");
+ EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 64, 64, 64, 65, 64), "0,0:64");
EEL_CHECK_STRING_RESULT (check_compute_stretch (100, 100, 64, 105, 105, 40, 40), "35,35:129");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]