Commit graph

43 commits

Author SHA1 Message Date
Thomas Vander Stichele
9bc2116de6 add test for probes
Original commit message from CVS:
add test for probes
2005-04-12 16:25:04 +00:00
Thomas Vander Stichele
b6acbfe0a1 fix callback args so tests work
Original commit message from CVS:
fix callback args so tests work
2005-01-10 19:02:53 +00:00
Thomas Vander Stichele
b67833de2a first pass at wrapping GstProbe
Original commit message from CVS:
first pass at wrapping GstProbe
2005-01-10 17:29:47 +00:00
Johan Dahlin
f51f43e1d9 Improve support GstBuffer attributes, r/w support for timestamp.
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gstbuffer.override:
* testsuite/test_buffer.py:

Improve support GstBuffer attributes, r/w support for timestamp.
2004-12-14 16:53:09 +00:00
Johan Dahlin
b70d9b6d4c testsuite/*: Put test_ prefix on all test filenames
Original commit message from CVS:
testsuite/*: Put test_ prefix on all test filenames
2004-11-23 16:22:08 +00:00
Johan Dahlin
2e23effc15 Use gst.element_factory_make in play example
Original commit message from CVS:
* examples/gst/play.py:
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/event.py:
* testsuite/test_event.py:

Use gst.element_factory_make in play example

Use boxed instead of pointer for gst.Event, it was such an ugly
hack.

Ref the event when sending using gst.element_send_event.

Add a bunch of testcases (and a C module), renamed event to
test_event.py
2004-11-23 10:16:58 +00:00
Johan Dahlin
7020315e74 Add xml tests
Original commit message from CVS:
Add xml tests
2004-11-05 17:43:05 +00:00
Johan Dahlin
b8446ab36d Pass distcheck please
Original commit message from CVS:
Pass distcheck please
2004-10-11 15:19:24 +00:00
Johan Dahlin
f4d7a870ef Don't use gst.Element
Original commit message from CVS:
Don't use gst.Element
2004-10-11 08:47:37 +00:00
Johan Dahlin
01b4bd0ab5 Require PyGTK 2.4
Original commit message from CVS:
Require PyGTK 2.4
2004-10-11 08:45:04 +00:00
Johan Dahlin
02f72cd028 gst/gst.override (_wrap_gst_structure_ass_subscript): Some more fixes, doesn't quite work as it should yet though.x
Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_ass_subscript): Some more
fixes, doesn't quite work as it should yet though.x
(_wrap_gst_caps_tp_str): Plug leak

* gst/interfaces.defs (Mixer, MixerTrack): Add mixer fields here.

* testsuite/element.py (QueueTest.testConstruct): Some basic test,
one disabled for the moment
2004-08-30 10:42:36 +00:00
Thomas Vander Stichele
f59e0690f6 one item list with structure
Original commit message from CVS:
one item list with structure
2004-08-06 19:03:50 +00:00
Johan Dahlin
4b55e4eafe More testing
Original commit message from CVS:
More testing
2004-08-06 19:03:08 +00:00
Thomas Vander Stichele
04d47f4be2 add constructor for caps
Original commit message from CVS:
add constructor for caps
2004-08-06 18:49:53 +00:00
Johan Dahlin
49d73bebb2 Enable this test too
Original commit message from CVS:
Enable this test too
2004-08-06 18:16:59 +00:00
Johan Dahlin
607bb26a14 gst/gst.override (_wrap_gst_structure_from_string): Impl.
Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_from_string): Impl.
(_wrap_gst_tag_list_has_key): Impl.
(_wrap_gst_caps_get_structure): Don't copy or free me

* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
Improve tests

* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
2004-08-06 18:14:30 +00:00
Thomas Vander Stichele
45ba78cb85 two new tests, one that fails
Original commit message from CVS:
two new tests, one that fails
2004-08-06 17:38:42 +00:00
Johan Dahlin
3f630774bb testsuite/struct.py (StructureTest.testStructureChange): Enable some tests.
Original commit message from CVS:
* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.

* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
2004-08-06 14:18:28 +00:00
Thomas Vander Stichele
8b9edb951b add testsuite for struct
Original commit message from CVS:
add testsuite for struct
2004-08-05 14:25:58 +00:00
Johan Dahlin
ed111af937 Clean up error handling
Original commit message from CVS:
Clean up error handling
2004-07-15 14:57:48 +00:00
Johan Dahlin
acefacc62c testsuite/registry.py: Add some basic tests
Original commit message from CVS:
* testsuite/registry.py: Add some basic tests

* gst/gst.override: Don't ignore all gst_registry_* symbols
(_wrap_gst_registry_pool_plugin_list): Impl.
(_wrap_gst_registry_pool_feature_list): Impl.

* gst/gst-types.defs (Plugin): Add as a boxed
2004-07-15 10:15:18 +00:00
Johan Dahlin
9165bf8c35 testsuite/element.py (QueryTest.testQuery): Another small test
Original commit message from CVS:
* testsuite/element.py (QueryTest.testQuery): Another small test

* gst/gst.override (_wrap_gst_element_query): Ditto
(_wrap_gst_pad_convert): Ditto
2004-07-13 09:08:32 +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
Thomas Vander Stichele
f47aedab55 distcheck fix
Original commit message from CVS:
distcheck fix
2004-06-21 09:31:52 +00:00
Thomas Vander Stichele
0f13826a60 recommit
Original commit message from CVS:
recommit
2004-06-21 09:26:59 +00:00
Thomas Vander Stichele
633514beca recommit
Original commit message from CVS:
recommit
2004-06-21 09:26:18 +00:00
Johan Dahlin
d88ae9c476 Changelog and testsuite
Original commit message from CVS:
Changelog and testsuite
2004-06-21 08:38:23 +00:00
Thomas Vander Stichele
32561828aa add test
Original commit message from CVS:
add test
2004-06-10 18:14:22 +00:00
Johan Dahlin
57b9efc9cf gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
Original commit message from CVS:
* gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
(_wrap_gst_buffer_flag_set, _wrap_gst_buffer_flag_unset): Impl.

* testsuite/buffer.py (BufferTest.testBufferFlagIsSet): New test
2004-06-09 13:40:27 +00:00
Johan Dahlin
c0d4251e20 testsuite/interface.py (Availability.testXOverlay): Extend to test method calling on interfaces
Original commit message from CVS:
* testsuite/interface.py (Availability.testXOverlay): Extend to
test method calling on interfaces

* testsuite/common.py: call pygtk.require first

* gst/gstbin.override (_wrap_gst_bin_get_by_name): Add a
keyword argument recurse and remove
_wrap_gst_bin_get_by_name_recurse_up.

* gst/gst.override (_wrap_gst_element_get_pad_list): Split out bin
functions to ...

* gst/gstbin.override: .. this file

* gst/gst.defs (bin_new): allow NULL for first argument.
(child_state_change): Remove, it's private.
2004-05-24 10:30:05 +00:00
Johan Dahlin
45c2cf641d gst/gst-types.defs (Buffer): Add some fields
Original commit message from CVS:
* gst/gst-types.defs (Buffer): Add some fields

* gst/gstbuffer.override: Move out from gst.override, add
tp_as_sequence support and reorganize the code

* testsuite/buffer.py (BufferTest): Add new tests
2004-05-04 14:20:28 +00:00
Johan Dahlin
54cab73355 testsuite/event.py, testsuite/buffer.py: New tests.
Original commit message from CVS:
* testsuite/event.py, testsuite/buffer.py: New tests.

* testsuite/common.py (run_silent): New function to enable stderr
even if an exception is raised.

* testsuite/element.py (FakeSinkTest.checkError): Better
state-error checking.
2004-05-03 16:17:38 +00:00
Johan Dahlin
290df83671 testsuite/runtests.py (gettestnames): Cleanup
Original commit message from CVS:
* testsuite/runtests.py (gettestnames): Cleanup

* testsuite/element.py (FakeSinkTest): Enable again and disable
stderr while changing state to ready
(ElementName.testElementStateGetName): New function to test
gst.element_state_get_name.

* testsuite/common.py (path): Don't import ltihooks and proper
check for gst module. Add --gst-debug-no-color as a global option
(disable_stderr, enable_stderr): New functions to disable stdout
called from non python
2004-05-01 15:35:32 +00:00
Johan Dahlin
a2040bb005 testsuite/runtests.py (tests): Run all tests in one TestSuite instead of several.
Original commit message from CVS:
* testsuite/runtests.py (tests): Run all tests in one TestSuite
instead of several.

* testsuite/element.py (FakeSinkTest.setUp): Disable StateError
tests until there is a way to disable element error output.
2004-04-21 09:45:44 +00:00
Johan Dahlin
f203f4826c testsuite/pipeline.py (PipelineConstructor.testGoodConstructor) (PipelineConstructor.testBadConstruct)
Original commit message from CVS:
* testsuite/pipeline.py (PipelineConstructor.testGoodConstructor)
(PipelineConstructor.testBadConstruct)
(ThreadConstructor.testCreate): New tests

* testsuite/element.py (ElementTest.testGoodConstructor): Add
isinstance(element, gst.Element) test

* testsuite/common.py: Clean up, use ltihooks
(init) Assign tp_new for pipeline and thread to PyType_GenericNew
for now.
2004-04-16 13:56:39 +00:00
Johan Dahlin
fba1f21b1d testsuite/Makefile.am (check-local): distcheck fixes
Original commit message from CVS:
* testsuite/Makefile.am (check-local): distcheck fixes

* testsuite/common.py: Put in a couple of hacks to make distcheck
pass make check

* testsuite/interface.py: New test
2004-03-17 12:41:08 +00:00
Johan Dahlin
88f7dd3c95 gstinterfaces/Makefile.am: clean up a little bit
Original commit message from CVS:
* gstinterfaces/Makefile.am: clean up a little bit

* gstinterfaces/__init__.py (devloc): s/gstreamer/gst/

* codegen: Resync and appy my interface constructor patch
2004-03-12 09:58:54 +00:00
Johan Dahlin
9305a25204 Hide output, add pipeline.py
Original commit message from CVS:
Hide output, add pipeline.py
2004-03-09 14:48:03 +00:00
Thomas Vander Stichele
aae50b3dcf use found PYTHON
Original commit message from CVS:
use found PYTHON
2004-03-09 14:40:32 +00:00
Johan Dahlin
8a810ece62 Add some tests
Original commit message from CVS:
Add some tests
2004-03-08 19:22:15 +00:00
Johan Dahlin
e1aed306f9 testsuite/element.py: Update to new api
Original commit message from CVS:
* testsuite/element.py: Update to new api
2004-03-05 10:52:56 +00:00
Thomas Vander Stichele
e84077e4b2 fix make distcheck mv examples/gstreamer examples/gst
Original commit message from CVS:
fix make distcheck
mv examples/gstreamer examples/gst
2004-03-04 12:00:06 +00:00
Thomas Vander Stichele
a21c60b089 add Element () constructor add testsuite
Original commit message from CVS:
add Element () constructor
add testsuite
2003-10-04 13:37:45 +00:00