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