diff -r 12f9acf7a934 -r bdf78597b41c videoutils_plat/videoconnutility_api/tsrc/VCXTestUtilModule/src/IptvTestUtilModuleBlocks.cpp --- a/videoutils_plat/videoconnutility_api/tsrc/VCXTestUtilModule/src/IptvTestUtilModuleBlocks.cpp Mon Jan 18 21:13:36 2010 +0200 +++ b/videoutils_plat/videoconnutility_api/tsrc/VCXTestUtilModule/src/IptvTestUtilModuleBlocks.cpp Tue Jan 26 12:55:56 2010 +0200 @@ -175,6 +175,7 @@ ENTRY( "CheckMobilecrashes", CIptvTestUtilModule::CheckMobilecrashesL ), ENTRY( "CheckMobilecrashesZeroTolerance", CIptvTestUtilModule::CheckMobilecrashesZeroToleranceL ), + ENTRY( "SetDefaultIapCenrep", CIptvTestUtilModule::SetDefaultIapCenRepL ), ENTRY( "DeleteUsedDestinationCenRep", CIptvTestUtilModule::DeleteUsedDestinationCenRepL ), ENTRY( "SetUsedDestination", CIptvTestUtilModule::SetUsedDestinationL ), ENTRY( "CreateDestination", CIptvTestUtilModule::CreateDestinationL ), @@ -1256,6 +1257,36 @@ } // ----------------------------------------------------------------------------- +// CIptvTestUtilModule::SetDefaultIapCenRep +// ----------------------------------------------------------------------------- +// +TInt CIptvTestUtilModule::SetDefaultIapCenRepL(CStifItemParser& aItem ) + { + VCXLOGLO1(">>>CIptvTestUtilModule::SetDefaultIapCenRep"); + // Print to UI + _LIT( KIptvTestUtilConnect, "IptvTestUtilModule" ); + _LIT( KWhere, "In SetDefaultIapCenRep" ); + TestModuleIf().Printf( 0, KIptvTestUtilConnect, KWhere ); + // Print to log file + iLog->Log( KWhere ); + + TInt ret( KErrNone ); + + if( !iTestUtilALR ) + { + iTestUtilALR = CIptvTestUtilALR::NewL(); + } + + aItem.SetParsingType(CStifItemParser::EQuoteStyleParsing); + + TRAP( ret, iTestUtilALR->SetDefaultIapCenRep() ); + + VCXLOGLO2("<<