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