check: Check that all objects are removed from the layer

This currently fails
This commit is contained in:
Edward Hervey 2010-06-08 18:38:44 +02:00
parent 80157a1def
commit 8c7535081d

View file

@ -380,7 +380,31 @@ GST_START_TEST (test_gsl_with_transitions)
/* FIXME: this needs to be checked manually in the console output */
ges_timeline_layer_remove_object (layer, GES_TIMELINE_OBJECT (source1));
GST_DEBUG ("Removing sources");
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (source1)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (source2)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (source3)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (source4)));
GST_DEBUG ("Removing transitions");
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (tr1)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (tr2)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (tr3)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (tr4)));
fail_unless (ges_timeline_layer_remove_object (layer,
GES_TIMELINE_OBJECT (tr5)));
GST_DEBUG ("done removing transition");
}