authenticationservices/authenticationserver/test/tAuthSvr/scripts/tAuthSvr.script
branchRCL_3
changeset 45 030c4fbc13d7
parent 44 d07aa956024a
child 47 b54b58ee9d58
equal deleted inserted replaced
44:d07aa956024a 45:030c4fbc13d7
     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 
       
    18 PRINT Authentication Server tests...
       
    19 
       
    20 LOAD_SUITE tAuthSvr -SharedData
       
    21 //Next line makes use of the new keyword that is more readable
       
    22 //LOAD_SERVER tAuthSvr -SharedData		
       
    23 
       
    24 
       
    25 //============================================================
       
    26 //
       
    27 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0001
       
    28 //! @SYMTestCaseDesc Start the authServer with no identities, having a default plugin defined
       
    29 //! 		     (FirstStart1_Normal)
       
    30 //! @SYMREQ REQ , REQ , REQ , REQ 
       
    31 //! @SYMTestPriority Medium
       
    32 //! @SYMTestActions  Have a default plugin defined, use a client that has ReadDeviceData capability to connect to the AuthServer, 
       
    33 //!			call the Enumerate Identity API
       
    34 //! @SYMTestExpectedResults Default identity is the only one listed
       
    35 //! @SYMDevelopedForRelease Intulo
       
    36 START_TESTCASE SEC-AUT-AUTHSVR-0001
       
    37 RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	FIRST_START	c:\tAuthSvr\scripts\tauthsvr.ini Test0001
       
    38 //RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	AUTHSVR_CHECK	c:\tAuthSvr\scripts\tauthsvr.ini Test0001
       
    39 END_TESTCASE SEC-AUT-AUTHSVR-0001 
       
    40 
       
    41 
       
    42 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0002
       
    43 //! @SYMTestCaseDesc Start the authServer with no identities, having no default plugin defined
       
    44 //! 		     (FirstStart2_NoDefaultPlugin)
       
    45 //! @SYMREQ REQ , REQ , REQ , REQ 
       
    46 //! @SYMTestPriority Medium
       
    47 //! @SYMTestActions  Have no default plugin defined, use a client that has ReadDeviceData capability to connect to the AuthServer, 
       
    48 //!			call the Enumerate Identity API.
       
    49 //! @SYMTestExpectedResults KErrServerTerminated is received when trying to call the Identities API
       
    50 //! @SYMDevelopedForRelease Intulo
       
    51 START_TESTCASE SEC-AUT-AUTHSVR-0002
       
    52 RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	FIRST_START	c:\tAuthSvr\scripts\tauthsvr.ini Test0002
       
    53 //RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	AUTHSVR_CHECK	c:\tAuthSvr\scripts\tauthsvr.ini Test0002
       
    54 END_TESTCASE SEC-AUT-AUTHSVR-0002
       
    55 
       
    56 
       
    57 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0003
       
    58 //! @SYMTestCaseDesc Start the authServer with no identities, having a default plugin defined which is a Biometric type
       
    59 //! 		     (FirstStart3_DefaultIsBiometricType)
       
    60 //! @SYMREQ REQ , REQ , REQ , REQ 
       
    61 //! @SYMTestPriority Medium
       
    62 //! @SYMTestActions  Have a default plugin defined, which is of Biometric type. use a client that has ReadDeviceData 
       
    63 //!			capability to connect to the AuthServer, call the Enumerate Identity API.
       
    64 //! @SYMTestExpectedResults KErrServerTerminated is received when trying to call the Identities API
       
    65 //! @SYMDevelopedForRelease Intulo
       
    66 START_TESTCASE SEC-AUT-AUTHSVR-0003
       
    67 RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	FIRST_START	c:\tAuthSvr\scripts\tauthsvr.ini Test0003
       
    68 //RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	AUTHSVR_CHECK	c:\tAuthSvr\scripts\tauthsvr.ini Test0003
       
    69 END_TESTCASE SEC-AUT-AUTHSVR-0003
       
    70 
       
    71 
       
    72 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0004
       
    73 //! @SYMTestCaseDesc Start the authServer with no identities, having a default plugin which does not support the returning of a default result
       
    74 //! 		     (FirstStart4_NoDefaultResult)
       
    75 //! @SYMREQ REQ , REQ , REQ , REQ 
       
    76 //! @SYMTestPriority Medium
       
    77 //! @SYMTestActions  Have a default plugin defined, which returns a default result. 
       
    78 //! 			Use a client that has ReadDeviceData capability to connect to the AuthServer, 
       
    79 //!			call the Enumerate Identity API
       
    80 //! @SYMTestExpectedResults KErrServerTerminated is received when trying to call the Identities API
       
    81 //! @SYMDevelopedForRelease Intulo
       
    82 START_TESTCASE SEC-AUT-AUTHSVR-0004
       
    83 RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	FIRST_START	c:\tAuthSvr\scripts\tauthsvr.ini Test0004
       
    84 //RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	AUTHSVR_CHECK	c:\tAuthSvr\scripts\tauthsvr.ini Test0004
       
    85 END_TESTCASE SEC-AUT-AUTHSVR-0004
       
    86 
       
    87 
       
    88 //----------------------------------------------------------------------
       
    89 
       
    90 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0005
       
    91 //! @SYMTestCaseDesc Attempt to register a new identity
       
    92 //! 		     (RegisterIdentity1_Normal)
       
    93 //! @SYMREQ REQ , REQ , REQ , REQ 
       
    94 //! @SYMTestPriority Medium
       
    95 //! @SYMTestActions  Have a default plugin defined, which supports the returning of a default result. 
       
    96 //! 			Use a client that has ReadDeviceData capability to connect to the AuthServer, 
       
    97 //! 			Call the RegisterNewUser API with a client that has WriteDeviceData then train the 1 existing active plugin
       
    98 //!			call the Enumerate Identity API
       
    99 //! @SYMTestExpectedResults KErrServerTerminated is received when trying to call the Identities API
       
   100 //! @SYMDevelopedForRelease Intulo
       
   101 START_TESTCASE SEC-AUT-AUTHSVR-0005
       
   102 RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	REG_IDENTITY	c:\tAuthSvr\scripts\tauthsvr.ini Test0021
       
   103 //RUN_TEST_STEP_RESULT 0 100	tAuthSvr 	AUTHSVR_CHECK	c:\tAuthSvr\scripts\tauthsvr.ini Test0021
       
   104 END_TESTCASE SEC-AUT-AUTHSVR-0005