summaryrefslogtreecommitdiff
path: root/unittests/unittest.h
blob: 4ac6366bbbf364e740628f4dbc3e62bbff7c5e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef FIO_UNITTEST_H
#define FIO_UNITTEST_H

#include <CUnit/CUnit.h>
#include <CUnit/Basic.h>

struct fio_unittest_entry {
	const char *name;
	CU_TestFunc fn;
};

CU_ErrorCode fio_unittest_add_suite(const char*, CU_InitializeFunc,
	CU_CleanupFunc, struct fio_unittest_entry*);

#endif