systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_startupregeiof.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 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".
    18  @test
    18  @test
    19  @internalComponent - Internal Symbian test code   
    19  @internalComponent - Internal Symbian test code   
    20 */
    20 */
    21 
    21 
    22 #include "sysmontesthelper.h"
    22 #include "sysmontesthelper.h"
       
    23 #include <e32property.h>
       
    24 
       
    25 const TUint32 KRestartExeCount = 43;
    23 
    26 
    24 void MainL()
    27 void MainL()
    25 	{
    28 	{
       
    29     TInt err = RProperty::Define(KTestSysMon, KRestartExeCount, RProperty::EInt);
       
    30     RDebug::Printf("Defining P&S key with key %d returns with err %d", err, KRestartExeCount);
    26 	RProcess::Rendezvous(KErrNone);
    31 	RProcess::Rendezvous(KErrNone);
    27 	User::After(500000); // 0.5 seconds
    32 	User::After(500000); // 0.5 seconds
    28 	CSysMonTestHelper* helper = CSysMonTestHelper::NewLC();	
    33 	CSysMonTestHelper* helper = CSysMonTestHelper::NewLC();	
    29 
    34 
    30 
    35