1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
/*
* ============================================================================
*
* Filename: tests.h
*
* Description: Tests for libqes
* License: GPLv3+
* Author: Kevin Murray, spam@kdmurray.id.au
*
* ============================================================================
*/
#ifndef TESTS_H
#define TESTS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <stdint.h>
#include <time.h>
#ifndef _WIN32
#include <unistd.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
/* TinyTest */
#include "tinytest.h"
#include "tinytest_macros.h"
#include "testdata.h"
#include "helpers.h"
#define QES_DEFAULT_ERR_FN errnil
#define QES_EXIT_FN (void)
#include <qes_util.h>
/* test_util tests */
extern struct testcase_t qes_util_tests[];
/* test_match tests */
extern struct testcase_t qes_match_tests[];
/* test_qes_file tests */
extern struct testcase_t qes_file_tests[];
/* test_seqfile tests */
extern struct testcase_t qes_seqfile_tests[];
/* test_seq tests */
extern struct testcase_t qes_seq_tests[];
/* test_sequtil tests */
extern struct testcase_t qes_sequtil_tests[];
/* test_log tests */
extern struct testcase_t qes_log_tests[];
/* test_helpers tests */
extern struct testcase_t helper_tests[];
#endif /* TESTS_H */
|