forked from github/server
skeleton of a language test, try to find init_direction memory leak.
This commit is contained in:
parent
a56f51099c
commit
a5b3fad67a
|
@ -76,6 +76,7 @@ int RunAllTests(int argc, char *argv[])
|
|||
ADD_SUITE(bsdstring);
|
||||
ADD_SUITE(functions);
|
||||
ADD_SUITE(gamedata);
|
||||
ADD_SUITE(language);
|
||||
ADD_SUITE(parser);
|
||||
ADD_SUITE(password);
|
||||
ADD_SUITE(umlaut);
|
||||
|
|
|
@ -11,7 +11,7 @@ bsdstring.test.c
|
|||
functions.test.c
|
||||
gamedata.test.c
|
||||
# goodies.test.c
|
||||
# language.test.c
|
||||
language.test.c
|
||||
# lists.test.c
|
||||
# log.test.c
|
||||
# message.test.c
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#include <platform.h>
|
||||
#include <config.h>
|
||||
#include "language.h"
|
||||
|
||||
#include <CuTest.h>
|
||||
#include <tests.h>
|
||||
|
||||
static void test_language(CuTest *tc)
|
||||
{
|
||||
test_setup();
|
||||
|
||||
test_cleanup();
|
||||
}
|
||||
|
||||
CuSuite *get_language_suite(void)
|
||||
{
|
||||
CuSuite *suite = CuSuiteNew();
|
||||
SUITE_ADD_TEST(suite, test_language);
|
||||
return suite;
|
||||
}
|
Loading…
Reference in New Issue