configure.ac: Run gen-ver.sh to get the version value
[libquvi-scripts.git] / tests / media / media_gaskrank.c
blobf65939d58481ab512d8839f58167a6f74ddfd288
1 /* libquvi-scripts
2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301, USA.
20 #include "config.h"
22 #include <string.h>
23 #include <glib.h>
24 #include <quvi.h>
26 #include "tests.h"
28 static const gchar URL[] =
29 "http://www.gaskrank.tv/tv/motorrad-oldtimer/1928-henderson-deluxe-alt-und--19115.htm";
31 static const gchar TITLE[] =
32 "1928 Henderson Deluxe - alt und mit der Patina des Alters aber läuft";
34 static const gchar ID[] =
35 "19115";
37 static void test_media_gaskrank()
39 struct qm_test_exact_s e;
40 struct qm_test_opts_s o;
42 memset(&e, 0, sizeof(e));
43 memset(&o, 0, sizeof(o));
45 e.title = TITLE;
46 e.id = ID;
48 qm_test(__func__, URL, &e, &o);
51 gint main(gint argc, gchar **argv)
53 g_test_init(&argc, &argv, NULL);
54 g_test_add_func("/media/gaskrank", test_media_gaskrank);
55 return (g_test_run());
58 /* vim: set ts=2 sw=2 tw=72 expandtab: */