Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Variables
nsStringTest.h File Reference
#include "nsString.h"
#include "nsReadableUtils.h"
#include <time.h>
#include <string>
#include <stdio.h>

Go to the source code of this file.

Classes

class  CStringTester
class  Stopwatch

Defines

#define USE_STL
#define USE_WIDE   1
#define stringtype   nsString
#define astringtype   nsAutoString
#define chartype   PRUnichar
#define kString   "view-source"

Variables

static const char * kConstructorError = "constructor error"
static const char * kComparisonError = "Comparision error!"
static const char * kEqualsError = "Equals error!"
static char * kNumbers [] = {"0123456789","0\01\02\03\04\05\06\07\08\09\0\0\0"}
static char * kLetters [] = {"abcdefghij","a\0b\0c\0d\0e\0f\0g\0h\0i\0j\0\0\0"}
static char * kAAA [] = {"AAA","A\0A\0A\0\0\0"}
static char * kBBB [] = {"BBB","B\0B\0B\0\0\0"}
static char * kHello [] = {"hello","h\0e\0l\0l\0o\0\0\0"}
static char * kWSHello [] = {" hello "," \0 \0h\0e\0l\0l\0o\0 \0 \0\0\0"}

Define Documentation

Definition at line 35 of file nsStringTest.h.

Definition at line 36 of file nsStringTest.h.

#define kString   "view-source"

Definition at line 34 of file nsStringTest.h.

Definition at line 25 of file nsStringTest.h.

#define USE_WIDE   1

Definition at line 32 of file nsStringTest.h.


Variable Documentation

char* kAAA[] = {"AAA","A\0A\0A\0\0\0"} [static]

Definition at line 54 of file nsStringTest.h.

char* kBBB[] = {"BBB","B\0B\0B\0\0\0"} [static]

Definition at line 55 of file nsStringTest.h.

const char* kComparisonError = "Comparision error!" [static]

Definition at line 49 of file nsStringTest.h.

const char* kConstructorError = "constructor error" [static]

Definition at line 48 of file nsStringTest.h.

const char* kEqualsError = "Equals error!" [static]

Definition at line 50 of file nsStringTest.h.

char* kHello[] = {"hello","h\0e\0l\0l\0o\0\0\0"} [static]

Definition at line 56 of file nsStringTest.h.

char* kLetters[] = {"abcdefghij","a\0b\0c\0d\0e\0f\0g\0h\0i\0j\0\0\0"} [static]

Definition at line 53 of file nsStringTest.h.

char* kNumbers[] = {"0123456789","0\01\02\03\04\05\06\07\08\09\0\0\0"} [static]

Definition at line 52 of file nsStringTest.h.

char* kWSHello[] = {" hello "," \0 \0h\0e\0l\0l\0o\0 \0 \0\0\0"} [static]

Definition at line 57 of file nsStringTest.h.