summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-05-24 20:51:17 +0200
committerFlorian Müllner <fmuellner@gnome.org>2017-05-24 21:04:07 +0200
commitdd451547a5e7bcce6d9752cb1936ee8222b82315 (patch)
treeb7255afd37028700a54072289e12578b0c53ba51
parent270da95cbcbfd30094f750f18c67b98d413d58c8 (diff)
downloadmutter-dd451547a5e7bcce6d9752cb1936ee8222b82315.tar.gz
tests: Fix actor-anchors test
Since commit 5cb5baa7d427, we skip transitions when updating an actor's scale/position to the existing value. As a result, we don't get change notification on those properties either - given that the properties did not actually change, that behavior seems fine, so just modify the test to not expect a notify signal for unchanged properties.
-rw-r--r--clutter/tests/conform/actor-anchors.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clutter/tests/conform/actor-anchors.c b/clutter/tests/conform/actor-anchors.c
index ee3b6a5e6..55395880b 100644
--- a/clutter/tests/conform/actor-anchors.c
+++ b/clutter/tests/conform/actor-anchors.c
@@ -407,8 +407,7 @@ test_scale_center (TestState *state)
g_assert (scale_x == 4.0);
g_assert (scale_y == 2.0);
g_assert (gravity == CLUTTER_GRAVITY_NONE);
- assert_notifications (NOTIFY_SCALE_X | NOTIFY_SCALE_Y
- | NOTIFY_SCALE_CENTER_X | NOTIFY_SCALE_CENTER_Y
+ assert_notifications (NOTIFY_SCALE_CENTER_X | NOTIFY_SCALE_CENTER_Y
| NOTIFY_SCALE_GRAVITY);
assert_coords (state, 100 + 10 - 10 * 4, 200 + 20 - 20 * 2,
100 + 10 + (RECT_WIDTH - 10) * 4,