installationservices/swcomponentregistry/test/tscr/scripts/tscr_app_performance_cases.script
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 //
       
     2 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the License "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 // This script implements SCR Applicaiton Registry Performance Tests.
       
    16 //
       
    17 
       
    18 PRINT Run SCR Applicaiton Registry Performance Tests
       
    19 
       
    20 LOAD_SUITE tscr
       
    21 LOAD_SUITE tscrapparc
       
    22 // Load the event logger test suite
       
    23 LOAD_SUITE EventLogServer -SharedData
       
    24 
       
    25 // Load SCR test suite
       
    26 LOAD_SUITE tscr -SharedData // SharedData is used for sharing the componentid between test steps
       
    27 SHARED_DATA z:\tusif\tscr\tscr_performance.ini shared_data
       
    28 
       
    29 RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file
       
    30 
       
    31 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0001
       
    32 //! @SYMTestCaseDesc 			The time taken to add a minimal appregistration data (without localized info and opaque data).
       
    33 //! SYMTestPerformanceTarget	100ms
       
    34 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0001
       
    35 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_minimal_app_reg_info
       
    36 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_minimal_app_reg_info
       
    37 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0001
       
    38 
       
    39 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0002
       
    40 //! @SYMTestCaseDesc 			The time taken to add a minimal appregistration data (without localized info).
       
    41 //! SYMTestPerformanceTarget	150ms
       
    42 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0002
       
    43 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_minimal_app_reg_info_with_opaquedata
       
    44 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_minimal_app_reg_info_with_opaquedata
       
    45 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0002
       
    46 
       
    47 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0003
       
    48 //! @SYMTestCaseDesc 			The time taken to add an appregistration data (without localized info and opaque data).
       
    49 //! SYMTestPerformanceTarget	150ms
       
    50 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0003
       
    51 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_app_reg_info_no_localized
       
    52 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_app_reg_info_no_localized
       
    53 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0003
       
    54 
       
    55 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0004
       
    56 //! @SYMTestCaseDesc 			The time taken to add an appregistration data (without localized info).
       
    57 //! SYMTestPerformanceTarget	200ms
       
    58 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0004
       
    59 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_app_reg_info_no_localized_with_opaquedata
       
    60 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_app_reg_info_no_localized_with_opaquedata
       
    61 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0004
       
    62 
       
    63 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0005
       
    64 //! @SYMTestCaseDesc 			The time taken to add an appregistration data with 1 localized info.
       
    65 //! SYMTestPerformanceTarget	200ms
       
    66 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0005
       
    67 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_app_reg_info_1_localized
       
    68 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_app_reg_info_1_localized
       
    69 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0005
       
    70 
       
    71 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0006
       
    72 //! @SYMTestCaseDesc 			The time taken to add an appregistration data with 2 localized info.
       
    73 //! SYMTestPerformanceTarget	200ms
       
    74 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0006
       
    75 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_app_reg_info_2_localized
       
    76 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_app_reg_info_2_localized
       
    77 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0006
       
    78 
       
    79 //! @SYMTestCaseID				APPINSTALL-SCR-APP-PERFORMANCE-0007
       
    80 //! @SYMTestCaseDesc 			The time taken to add an appregistration data with 5 localized info.
       
    81 //! SYMTestPerformanceTarget	200ms
       
    82 START_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0007
       
    83 RUN_TEST_STEP 100 tscr Performance-SCRAddApplicationEntry z:\tusif\tscr\tscr_performance.ini add_app_reg_info_5_localized
       
    84 RUN_TEST_STEP 100 tscrapparc Performance-ScrGetApplicationRegistrationView z:\tusif\tscr\tscr_performance.ini get_add_app_reg_info_5_localized
       
    85 END_TESTCASE APPINSTALL-SCR-APP-PERFORMANCE-0007
       
    86 
       
    87 //RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file