MCPcopy Create free account
hub / github.com/GStreamer/gst-python / testLink

Method testLink

testsuite/old/test_element.py:231–237  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229 self.assertRaises(gst.LinkError, src.link, sink)
230
231 def testLink(self):
232 src = gst.element_factory_make('fakesrc')
233 sink = gst.element_factory_make('fakesink')
234 self.failUnless(src.link(sink))
235 # FIXME: this unlink leaks, no idea why
236 # src.unlink(sink)
237 # print src.__gstrefcount__
238
239 def testLinkPads(self):
240 src = gst.element_factory_make('fakesrc')

Callers

nothing calls this directly

Calls 1

linkMethod · 0.80

Tested by

no test coverage detected