#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include "CUnit.h"
#include "TestDB.h"
#include "Util.h"
#include "test_cunit.h"
Defines | |
#define | MAX_LEN 100 |
Functions | |
int | get_index (char ch) |
Check whether a character is a special xml character. | |
void | test_CU_translate_special_characters (void) |
void | test_CU_compare_strings (void) |
void | test_CU_trim (void) |
void | test_CU_trim_left (void) |
void | test_CU_trim_right (void) |
void | test_cunit_Util (void) |
Variables | |
struct { | |
char special_char | |
char * replacement | |
} | bindings |
Structure containing mappings of special characters to xml entity codes. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|