os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/scripts/Te_EComPerfTest.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/scripts/Te_EComPerfTest.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,120 @@
     1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +PRINT Run all Te_EComPerfTest Suite Tests
    1.20 +
    1.21 +LOAD_SUITE Te_EComPerfTest
    1.22 +
    1.23 +START_TESTCASE SYSLIB-ECOM-PT-1410
    1.24 +//! Test case for Defect 	Deficient ECOM performance test 
    1.25 +//! @SYMTestCaseID		SYSLIB-ECOM-PT-1410	
    1.26 +//! @SYMTestCaseDesc		Test case to determine how much time ECom is spending servicing client requests, grouped by 
    1.27 +//! 						the request type and the start-up stage
    1.28 +//! @SYMTestPriority		High
    1.29 +//! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
    1.30 +//! 						Ensure data returned is the expected state and within limits set.
    1.31 +//! @SYMTestExpectedResults	The total time spent servicing client requests is less than the configured time.
    1.32 +//! @SYMREQ					PREQ1192
    1.33 +
    1.34 +RUN_TEST_STEP 300	Te_EComPerfTest EComAccumulatedClientRequestsPerfTest
    1.35 +PRINT Complete Te_EComPerfTest EComAccumulatedClientRequestsPerfTest
    1.36 +
    1.37 +END_TESTCASE SYSLIB-ECOM-PT-1410
    1.38 +
    1.39 +START_TESTCASE SYSLIB-ECOM-PT-1409
    1.40 +//! Test case for Defect 	Deficient ECOM performance test 
    1.41 +//! @SYMTestCaseID			SYSLIB-ECOM-PT-1409
    1.42 +//! @SYMTestCaseDesc		Tests the performance of ECom client calls
    1.43 +//! @SYMTestPriority		High
    1.44 +//! @SYMTestActions			Time calls to ListImplementations using no resolver, default resolver and custom resolver for
    1.45 +//!							when security information has and has not been cached.
    1.46 +//! 						Time calls to create an implementation using no resolver, default resolver and custom resolver
    1.47 +//!							for when security information has and has not been cached and also for when the DLL has and
    1.48 +//!							has not been previously loaded.
    1.49 +//! @SYMTestExpectedResults	The client calls take less than the configured time to complete.
    1.50 +//! @SYMREQ					PREQ1192
    1.51 +
    1.52 +RUN_TEST_STEP 1200	Te_EComPerfTest EComClientRequestsPerfTest
    1.53 +PRINT Complete Te_EComPerfTest EComClientRequestsPerfTest
    1.54 +END_TESTCASE SYSLIB-ECOM-PT-1409
    1.55 +
    1.56 +START_TESTCASE SYSLIB-ECOM-CT-1366
    1.57 +//! Test case for Defect 	Deficient ECOM performance test 
    1.58 +//! @SYMTestCaseID			SYSLIB-ECOM-CT-1366
    1.59 +//! @SYMTestCaseDesc		Test case for defect number DEF063054  Deficient ECOM performance test
    1.60 +//! @SYMTestPriority		High
    1.61 +//! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
    1.62 +//!							Ensure data returned is the expected state and within limits set.
    1.63 +//! @SYMTestExpectedResults	The test must not fail.
    1.64 +//! @SYMDEF					DEF063054
    1.65 +
    1.66 +RUN_TEST_STEP 300	Te_EComPerfTest EComStartupStatePerfTest
    1.67 +PRINT Complete Te_EComPerfTest EComStartupStatePerfTest
    1.68 +END_TESTCASE SYSLIB-ECOM-CT-1366
    1.69 + 
    1.70 +START_TESTCASE SYSLIB-ECOM-CT-01367
    1.71 +//! Test case for Defect 	Deficient ECOM performance test 
    1.72 +//! @SYMTestCaseID			SYSLIB-ECOM-CT-01367
    1.73 +//! @SYMTestCaseDesc		Test case for defect number DEF063054  Deficient ECOM performance test
    1.74 +//! @SYMTestPriority		High
    1.75 +//! @SYMTestActions			Request Staged Startup performance data from ECOM Server.
    1.76 +//!							Log results.
    1.77 +//! @SYMTestExpectedResults	The test must not fail.
    1.78 +//! @SYMDEF					DEF063054
    1.79 +
    1.80 +RUN_TEST_STEP 300	Te_EComPerfTest EComPerfLogger
    1.81 +PRINT Complete Te_EComPerfTest EComPerfLogger
    1.82 +END_TESTCASE SYSLIB-ECOM-CT-01367
    1.83 +
    1.84 +START_TESTCASE SYSLIB-ECOM-PT-1709 //EcomRArrayGranularityTest
    1.85 +//! Test case for Defect 	Deficient ECOM performance test 
    1.86 +//! @SYMTestCaseID			SYSLIB-ECOM-PT-1709
    1.87 +//! @SYMTestCaseDesc		Measure discovery time as we vary granularity of iInterfaceImplIndex and iImplIndex
    1.88 +//! @SYMTestPriority		High
    1.89 +//! @SYMTestActions			Instantiate CRegistryData with different granularities and measure the discovery time.
    1.90 +//! @SYMTestExpectedResults	Print out a table of discovery time at different granularity settings for reference.
    1.91 +//! @SYMDEF					INC080992
    1.92 +LOAD_SUITE TE_EcomGranularityTestServer
    1.93 +    RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity3To47Step4
    1.94 +    RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity4To48Step4
    1.95 +    RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity5To49Step4
    1.96 +    RUN_TEST_STEP 600	TE_EcomGranularityTestServer EComImplIndexPerfTest z:\TEF_ECOM\EcomGranularityTest.ini Granularity6To50Step4
    1.97 +END_TESTCASE SYSLIB-ECOM-PT-1709 //EcomRArrayGranularityTest
    1.98 +PRINT Complete EcomRArrayGranularityTest
    1.99 +
   1.100 +START_TESTCASE SYSLIB-ECOM-PT-1681
   1.101 +//! Test case for CR629 	ECOM performance test 
   1.102 +//! @SYMTestCaseID			SYSLIB-ECOM-PT-1681
   1.103 +//! @SYMTestCaseDesc		Test case for CR number CR629  and defect number DEF088454
   1.104 +//!							Retrieves the time spent for RunL of CDiscoverer's notifiers and timer when 
   1.105 +//!							rediscovery occurs. Also retrieves the relative information (e.g. drive numbers) of 
   1.106 +//!							them to check functionality.
   1.107 +//! @SYMTestPriority		High
   1.108 +//! @SYMTestActions			Test cases included:
   1.109 +//!							1. Multiple notification processing on single drive (C:)
   1.110 +//!							2. Multiple notification processing on multiple drives (C: and X: or C: and E:)
   1.111 +//!							3. MMC Remounting tests on drive E:
   1.112 +//!							On these events, check against:
   1.113 +//!							Performance of Notifier RunL
   1.114 +//!							Functionality of Notifier RunL
   1.115 +//!							Performance of Timer RunL
   1.116 +//!							Functionality of RediscoveryScanDirectoryL
   1.117 +//!	@pre 					For hardware test, MMC (E:) drive should be available.
   1.118 +//! @SYMTestExpectedResults	The test must not fail.
   1.119 +//! @SYMDEF					DEF088454 (this test case was created in CR629, then rewritten by defect fixing)
   1.120 +
   1.121 +RUN_TEST_STEP 600	Te_EComPerfTest EComPluginReDiscoverPerfTest
   1.122 +PRINT Complete Te_EComPerfTest EComPluginReDiscoverPerfTest
   1.123 +END_TESTCASE SYSLIB-ECOM-PT-1681
   1.124 \ No newline at end of file