gstreamer/tests
Andy Wingo 9ffa8aff27 check/gst/gstcaps.c: New test suite. Only one test at the moment
Original commit message from CVS:
2005-02-11  Andy Wingo  <wingo@pobox.com>

* check/gst/gstcaps.c: New test suite. Only one test at the moment
-- this is an infrastructure commit.

* check/gst/gstobject.c (main):
* check/gst/gstdata.c (main):
* check/gst-libs/gdp.c (main): Use gst_check_init() to initialize
gstreamer.

* check/gstcheck.h: Declare all variables as extern so they are
defined once in gstcheck.c.
(ASSERT_CRITICAL): New macro, asserts that the expression passed
as an argument raises one or more critical logs.

* check/gstcheck.c: Define the extern-declared variables here.
(gst_check_log_message_func, gst_check_log_critical_func): The log
function was split in two, one for messages and one for criticals.
The criticals logfunc will fail if a critical was not expected.
The messages logfunc is the same as before.
(gst_check_init): Set up all log handlers, and initialize
gstreamer too.

* check/Makefile.am: Pulled over some pieces from the old
testsuite/ directory. Don't use --gst-fatal-warnings though, we
have some new mechanisms for that.
(TESTS): Added gst/gstcaps.
2005-02-11 12:55:16 +00:00
..
benchmarks tests/mass_elements.c: allow specifying src and sink element explicitly, so I can test videotestsrc instead of fakesrc 2004-08-04 12:54:22 +00:00
bufspeed reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
check check/gst/gstcaps.c: New test suite. Only one test at the moment 2005-02-11 12:55:16 +00:00
instantiate reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
memchunk reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
muxing reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
negotiation reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
old testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
probes reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
sched reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
seeking reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
threadstate reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
.gitignore gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so this avoids accidently casting multiplicat... 2004-07-16 01:16:53 +00:00
lat.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
Makefile.am tests/: add simple benchmark to test various speeds of fakesrc ! identity ! identity ! ... ! fakesink. 2004-07-02 03:26:44 +00:00
mass_elements.c tests/mass_elements.c: allow specifying src and sink element explicitly, so I can test videotestsrc instead of fakesrc 2004-08-04 12:54:22 +00:00
README put everything in tests/ 2002-01-05 01:25:28 +00:00
spidey_bench.c gst/gstpad.c: throw an error if the getcaps function does not return a subset of the template caps. 2004-06-29 00:34:38 +00:00

This directory contains various tests designed to test GStreamer's
behavior. When these tests work, they should be recast in the form
of regression tests and moved to ../testsuite.