]> git.sesse.net Git - vlc/blob - test/native/init.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / test / native / init.c
1 #include "../pyunit.h"
2 #include "tests.h"
3
4 PyObject *init( PyObject *self, PyObject *args )
5 {
6     (void)setvbuf (stdout, NULL, _IONBF, 0);
7     Py_INCREF( Py_None );
8     return Py_None;
9 }
10
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 }
29 };
30
31 asserts =0;
32
33 DECLARE_MODULE( native_libvlc_test )