summaryrefslogtreecommitdiff
path: root/tests/pke-test.cpp
blob: b7a45aae65a2ce677b4c4823b413e7d3b69902d3 (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
27
28
29
30
31
32
33
34
35
36

#include "./pke-test-types.h"

#include "./pke-test-asset-manager.h"
#include "./pke-test-audio.h"
#include "./pke-test-dummy.h"
#include "./pke-test-font.hpp"
#include "./pke-test-load-unload.h"
#include "./pke-test-serialization.h"
#include "./pke-test-static-ui.h"
#include "./pke-test-stubs.h"

#include "pk.h"

#include <unistd.h>

int main(int argc, char *argv[])
{
	(void)argc;
	(void)argv;

	const unsigned long test_group_count = 6;
	pk_test_group_get *group_fns[test_group_count] = {
		pke_test_dummy_get_group,
		pke_test_static_ui_get_group,
		pke_test_serialization_get_group,
		pke_test_asset_manager_get_group,
		pke_test_load_unload_get_group,
		pke_test_font_get_group,
		// pke_test_audio_get_group,
	};

	pk_test_run_test_groups(group_fns, test_group_count);

	return 0;
}