Commit graph

8 commits

Author SHA1 Message Date
Thomas Vander Stichele
cb4e57360e testsuite/common.py: add a common.TestCase class that has methods to track and verify garbage collection of GstObject
Original commit message from CVS:

* testsuite/common.py:
add a common.TestCase class that has methods to track and verify
garbage collection of GstObject
* testsuite/test_pad.py:
use it
2005-09-28 13:29:52 +00:00
Thomas Vander Stichele
5768672390 gst/: add/move some code to handle wrapping/refcounting of possible
Original commit message from CVS:
* gst/Makefile.am:
* gst/common.h:
* gst/pygstobject.c: (pygstobject_sink), (pygstobject_new),
(pygst_object_unref):
* gst/pygstobject.h:
* gst/gstmodule.c: (init_gst):
add/move some code to handle wrapping/refcounting of possible
GstObject
* codegen/argtypes.py:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstpad.override:
* gst/interfaces.override:
use this reffing code
* gst/gst-types.defs:
* gst/gst.override:
add a __gstrefcount__ field to GstObject types
add tp_traverse, tp_dealloc and tp_clear, so we handle refcounting
properly related to garbage collection
* testsuite/test_element.py:
* testsuite/test_pad.py:
add more tests, add some refcount checks
2005-09-28 12:17:29 +00:00
Thomas Vander Stichele
cfdc81b592 gst/gst.*: add another registry method
Original commit message from CVS:

* gst/gst.defs:
* gst/gst.override:
add another registry method
* testsuite/Makefile.am:
add check-verbose
* testsuite/runtests.py:
check for VERBOSE env var
* testsuite/test_pad.py:
refactor a test and add one more for probes
2005-09-23 15:37:40 +00:00
Andy Wingo
23af58d1e3 testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add probe removal test. Passes, but some other test sporadica...
Original commit message from CVS:
2005-09-21  Andy Wingo  <wingo@pobox.com>

* testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add
probe removal test. Passes, but some other test sporadically fails
-- will check that later.
2005-09-21 13:45:58 +00:00
Thomas Vander Stichele
4babdda09c gst/gst.defs: add gst.ghost_pad_new_notarget
Original commit message from CVS:

* gst/gst.defs:
add gst.ghost_pad_new_notarget
* gst/gstpad.override:
change wrap_gst_pad_new a little and add logging
* testsuite/test_pad.py:
add tests for constructors of gst.Pad
2005-09-08 13:34:29 +00:00
Thomas Vander Stichele
9ee7ac4ee3 55 working tests now; some disabled
Original commit message from CVS:
55 working tests now; some disabled
2005-09-01 15:50:46 +00:00
Thomas Vander Stichele
633f644020 fix headers on tests
Original commit message from CVS:
fix headers on tests
2005-09-01 10:36:07 +00:00
Johan Dahlin
0a37fd1928 testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline, so we don't get warnings when sending events
Original commit message from CVS:
* testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline,
so we don't get warnings when sending events
(EventTest.setUp): Ditto.

* testsuite/pad.py: New test, only testing simple pad queries so far.

* testsuite/Makefile.am (tests): Add missing tests

* gst/gst.override (_wrap_gst_pad_query): Raise RuntimeError if
the return value is False and only return the queried value.
2004-07-13 09:00:07 +00:00