featuremgmt/featuremgr/test/rtest/src/t_fmgrperformance.cpp
branchRCL_3
changeset 10 31a8f755b7fe
parent 8 fa9941cf3867
equal deleted inserted replaced
9:667e88a979d7 10:31a8f755b7fe
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2009-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".
   244 @SYMTestPriority        High
   244 @SYMTestPriority        High
   245 @SYMTestActions         
   245 @SYMTestActions         
   246 @SYMTestExpectedResults Test must not fail
   246 @SYMTestExpectedResults Test must not fail
   247 @SYMDEF                 DEF144262
   247 @SYMDEF                 DEF144262
   248 */
   248 */
   249 void FeatureManagerTest()
   249 void FeatureManagerTestL()
   250     {
   250     {
   251     TUint32 start = User::FastCounter();
   251     TUint32 start = User::FastCounter();
   252     FeatureManager::InitializeLibL();
   252     FeatureManager::InitializeLibL();
   253     TUint32 end = User::FastCounter();
   253     TUint32 end = User::FastCounter();
   254     PrintTime(_L("===FeatureManager::InitializeLibL(server already loaded by the previous test), time=%d us\r\n"), start, end);
   254     PrintTime(_L("===FeatureManager::InitializeLibL(server already loaded by the previous test), time=%d us\r\n"), start, end);
   269     {
   269     {
   270     TheTest.Start(_L("@SYMTestCaseID:PDS-EFM-CT-4106 RFeatureControl performance test"));
   270     TheTest.Start(_L("@SYMTestCaseID:PDS-EFM-CT-4106 RFeatureControl performance test"));
   271     FeatureControlTest();
   271     FeatureControlTest();
   272 
   272 
   273     TheTest.Next(_L("@SYMTestCaseID:PDS-EFM-CT-4107 FeatureManager performance test"));
   273     TheTest.Next(_L("@SYMTestCaseID:PDS-EFM-CT-4107 FeatureManager performance test"));
   274     FeatureManagerTest();
   274     FeatureManagerTestL();
   275     }
   275     }
   276 
   276 
   277 TInt E32Main()
   277 TInt E32Main()
   278     {
   278     {
   279     TheTest.Title();
   279     TheTest.Title();