cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/oldserver_newfeature.script
branchRCL_3
changeset 61 641f389e9157
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
       
     1 //
       
     2 // Copyright (c) 2009 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 START_TESTCASE                SEC-OLDSERVER_NEWFEATURE-0001
       
    18 
       
    19 //! @SYMTestCaseID            SEC-OLDSERVER_NEWFEATURE-0001
       
    20 
       
    21 //! @SYMTestCaseDesc          
       
    22 
       
    23 //! @SYMTestActions           1) Delete keystore data file
       
    24 
       
    25 //!                           2) Retrieving label of a particular key store
       
    26 
       
    27 //!                           3) Closing key store
       
    28 
       
    29 //!                           4) Retrieving label of a particular key store
       
    30 
       
    31 //!                           5) Closing key store
       
    32 
       
    33 //!                           6) 1.0.0.0.1,Opening key store 1 in manager mode
       
    34 
       
    35 //!                           7) 1.0.0.0.2,Opening key store 2 in manager mode
       
    36 
       
    37 //!                           8) 1.0.0.1 NOT A TEST Delete default keys
       
    38 
       
    39 //!                           9) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003)
       
    40 
       
    41 //!                           10) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003)
       
    42 
       
    43 //!                           11) Set a new authentication policy for a key with which the user is not registered
       
    44 
       
    45 //!                           12) Gets authentication policy for a key
       
    46 
       
    47 //!                           13) 1.1.0 Import a RSA key
       
    48 
       
    49 //!                           14) 1.2.0.69.0 Closing key store 1
       
    50 
       
    51 //!                           15) 1.2.0.69.1 Closing key store 2
       
    52 
       
    53 //!                           16) 1.4.999.2, Sleep 5 seconds
       
    54 
       
    55 //!                           17) 1.4.999.3, Check for server heap error
       
    56 
       
    57 RUN_TEST_STEP                 -1    CTestHandler        deletekeystoredata  
       
    58 
       
    59 RUN_TEST_STEP                 -1    CTestHandler        init                   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-002
       
    60 
       
    61 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
    62 
       
    63 RUN_TEST_STEP !Error=-2       -1    CTestHandler        init                   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-004
       
    64 
       
    65 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
    66 
       
    67 RUN_TEST_STEP                 -1    CTestHandler        init                   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-006
       
    68 
       
    69 RUN_TEST_STEP                 -1    CTestHandler        init                   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-007
       
    70 
       
    71 RUN_TEST_STEP                 -1    CTestHandler        deletekeys          
       
    72 
       
    73 RUN_TEST_STEP                 -1    CTestHandler        addkey                 oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-009
       
    74 
       
    75 RUN_TEST_STEP !Error=-5       -1    CTestHandler        addkey                 oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-010
       
    76 
       
    77 RUN_TEST_STEP !Error=-5       -1    CTestHandler        authenticationpolicy   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-011
       
    78 
       
    79 RUN_TEST_STEP !Error=-5       -1    CTestHandler        authenticationpolicy   oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-012
       
    80 
       
    81 RUN_TEST_STEP !Error=-5       -1    CTestHandler        importkey              oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-013
       
    82 
       
    83 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
    84 
       
    85 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
    86 
       
    87 RUN_TEST_STEP                 -1    CTestHandler        sleep                  oldserver_newfeature.ini   SEC-OLDSERVER_NEWFEATURE-0001-016
       
    88 
       
    89 RUN_TEST_STEP                 -1    CTestHandler        checkserverheaperror
       
    90 
       
    91 END_TESTCASE                  SEC-OLDSERVER_NEWFEATURE-0001
       
    92 
       
    93 
       
    94 
       
    95 
       
    96