Back to index

lightning-sunbird  0.9+nobinonly
RobotMain.cpp File Reference
#include "nsXPCOM.h"
#include "nsVoidArray.h"
#include "nsString.h"

Go to the source code of this file.


NS_EXPORT int DebugRobot (nsVoidArray *workList, nsIDocShell *ww)
int main (int argc, char **argv)
 The Xalan testcases app.

Function Documentation

NS_EXPORT int DebugRobot ( nsVoidArray workList,
nsIDocShell ww 
int main ( int  argc,
char **  argv 

The Xalan testcases app.

Definition at line 11 of file RobotMain.cpp.

  nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull);
  if (NS_FAILED(rv)) {
    printf("NS_InitXPCOM2 failed\n");
    return 1;

  nsVoidArray * gWorkList = new nsVoidArray();
  if(gWorkList) {
    int i;
    for (i = 1; i < argc; ++i) {
      nsString *tempString = new nsString;

  return DebugRobot(gWorkList, nsnull);

Here is the call graph for this function: