tests: actually test what we said we would

All tests were testing the default sine wave

https://bugzilla.gnome.org/show_bug.cgi?id=661106
This commit is contained in:
Vincent Penquerc'h 2011-10-06 18:21:29 +01:00 committed by Sebastian Dröge
parent 70239887e8
commit be39ab28c3

View file

@ -89,6 +89,7 @@ GST_START_TEST (test_all_waves)
while (values[j].value_name) {
GST_DEBUG_OBJECT (audiotestsrc, "testing wave %s", values[j].value_name);
g_object_set (audiotestsrc, "wave", values[j].value, NULL);
fail_unless (gst_element_set_state (audiotestsrc,
GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS,