systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_donothing.cpp
equal
deleted
inserted
replaced
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". |
24 |
24 |
25 #include "sysmontesthelper.h" |
25 #include "sysmontesthelper.h" |
26 |
26 |
27 void MainL() |
27 void MainL() |
28 { |
28 { |
29 RProcess::Rendezvous(KErrNone); |
|
30 |
|
31 CCommandLineArguments* args = CCommandLineArguments::NewLC(); |
29 CCommandLineArguments* args = CCommandLineArguments::NewLC(); |
32 CSysMonTestHelper::IncrementRunCountL(args->Arg(0)); |
30 CSysMonTestHelper::IncrementRunCountL(args->Arg(0)); |
33 CleanupStack::PopAndDestroy(args); |
31 CleanupStack::PopAndDestroy(args); |
34 |
32 |
|
33 RProcess::Rendezvous(KErrNone); |
35 while (ETrue) |
34 while (ETrue) |
36 { |
35 { |
37 User::After(5000000); // 5 seconds |
36 User::After(5000000); // 5 seconds |
38 } |
37 } |
39 |
38 |