lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/scripts/Te_EComPerfTest.script
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 PRINT Run all Te_EComPerfTest Suite Tests
       
    17 
       
    18 LOAD_SUITE Te_EComPerfTest
       
    19 
       
    20 START_TESTCASE SYSLIB-ECOM-PT-1410
       
    21 //! Test case for Defect 	Deficient ECOM performance test 
       
    22 //! @SYMTestCaseID		SYSLIB-ECOM-PT-1410	
       
    23 //! @SYMTestCaseDesc		Test case to determine how much time ECom is spending servicing client requests, grouped by 
       
    24 //! 						the request type and the start-up stage
       
    25 //! @SYMTestPriority		High
       
    26 //! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
       
    27 //! 						Ensure data returned is the expected state and within limits set.
       
    28 //! @SYMTestExpectedResults	The total time spent servicing client requests is less than the configured time.
       
    29 //! @SYMREQ					PREQ1192
       
    30 
       
    31 RUN_TEST_STEP 300	Te_EComPerfTest EComAccumulatedClientRequestsPerfTest
       
    32 PRINT Complete Te_EComPerfTest EComAccumulatedClientRequestsPerfTest
       
    33 
       
    34 END_TESTCASE SYSLIB-ECOM-PT-1410
       
    35 
       
    36 START_TESTCASE SYSLIB-ECOM-PT-1409
       
    37 //! Test case for Defect 	Deficient ECOM performance test 
       
    38 //! @SYMTestCaseID			SYSLIB-ECOM-PT-1409
       
    39 //! @SYMTestCaseDesc		Tests the performance of ECom client calls
       
    40 //! @SYMTestPriority		High
       
    41 //! @SYMTestActions			Time calls to ListImplementations using no resolver, default resolver and custom resolver for
       
    42 //!							when security information has and has not been cached.
       
    43 //! 						Time calls to create an implementation using no resolver, default resolver and custom resolver
       
    44 //!							for when security information has and has not been cached and also for when the DLL has and
       
    45 //!							has not been previously loaded.
       
    46 //! @SYMTestExpectedResults	The client calls take less than the configured time to complete.
       
    47 //! @SYMREQ					PREQ1192
       
    48 
       
    49 RUN_TEST_STEP 1200	Te_EComPerfTest EComClientRequestsPerfTest
       
    50 PRINT Complete Te_EComPerfTest EComClientRequestsPerfTest
       
    51 END_TESTCASE SYSLIB-ECOM-PT-1409
       
    52 
       
    53 START_TESTCASE SYSLIB-ECOM-CT-1366
       
    54 //! Test case for Defect 	Deficient ECOM performance test 
       
    55 //! @SYMTestCaseID			SYSLIB-ECOM-CT-1366
       
    56 //! @SYMTestCaseDesc		Test case for defect number DEF063054  Deficient ECOM performance test
       
    57 //! @SYMTestPriority		High
       
    58 //! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
       
    59 //!							Ensure data returned is the expected state and within limits set.
       
    60 //! @SYMTestExpectedResults	The test must not fail.
       
    61 //! @SYMDEF					DEF063054
       
    62 
       
    63 RUN_TEST_STEP 300	Te_EComPerfTest EComStartupStatePerfTest
       
    64 PRINT Complete Te_EComPerfTest EComStartupStatePerfTest
       
    65 END_TESTCASE SYSLIB-ECOM-CT-1366
       
    66  
       
    67 START_TESTCASE SYSLIB-ECOM-CT-01367
       
    68 //! Test case for Defect 	Deficient ECOM performance test 
       
    69 //! @SYMTestCaseID			SYSLIB-ECOM-CT-01367
       
    70 //! @SYMTestCaseDesc		Test case for defect number DEF063054  Deficient ECOM performance test
       
    71 //! @SYMTestPriority		High
       
    72 //! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
       
    73 //!							Log results.
       
    74 //! @SYMTestExpectedResults	The test must not fail.
       
    75 //! @SYMDEF					DEF063054
       
    76 
       
    77 RUN_TEST_STEP 300	Te_EComPerfTest EComPerfLogger
       
    78 PRINT Complete Te_EComPerfTest EComPerfLogger
       
    79 END_TESTCASE SYSLIB-ECOM-CT-01367
       
    80 
       
    81 START_TESTCASE SYSLIB-ECOM-PT-1709 //EcomRArrayGranularityTest
       
    82 //! Test case for Defect 	Deficient ECOM performance test 
       
    83 //! @SYMTestCaseID			SYSLIB-ECOM-PT-1709
       
    84 //! @SYMTestCaseDesc		Measure discovery time as we vary granularity of iInterfaceImplIndex and iImplIndex
       
    85 //! @SYMTestPriority		High
       
    86 //! @SYMTestActions			Instantiate CRegistryData with different granularities and measure the discovery time.
       
    87 //! @SYMTestExpectedResults	Print out a table of discovery time at different granularity settings for reference.
       
    88 //! @SYMDEF					INC080992
       
    89 LOAD_SUITE TE_EcomGranularityTestServer
       
    90     RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity3To47Step4
       
    91     RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity4To48Step4
       
    92     RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity5To49Step4
       
    93     RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity6To50Step4
       
    94 END_TESTCASE SYSLIB-ECOM-PT-1709 //EcomRArrayGranularityTest
       
    95 PRINT Complete EcomRArrayGranularityTest
       
    96 
       
    97 START_TESTCASE SYSLIB-ECOM-PT-1681
       
    98 //! Test case for CR629 	ECOM performance test 
       
    99 //! @SYMTestCaseID			SYSLIB-ECOM-PT-1681
       
   100 //! @SYMTestCaseDesc		Test case for CR number CR629  and defect number DEF088454
       
   101 //!							Retrieves the time spent for RunL of CDiscoverer's notifiers and timer when 
       
   102 //!							rediscovery occurs. Also retrieves the relative information (e.g. drive numbers) of 
       
   103 //!							them to check functionality.
       
   104 //! @SYMTestPriority		High
       
   105 //! @SYMTestActions			Test cases included:
       
   106 //!							1. Multiple notification processing on single drive (C:)
       
   107 //!							2. Multiple notification processing on multiple drives (C: and X: or C: and E:)
       
   108 //!							3. MMC Remounting tests on drive E:
       
   109 //!							On these events, check against:
       
   110 //!							Performance of Notifier RunL
       
   111 //!							Functionality of Notifier RunL
       
   112 //!							Performance of Timer RunL
       
   113 //!							Functionality of RediscoveryScanDirectoryL
       
   114 //!	@pre 					For hardware test, MMC (E:) drive should be available.
       
   115 //! @SYMTestExpectedResults	The test must not fail.
       
   116 //! @SYMDEF					DEF088454 (this test case was created in CR629, then rewritten by defect fixing)
       
   117 
       
   118 RUN_TEST_STEP 600	Te_EComPerfTest EComPluginReDiscoverPerfTest
       
   119 PRINT Complete Te_EComPerfTest EComPluginReDiscoverPerfTest
       
   120 END_TESTCASE SYSLIB-ECOM-PT-1681