1 /* EasyTAG - tag editor for audio files
2  * Copyright (C) 2015 David King <amigadave@amigadave.com>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the Free
6  * Software Foundation; either version 2 of the License, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc., 51
16  * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #include "file_info.h"
20 
21 static void
file_info_new(void)22 file_info_new (void)
23 {
24     ET_File_Info *file_info;
25 
26     file_info = et_file_info_new ();
27 
28     g_assert (file_info);
29 
30     et_file_info_free (file_info);
31 }
32 
33 int
main(int argc,char ** argv)34 main (int argc, char** argv)
35 {
36     g_test_init (&argc, &argv, NULL);
37 
38     g_test_add_func ("/file_info/new", file_info_new);
39 
40     return g_test_run ();
41 }
42