cryptomgmtlibs/securitytestfw/test/testhandler2/t_testaction.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
   100 
   100 
   101 EXPORT_C void CTestAction::ConstructL(const TTestActionSpec& aTestActionSpec)
   101 EXPORT_C void CTestAction::ConstructL(const TTestActionSpec& aTestActionSpec)
   102 {
   102 {
   103 	iNameInfo = aTestActionSpec.iActionName.AllocL();
   103 	iNameInfo = aTestActionSpec.iActionName.AllocL();
   104 	
   104 	
       
   105 	iTefScript = aTestActionSpec.iTefScript;
       
   106 	
   105 	TRAPD(err, iExpectedResult = Input::ParseElementBoolL(
   107 	TRAPD(err, iExpectedResult = Input::ParseElementBoolL(
   106 		aTestActionSpec.iActionResult, _L8("<result>")) );
   108 		aTestActionSpec.iActionResult, _L8("<result>")) );
   107 	if(err == KErrArgument)
   109 	if(err == KErrArgument)
   108 		{
   110 		{
   109 		//if there is no <result> field or it has invalid text then we assume
   111 		//if there is no <result> field or it has invalid text then we assume