tests: Remove commented block

This behaviour is actually tested in test_push_unlinked
This commit is contained in:
Edward Hervey 2011-11-24 09:28:32 +01:00
parent 19c90d4638
commit 77596b0e05

View file

@ -498,13 +498,6 @@ GST_START_TEST (test_push_linked)
ASSERT_CAPS_REFCOUNT (caps, "caps", 3); ASSERT_CAPS_REFCOUNT (caps, "caps", 3);
buffer = gst_buffer_new (); buffer = gst_buffer_new ();
#if 0
/* FIXME, new pad should be flushing */
gst_buffer_ref (buffer);
fail_unless (gst_pad_push (src, buffer) == GST_FLOW_WRONG_STATE);
gst_buffer_ref (buffer);
fail_unless (gst_pad_chain (sink, buffer) == GST_FLOW_WRONG_STATE);
#endif
/* test */ /* test */
/* pushing on a linked pad will drop the ref to the buffer */ /* pushing on a linked pad will drop the ref to the buffer */