2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library 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 GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
28 static const gchar
*URLs
[] =
30 "http://www.gaskrank.tv/tv/motorrad-oldtimer/1928-henderson-deluxe-alt-und--19115.htm",
31 "http://www.gaskrank.tv/tv/rennstrecken/idm-streckenvorstellung-schleiz-von-michael-ranseder.htm",
35 static const gchar
*TITLEs
[] =
37 "1928 Henderson Deluxe - alt und mit der Patina des Alters aber läuft",
38 "IDM Streckenvorstellung Schleiz von Michael Ranseder",
42 static const gchar
*IDs
[] =
49 static void test_media_gaskrank()
51 struct qm_test_exact_s e
;
52 struct qm_test_opts_s o
;
55 for (i
=0; URLs
[i
] != NULL
; ++i
)
57 memset(&e
, 0, sizeof(e
));
58 memset(&o
, 0, sizeof(o
));
63 qm_test(__func__
, URLs
[i
], &e
, &o
);
67 gint
main(gint argc
, gchar
**argv
)
69 g_test_init(&argc
, &argv
, NULL
);
70 g_test_add_func("/media/gaskrank", test_media_gaskrank
);
71 return (g_test_run());
74 /* vim: set ts=2 sw=2 tw=72 expandtab: */