imgtools/imgcheck/imagechekunittest/testcode/cmdlinehandletest.cpp
changeset 620 ad8ffc8e1982
parent 590 360bd6b35136
equal deleted inserted replaced
585:238f4cb8391f 620:ad8ffc8e1982
   176 	try
   176 	try
   177 	{
   177 	{
   178 		char* argvect[] = { "imgchecker","--all", "-o=test.xml", "--xml","--dep","--vid", "S:/GT0415/cppunit/imgcheck_unittest/imgs/rom.img" };
   178 		char* argvect[] = { "imgchecker","--all", "-o=test.xml", "--xml","--dep","--vid", "S:/GT0415/cppunit/imgcheck_unittest/imgs/rom.img" };
   179 		cmdInput = new CmdLineHandler();
   179 		cmdInput = new CmdLineHandler();
   180 		ReturnType val = cmdInput->ProcessCommandLine(7,argvect);
   180 		ReturnType val = cmdInput->ProcessCommandLine(7,argvect);
   181 		String xmlName = cmdInput->XmlReportName();  
   181 		string xmlName = cmdInput->XmlReportName();  
   182 		if(xmlName == String("test.xml"))
   182 		if(xmlName == string("test.xml"))
   183 		{
   183 		{
   184 			status = 1;
   184 			status = 1;
   185 		}
   185 		}
   186 	}
   186 	}
   187     catch(ExceptionReporter& aExceptionReport)
   187     catch(ExceptionReporter& aExceptionReport)