Pulled the DebugRobot out into separate DLL
Moved the test code in the robot/test directory. git-svn-id: svn://10.0.0.236/trunk@1591 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
16
mozilla/htmlparser/robot/test/RobotMain.cpp
Normal file
16
mozilla/htmlparser/robot/test/RobotMain.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <stdio.h>
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsString.h"
|
||||
|
||||
extern "C" NS_EXPORT int DebugRobot(nsVoidArray * workList);
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
nsVoidArray * gWorkList = new nsVoidArray();
|
||||
int i;
|
||||
for (i = 1; i < argc; i++) {
|
||||
gWorkList->AppendElement(new nsString(argv[i]));
|
||||
}
|
||||
return DebugRobot(gWorkList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user