Contribs: add libbluray
[vlc/asuraparaju-public.git] / test / libvlc / core.c
blob3871e5e8197e01e052674a9fe025eabb1a9f00b4
1 /*
2 * core.c - libvlc smoke test
4 * $Id$
5 */
7 /**********************************************************************
8 * Copyright (C) 2007 RĂ©mi Denis-Courmont. *
9 * This program is free software; you can redistribute and/or modify *
10 * it under the terms of the GNU General Public License as published *
11 * by the Free Software Foundation; version 2 of the license, or (at *
12 * your option) any later version. *
13 * *
14 * This program is distributed in the hope that it will be useful, *
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
17 * See the GNU General Public License for more details. *
18 * *
19 * You should have received a copy of the GNU General Public License *
20 * along with this program; if not, you can get it from: *
21 * http://www.gnu.org/copyleft/gpl.html *
22 **********************************************************************/
24 #include "test.h"
26 static void test_core (const char ** argv, int argc)
28 libvlc_instance_t *vlc;
30 log ("Testing core\n");
32 vlc = libvlc_new (argc, argv);
33 assert (vlc != NULL);
35 libvlc_retain (vlc);
36 libvlc_release (vlc);
37 libvlc_release (vlc);
41 int main (void)
43 test_init();
45 test_core (test_defaults_args, test_defaults_nargs);
47 return 0;