commonservices/sysutil/test/tef/te_sysutiltestsuite/src/te_sysutilsoomtest.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    77 	_LIT16(kDummy,"xxxxx");
    77 	_LIT16(kDummy,"xxxxx");
    78 	
    78 	
    79 	TBuf16<KSysUtilVersionTextLength> version;
    79 	TBuf16<KSysUtilVersionTextLength> version;
    80 	version.Insert(0,kDummy);
    80 	version.Insert(0,kDummy);
    81 	
    81 	
    82 	TInt err = SetTestPath(EFalse);
    82 	TInt err = DeletePSProperties();
    83 	if(err != KErrNone)
       
    84 	    {
       
    85 	    WARN_PRINTF2(_L("Could not set test path to EFalse. Error = %d"), err);
       
    86 	    SetTestStepResult(EAbort);
       
    87 	    return TestStepResult();
       
    88 	    }
       
    89 	err = DeletePSProperties();
       
    90 	if(err != KErrNone)
    83 	if(err != KErrNone)
    91 		{
    84 		{
    92 		WARN_PRINTF2(_L("Could not delete P&S properties. Error = %d"), err);
    85 		WARN_PRINTF2(_L("Could not delete P&S properties. Error = %d"), err);
    93 		SetTestStepResult(EAbort);
    86 		SetTestStepResult(EAbort);
    94 		return TestStepResult();
    87 		return TestStepResult();