1 /*
2  * Library data_type type test program
3  *
4  * Copyright (C) 2013-2021, Joachim Metz <joachim.metz@gmail.com>
5  *
6  * Refer to AUTHORS for acknowledgements.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
20  */
21 
22 #include <common.h>
23 #include <file_stream.h>
24 #include <types.h>
25 
26 #if defined( HAVE_STDLIB_H ) || defined( WINAPI )
27 #include <stdlib.h>
28 #endif
29 
30 #include "creg_test_libcerror.h"
31 #include "creg_test_libcreg.h"
32 #include "creg_test_macros.h"
33 #include "creg_test_memory.h"
34 #include "creg_test_unused.h"
35 
36 #include "../libcreg/libcreg_data_type.h"
37 
38 /* The main program
39  */
40 #if defined( HAVE_WIDE_SYSTEM_CHARACTER )
wmain(int argc CREG_TEST_ATTRIBUTE_UNUSED,wchar_t * const argv[]CREG_TEST_ATTRIBUTE_UNUSED)41 int wmain(
42      int argc CREG_TEST_ATTRIBUTE_UNUSED,
43      wchar_t * const argv[] CREG_TEST_ATTRIBUTE_UNUSED )
44 #else
45 int main(
46      int argc CREG_TEST_ATTRIBUTE_UNUSED,
47      char * const argv[] CREG_TEST_ATTRIBUTE_UNUSED )
48 #endif
49 {
50 	CREG_TEST_UNREFERENCED_PARAMETER( argc )
51 	CREG_TEST_UNREFERENCED_PARAMETER( argv )
52 
53 #if defined( __GNUC__ ) && !defined( LIBCREG_DLL_IMPORT )
54 
55 	/* TODO: add tests for libcreg_data_type_get_identifier */
56 
57 	/* TODO: add tests for libcreg_data_type_get_description */
58 
59 #endif /* defined( __GNUC__ ) && !defined( LIBCREG_DLL_IMPORT ) */
60 
61 	return( EXIT_SUCCESS );
62 
63 on_error:
64 	return( EXIT_FAILURE );
65 }
66 
67