authenticationservices/authenticationserver/test/reftestplugin/tpinplugin/scripts/tpinplugin.script
branchRCL_3
changeset 62 a71299154b21
parent 61 641f389e9157
child 63 94225563cd41
equal deleted inserted replaced
61:641f389e9157 62:a71299154b21
     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 PinPlugin tests...
       
    19 
       
    20 LOAD_SUITE tpinplugin
       
    21 
       
    22 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
    23 //!@file				
       
    24 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0050
       
    25 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
    26 //!@SYMTestCaseDesc			Delete already existing plugin store.
       
    27 //!@SYMPREQ                 PREQ218
       
    28 //!@SYMTestStatus			Implemented
       
    29 //!@SYMTestPriority			High
       
    30 //!@SYMTestExpectedResults	Deletion successful.
       
    31 //!@SYMTestType				UT
       
    32 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
    33 
       
    34 START_TESTCASE SEC-AUT-PINPLUGIN-0050
       
    35 
       
    36 RUN_UTILS DeleteFile c:\private\102740fc\plugin.store
       
    37 
       
    38 END_TESTCASE SEC-AUT-PINPLUGIN-0050
       
    39 
       
    40 
       
    41 //////////////////////////////////////////////////////////////////////////////////////////////
       
    42 //!@file				
       
    43 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0001 
       
    44 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
    45 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and get the
       
    46 //					properties of the pin plugin.
       
    47 //!@SYMREQ 				REQ5004, REQ5005, REQ5006, REQ5007,REQ5019,REQ5001
       
    48 //!@SYMPREQ                   		PREQ219
       
    49 //!@SYMTestStatus			Implemented
       
    50 //!@SYMTestPriority			High
       
    51 //!@SYMTestActions  			1.Load Pin Plugin
       
    52 //      				2.Get the Properties of the plugin
       
    53 //      				3.Verify the properties
       
    54 //!@SYMTestExpectedResults		verification returns success
       
    55 //!@SYMTestType				UT
       
    56 //////////////////////////////////////////////////////////////////////////////////////////////
       
    57 
       
    58 START_TESTCASE SEC-AUT-PINPLUGIN-0001
       
    59 
       
    60 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini plugin_properties
       
    61 
       
    62 END_TESTCASE SEC-AUT-PINPLUGIN-0001
       
    63 
       
    64 //////////////////////////////////////////////////////////////////////////////////////////////
       
    65 //!@file				
       
    66 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0002 
       
    67 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
    68 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and get the
       
    69 //					default data of the pin plugin.
       
    70 //!@SYMREQ 				REQ5019
       
    71 //!@SYMPREQ                   		PREQ219
       
    72 //!@SYMTestStatus			Implemented
       
    73 //!@SYMTestPriority			High
       
    74 //!@SYMTestActions  			1.Load Pin Plugin
       
    75 //      				2.Get the default data of the plugin
       
    76 //      				3.Verify with identify operation
       
    77 //!@SYMTestExpectedResults		verification returns success
       
    78 //!@SYMTestType				UT
       
    79 //////////////////////////////////////////////////////////////////////////////////////////////
       
    80 
       
    81 START_TESTCASE SEC-AUT-PINPLUGIN-0002
       
    82 
       
    83 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini default_data
       
    84 
       
    85 END_TESTCASE SEC-AUT-PINPLUGIN-0002
       
    86 
       
    87 //////////////////////////////////////////////////////////////////////////////////////////////
       
    88 //!@file				
       
    89 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0003 
       
    90 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
    91 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
    92 //					User with the selected Pin and store the pin and ID of
       
    93 //					the user to the DB.
       
    94 //!@SYMREQ 				REQ5021, REQ5012
       
    95 //!@SYMPREQ                   		PREQ219
       
    96 //!@SYMTestStatus			Implemented
       
    97 //!@SYMTestPriority			High
       
    98 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
    99 //					2. Select first Pin from first Train dialog (EPINPlugInTraining).
       
   100 //					3. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   101 //					harness.
       
   102 //					4. Call Identify function.
       
   103 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   104 //					operation from notification dialog code.
       
   105 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   106 //					operation match
       
   107 //!@SYMTestType				UT
       
   108 //////////////////////////////////////////////////////////////////////////////////////////////
       
   109 
       
   110 START_TESTCASE SEC-AUT-PINPLUGIN-0003
       
   111 
       
   112 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_ok1
       
   113 
       
   114 END_TESTCASE SEC-AUT-PINPLUGIN-0003
       
   115 
       
   116 //////////////////////////////////////////////////////////////////////////////////////////////
       
   117 //!@file				
       
   118 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0004 
       
   119 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   120 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   121 //					User with the selected Pin and store the pin and ID of
       
   122 //					the user to the DB.
       
   123 //!@SYMREQ 				REQ5021, REQ5012
       
   124 //!@SYMPREQ                   		PREQ219
       
   125 //!@SYMTestStatus			Implemented
       
   126 //!@SYMTestPriority			High
       
   127 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   128 //					2. Select first Pin from second Train dialog (EPINPlugInTraining).
       
   129 //					3. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   130 //					harness.
       
   131 //					4. Call Identify function.
       
   132 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   133 //					operation from notification dialog code.
       
   134 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   135 //					operation match
       
   136 //!@SYMTestType				UT
       
   137 //////////////////////////////////////////////////////////////////////////////////////////////
       
   138 
       
   139 START_TESTCASE SEC-AUT-PINPLUGIN-0004
       
   140 
       
   141 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_ok2
       
   142 
       
   143 END_TESTCASE SEC-AUT-PINPLUGIN-0004
       
   144 
       
   145 //////////////////////////////////////////////////////////////////////////////////////////////
       
   146 //!@file				
       
   147 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0005 
       
   148 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   149 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   150 //					User with the selected Pin and store the pin and ID of
       
   151 //					the user to the DB.
       
   152 //!@SYMREQ 				REQ5021, REQ5012
       
   153 //!@SYMPREQ                   		PREQ219
       
   154 //!@SYMTestStatus			Implemented
       
   155 //!@SYMTestPriority			High
       
   156 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   157 //					2. Select first Pin from Third Train dialog (EPINPlugInTraining).
       
   158 //					3. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   159 //					harness.
       
   160 //					4. Call Identify function.
       
   161 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   162 //					operation from notification dialog code.
       
   163 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   164 //					operation match
       
   165 //!@SYMTestType				UT
       
   166 //////////////////////////////////////////////////////////////////////////////////////////////
       
   167 
       
   168 START_TESTCASE SEC-AUT-PINPLUGIN-0005
       
   169 
       
   170 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_ok3
       
   171 
       
   172 END_TESTCASE SEC-AUT-PINPLUGIN-0005
       
   173 
       
   174 //////////////////////////////////////////////////////////////////////////////////////////////
       
   175 //!@file				
       
   176 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0006 
       
   177 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   178 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   179 //					User with the selected Pin and store the pin and ID of
       
   180 //					the user to the DB.
       
   181 //!@SYMREQ 				REQ5021, REQ5012
       
   182 //!@SYMPREQ                   		PREQ219
       
   183 //!@SYMTestStatus			Implemented
       
   184 //!@SYMTestPriority			High
       
   185 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   186 //					2. Select first Pin from fifth Train dialog (EPINPlugInTraining).
       
   187 //					3. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   188 //					harness.
       
   189 //					4. Call Identify function.
       
   190 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   191 //					operation from notification dialog code.
       
   192 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   193 //					operation match
       
   194 //!@SYMTestType				UT
       
   195 //////////////////////////////////////////////////////////////////////////////////////////////
       
   196 
       
   197 START_TESTCASE SEC-AUT-PINPLUGIN-0006
       
   198 
       
   199 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_ok4
       
   200 
       
   201 END_TESTCASE SEC-AUT-PINPLUGIN-0006
       
   202 
       
   203 //////////////////////////////////////////////////////////////////////////////////////////////
       
   204 //!@file				
       
   205 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0007
       
   206 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   207 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   208 //					User with the selected Pin and store the pin and ID of
       
   209 //					the user to the DB.
       
   210 //!@SYMREQ 				REQ5021
       
   211 //!@SYMPREQ                   		PREQ219
       
   212 //!@SYMTestStatus			Implemented
       
   213 //!@SYMTestPriority			High
       
   214 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   215 //					2. Select first Pin from Tenth Train dialog (EPINPlugInTraining).
       
   216 //					3. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   217 //					harness.
       
   218 //					4. Call Identify function.
       
   219 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   220 //					operation from notification dialog code.
       
   221 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   222 //					operation match
       
   223 //!@SYMTestType				UT
       
   224 //////////////////////////////////////////////////////////////////////////////////////////////
       
   225 
       
   226 START_TESTCASE SEC-AUT-PINPLUGIN-0007
       
   227 
       
   228 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_ok5
       
   229 
       
   230 END_TESTCASE SEC-AUT-PINPLUGIN-0007
       
   231 
       
   232 //////////////////////////////////////////////////////////////////////////////////////////////
       
   233 //!@file				
       
   234 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0008 
       
   235 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   236 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   237 //					User with the selected Pin and store the pin and ID of
       
   238 //					the user to the DB.
       
   239 //!@SYMREQ 				REQ5021,REQ5020
       
   240 //!@SYMPREQ                   		PREQ219
       
   241 //!@SYMTestStatus			Implemented
       
   242 //!@SYMTestPriority			High
       
   243 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   244 //					2. Enter the new pinlength in first Train dialog and Enter Next button.
       
   245 //					3. Select first Pin from next Train dialog which displays pin with new length.
       
   246 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   247 //					harness.
       
   248 //					4. Call Identify function.
       
   249 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   250 //					operation from notification dialog code.
       
   251 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   252 //					operation match
       
   253 //!@SYMTestType				UT
       
   254 //////////////////////////////////////////////////////////////////////////////////////////////
       
   255 
       
   256 START_TESTCASE SEC-AUT-PINPLUGIN-0008
       
   257 
       
   258 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_changepin
       
   259 
       
   260 END_TESTCASE SEC-AUT-PINPLUGIN-0008
       
   261 
       
   262 //////////////////////////////////////////////////////////////////////////////////////////////
       
   263 //!@file				
       
   264 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0009 
       
   265 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   266 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   267 //					User with the selected Pin and store the pin and ID of
       
   268 //					the user to the DB.
       
   269 //!@SYMREQ 				REQ5021
       
   270 //!@SYMPREQ                   		PREQ219
       
   271 //!@SYMTestStatus			Implemented
       
   272 //!@SYMTestPriority			High
       
   273 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   274 //					2. Select Cancel button when Training dialog displayed.
       
   275 //					3. Call Identify function.
       
   276 //					4. Displays Identify dialogs (EPINPlugInIdentify), enter random PIN		
       
   277 //!@SYMTestExpectedResults		Train function should complete with KErrAuthServPluginCancelled
       
   278 //					and Identify Fails and gives the result as no identity Exist.
       
   279 //!@SYMTestType				UT
       
   280 //////////////////////////////////////////////////////////////////////////////////////////////
       
   281 
       
   282 START_TESTCASE SEC-AUT-PINPLUGIN-0009
       
   283 
       
   284 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_cancel
       
   285 
       
   286 END_TESTCASE SEC-AUT-PINPLUGIN-0009
       
   287 
       
   288 //////////////////////////////////////////////////////////////////////////////////////////////
       
   289 //!@file				
       
   290 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0010
       
   291 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   292 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   293 //					User with the selected Pin and store the pin and ID of
       
   294 //					the user to the DB.
       
   295 //!@SYMREQ 				REQ5021
       
   296 //!@SYMPREQ                   		PREQ219
       
   297 //!@SYMTestStatus			Implemented
       
   298 //!@SYMTestPriority			High
       
   299 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   300 //					2. Select Quit button when Training dialog displayed.
       
   301 //					3. Call Identify function.
       
   302 //					4. Displays Identify dialogs (EPINPlugInIdentify), enter random PIN		
       
   303 //!@SYMTestExpectedResults		Train function should complete with KErrAuthServPluginuit
       
   304 //					and Identify Fails and gives the result as no identity Exist.
       
   305 //!@SYMTestType				UT
       
   306 //////////////////////////////////////////////////////////////////////////////////////////////
       
   307 
       
   308 START_TESTCASE SEC-AUT-PINPLUGIN-0010
       
   309 
       
   310 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_quit
       
   311 
       
   312 END_TESTCASE SEC-AUT-PINPLUGIN-0010
       
   313 
       
   314 //////////////////////////////////////////////////////////////////////////////////////////////
       
   315 //!@file				
       
   316 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0011 
       
   317 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   318 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   319 //					User with the selected Pin and store the pin and ID of
       
   320 //					the user to the DB.
       
   321 //!@SYMREQ 				REQ5021
       
   322 //!@SYMPREQ                   		PREQ219
       
   323 //!@SYMTestStatus			Implemented
       
   324 //!@SYMTestPriority			High
       
   325 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   326 //					2. Call Cancel function of Plug-in object.
       
   327 //					4. Call Identify function.
       
   328 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter random pin.
       
   329 //!@SYMTestExpectedResults		Train asynchronous operation shall be stopped. Calling active object receive
       
   330 //					KErrCancel. and identify Fails and gives the result as no identity Exist.
       
   331 //!@SYMTestType				UT
       
   332 //////////////////////////////////////////////////////////////////////////////////////////////
       
   333 
       
   334 START_TESTCASE SEC-AUT-PINPLUGIN-0011
       
   335 
       
   336 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini train_server_cancel1
       
   337 
       
   338 END_TESTCASE SEC-AUT-PINPLUGIN-0011
       
   339 
       
   340 //////////////////////////////////////////////////////////////////////////////////////////////
       
   341 //!@file				
       
   342 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0012 
       
   343 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   344 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   345 //					User with the selected Pin and store the pin and ID of
       
   346 //					the user to the DB.
       
   347 //!@SYMREQ 				REQ5022, REQ5013
       
   348 //!@SYMPREQ                   		PREQ219
       
   349 //!@SYMTestStatus			Implemented
       
   350 //!@SYMTestPriority			High
       
   351 //!@SYMTestActions  			1. Load Plug-in 
       
   352 //					2. call Train Function
       
   353 //					3. Select first Pin from first Train dialog (EPINPlugInTraining).
       
   354 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   355 //					harness.
       
   356 //					5. Call Identify function.
       
   357 //					6. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   358 //					operation from notification dialog code.
       
   359 //					7. Repeat 1-6 to ReTrain
       
   360 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   361 //					operation match
       
   362 //!@SYMTestType				UT
       
   363 //////////////////////////////////////////////////////////////////////////////////////////////
       
   364 
       
   365 START_TESTCASE SEC-AUT-PINPLUGIN-0012
       
   366 
       
   367 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_ok1
       
   368 
       
   369 END_TESTCASE SEC-AUT-PINPLUGIN-0012
       
   370 
       
   371 //////////////////////////////////////////////////////////////////////////////////////////////
       
   372 //!@file				
       
   373 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0013
       
   374 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   375 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   376 //					User with the selected Pin and store the pin and ID of
       
   377 //					the user to the DB.
       
   378 //!@SYMREQ 				REQ5022, REQ5013
       
   379 //!@SYMPREQ                   		PREQ219
       
   380 //!@SYMTestStatus			Implemented
       
   381 //!@SYMTestPriority			High
       
   382 //!@SYMTestActions  			1. Load Plug-in 
       
   383 //					2. call Train Function
       
   384 //					3. Select first Pin from Second Train dialog (EPINPlugInTraining).
       
   385 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   386 //					harness.
       
   387 //					5. Call Identify function.
       
   388 //					6. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   389 //					operation from notification dialog code.
       
   390 //					7. Repeat 1-6 to ReTrain
       
   391 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   392 					operation match
       
   393 //!@SYMTestType				UT
       
   394 //////////////////////////////////////////////////////////////////////////////////////////////
       
   395 
       
   396 START_TESTCASE SEC-AUT-PINPLUGIN-0013
       
   397 
       
   398 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_ok2
       
   399 
       
   400 END_TESTCASE SEC-AUT-PINPLUGIN-0013
       
   401 
       
   402 //////////////////////////////////////////////////////////////////////////////////////////////
       
   403 //!@file				
       
   404 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0014
       
   405 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   406 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   407 //					User with the selected Pin and store the pin and ID of
       
   408 //					the user to the DB.
       
   409 //!@SYMREQ 				REQ5022, REQ5013
       
   410 //!@SYMPREQ                   		PREQ219
       
   411 //!@SYMTestStatus			Implemented
       
   412 //!@SYMTestPriority			High
       
   413 //!@SYMTestActions  			1. Load Plug-in 
       
   414 //					2. call Train Function
       
   415 //					3. Select first Pin from Third Train dialog (EPINPlugInTraining).
       
   416 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   417 //					harness.
       
   418 //					5. Call Identify function.
       
   419 //					6. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   420 //					operation from notification dialog code.
       
   421 //					7. Repeat 1-6 to ReTrain
       
   422 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   423 					operation match
       
   424 //!@SYMTestType				UT
       
   425 //////////////////////////////////////////////////////////////////////////////////////////////
       
   426 
       
   427 START_TESTCASE SEC-AUT-PINPLUGIN-0014
       
   428 
       
   429 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_ok3
       
   430 
       
   431 END_TESTCASE SEC-AUT-PINPLUGIN-0014
       
   432 
       
   433 //////////////////////////////////////////////////////////////////////////////////////////////
       
   434 //!@file				
       
   435 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0015 
       
   436 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   437 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   438 //					User with the selected Pin and store the pin and ID of
       
   439 //					the user to the DB.
       
   440 //!@SYMREQ 				REQ5022, REQ5013
       
   441 //!@SYMPREQ                   		PREQ219
       
   442 //!@SYMTestStatus			Implemented
       
   443 //!@SYMTestPriority			High
       
   444 //!@SYMTestActions  			1. Load Plug-in 
       
   445 //					2. call Train Function
       
   446 //					3. Select first Pin from Fifth Train dialog (EPINPlugInTraining).
       
   447 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   448 //					harness.
       
   449 //					5. Call Identify function.
       
   450 //					6. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   451 //					operation from notification dialog code.
       
   452 //					7. Repeat 1-6 to ReTrain
       
   453 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   454 //					operation match
       
   455 //!@SYMTestType				UT
       
   456 //////////////////////////////////////////////////////////////////////////////////////////////
       
   457 
       
   458 START_TESTCASE SEC-AUT-PINPLUGIN-0015
       
   459 
       
   460 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_ok4
       
   461 
       
   462 END_TESTCASE SEC-AUT-PINPLUGIN-0015
       
   463 
       
   464 //////////////////////////////////////////////////////////////////////////////////////////////
       
   465 //!@file				
       
   466 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0016 
       
   467 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   468 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   469 //					User with the selected Pin and store the pin and ID of
       
   470 //					the user to the DB.
       
   471 //!@SYMREQ 				REQ5022
       
   472 //!@SYMPREQ                   		PREQ219
       
   473 //!@SYMTestStatus			Implemented
       
   474 //!@SYMTestPriority			High
       
   475 //!@SYMTestActions  			1. Load Plug-in 
       
   476 //					2. call Train Function
       
   477 //					3. Select first Pin from Tenth Train dialog (EPINPlugInTraining).
       
   478 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   479 //					harness.
       
   480 //					5. Call Identify function.
       
   481 //					6. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   482 //					operation from notification dialog code.
       
   483 //					7. Repeat 1-6 to ReTrain
       
   484 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   485 //					operation match
       
   486 //!@SYMTestType				UT
       
   487 //////////////////////////////////////////////////////////////////////////////////////////////
       
   488 
       
   489 START_TESTCASE SEC-AUT-PINPLUGIN-0016
       
   490 
       
   491 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_ok5
       
   492 
       
   493 END_TESTCASE SEC-AUT-PINPLUGIN-0016
       
   494 
       
   495 //////////////////////////////////////////////////////////////////////////////////////////////
       
   496 //!@file				
       
   497 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0017
       
   498 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   499 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   500 //					User with the selected Pin and store the pin and ID of
       
   501 //					the user to the DB.
       
   502 //!@SYMREQ 				REQ5021,REQ5020
       
   503 //!@SYMPREQ                   		PREQ219
       
   504 //!@SYMTestStatus			Implemented
       
   505 //!@SYMTestPriority			High
       
   506 //!@SYMTestActions  			1. Load Plug-in, call Train Function and select first pin form first dialog.
       
   507 //					2. Call Identify function, enter PIN saved in previous operation from notification 
       
   508 //					dialog code.
       
   509 //					3. call Train Function. Enter the new pinlength in first Train dialog and Enter Next 
       
   510 //					button.
       
   511 //					3. Select first Pin from next Train dialog which displays pin with new length.
       
   512 //					4. Save the Identity ID and returned Identify hash in aResult parameter inside test 	
       
   513 //					harness.
       
   514 //					4. Call Identify function.
       
   515 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter PIN saved in previous 		
       
   516 //					operation from notification dialog code.
       
   517 //!@SYMTestExpectedResults		Saved values from Train operation and returned values from Identity
       
   518 //					operation match
       
   519 //!@SYMTestType				UT
       
   520 //////////////////////////////////////////////////////////////////////////////////////////////
       
   521 
       
   522 START_TESTCASE SEC-AUT-PINPLUGIN-0017
       
   523 
       
   524 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_changepin
       
   525 
       
   526 END_TESTCASE SEC-AUT-PINPLUGIN-0017
       
   527 
       
   528 //////////////////////////////////////////////////////////////////////////////////////////////
       
   529 //!@file				
       
   530 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0018 
       
   531 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   532 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   533 //					User with the selected Pin and store the pin and ID of
       
   534 //					the user to the DB.
       
   535 //!@SYMREQ 				REQ5021
       
   536 //!@SYMPREQ                   		PREQ219
       
   537 //!@SYMTestStatus			Implemented
       
   538 //!@SYMTestPriority			High
       
   539 //!@SYMTestActions  			1. Load Plug-in, call Train Function and select first pin form first dialog.
       
   540 //					2. Call Identify function, enter PIN saved in previous operation from notification 
       
   541 //					dialog code.
       
   542 //					3. call Train Function. Enter the Cancel button.
       
   543 //					4. Call Identify function.
       
   544 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter random PIN		
       
   545 //!@SYMTestExpectedResults		Train function complete with KErrAuthServPluginCancelled
       
   546 //					and Identify Fails and gives the result as identityexist given a wrong pin
       
   547 //					while repeat identy function with correct pin gives success.
       
   548 //!@SYMTestType				UT
       
   549 //////////////////////////////////////////////////////////////////////////////////////////////
       
   550 
       
   551 START_TESTCASE SEC-AUT-PINPLUGIN-0018
       
   552 
       
   553 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_cancel
       
   554 
       
   555 END_TESTCASE SEC-AUT-PINPLUGIN-0018
       
   556 
       
   557 //////////////////////////////////////////////////////////////////////////////////////////////
       
   558 //!@file				
       
   559 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0019
       
   560 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   561 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   562 //					User with the selected Pin and store the pin and ID of
       
   563 //					the user to the DB.
       
   564 //!@SYMREQ 				REQ5021
       
   565 //!@SYMPREQ                   		PREQ219
       
   566 //!@SYMTestStatus			Implemented
       
   567 //!@SYMTestPriority			High
       
   568 //!@SYMTestActions  			1. Load Plug-in, call Train Function and select first pin form first dialog.
       
   569 //					2. Call Identify function, enter PIN saved in previous operation from notification 
       
   570 //					dialog code.
       
   571 //					3. call Train Function. Enter the Quit button.
       
   572 //					3. Call Identify function.
       
   573 //					4. Displays Identify dialogs (EPINPlugInIdentify), enter random PIN		
       
   574 //!@SYMTestExpectedResults		Train function complete with KErrAuthServPluginCancelled
       
   575 //					and Identify Fails and gives the result as identityexist given a wrong pin
       
   576 //					while repeat identy function with correct pin gives success.
       
   577 //!@SYMTestType				UT
       
   578 //////////////////////////////////////////////////////////////////////////////////////////////
       
   579 
       
   580 START_TESTCASE SEC-AUT-PINPLUGIN-0019
       
   581 
       
   582 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_quit
       
   583 
       
   584 END_TESTCASE SEC-AUT-PINPLUGIN-0019
       
   585 
       
   586 //////////////////////////////////////////////////////////////////////////////////////////////
       
   587 //!@file				
       
   588 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0020 
       
   589 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   590 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and train the
       
   591 //					User with the selected Pin and store the pin and ID of
       
   592 //					the user to the DB.
       
   593 //!@SYMREQ 				REQ5021
       
   594 //!@SYMPREQ                   		PREQ219
       
   595 //!@SYMTestStatus			Implemented
       
   596 //!@SYMTestPriority			High
       
   597 //!@SYMTestActions  			1. Load Plug-in, call Train Function and select first pin form first dialog.
       
   598 //					2. Call Identify function, enter PIN saved in previous operation from notification 
       
   599 //					dialog code.
       
   600 //					3. call Train Function. Call Cancel function of Plug-in object.
       
   601 //					4. Call Identify function.
       
   602 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter random pin.
       
   603 //!@SYMTestExpectedResults		Train asynchronous operation shall be stopped. Calling active object receive
       
   604 //					KErrCancel. and Identify Fails and gives the result as identityexist given a wrong
       
   605 //					pin while repeat identy function with correct pin gives success.
       
   606 //!@SYMTestType				UT
       
   607 //////////////////////////////////////////////////////////////////////////////////////////////
       
   608 
       
   609 START_TESTCASE SEC-AUT-PINPLUGIN-0020
       
   610 
       
   611 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini retrain_server_cancel1
       
   612 
       
   613 END_TESTCASE SEC-AUT-PINPLUGIN-0020
       
   614 
       
   615 //////////////////////////////////////////////////////////////////////////////////////////////
       
   616 //!@file				
       
   617 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0021 
       
   618 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   619 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and identify the
       
   620 //					User with the given Pin and return the keyhash to the server.
       
   621 //!@SYMREQ 				REQ5021
       
   622 //!@SYMPREQ                   		PREQ219
       
   623 //!@SYMTestStatus			Implemented
       
   624 //!@SYMTestPriority			High
       
   625 //!@SYMTestActions  			1. Load Plug-in 
       
   626 //					2. Call Identify function which already trained with default pin.
       
   627 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter default pin in first dialog.
       
   628 //!@SYMTestExpectedResults		identify returns success in first dialog itself
       
   629 //!@SYMTestType				UT
       
   630 //////////////////////////////////////////////////////////////////////////////////////////////
       
   631 
       
   632 START_TESTCASE SEC-AUT-PINPLUGIN-0021
       
   633 
       
   634 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini identify_ok_pass
       
   635 
       
   636 END_TESTCASE SEC-AUT-PINPLUGIN-0021
       
   637 
       
   638 //////////////////////////////////////////////////////////////////////////////////////////////
       
   639 //!@file				
       
   640 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0022
       
   641 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   642 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and identify the
       
   643 //					User with the given Pin and return the keyhash to the server.
       
   644 //!@SYMREQ 				REQ5021
       
   645 //!@SYMPREQ                   		PREQ219
       
   646 //!@SYMTestStatus			Implemented
       
   647 //!@SYMTestPriority			High
       
   648 //!@SYMTestActions  			1. Load Plug-in 
       
   649 //					2. Call Identify function which already trained.
       
   650 //					5. Displays Identify dialogs (EPINPlugInIdentify), enter wrong pin 3 retry dialogs.
       
   651 //!@SYMTestExpectedResults		identify operation not displayed 4 dialog and failed with 
       
   652 //					EPinPluginIdentificationFailure.
       
   653 //!@SYMTestType				UT
       
   654 //////////////////////////////////////////////////////////////////////////////////////////////
       
   655 
       
   656 START_TESTCASE SEC-AUT-PINPLUGIN-0022
       
   657 
       
   658 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini identify_ok_fail
       
   659 
       
   660 END_TESTCASE SEC-AUT-PINPLUGIN-0022
       
   661 
       
   662 //////////////////////////////////////////////////////////////////////////////////////////////
       
   663 //!@file				
       
   664 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0023
       
   665 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   666 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and identify the
       
   667 //					User with the given Pin and return the keyhash to the server.
       
   668 //!@SYMREQ 				REQ5021
       
   669 //!@SYMPREQ                   		PREQ219
       
   670 //!@SYMTestStatus			Implemented
       
   671 //!@SYMTestPriority			High
       
   672 //!@SYMTestActions  			1. Load Plug-in and call Identify Function
       
   673 //					2. Select Cancel button when Identify dialog displayed.
       
   674 //!@SYMTestExpectedResults		Identify function complete with KErrAuthServPluginCancelled(code = -10804)  
       
   675 //					and Identify Fails with EPinPluginIdentificationFailure.
       
   676 //!@SYMTestType				UT
       
   677 //////////////////////////////////////////////////////////////////////////////////////////////
       
   678 
       
   679 START_TESTCASE SEC-AUT-PINPLUGIN-0023
       
   680 
       
   681 RUN_TEST_STEP !Error=-10804  100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini identify_cancel
       
   682 
       
   683 END_TESTCASE SEC-AUT-PINPLUGIN-0023
       
   684 
       
   685 //////////////////////////////////////////////////////////////////////////////////////////////
       
   686 //!@file				
       
   687 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0024 
       
   688 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   689 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and identify the
       
   690 //					User with the given Pin and return the keyhash to the server.
       
   691 //!@SYMREQ 				REQ5021
       
   692 //!@SYMPREQ                   		PREQ219
       
   693 //!@SYMTestStatus			Implemented
       
   694 //!@SYMTestPriority			High
       
   695 //!@SYMTestActions  			1. Load Plug-in and call Identify Function
       
   696 //					2. Select Quit button when Identify dialog displayed.
       
   697 //!@SYMTestExpectedResults		Identify function complete with KErrAuthServPluginQuit(code = -10805)
       
   698 //					and Identify Fails with EPinPluginIdentificationFailure.
       
   699 //!@SYMTestType				UT
       
   700 //////////////////////////////////////////////////////////////////////////////////////////////
       
   701 
       
   702 START_TESTCASE SEC-AUT-PINPLUGIN-0024
       
   703 
       
   704 RUN_TEST_STEP !Error=-10805 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini identify_quit
       
   705 
       
   706 END_TESTCASE SEC-AUT-PINPLUGIN-0024
       
   707 
       
   708 //////////////////////////////////////////////////////////////////////////////////////////////
       
   709 //!@file				
       
   710 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0025
       
   711 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   712 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and identify the
       
   713 //					User with the given Pin and return the keyhash to the server.
       
   714 //!@SYMREQ 				REQ5021
       
   715 //!@SYMPREQ                   		PREQ219
       
   716 //!@SYMTestStatus			Implemented
       
   717 //!@SYMTestPriority			High
       
   718 //!@SYMTestActions  			1. Load Plug-in and call Identify Function
       
   719 //					2. Call Cancel function of Plug-in object.
       
   720 //!@SYMTestExpectedResults		Identify asynchronous operation shall be stopped. Calling active object receive
       
   721 //					KErrCancel. 
       
   722 //!@SYMTestType				UT
       
   723 //////////////////////////////////////////////////////////////////////////////////////////////
       
   724 
       
   725 START_TESTCASE SEC-AUT-PINPLUGIN-0025
       
   726 
       
   727 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini identify_server_cancel1
       
   728 
       
   729 END_TESTCASE SEC-AUT-PINPLUGIN-0025
       
   730 
       
   731 //////////////////////////////////////////////////////////////////////////////////////////////
       
   732 //!@file				
       
   733 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0026
       
   734 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   735 //!@SYMTestCaseDesc			Below test cases will load the pinplugin and while training the
       
   736 //					User because of invalid pinsize the registration fails.  
       
   737 //					the user to the DB.
       
   738 //!@SYMREQ 				REQ5021,REQ5020
       
   739 //!@SYMPREQ                   		PREQ219, DEF141405
       
   740 //!@SYMTestStatus			Implemented
       
   741 //!@SYMTestPriority			High
       
   742 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   743 //					2. Enter the new pinlength which is more than the max value in first Train dialog and 
       
   744 //					Enter Next button.
       
   745 //!@SYMTestExpectedResults		Pinplugin leaves with KErrAuthServRegistrationFailed(-10810).
       
   746 //!@SYMTestType				UT
       
   747 //////////////////////////////////////////////////////////////////////////////////////////////
       
   748 
       
   749 START_TESTCASE SEC-AUT-PINPLUGIN-0026
       
   750 
       
   751 RUN_TEST_STEP !Error=-10810  100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini newpin_morethanmax
       
   752 
       
   753 END_TESTCASE SEC-AUT-PINPLUGIN-0026
       
   754 
       
   755 //////////////////////////////////////////////////////////////////////////////////////////////
       
   756 //!@file				
       
   757 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0027 
       
   758 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   759 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and while train the
       
   760 //					User because of invalid pinsize the registration fails.
       
   761 //!@SYMREQ 				REQ5021,REQ5020
       
   762 //!@SYMPREQ                   		PREQ219, DEF141405
       
   763 //!@SYMTestStatus			Implemented
       
   764 //!@SYMTestPriority			High
       
   765 //!@SYMTestActions  			1. Load Plug-in and call Train Function
       
   766 //					2. Enter the new pinlength which is less than the min value in first Train dialog and 
       
   767 //					Enter Next button.
       
   768 //!@SYMTestExpectedResults		Pinplugin leaves with KErrAuthServRegistrationFailed(-10810).
       
   769 //!@SYMTestType				UT
       
   770 //////////////////////////////////////////////////////////////////////////////////////////////
       
   771 
       
   772 START_TESTCASE SEC-AUT-PINPLUGIN-0027
       
   773 
       
   774 RUN_TEST_STEP !Error=-10810  100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini newpin_lessthanmin
       
   775 
       
   776 END_TESTCASE SEC-AUT-PINPLUGIN-0027
       
   777 
       
   778 //////////////////////////////////////////////////////////////////////////////////////////////
       
   779 //!@file				
       
   780 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0028 
       
   781 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   782 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and perform various train, 
       
   783 //					identify, cancel functions sequentially.
       
   784 //!@SYMREQ 				REQ5021, REQ 5020
       
   785 //!@SYMPREQ                   		PREQ219
       
   786 //!@SYMTestStatus			Implemented
       
   787 //!@SYMTestPriority			High
       
   788 //!@SYMTestActions  			1. Load Plug-in 
       
   789 //					2. call Train Function verify with Identify Function.
       
   790 //					2. call Train Function
       
   791 //					3. Call Forget Function verify with Identify Function.
       
   792 //					4. call Train Function and while training the user cancel from dialog.
       
   793 //					5. call Train Function and verify with identify Function.
       
   794 //!@SYMTestExpectedResults		All the Function returns expected results
       
   795 //!@SYMTestType				UT
       
   796 //////////////////////////////////////////////////////////////////////////////////////////////
       
   797 
       
   798 START_TESTCASE SEC-AUT-PINPLUGIN-0028
       
   799 
       
   800 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini sequence
       
   801 
       
   802 END_TESTCASE SEC-AUT-PINPLUGIN-0028
       
   803 
       
   804 //////////////////////////////////////////////////////////////////////////////////////////////
       
   805 //!@file				
       
   806 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0029 
       
   807 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   808 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   809 //					the trained data if already trained.
       
   810 //!@SYMREQ 				REQ5021
       
   811 //!@SYMPREQ                   		PREQ219
       
   812 //!@SYMTestStatus			Implemented
       
   813 //!@SYMTestPriority			High
       
   814 //!@SYMTestActions  			1. Load Plug-in and 
       
   815 //					2. Call Forget operation for unknown identity
       
   816 //					3. verify with identify operation
       
   817 //!@SYMTestExpectedResults		return with KErrAuthServNoSuchIdentity. Identify fails
       
   818 //					and gives the reason as no identity exists.
       
   819 //!@SYMTestType				UT
       
   820 //////////////////////////////////////////////////////////////////////////////////////////////
       
   821 
       
   822 START_TESTCASE SEC-AUT-PINPLUGIN-0029
       
   823 
       
   824 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_fail
       
   825 
       
   826 END_TESTCASE SEC-AUT-PINPLUGIN-0029
       
   827 
       
   828 //////////////////////////////////////////////////////////////////////////////////////////////
       
   829 //!@file				
       
   830 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0030 
       
   831 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   832 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   833 //					the trained data if already trained.
       
   834 //!@SYMREQ 				REQ5021
       
   835 //!@SYMPREQ                   		PREQ219
       
   836 //!@SYMTestStatus			Implemented
       
   837 //!@SYMTestPriority			High
       
   838 //!@SYMTestActions  			1. Load Plug-in
       
   839 //					2. Call Forget operation for already trained identity
       
   840 //					and number of trained entries in the DB is more than one.
       
   841 //					3. verify with identify operation
       
   842 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   843 //!@SYMTestType				UT
       
   844 //////////////////////////////////////////////////////////////////////////////////////////////
       
   845 
       
   846 START_TESTCASE SEC-AUT-PINPLUGIN-0030
       
   847 
       
   848 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass1
       
   849 
       
   850 END_TESTCASE SEC-AUT-PINPLUGIN-0030
       
   851 
       
   852 //////////////////////////////////////////////////////////////////////////////////////////////
       
   853 //!@file				
       
   854 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0031 
       
   855 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   856 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   857 //					the trained data if already trained.
       
   858 //!@SYMREQ 				REQ5021
       
   859 //!@SYMPREQ                   		PREQ219
       
   860 //!@SYMTestStatus			Implemented
       
   861 //!@SYMTestPriority			High
       
   862 //!@SYMTestActions  			1. Load Plug-in
       
   863 //					2. Call Forget operation for already trained identity
       
   864 //					and number of trained entries in the DB is more than one.
       
   865 //					3. verify with identify operation
       
   866 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   867 //!@SYMTestType				UT
       
   868 //////////////////////////////////////////////////////////////////////////////////////////////
       
   869 
       
   870 START_TESTCASE SEC-AUT-PINPLUGIN-0031
       
   871 
       
   872 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass2
       
   873 
       
   874 END_TESTCASE SEC-AUT-PINPLUGIN-0031
       
   875 
       
   876 //////////////////////////////////////////////////////////////////////////////////////////////
       
   877 //!@file				
       
   878 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0032
       
   879 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   880 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   881 //					the trained data if already trained.
       
   882 //!@SYMREQ 				REQ5021
       
   883 //!@SYMPREQ                   		PREQ219
       
   884 //!@SYMTestStatus			Implemented
       
   885 //!@SYMTestPriority			High
       
   886 //!@SYMTestActions  			1. Load Plug-in
       
   887 //					2. Call Forget operation for already trained identity
       
   888 //					and number of trained entries in the DB is more than one.
       
   889 //					3. verify with identify operation
       
   890 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   891 //!@SYMTestType				UT
       
   892 //////////////////////////////////////////////////////////////////////////////////////////////
       
   893 
       
   894 START_TESTCASE SEC-AUT-PINPLUGIN-0032
       
   895 
       
   896 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass3
       
   897 
       
   898 END_TESTCASE SEC-AUT-PINPLUGIN-0032
       
   899 
       
   900 //////////////////////////////////////////////////////////////////////////////////////////////
       
   901 //!@file				
       
   902 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0033
       
   903 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   904 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   905 //					the trained data if already trained.
       
   906 //!@SYMREQ 				REQ5021
       
   907 //!@SYMPREQ                   		PREQ219
       
   908 //!@SYMTestStatus			Implemented
       
   909 //!@SYMTestPriority			High
       
   910 //!@SYMTestActions  			1. Load Plug-in
       
   911 //					2. Call Forget operation for already trained identity
       
   912 //					and number of trained entries in the DB is more than one.
       
   913 //					3. verify with identify operation
       
   914 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   915 //!@SYMTestType				UT
       
   916 //////////////////////////////////////////////////////////////////////////////////////////////
       
   917 
       
   918 START_TESTCASE SEC-AUT-PINPLUGIN-0033
       
   919 
       
   920 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass4
       
   921 
       
   922 END_TESTCASE SEC-AUT-PINPLUGIN-0033
       
   923 
       
   924 //////////////////////////////////////////////////////////////////////////////////////////////
       
   925 //!@file				
       
   926 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0034
       
   927 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   928 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   929 //					the trained data if already trained.
       
   930 //!@SYMREQ 				REQ5021
       
   931 //!@SYMPREQ                   		PREQ219
       
   932 //!@SYMTestStatus			Implemented
       
   933 //!@SYMTestPriority			High
       
   934 //!@SYMTestActions  			1. Load Plug-in
       
   935 //					2. Call Forget operation for already trained identity
       
   936 //					and number of trained entries in the DB is more than one.
       
   937 //					3. verify with identify operation
       
   938 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   939 //!@SYMTestType				UT
       
   940 //////////////////////////////////////////////////////////////////////////////////////////////
       
   941 
       
   942 START_TESTCASE SEC-AUT-PINPLUGIN-0034
       
   943 
       
   944 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass5
       
   945 
       
   946 END_TESTCASE SEC-AUT-PINPLUGIN-0034
       
   947 
       
   948 //////////////////////////////////////////////////////////////////////////////////////////////
       
   949 //!@file				
       
   950 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0035 
       
   951 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   952 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   953 //					the trained data if already trained.
       
   954 //!@SYMREQ 				REQ5021
       
   955 //!@SYMPREQ                   		PREQ219
       
   956 //!@SYMTestStatus			Implemented
       
   957 //!@SYMTestPriority			High
       
   958 //!@SYMTestActions  			1. Load Plug-in
       
   959 //					2. Call Forget operation for already trained identity
       
   960 //					and number of trained entries in the DB is more than one.
       
   961 //					3. verify with identify operation
       
   962 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   963 //!@SYMTestType				UT
       
   964 //////////////////////////////////////////////////////////////////////////////////////////////
       
   965 
       
   966 START_TESTCASE SEC-AUT-PINPLUGIN-0035
       
   967 
       
   968 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass6
       
   969 
       
   970 END_TESTCASE SEC-AUT-PINPLUGIN-0035
       
   971 
       
   972 //////////////////////////////////////////////////////////////////////////////////////////////
       
   973 //!@file				
       
   974 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0036
       
   975 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
   976 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
   977 //					the trained data if already trained.
       
   978 //!@SYMREQ 				REQ5021
       
   979 //!@SYMPREQ                   		PREQ219
       
   980 //!@SYMTestStatus			Implemented
       
   981 //!@SYMTestPriority			High
       
   982 //!@SYMTestActions  			1. Load Plug-in
       
   983 //					2. Call Forget operation for already trained identity
       
   984 //					and number of trained entries in the DB is more than one.
       
   985 //					3. verify with identify operation
       
   986 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
   987 //!@SYMTestType				UT
       
   988 //////////////////////////////////////////////////////////////////////////////////////////////
       
   989 
       
   990 START_TESTCASE SEC-AUT-PINPLUGIN-0036
       
   991 
       
   992 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass7
       
   993 
       
   994 END_TESTCASE SEC-AUT-PINPLUGIN-0036
       
   995 
       
   996 //////////////////////////////////////////////////////////////////////////////////////////////
       
   997 //!@file				
       
   998 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0037 
       
   999 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1000 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1001 //					the trained data if already trained.
       
  1002 //!@SYMREQ 				REQ5021
       
  1003 //!@SYMPREQ                   		PREQ219
       
  1004 //!@SYMTestStatus			Implemented
       
  1005 //!@SYMTestPriority			High
       
  1006 //!@SYMTestActions  			1. Load Plug-in
       
  1007 //					2. Call Forget operation for already trained identity
       
  1008 //					and number of trained entries in the DB is more than one.
       
  1009 //					3. verify with identify operation
       
  1010 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1011 //!@SYMTestType				UT
       
  1012 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1013 
       
  1014 START_TESTCASE SEC-AUT-PINPLUGIN-0037
       
  1015 
       
  1016 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass8
       
  1017 
       
  1018 END_TESTCASE SEC-AUT-PINPLUGIN-0037
       
  1019 
       
  1020 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1021 //!@file				
       
  1022 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0038 
       
  1023 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1024 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1025 //					the trained data if already trained.
       
  1026 //!@SYMREQ 				REQ5021
       
  1027 //!@SYMPREQ                   		PREQ219
       
  1028 //!@SYMTestStatus			Implemented
       
  1029 //!@SYMTestPriority			High
       
  1030 //!@SYMTestActions  			1. Load Plug-in
       
  1031 //					2. Call Forget operation for already trained identity
       
  1032 //					and number of trained entries in the DB is more than one.
       
  1033 //					3. verify with identify operation
       
  1034 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1035 //!@SYMTestType				UT
       
  1036 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1037 
       
  1038 START_TESTCASE SEC-AUT-PINPLUGIN-0038
       
  1039 
       
  1040 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass9
       
  1041 
       
  1042 END_TESTCASE SEC-AUT-PINPLUGIN-0038
       
  1043 
       
  1044 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1045 //!@file				
       
  1046 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0039
       
  1047 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1048 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1049 //					the trained data if already trained.
       
  1050 //!@SYMREQ 				REQ5021
       
  1051 //!@SYMPREQ                   		PREQ219
       
  1052 //!@SYMTestStatus			Implemented
       
  1053 //!@SYMTestPriority			High
       
  1054 //!@SYMTestActions  			1. Load Plug-in
       
  1055 //					2. Call Forget operation for already trained identity
       
  1056 //					and number of trained entries in the DB is more than one.
       
  1057 //					3. verify with identify operation
       
  1058 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1059 //!@SYMTestType				UT
       
  1060 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1061 
       
  1062 START_TESTCASE SEC-AUT-PINPLUGIN-0039
       
  1063 
       
  1064 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass10
       
  1065 
       
  1066 END_TESTCASE SEC-AUT-PINPLUGIN-0039
       
  1067 
       
  1068 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1069 //!@file				
       
  1070 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0040 
       
  1071 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1072 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1073 //					the trained data if already trained.
       
  1074 //!@SYMREQ 				REQ5021
       
  1075 //!@SYMPREQ                   		PREQ219
       
  1076 //!@SYMTestStatus			Implemented
       
  1077 //!@SYMTestPriority			High
       
  1078 //!@SYMTestActions  			1. Load Plug-in
       
  1079 //					2. Call Forget operation for already trained identity
       
  1080 //					and number of trained entries in the DB is more than one.
       
  1081 //					3. verify with identify operation
       
  1082 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1083 //!@SYMTestType				UT
       
  1084 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1085 
       
  1086 START_TESTCASE SEC-AUT-PINPLUGIN-0040
       
  1087 
       
  1088 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass11
       
  1089 
       
  1090 END_TESTCASE SEC-AUT-PINPLUGIN-0040
       
  1091 
       
  1092 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1093 //!@file				
       
  1094 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0041 
       
  1095 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1096 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1097 //					the trained data if already trained.
       
  1098 //!@SYMREQ 				REQ5021
       
  1099 //!@SYMPREQ                   		PREQ219
       
  1100 //!@SYMTestStatus			Implemented
       
  1101 //!@SYMTestPriority			High
       
  1102 //!@SYMTestActions  			1. Load Plug-in
       
  1103 //					2. Call Forget operation for already trained identity
       
  1104 //					and number of trained entries in the DB is more than one.
       
  1105 //					3. verify with identify operation
       
  1106 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1107 //!@SYMTestType				UT
       
  1108 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1109 
       
  1110 START_TESTCASE SEC-AUT-PINPLUGIN-0041
       
  1111 
       
  1112 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass12
       
  1113 
       
  1114 END_TESTCASE SEC-AUT-PINPLUGIN-0041
       
  1115 
       
  1116 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1117 //!@file				
       
  1118 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0042
       
  1119 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1120 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1121 //					the trained data if already trained.
       
  1122 //!@SYMREQ 				REQ5021
       
  1123 //!@SYMPREQ                   		PREQ219
       
  1124 //!@SYMTestStatus			Implemented
       
  1125 //!@SYMTestPriority			High
       
  1126 //!@SYMTestActions  			1. Load Plug-in
       
  1127 //					2. Call Forget operation for already trained identity
       
  1128 //					and number of trained entries in the DB is more than one.
       
  1129 //					3. verify with identify operation
       
  1130 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1131 //!@SYMTestType				UT
       
  1132 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1133 
       
  1134 START_TESTCASE SEC-AUT-PINPLUGIN-0042
       
  1135 
       
  1136 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass13
       
  1137 
       
  1138 END_TESTCASE SEC-AUT-PINPLUGIN-0042
       
  1139 
       
  1140 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1141 //!@file				
       
  1142 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0043
       
  1143 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1144 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1145 //					the trained data if already trained.
       
  1146 //!@SYMREQ 				REQ5021
       
  1147 //!@SYMPREQ                   		PREQ219
       
  1148 //!@SYMTestStatus			Implemented
       
  1149 //!@SYMTestPriority			High
       
  1150 //!@SYMTestActions  			1. Load Plug-in
       
  1151 //					2. Call Forget operation for already trained identity
       
  1152 //					and number of trained entries in the DB is more than one.
       
  1153 //					3. verify with identify operation
       
  1154 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1155 //!@SYMTestType				UT
       
  1156 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1157 
       
  1158 START_TESTCASE SEC-AUT-PINPLUGIN-0043
       
  1159 
       
  1160 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass14
       
  1161 
       
  1162 END_TESTCASE SEC-AUT-PINPLUGIN-0043
       
  1163 
       
  1164 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1165 //!@file				
       
  1166 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0044 
       
  1167 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1168 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1169 //					the trained data if already trained.
       
  1170 //!@SYMREQ 				REQ5021
       
  1171 //!@SYMPREQ                   		PREQ219
       
  1172 //!@SYMTestStatus			Implemented
       
  1173 //!@SYMTestPriority			High
       
  1174 //!@SYMTestActions  			1. Load Plug-in
       
  1175 //					2. Call Forget operation for already trained identity
       
  1176 //					and number of trained entries in the DB is more than one.
       
  1177 //					3. verify with identify operation
       
  1178 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1179 //!@SYMTestType				UT
       
  1180 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1181 
       
  1182 START_TESTCASE SEC-AUT-PINPLUGIN-0044
       
  1183 
       
  1184 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass15
       
  1185 
       
  1186 END_TESTCASE SEC-AUT-PINPLUGIN-0044
       
  1187 
       
  1188 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1189 //!@file				
       
  1190 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0045 
       
  1191 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1192 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1193 //					the trained data if already trained.
       
  1194 //!@SYMREQ 				REQ5021
       
  1195 //!@SYMPREQ                   		PREQ219
       
  1196 //!@SYMTestStatus			Implemented
       
  1197 //!@SYMTestPriority			High
       
  1198 //!@SYMTestActions  			1. Load Plug-in
       
  1199 //					2. Call Forget operation for already trained identity
       
  1200 //					and number of trained entries in the DB is more than one.
       
  1201 //					3. verify with identify operation
       
  1202 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1203 //!@SYMTestType				UT
       
  1204 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1205 
       
  1206 START_TESTCASE SEC-AUT-PINPLUGIN-0045
       
  1207 
       
  1208 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass16
       
  1209 
       
  1210 END_TESTCASE SEC-AUT-PINPLUGIN-0045
       
  1211 
       
  1212 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1213 //!@file				
       
  1214 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0046 
       
  1215 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1216 //!@SYMTestCaseDesc			Below test cases perform load the pinplugin and forget
       
  1217 //					the trained data if already trained.
       
  1218 //!@SYMREQ 				REQ5021
       
  1219 //!@SYMPREQ                   		PREQ219
       
  1220 //!@SYMTestStatus			Implemented
       
  1221 //!@SYMTestPriority			High
       
  1222 //!@SYMTestActions  			1. Load Plug-in
       
  1223 //					2. Call Forget operation for already trained identity
       
  1224 //					and number of trained entrie in the DB is exactly one.
       
  1225 //					3. verify with identify operation
       
  1226 //!@SYMTestExpectedResults		Identify fails and gives the reason as no such identity exists.
       
  1227 //!@SYMTestType				UT
       
  1228 //////////////////////////////////////////////////////////////////////////////////////////////
       
  1229 
       
  1230 START_TESTCASE SEC-AUT-PINPLUGIN-0046
       
  1231 
       
  1232 RUN_TEST_STEP 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini forget_pass17
       
  1233 
       
  1234 // delete the source file
       
  1235 RUN_UTILS DeleteFile c:\private\102740fc\plugin.store
       
  1236 
       
  1237 END_TESTCASE SEC-AUT-PINPLUGIN-0046
       
  1238 
       
  1239 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
  1240 //!@file				
       
  1241 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0047
       
  1242 //!@SYMTestCaseDependencies		TEF, ini file (pinplugin.ini) containing the test data path for 
       
  1243 //					the OOM tests.
       
  1244 //!@SYMTestCaseDesc			Below test cases perform out of memory tests for the Pin Plugin.
       
  1245 //!@SYMPREQ                   		PREQ219
       
  1246 //!@SYMTestStatus			Implemented
       
  1247 //!@SYMTestPriority			High
       
  1248 //!@SYMTestExpectedResults		
       
  1249 //!@SYMTestType				UT
       
  1250 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
  1251 
       
  1252 START_TESTCASE SEC-AUT-PINPLUGIN-0047
       
  1253 
       
  1254 // Test case perform out of memory tests for CAuthPluginInterface* NewL()
       
  1255 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom1
       
  1256 
       
  1257 // Test case perform out of memory tests for DefaultData()
       
  1258 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom2
       
  1259 
       
  1260 // Test case perform out of memory tests for Identify()
       
  1261 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom3
       
  1262 
       
  1263 // Test case perform out of memory tests for Train()
       
  1264 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom4
       
  1265 
       
  1266 // Test case perform out of memory tests for ReTrain()
       
  1267 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom5
       
  1268 
       
  1269 // Test case perform out of memory tests for Forget()
       
  1270 RUN_TEST_STEP !OOM 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini oom6
       
  1271 
       
  1272 END_TESTCASE SEC-AUT-PINPLUGIN-0047
       
  1273 
       
  1274 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
  1275 //!@file				
       
  1276 //!@SYMTestCaseID			SEC-AUT-PINPLUGIN-0049
       
  1277 //!@SYMTestCaseDependencies		TestData ini file(pinplugin.ini) containing the data 
       
  1278 //!@SYMTestCaseDesc			Below test case try to load the plugin when the DB was corrupted.
       
  1279 //!@SYMPREQ                   		PREQ219
       
  1280 //!@SYMTestStatus			Implemented
       
  1281 //!@SYMTestPriority			High
       
  1282 //!@SYMTestExpectedResults		Load fails with error code
       
  1283 //!@SYMTestType				UT
       
  1284 /////////////////////////////////////////////////////////////////////////////////////////////////////
       
  1285 
       
  1286 START_TESTCASE SEC-AUT-PINPLUGIN-0049
       
  1287 
       
  1288 RUN_UTILS DeleteFile c:\private\102740fc\plugin.store
       
  1289 RUN_UTILS CopyFile c:\tauth\tauthsvr\testdata\authsvrpolicy.ini c:\private\102740fc\plugin.store
       
  1290 RUN_TEST_STEP_RESULT -5 100 tpinplugin tPinPluginTestStep c:\tauth\tpinplugin\scripts\tpinplugin.ini plugin_properties
       
  1291 RUN_UTILS DeleteFile c:\private\102740fc\plugin.store
       
  1292 
       
  1293 END_TESTCASE SEC-AUT-PINPLUGIN-0049
       
  1294 
       
  1295