OpenDNSSEC-enforcer 2.1.13
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
35extern int init_suite_classes(void);
36extern int clean_suite_classes(void);
37extern void test_class_db_backend_handle(void);
38extern void test_class_db_backend(void);
39extern void test_class_db_clause(void);
40extern void test_class_db_clause_list(void);
41extern void test_class_db_configuration(void);
42extern void test_class_db_configuration_list(void);
43extern void test_class_db_connection(void);
44extern void test_class_db_join(void);
45extern void test_class_db_join_list(void);
46extern void test_class_db_object_field(void);
47extern void test_class_db_object_field_list(void);
48extern void test_class_db_object(void);
49extern void test_class_db_value_set(void);
50extern void test_class_db_result(void);
51extern void test_class_db_result_list(void);
52extern void test_class_db_value(void);
53extern void test_class_end(void);
54
55extern int init_suite_initialization(void);
56extern int clean_suite_initialization(void);
57extern void test_initialization_configuration(void);
58extern void test_initialization_connection(void);
59
60#if defined(ENFORCER_DATABASE_SQLITE3)
61extern int init_suite_database_operations_sqlite(void);
62#endif
64extern int clean_suite_database_operations(void);
72extern void test_database_operations_read_all(void);
73extern void test_database_operations_count(void);
74
83
84#endif
void test_database_operations_create_object3_2(void)
void test_database_operations_count(void)
void test_class_db_value_set(void)
void test_database_operations_create_object2_2(void)
void test_class_db_object(void)
int clean_suite_initialization(void)
int init_suite_classes(void)
void test_initialization_configuration(void)
void test_class_db_value(void)
void test_class_db_clause(void)
void test_class_db_connection(void)
void test_database_operations_create_object3(void)
void test_database_operations_delete_object3(void)
void test_database_operations_delete_object2(void)
int init_suite_database_operations_mysql(void)
void test_database_operations_read_object1(void)
void test_database_operations_update_object2(void)
void test_class_db_object_field_list(void)
void test_database_operations_create_object2(void)
void test_database_operations_read_object1_2(void)
void test_database_operations_read_object2_2(void)
void test_class_db_join(void)
int clean_suite_database_operations(void)
void test_initialization_connection(void)
void test_database_operations_read_all(void)
void test_database_operations_update_objects_revisions(void)
void test_class_end(void)
void test_database_operations_update_object2_2(void)
void test_class_db_object_field(void)
void test_database_operations_delete_object3_2(void)
int clean_suite_classes(void)
int init_suite_initialization(void)
void test_class_db_result_list(void)
void test_class_db_backend(void)
void test_database_operations_read_object2(void)
void test_class_db_configuration(void)
void test_class_db_clause_list(void)
void test_class_db_configuration_list(void)
void test_database_operations_delete_object2_2(void)
void test_class_db_backend_handle(void)
void test_class_db_join_list(void)
void test_class_db_result(void)