2018-07-25 21:37:10 +02:00
|
|
|
#include "tests.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "fort.h"
|
|
|
|
|
2018-11-24 21:14:26 +01:00
|
|
|
/* Test cases */
|
2018-07-25 21:37:10 +02:00
|
|
|
void test_cpp_table_basic(void);
|
2018-08-12 11:00:07 +02:00
|
|
|
void test_cpp_table_write(void);
|
2018-11-21 18:50:56 +01:00
|
|
|
void test_cpp_table_tbl_properties(void);
|
|
|
|
void test_cpp_table_cell_properties(void);
|
|
|
|
void test_cpp_table_text_styles(void);
|
|
|
|
|
2018-07-25 21:37:10 +02:00
|
|
|
|
|
|
|
|
2018-12-29 16:32:40 +01:00
|
|
|
struct test_case bb_test_suite [] = {
|
2018-07-25 21:37:10 +02:00
|
|
|
{"test_cpp_table_basic", test_cpp_table_basic},
|
2018-08-12 11:00:07 +02:00
|
|
|
{"test_cpp_table_write", test_cpp_table_write},
|
2018-11-21 18:50:56 +01:00
|
|
|
{"test_cpp_table_tbl_properties", test_cpp_table_tbl_properties},
|
|
|
|
{"test_cpp_table_cell_properties", test_cpp_table_cell_properties},
|
|
|
|
{"test_cpp_table_text_styles", test_cpp_table_text_styles},
|
2018-07-25 21:37:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2018-12-29 16:32:40 +01:00
|
|
|
int run_bb_test_suite(void)
|
2018-07-25 21:37:10 +02:00
|
|
|
{
|
2018-12-29 16:32:40 +01:00
|
|
|
int bb_n_tests = sizeof(bb_test_suite) / sizeof(bb_test_suite[0]);
|
|
|
|
run_test_suite("BLACK BOX TEST SUITE", bb_n_tests, bb_test_suite);
|
2018-07-25 21:37:10 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
int status = 0;
|
|
|
|
|
2018-12-29 16:32:40 +01:00
|
|
|
status |= run_bb_test_suite();
|
2018-07-25 21:37:10 +02:00
|
|
|
|
|
|
|
return status;
|
|
|
|
}
|