Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
TestUConv.cpp File Reference
#include "nsIServiceManager.h"
#include "nsICharsetConverterManager.h"
#include "nsUCSupport.h"
#include "nsString.h"
#include "nsIStringEnumerator.h"
#include "nsVoidArray.h"

Go to the source code of this file.

Classes

class  nsTestLog
 A Logging class for test programs. More...
class  nsTestUConv
 The main class of the program. More...

Defines

#define ARRAY_SIZE(_array)   (sizeof(_array) / sizeof(_array[0]))
#define SMALL_BUFFER_SIZE   512
#define MED_BUFFER_SIZE   1024
#define BIG_BUFFER_SIZE   2048

Functions

static NS_DEFINE_CID (kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID)
int main (int argc, char **argv)
 The Xalan testcases app.

Define Documentation

#define ARRAY_SIZE (   _array)    (sizeof(_array) / sizeof(_array[0]))

Definition at line 48 of file TestUConv.cpp.

#define BIG_BUFFER_SIZE   2048

Definition at line 51 of file TestUConv.cpp.

#define MED_BUFFER_SIZE   1024

Definition at line 50 of file TestUConv.cpp.

Definition at line 49 of file TestUConv.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

The Xalan testcases app.

Definition at line 167 of file TestUConv.cpp.

{
  nsTestUConv testObj;
  nsresult res;
 
  res = testObj.Main(argc, argv);
  return (NS_FAILED(res));
}

Here is the call graph for this function:

static NS_DEFINE_CID ( kCharsetConverterManagerCID  ,
NS_ICHARSETCONVERTERMANAGER_CID   
) [static]