blob: 9584cac2db27f34a37613ca515af9fa811bd1462 (
plain)
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
|
#ifndef LILY_META_TESTS_H
#define LILY_META_TESTS_H
#define run_test(test) _run_test(#test, test)
void _run_test(const char *name, const char* (*test)());
int validate_message(const char* received, const char* expected,
const char* FILE, unsigned int LINE);
// test cases
const char* test_LILY_LOCATION();
const char* test_assert_msg();
const char* test_assert_true();
const char* test_assert_false();
const char* test_assert_not_null();
const char* test_assert_null();
const char* test_assert_ptr_equal();
const char* test_assert_ptr_not_equal();
const char* test_assert_int_equal();
const char* test_assert_int_not_equal();
const char* test_mock_enqueue_dequeue_int();
const char* test_mock_enqueue_dequeue_heterogenous();
const char* test_LILY_NARGS();
const char* test_lily_mock_call();
#endif
|