testsuite/test_pad.py: Activate pads before using them.

Original commit message from CVS:
* testsuite/test_pad.py:
Activate pads before using them.
This commit is contained in:
Edward Hervey 2006-12-16 15:33:02 +00:00
parent 697b6c4b32
commit b20b1ec8c3
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-12-16 Edward Hervey <edward@fluendo.com>
* testsuite/test_pad.py:
Activate pads before using them.
2006-12-16 Edward Hervey <edward@fluendo.com>
* RELEASE:

View file

@ -84,6 +84,8 @@ class PadPushLinkedTest(TestCase):
self.src.set_caps(caps)
self.sink.set_caps(caps)
self.sink.set_chain_function(self._chain_func)
self.src.set_active(True)
self.sink.set_active(True)
self.src.link(self.sink)
self.buffers = []
@ -161,6 +163,8 @@ class PadPushEventLinkedTest(TestCase):
self.src.set_caps(caps)
self.sink.set_caps(caps)
self.sink.set_chain_function(self._chain_func)
self.src.set_active(True)
self.sink.set_active(True)
self.src.link(self.sink)
self.events = []
@ -255,6 +259,8 @@ class PadPushProbeLinkTest(TestCase):
caps = gst.caps_from_string("foo/bar")
self.src.set_caps(caps)
self.sink.set_caps(caps)
self.src.set_active(True)
self.sink.set_active(True)
self.sink.set_chain_function(self._chain_func)
self.buffers = []