From 00c4bfc3c69ba1c1c37852392b46c0fe601a98a1 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 12 Feb 2010 14:45:49 +0000 Subject: [PATCH] analysis: Interactive tests Abort if test-behave was passed the wrong type of behaviour to test. --- tests/interactive/test-behave.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/interactive/test-behave.c b/tests/interactive/test-behave.c index e8097b5f5..07284db5b 100644 --- a/tests/interactive/test-behave.c +++ b/tests/interactive/test-behave.c @@ -212,6 +212,10 @@ test_behave_main (int argc, char *argv[]) p_behave = clutter_behaviour_path_new (alpha, path); } break; + + default: + g_assert_not_reached (); + break; } clutter_behaviour_apply (p_behave, group);