OpenDNSSEC-enforcer  2.1.7
test.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Jerry Lundström <lundstrom.jerry@gmail.com>
3  * Copyright (c) 2014 .SE (The Internet Infrastructure Foundation).
4  * Copyright (c) 2014 OpenDNSSEC AB (svb)
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  * notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  *
28  */
29 
30 #include "config.h"
31 
32 #ifndef __test_test_h
33 #define __test_test_h
34 
35 extern int init_suite_classes(void);
36 extern int clean_suite_classes(void);
37 extern void test_class_db_backend_handle(void);
38 extern void test_class_db_backend(void);
39 extern void test_class_db_clause(void);
40 extern void test_class_db_clause_list(void);
41 extern void test_class_db_configuration(void);
42 extern void test_class_db_configuration_list(void);
43 extern void test_class_db_connection(void);
44 extern void test_class_db_join(void);
45 extern void test_class_db_join_list(void);
46 extern void test_class_db_object_field(void);
47 extern void test_class_db_object_field_list(void);
48 extern void test_class_db_object(void);
49 extern void test_class_db_value_set(void);
50 extern void test_class_db_result(void);
51 extern void test_class_db_result_list(void);
52 extern void test_class_db_value(void);
53 extern void test_class_end(void);
54 
55 extern int init_suite_initialization(void);
56 extern int clean_suite_initialization(void);
57 extern void test_initialization_configuration(void);
58 extern void test_initialization_connection(void);
59 
60 #if defined(ENFORCER_DATABASE_SQLITE3)
61 extern int init_suite_database_operations_sqlite(void);
62 #endif
64 extern int clean_suite_database_operations(void);
72 extern void test_database_operations_read_all(void);
73 extern void test_database_operations_count(void);
74 
83 
84 #endif
test_class_db_value_set
void test_class_db_value_set(void)
Definition: test_classes.c:461
test_database_operations_update_objects_revisions
void test_database_operations_update_objects_revisions(void)
Definition: test_database_operations.c:1265
clean_suite_classes
int clean_suite_classes(void)
Definition: test_classes.c:145
test_class_db_configuration
void test_class_db_configuration(void)
Definition: test_classes.c:346
test_database_operations_read_object1_2
void test_database_operations_read_object1_2(void)
Definition: test_database_operations.c:1198
test_class_db_join_list
void test_class_db_join_list(void)
init_suite_initialization
int init_suite_initialization(void)
Definition: test_initialization.c:41
clean_suite_database_operations
int clean_suite_database_operations(void)
Definition: test_database_operations.c:988
test_class_db_object_field
void test_class_db_object_field(void)
Definition: test_classes.c:399
init_suite_classes
int init_suite_classes(void)
Definition: test_classes.c:72
test_database_operations_read_object2
void test_database_operations_read_object2(void)
Definition: test_database_operations.c:1080
test_database_operations_update_object2_2
void test_database_operations_update_object2_2(void)
Definition: test_database_operations.c:1245
test_class_db_join
void test_class_db_join(void)
test_class_db_object_field_list
void test_class_db_object_field_list(void)
Definition: test_classes.c:418
test_class_db_backend
void test_class_db_backend(void)
Definition: test_classes.c:296
test_class_end
void test_class_end(void)
Definition: test_classes.c:705
init_suite_database_operations_mysql
int init_suite_database_operations_mysql(void)
test_database_operations_create_object3_2
void test_database_operations_create_object3_2(void)
Definition: test_database_operations.c:1317
test_class_db_backend_handle
void test_class_db_backend_handle(void)
Definition: test_classes.c:270
test_database_operations_update_object2
void test_database_operations_update_object2(void)
Definition: test_database_operations.c:1094
test_database_operations_create_object2_2
void test_database_operations_create_object2_2(void)
Definition: test_database_operations.c:1210
test_database_operations_create_object2
void test_database_operations_create_object2(void)
Definition: test_database_operations.c:1059
test_initialization_configuration
void test_initialization_configuration(void)
Definition: test_initialization.c:64
test_class_db_connection
void test_class_db_connection(void)
Definition: test_classes.c:382
test_class_db_value
void test_class_db_value(void)
Definition: test_classes.c:572
clean_suite_initialization
int clean_suite_initialization(void)
Definition: test_initialization.c:54
test_class_db_result_list
void test_class_db_result_list(void)
Definition: test_classes.c:538
test_database_operations_read_object2_2
void test_database_operations_read_object2_2(void)
Definition: test_database_operations.c:1231
test_class_db_clause
void test_class_db_clause(void)
Definition: test_classes.c:311
test_class_db_configuration_list
void test_class_db_configuration_list(void)
Definition: test_classes.c:362
test_database_operations_count
void test_database_operations_count(void)
Definition: test_database_operations.c:1187
test_database_operations_delete_object3
void test_database_operations_delete_object3(void)
Definition: test_database_operations.c:1152
test_database_operations_create_object3
void test_database_operations_create_object3(void)
Definition: test_database_operations.c:1131
test_database_operations_delete_object2_2
void test_database_operations_delete_object2_2(void)
Definition: test_database_operations.c:1300
test_class_db_result
void test_class_db_result(void)
Definition: test_classes.c:489
test_database_operations_read_all
void test_database_operations_read_all(void)
Definition: test_database_operations.c:1169
test_initialization_connection
void test_initialization_connection(void)
Definition: test_initialization.c:120
test_class_db_object
void test_class_db_object(void)
Definition: test_classes.c:434
test_database_operations_read_object1
void test_database_operations_read_object1(void)
Definition: test_database_operations.c:1047
test_class_db_clause_list
void test_class_db_clause_list(void)
Definition: test_classes.c:329
test_database_operations_delete_object2
void test_database_operations_delete_object2(void)
Definition: test_database_operations.c:1114
test_database_operations_delete_object3_2
void test_database_operations_delete_object3_2(void)
Definition: test_database_operations.c:1338