Added TestCaseReference structure.

This commit is contained in:
Markus Kauppila 2011-05-26 19:19:46 +03:00
parent d6d8dec05e
commit ff1e17dca4
4 changed files with 38 additions and 11 deletions

View file

@ -27,10 +27,22 @@
#include "SDL_test.h"
char *names[] = {"hello", "hello2", "hello3", NULL};
/*
TestCaseReference references[] = {
{.name = "hello", .description = "desc", .enabled = 1, .requirements = 0 }
};
*/
char **queryTestNames() {
return names;
TestCaseReference *references[] = {
{"hello", "description", 1, 0},
{"hello2", "description", 1, 0},
NULL
};
TestCaseReference **QueryTestCaseReferences() {
return references;
}
void hello(void *arg){