test_generic.c File Reference

Test cases for code below common/ and shared/. More...

#include "CUnit/Basic.h"
#include "test_shared.h"
#include "../common/common.h"
#include "../shared/utf8.h"
#include "../shared/shared.h"
#include "../ports/system.h"
#include "test_generic.h"
Include dependency graph for test_generic.c:

Go to the source code of this file.

Functions

static int UFO_InitSuiteGeneric (void)
static int UFO_CleanSuiteGeneric (void)
static void testConstInt (void)
static void testLinkedList (void)
static void testStringCopiers (void)
int UFO_AddGenericTests (void)

Detailed Description

Test cases for code below common/ and shared/.

Definition in file test_generic.c.


Function Documentation

static void testConstInt ( void   )  [static]
static void testLinkedList ( void   )  [static]
static void testStringCopiers ( void   )  [static]

Definition at line 162 of file test_generic.c.

References Com_sprintf(), dest, i, Q_strncpyz(), Sys_Milliseconds(), TEST_Printf(), and UTF8_strncpyz().

Referenced by UFO_AddGenericTests().

int UFO_AddGenericTests ( void   ) 
static int UFO_CleanSuiteGeneric ( void   )  [static]

The suite cleanup function. Returns zero on success, non-zero otherwise.

Definition at line 48 of file test_generic.c.

References TEST_Shutdown().

Referenced by UFO_AddGenericTests().

static int UFO_InitSuiteGeneric ( void   )  [static]

The suite initialization function. Returns zero on success, non-zero otherwise.

Definition at line 38 of file test_generic.c.

References TEST_Init().

Referenced by UFO_AddGenericTests().


Generated by  doxygen 1.6.2