installationservices/swcomponentregistry/test/tscr/scripts/tscr_oom.script
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 //
       
     2 // Copyright (c) 2009-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 // 
       
    16 //
       
    17 
       
    18 PRINT Run all SCR performance tests.
       
    19 LOAD_SUITE tscr
       
    20 
       
    21 // Copy SCR DB
       
    22 RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file 
       
    23 RUN_TEST_STEP 100 tscr SCRCopyDbFile z:\tusif\tscr\tscr.ini scr_medium_db
       
    24 
       
    25 //! @SYMTestCaseID 		API-SEC-SCR-API-OOM-0001
       
    26 //! @SYMTestCaseDesc 	Testing for OOM condition at various locations in SCR Server
       
    27 
       
    28 START_TESTCASE API-SEC-SCR-API-OOM-0001
       
    29 RUN_TEST_STEP -1 tscr SCROutOfMemory
       
    30 END_TESTCASE API-SEC-SCR-API-OOM-0001
       
    31 
       
    32 
       
    33 RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file 
       
    34 RUN_TEST_STEP 100 tscr SCRCopyDbFile z:\tusif\tscr\tscr.ini scr_multiapp
       
    35 
       
    36 //! @SYMTestCaseID 		API-SEC-SCR-API-OOM-0002
       
    37 //! @SYMTestCaseDesc 	Testing for OOM condition at various locations in SCR Server for operations on application registration info
       
    38 
       
    39 START_TESTCASE API-SEC-SCR-API-OOM-0002
       
    40 RUN_TEST_STEP -1 tscr SCROutOfMemory z:\tusif\tscr\tscr_appreginfo.ini SCROutOfMemory_App_RegistrationInfo
       
    41 END_TESTCASE API-SEC-SCR-API-OOM-0002
       
    42 
       
    43 RUN_TEST_STEP 100 tscr SCRDeleteDbFile z:\tusif\tscr\tscr.ini db_file