test.h
Go to the documentation of this file.
/*
* Copyright (c) 2014 Jerry Lundström <lundstrom.jerry@gmail.com>
* Copyright (c) 2014 .SE (The Internet Infrastructure Foundation).
* Copyright (c) 2014 OpenDNSSEC AB (svb)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#include "config.h"
#ifndef __test_test_h
#define __test_test_h
extern int init_suite_classes(void);
extern int clean_suite_classes(void);
extern void test_class_db_backend_handle(void);
extern void test_class_db_backend(void);
extern void test_class_db_clause(void);
extern void test_class_db_clause_list(void);
extern void test_class_db_configuration(void);
extern void test_class_db_configuration_list(void);
extern void test_class_db_connection(void);
extern void test_class_db_join(void);
extern void test_class_db_join_list(void);
extern void test_class_db_object_field(void);
extern void test_class_db_object_field_list(void);
extern void test_class_db_object(void);
extern void test_class_db_value_set(void);
extern void test_class_db_result(void);
extern void test_class_db_result_list(void);
extern void test_class_db_value(void);
extern void test_class_end(void);
extern int init_suite_initialization(void);
extern int clean_suite_initialization(void);
extern void test_initialization_configuration(void);
extern void test_initialization_connection(void);
#if defined(ENFORCER_DATABASE_SQLITE3)
extern int init_suite_database_operations_sqlite(void);
#endif
extern int init_suite_database_operations_mysql(void);
extern int clean_suite_database_operations(void);
extern void test_database_operations_read_object1(void);
extern void test_database_operations_create_object2(void);
extern void test_database_operations_read_object2(void);
extern void test_database_operations_update_object2(void);
extern void test_database_operations_delete_object2(void);
extern void test_database_operations_create_object3(void);
extern void test_database_operations_delete_object3(void);
extern void test_database_operations_read_all(void);
extern void test_database_operations_count(void);
extern void test_database_operations_read_object1_2(void);
extern void test_database_operations_create_object2_2(void);
extern void test_database_operations_read_object2_2(void);
extern void test_database_operations_update_object2_2(void);
extern void test_database_operations_delete_object2_2(void);
extern void test_database_operations_create_object3_2(void);
extern void test_database_operations_delete_object3_2(void);
extern void test_database_operations_update_objects_revisions(void);
#endif
test_database_operations_create_object3_2
void test_database_operations_create_object3_2(void)
Definition test_database_operations.c:1317
test_database_operations_count
void test_database_operations_count(void)
Definition test_database_operations.c:1187
test_class_db_value_set
void test_class_db_value_set(void)
Definition test_classes.c:461
test_database_operations_create_object2_2
void test_database_operations_create_object2_2(void)
Definition test_database_operations.c:1210
test_class_db_object
void test_class_db_object(void)
Definition test_classes.c:434
clean_suite_initialization
int clean_suite_initialization(void)
Definition test_initialization.c:54
init_suite_classes
int init_suite_classes(void)
Definition test_classes.c:72
test_initialization_configuration
void test_initialization_configuration(void)
Definition test_initialization.c:64
test_class_db_value
void test_class_db_value(void)
Definition test_classes.c:572
test_class_db_clause
void test_class_db_clause(void)
Definition test_classes.c:311
test_class_db_connection
void test_class_db_connection(void)
Definition test_classes.c:382
test_database_operations_create_object3
void test_database_operations_create_object3(void)
Definition test_database_operations.c:1131
test_database_operations_delete_object3
void test_database_operations_delete_object3(void)
Definition test_database_operations.c:1152
test_database_operations_delete_object2
void test_database_operations_delete_object2(void)
Definition test_database_operations.c:1114
init_suite_database_operations_mysql
int init_suite_database_operations_mysql(void)
test_database_operations_read_object1
void test_database_operations_read_object1(void)
Definition test_database_operations.c:1047
test_database_operations_update_object2
void test_database_operations_update_object2(void)
Definition test_database_operations.c:1094
test_class_db_object_field_list
void test_class_db_object_field_list(void)
Definition test_classes.c:418
test_database_operations_create_object2
void test_database_operations_create_object2(void)
Definition test_database_operations.c:1059
test_database_operations_read_object1_2
void test_database_operations_read_object1_2(void)
Definition test_database_operations.c:1198
test_database_operations_read_object2_2
void test_database_operations_read_object2_2(void)
Definition test_database_operations.c:1231
test_class_db_join
void test_class_db_join(void)
clean_suite_database_operations
int clean_suite_database_operations(void)
Definition test_database_operations.c:988
test_initialization_connection
void test_initialization_connection(void)
Definition test_initialization.c:120
test_database_operations_read_all
void test_database_operations_read_all(void)
Definition test_database_operations.c:1169
test_database_operations_update_objects_revisions
void test_database_operations_update_objects_revisions(void)
Definition test_database_operations.c:1265
test_class_end
void test_class_end(void)
Definition test_classes.c:705
test_database_operations_update_object2_2
void test_database_operations_update_object2_2(void)
Definition test_database_operations.c:1245
test_class_db_object_field
void test_class_db_object_field(void)
Definition test_classes.c:399
test_database_operations_delete_object3_2
void test_database_operations_delete_object3_2(void)
Definition test_database_operations.c:1338
clean_suite_classes
int clean_suite_classes(void)
Definition test_classes.c:145
init_suite_initialization
int init_suite_initialization(void)
Definition test_initialization.c:41
test_class_db_result_list
void test_class_db_result_list(void)
Definition test_classes.c:538
test_class_db_backend
void test_class_db_backend(void)
Definition test_classes.c:296
test_database_operations_read_object2
void test_database_operations_read_object2(void)
Definition test_database_operations.c:1080
test_class_db_configuration
void test_class_db_configuration(void)
Definition test_classes.c:346
test_class_db_clause_list
void test_class_db_clause_list(void)
Definition test_classes.c:329
test_class_db_configuration_list
void test_class_db_configuration_list(void)
Definition test_classes.c:362
test_database_operations_delete_object2_2
void test_database_operations_delete_object2_2(void)
Definition test_database_operations.c:1300
test_class_db_backend_handle
void test_class_db_backend_handle(void)
Definition test_classes.c:270
test_class_db_join_list
void test_class_db_join_list(void)
test_class_db_result
void test_class_db_result(void)
Definition test_classes.c:489