Fix memory leak in video_output on Mac OS X (close #6267)
[vlc/solaris.git] / test / native / init.c
blob4e0c044b77add4bc8b790d32d50ceae5deb7ce6d
1 #include "../pyunit.h"
2 #include "tests.h"
4 PyObject *init( PyObject *self, PyObject *args )
6 (void)setvbuf (stdout, NULL, _IONBF, 0);
7 Py_INCREF( Py_None );
8 return Py_None;
11 static PyMethodDef native_libvlc_test_methods[] = {
12 DEF_METHOD( init, "Init some stuff" )
13 DEF_METHOD( create_destroy, "Create and destroy" )
14 DEF_METHOD( exception_test, "Test Exception handling" )
15 DEF_METHOD( playlist_test, "Test Playlist interaction" )
16 DEF_METHOD( vlm_test, "Test VLM" )
17 DEF_METHOD( timers_test, "Test timers" )
18 DEF_METHOD( i18n_atof_test, "Test i18n_atof" )
19 DEF_METHOD( url_test, "URL decoding" )
20 DEF_METHOD( chains_test, "Test building of chains" )
21 DEF_METHOD( gui_chains_test, "Test interactions between chains and GUI" )
22 DEF_METHOD( psz_chains_test, "Test building of chain strings" )
23 DEF_METHOD( arrays_test, "Test arrays")
24 DEF_METHOD( bsearch_direct_test, "Test Bsearch without structure" )
25 DEF_METHOD( bsearch_member_test, "Test Bsearch with structure" )
26 DEF_METHOD( dict_test, "Test dictionnaries" )
27 DEF_METHOD( threadvar_test, "Test TLS" )
28 { NULL, NULL, 0, NULL }
31 asserts =0;
33 DECLARE_MODULE( native_libvlc_test )