os/kernelhwsrv/kerneltest/f32test/smassstorage/PREQ544_test_spec_v0.2.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 //==========================
    19 //Base Test - F32 Test Suite
    20 //==========================
    21 
    22  //! @SYMTestCaseID TestStartStopServer_Normal1
    23  //! @SYMTestType CT
    24 
    25  //! @SYMTestCaseDesc Test start/stop server in normal conditions
    26 
    27  //! @SYMFssID Base/emstore/2.2.1
    28 
    29  //! @SYMTestActions 
    30  //!	a. Load MS Server/File system, 
    31  //!	b. start it with correct SUID. 
    32  //!	c. Send GET_MAX_LUN request using TestLdd. 
    33  //! 	d. Send TEST_UNIT_READY CBW for all LUN using TestLdd. 
    34  //!	e. Stop server. 
    35  //!	f. Check USB clients have been deregistered. 
    36 
    37  //! @SYMTestExpectedResults The Load and Start request (step a and b) should complete successfully, Expected LUN should be
    38  //!	returned. 
    39  //!	NOT_PRESENT CSW should be returned for every TEST_UNIT_READY request (step d). 
    40  //!	Stop request (step e) should be completed successfully.
    41 
    42  //! @SYMTestPriority Low
    43  //! @SYMTestStatus Defined
    44 
    45  //--------------------------------------
    46 
    47 
    48  //! @SYMTestCaseID TestStartStopServer_Abnormal1
    49  //! @SYMTestType CT
    50 
    51  //! @SYMTestCaseDesc Test start/stop server when MS FS doesn't loaded or when incorrect SUID provided
    52 
    53  //! @SYMFssID Base/emstore/5.1.1
    54  
    55 
    56  //! @SYMTestActions 
    57  //!	a. Do not load MS Server/File system. Try start it with correct SUID. 
    58  //! 	b. Send GET_MAX_LUN request using TestLdd. 
    59  //!	c. Send TEST_UNIT_READY CBW for LUN 0 using TestLdd. 
    60  //! 	d. Load Server/FS. 
    61  //!	e. Start it using wrong SUID, and then 
    62  //!	f. start it using correct SUID. 
    63  //!	g. Try start in again. 
    64  //! 	h. Stop server. 
    65  //!	i. Try Stop it again.  
    66 
    67  //! @SYMTestExpectedResults The start request (step a) should fail. 
    68  //!	The GET_MAX_LUN (step b) and TEST_UNIT_READY requests (step c) should fail
    69  //! 	First (step a), second  (step e) and fours (step g) start requests should fail. 
    70  //!	Third  Start request should succeed.
    71  //!	First stop request (step h) should succeed.
    72  //!	Second Stop request (step i) should fail.
    73 
    74  //! @SYMTestPriority Low
    75  //! @SYMTestStatus Defined
    76 
    77  //---------------------------------------------
    78 
    79  //! @SYMTestCaseID Drive_Registering_1
    80  //! @SYMTestType CT
    81 
    82  //! @SYMTestCaseDesc Test registering MS FS
    83 
    84  //! @SYMFssID Base/emstore/3.1.1
    85  //! @SYMFssID Base/emstore/3.2.1
    86  //! @SYMFssID Base/emstore/4.1.1
    87 
    88  //! @SYMTestActions 
    89  //!	a. Load MS Server/File system and start it. 
    90  //!	b. Mount media as MS FS. Drive letter passed as a parameter
    91  //! 	c. Format media using FAT FS. 
    92  //!	d. Store boot sector for comparison. 
    93  //!	e. Dismount media. 
    94  //!	f. Mount MS FS for this  media.
    95  //! 	g. Read boot sector passing SCSI command through TestLdd, 
    96  //!	h. compare this boot sector with saved.
    97  //! 	i. Try to mount and read the removable media using file server.
    98 
    99  //! @SYMTestExpectedResults 
   100  //!	This test should be run for different drives.
   101  //!	Non removable media should not be mounted (step b) and test expected to fail.
   102  //!	For removable media - 	Steps from c to g should completed successfully
   103  //! 	Read boot sector should be the same as saved. 
   104  //!	File Server's read attempt (step i) should fail when MS FS mounted.
   105 
   106  //! @SYMTestPriority Low
   107  //! @SYMTestStatus Defined
   108  //---------------------------------------------
   109  //! @SYMTestCaseID Drive_UnRegistering_1
   110  //! @SYMTestType CT
   111 
   112  //! @SYMTestCaseDesc Test un-registering MS FS
   113 
   114  //! @SYMFssID Base/emstore/3.2.1
   115  //! @SYMFssID Base/emstore/5.1.2
   116 
   117  //! @SYMTestActions 
   118  //!	a. Try to un-registering already registering MS FS while SCSI is accessing the drive.
   119  //! 	b. Wait for access completion.
   120  //! 	c. Un-register already registered MS FS. 	
   121  //! 	d. Try to read media using file server. 
   122  //! 	e. Remount FAT FS.
   123  //! 	f. Issue UnitReady and Read SCSI command through test LDD. 
   124  //!	g. Try to read media using file server again.
   125  //!	h. Un-mount FAT FS and mount MS FS
   126  //! 
   127  //! 
   128 
   129  //! @SYMTestExpectedResults 
   130  //!	Un-registering request (step a) should return an appropriate error code when media is in use. 
   131  //!	Next un-registering (step c) should be successful. 
   132  //!	attempt (step d) should fail. 
   133  //!    SCSI commands (step f) should report error when MS FS is un-mounted. 
   134  //!	File server read request (step g) should be successful when FAT FS is mounted  
   135  //!    
   136  //! @SYMTestPriority Low
   137  //! @SYMTestStatus Defined
   138 
   139  //---------------------------------------------
   140  //! @SYMTestCaseID Read_boot_sector
   141  //! @SYMTestType CT
   142 
   143  //! @SYMTestCaseDesc Test if NAND media does not expose its Master Boot Record (MBR)
   144 
   145  //! @SYMFssID Base/emstore/2.1.2
   146 
   147  //! @SYMTestActions Read sector 0 using Test LDD. Check if its regular Boot Sector or MBR
   148 
   149  //! @SYMTestExpectedResults  Sector 0 should be regular Boot Sector.
   150 
   151  //! @SYMTestPriority Low
   152  //! @SYMTestStatus Defined
   153 
   154  //---------------------------------------------
   155  //! @SYMTestCaseID Bulk_only_error_conditions_1
   156  //! @SYMTestType CT
   157 
   158  //! @SYMTestCaseDesc Test Bulk_only_transport under the bad condition
   159 
   160  //! @SYMFssID Base/emstore/1.1.1
   161 
   162  //! @SYMTestActions 
   163  //!	a. Send GET_MAX_LUN command to MS using Test LDD, check the response.
   164  //! 	b. Send unsupported command. Check the responce.
   165  //!	c. Clear the error conditions. 
   166  //!	d. Send bad CBW.
   167  //!	e. Send normal CBW. 
   168  //!	f. Send Reset command to clear.
   169  //! 	g. Send normal CBW (INQUIRY) again.
   170 
   171  //! @SYMTestExpectedResults  GET_MAX_LUN (step a) should return expected data. 
   172  //! After unsupported command (step b) STALL PID should be returned at the next Data stage transaction
   173  //! After bad CBW (step d) transport should stall and not response for good CBW (step e). Check no CSW is returned even if normal CBW passed.
   174  //! The last normal CBW (step g) should cause return of CSW with zero's in inquiry packet response. 
   175 
   176  //! @SYMTestPriority Low
   177  //! @SYMTestStatus Defined
   178 
   179  //---------------------------------------------
   180  //! @SYMTestCaseID Bulk_only_13_cases
   181  //! @SYMTestType CT
   182 
   183  //! @SYMTestCaseDesc Test Bulk_only_transport for 13 cases (section 6.7 from 
   184  //! "Universal Serial Bus. Mass Storage Class Bulk-Only Transport" Revision 1.0)
   185 
   186  //! @SYMFssID Base/emstore/1.1.1
   187  //! @SYMFssID Base/emstore/1.2.1
   188 
   189  //! @SYMTestActions Exercise  Balk only transport for all 13 cases.
   190  //!  - No data to send or receive (P20 case(1))
   191  //!    Normal case - Use TEST_UNIT_READY and check no data returned and bCswStatus = 0 or 1
   192  //! 
   193  //!  - Host expects no data, device intends to send/receive data (P20 Case(2) or (3))
   194  //!    Sent READ command (1 sector?) with KCbwDataTransferLength == 0 - Case 2
   195  //!    Sent WRITE command (1 sector?) with KCbwDataTransferLength == 0 - Case 3
   196  //!     - In above cases, transport should issue PHASE_ERROR (bCswStatus = 2)
   197  //! 
   198  //!  - Host expects to receive data (case 6)
   199  //!    Send READ command, 1 sector, KCbwDataTransferLength = 512 bytes - Should return 512bytes with valid CSW
   200  //! 
   201  //!  - Device intends to send less data than expected from host (case 4 and 5)
   202  //!    Send READ command, 1 sector, KCbwDataTransferLength = 1024 bytes 
   203  //!      - Above should return 1024bytes (KCbwDataTransferLength) with 512 byte padding, 512 bytes residue and valid CSW
   204  //! 
   205  //!  - Device intends to send more data than expected by host (case 7 and 8)
   206  //!    Send READ command, 2 sector, KCbwDataTransferLength = 512 bytes 
   207  //!      - Above should return 512bytes (KCbwDataTransferLength), return bCswStatus = 2
   208  //! 
   209  //!  - Host expects to send data to the device
   210  //!    - Device intends to read less than the host sends (case 9,11,12)
   211  //!      Send WRITE command (1 sector) with KCbwDataTransferLength == 1024
   212  //!       - Device reads all data (1024) discarding the last 512 bytes, returns status = 0, residue = 512
   213  //! 
   214  //!    - Device intends to receive more data than sent by the host (case 10, 13)
   215  //!      Send WRITE command (2 sector) with KCbwDataTransferLength == 512
   216  //!      - Device should read all data, return bCswStatus = 2
   217  //! 
   218  //! @SYMTestExpectedResults  Pass
   219 
   220  //! @SYMTestPriority Low
   221  //! @SYMTestStatus Defined
   222 
   223  //---------------------------------------------
   224 
   225  //! @SYMTestCaseID Scsi_Inquiry_normal
   226  //! @SYMTestType CT
   227 
   228  //! @SYMTestCaseDesc Exercise INQUIRY command in normal conditions
   229 
   230  //! @SYMFssID Base/emstore/1.2.3
   231  //! @SYMFssID Base/emstore/1.2.3.1
   232 
   233  //! @SYMTestActions Issue INQUIRY command (CMDDT, EVPD and PAGE OR OPERATION CODE =0 ) when media not present. 
   234  //! Check the response. Then mount media and issue INQUIRY command again. Check the response.
   235 
   236  //! @SYMTestExpectedResults  For both INQUIRY command IDevice type ==0, RMB==1, Version==0, Response Data Format == 0x02 
   237  //! Vendor ID/Product ID/Revision Level should be the same as passed in during Server Start.
   238  //! For first INQUIRY command Qualifier == 1 (the physical device is not currently connected to this logical unit),
   239  //! for next one Qualifier == 0.
   240 
   241 
   242  //! @SYMTestPriority Low
   243  //! @SYMTestStatus Defined
   244 
   245  //---------------------------------------------
   246  //! @SYMTestCaseID Scsi_Inquiry_error
   247  //! @SYMTestType CT
   248 
   249  //! @SYMTestCaseDesc Exercise INQUIRY command in error conditions
   250 
   251  //! @SYMFssID Base/emstore/1.2.3
   252 
   253  //! @SYMTestActions Issue INQUIRY command with CMDDT =1, Check the sense code.
   254  //! Issue INQUIRY command with CMDDT =0 and EVPD=0 when PAGE OR OPERATION CODE field is not zero, Check the sense code.
   255 
   256 
   257  //! @SYMTestExpectedResults  The SCSI protocol shall return CHECK CONDITION status with the sense
   258  //! key set to ILLEGAL REQUEST and an additional sense code of INVALID FIELD IN CDB.
   259 
   260  //! @SYMTestPriority Low
   261  //! @SYMTestStatus Defined
   262 
   263  //---------------------------------------------
   264  //! @SYMTestCaseID Scsi_Request_Sense
   265  //! @SYMTestType CT
   266 
   267  //! @SYMTestCaseDesc Exercise REQUEST_SENSE command
   268 
   269  //! @SYMFssID Base/emstore/1.2.3
   270 
   271  //! @SYMTestActions - Issue REQUEST_SENSE before any other command - Should return OK sense code
   272  //!  - Issue TEST_UNIT_READY for unregistered drive
   273  //!	    Check CSW returns status = 0x01
   274  //!	    Issue REQUEST_SENSE - should return NOT_READY sense code
   275  //!	    Issue REQUEST_SENSE - should return OK sense code
   276  //!
   277  //!  - Issue TEST_UNIT_READY for registered drive.
   278  //!	    Check CSW returns status = 0x00
   279  //!	    Issue REQUEST_SENSE - should return OK sense code
   280  //!
   281  //!  - Issue TEST_UNIT_READY for unregistered drive.
   282  //!	    Check CSW returns status = 0x01
   283  //!	    Issue TEST_UNIT_READY for registered drive.
   284  //!	    Check CSW returns status = 0x00
   285  //!	    Issue REQUEST_SENSE - should return OK sense code
   286 
   287  //! @SYMTestExpectedResults  Described above
   288 
   289  //! @SYMTestPriority Low
   290  //! @SYMTestStatus Defined
   291 
   292  //---------------------------------------------
   293  //! @SYMTestCaseID Scsi_Mode_Sense
   294  //! @SYMTestType CT
   295 
   296  //! @SYMTestCaseDesc Exercise MODE_SENSE command
   297 
   298  //! @SYMFssID Base/emstore/1.2.3
   299 
   300  //! @SYMTestActions 
   301  //!	Register drive. 
   302  //!	Issue request for 3Fh code page for write protected and not write protected media
   303 
   304  //!	dev notes: latest implementation of scsi protocol supports only (SPC-2 p.100):
   305  //!		- PC field
   306  //!			- 00b	| supported 
   307  //!			- 10b	| in the same
   308  //!			- 11b	| manner
   309  //!			- 01b - NOT supported
   310  //!		- PAGE CODE (p. 189)
   311  //!			- 3Fh code ONLY
   312  //!	
   313 
   314  //! @SYMTestExpectedResults 
   315  //!	OUTPUT:
   316  //!		- device-specific parameter, field WP only (table 147, p.189 and table 101, p.107 in SBC-2)
   317  //!		NOT supported:
   318  //!		- block descriptors are not supported (table 146)
   319  //!		- pages
   320 
   321  //! @SYMTestPriority Low
   322  //! @SYMTestStatus Defined
   323 
   324  //---------------------------------------------
   325  //! @SYMTestCaseID Scsi_Bad_Lun
   326  //! @SYMTestType CT
   327 
   328  //! @SYMTestCaseDesc Test SCSI commands behavior for when unsupported LUN provided
   329 
   330  //! @SYMFssID Base/emstore/1.2.3
   331 
   332  //! @SYMTestActions Issue all supported SCSI command with unsupported LUN.
   333 
   334  //! @SYMTestExpectedResults  All commands should return CHECK CONDITION status 
   335  //!		with the sense key set to ILLEGAL REQUEST / LUN NOT SUPPORTED. 
   336 
   337  //! @SYMTestPriority Low
   338  //! @SYMTestStatus Defined
   339 
   340 
   341  //---------------------------------------------
   342  //! @SYMTestCaseID Scsi_media_change
   343  //! @SYMTestType CT
   344 
   345  //! @SYMTestCaseDesc Test SCSI commands behavior when media changed
   346 
   347  //! @SYMFssID Base/emstore/1.2.3
   348 
   349  //! @SYMTestActions Mount media. Issue INQUIRY command then simulate media change. Issue TEST UNIT READY.
   350  //! Repeat with  other commands (except REQUEST SENSE )
   351 
   352  //! @SYMTestExpectedResults  All commands should return CHECK CONDITION status with the sense key set to UNIT ATTENTION
   353 
   354  //! @SYMTestPriority Low
   355  //! @SYMTestStatus Defined
   356 
   357  //---------------------------------------------
   358  //! @SYMTestCaseID Scsi_Test_Unit_Ready
   359  //! @SYMTestType CT
   360 
   361  //! @SYMTestCaseDesc Test TEST UNIT READY command
   362 
   363  //! @SYMFssID Base/emstore/1.2.3
   364 
   365  //! @SYMTestActions Don't register media. Issue TEST UNIT READY command. Check sense code. 
   366  //! Register media, repeat TEST UNIT READY command.
   367 
   368  //! @SYMTestExpectedResults  First commands should return CHECK CONDITION status with the sense key set to NOT READY.
   369  //! second command should return GOOD status with no additional sense information
   370 
   371  //! @SYMTestPriority Low
   372  //! @SYMTestStatus Defined
   373 
   374  //---------------------------------------------
   375  //! @SYMTestCaseID Scsi_Read_Capacity
   376  //! @SYMTestType CT
   377 
   378  //! @SYMTestCaseDesc Test READ_CAPACITY command
   379 
   380  //! @SYMFssID Base/emstore/1.2.3
   381 
   382  //! @SYMTestActions 	Note media capacity before registering drive. Register drive and issue READ_CAPACITY command
   383  //! NOTE: LOGICAL BLOCK ADDRESS and PMI have to be set to 00h.
   384 
   385  //! @SYMTestExpectedResults  Data returned by READ_CAPACITY command should match with previously stored data. 
   386 
   387  //! @SYMTestPriority Low
   388  //! @SYMTestStatus Defined
   389 
   390  //---------------------------------------------
   391  //! @SYMTestCaseID Scsi_Start_Stop_Unit
   392  //! @SYMTestType CT
   393 
   394  //! @SYMTestCaseDesc Test START_STOP_UNIT command
   395 
   396  //! @SYMFssID Base/emstore/1.2.3
   397 
   398  //! @SYMTestActions Issue START_STOP_UNIT command with START bit =1 then =0 when media is unregistered. Check sense code.
   399  //! Register drive. Issue START_STOP_UNIT command with START bit =1 then =0.
   400  //! NOTE: not supported fields: IMMED; POWER CONDITIONS; LOEJ
   401  //! 		the only supported field is: START
   402 
   403  //! @SYMTestExpectedResults  First to request should return CHECK CONDITION status with the sense key set to NOT READY.
   404  //! Last to requests should return GOOD status.
   405 
   406  //! @SYMTestPriority Low
   407  //! @SYMTestStatus Defined
   408 
   409  //---------------------------------------------
   410  //! @SYMTestCaseID Scsi_Prevent_Allow_Media_Removal
   411  //! @SYMTestType CT
   412 
   413  //! @SYMTestCaseDesc Test PREVENT/ALLOW MEDIUM REMOVAL command
   414 
   415  //! @SYMFssID Base/emstore/1.2.3
   416 
   417  //! @SYMTestActions Same pattern as it define at Scsi_Start_Stop_Unit
   418  //! NOTE: supported PREVENT field only.
   419 
   420  //! @SYMTestExpectedResults  
   421 
   422  //! @SYMTestPriority Low
   423  //! @SYMTestStatus Defined
   424 
   425  //---------------------------------------------
   426  //! @SYMTestCaseID Scsi_Read_Write_Verify
   427  //! @SYMTestType CT
   428 
   429  //! @SYMTestCaseDesc Test READ, WRITE and VERIFY commands
   430 
   431  //! @SYMFssID Base/emstore/1.2.3
   432 
   433  //! @SYMTestActions Register drive. Perform Write/Read/Verify tests of differing lengths and offsets. 
   434  //! Check boundary conditions - Read/Write off end of media (start <> length, end <> length)
   435  //! Perform Write/Read/Verify tests with write PROTECT media
   436  //! NOTE: only true or false is supported for PROTECT flag.
   437  
   438  //! @SYMTestExpectedResults  All operation should be completed successfully.
   439  //! end < length condition should result in ILLEGAL REQUEST / LBA OUT OF RANGE sense code.
   440 
   441  //! @SYMTestPriority Low
   442  //! @SYMTestStatus Defined
   443 
   444  //---------------------------------------------
   445  //! @SYMTestCaseID Scsi_unsupported_commands
   446  //! @SYMTestType CT
   447 
   448  //! @SYMTestCaseDesc Test system response for unsupported commands
   449 
   450  //! @SYMFssID Base/emstore/1.2.3
   451 
   452  //! @SYMTestActions Issue several unsupported commands, Check the sense code.
   453 
   454  //! @SYMTestExpectedResults  ILLEGAL REQUEST / INVALID COMMAND CODE sense code should be returned.
   455 
   456  //! @SYMTestPriority Low
   457  //! @SYMTestStatus Defined
   458 
   459  //---------------------------------------------
   460  //! @SYMTestCaseID Notification_1
   461  //! @SYMTestType CT
   462 
   463  //! @SYMTestCaseDesc Test Publish and Subscribe events.
   464 
   465 
   466  //! @SYMFssID Base/emstore/4.2.1
   467  //! @SYMFssID Base/emstore/5.1.3
   468  //! @SYMFssID Base/emstore/6.1.2.2
   469 
   470  //! @SYMTestActions Initiate different events (using Test LDD and Test server extension) to put USB mass storage 
   471  //! sequentially to all 9 states and test if user app receive proper notification.
   472 
   473  //! @SYMTestExpectedResults  All new state should trigger corresponded publish event.
   474 
   475  //! @SYMTestPriority Low
   476  //! @SYMTestStatus Defined
   477 
   478 
   479  //---------------------------------------------
   480  //! @SYMTestCaseID Notification_2
   481  //! @SYMTestType CT
   482 
   483  //! @SYMTestCaseDesc Test Data Transferred notification 
   484 
   485  //! @SYMFssID Base/emstore/4.3.1
   486 
   487  //! @SYMTestActions Register media. Issue Read and Write commands using test LDD. Check notification about data transferred.
   488 
   489  //! @SYMTestExpectedResults  Amount of data read and writen should match to 1K within numbers provided by notification service.
   490 
   491  //! @SYMTestPriority Low
   492  //! @SYMTestStatus Defined
   493 
   494  //---------------------------------------------
   495  //! @SYMTestCaseID Password_1
   496  //! @SYMTestType CT
   497 
   498  //! @SYMTestCaseDesc 
   499 
   500  //! @SYMFssID Base/emstore/6.1.1
   501  //! @SYMFssID Base/emstore/6.1.2.1
   502  //! @SYMFssID Base/emstore/6.1.2.2
   503 
   504  //! @SYMTestActions Insert unlocked card. Lock and store password. Force media change (using TBusLocalDrive::ForceRemount or RFs)
   505  //! Load MSFSYS. Card should be automatically unlocked.
   506  //! Un-mount MSFSYS. Unlock and Clear Password. Lock and don't store password.
   507  //! Force media change (using TBusLocalDrive::ForceRemount or RFs). Load MSFSYS. 
   508  //! User should be notified. Test App gets Locked P&S event
   509  //! Try to read/write (using Test LDD) registered, but not password protected media. Read/Write should succeed
   510  //! Unlock and store. Force media change (using TBusLocalDrive::ForceRemount or RFs).
   511  //! Next access should be unlocked
   512 
   513  //! @SYMTestExpectedResults  Pass
   514 
   515  //! @SYMTestPriority Low
   516  //! @SYMTestStatus Defined 
   517 
   518 
   519 
   520  //====================================================
   521  // Integration tests (required host PC)
   522  //====================================================
   523  //! @SYMTestCaseID Media_removal
   524  //! @SYMTestType IT
   525 
   526  //! @SYMTestCaseDesc Test media removal. (Manual integration test)
   527 
   528  //! @SYMFssID Base/emstore/4.2.1
   529 
   530  //! @SYMTestActions Initiate writing of big file (start Perl Script on PC) and 
   531  //!	remove card during write. 
   532  //!	Reinsert card after 1-2 seconds.
   533  //!	Wait for writing completion (indicated by script prompt).
   534  //!	Stop USB mass storage device using standard Windows tool.
   535  //! 	Unplug/plug-in USB cable to reset windows cache. 
   536  //! 	Read written file and compare (perl script)
   537 
   538  //! @SYMTestExpectedResults  Read data should match with written.
   539 
   540  //! @SYMTestPriority Low
   541  //! @SYMTestStatus Defined
   542 
   543  //---------------------------------------------
   544  //! @SYMTestCaseID Non_FAT_media
   545  //! @SYMTestType IT
   546 
   547  //! @SYMTestCaseDesc Test reaction for non FAT media. (Manual integration test)
   548 
   549  //! @SYMFssID Base/emstore/2.1.1
   550 
   551  //! @SYMTestActions 
   552  //!	a Insert MMC card formatted as FAT	
   553  //!	b Start USB MS application
   554  //!	c Check the displayed drive list 
   555  //!	d Double click on removable drive which is MMC card.
   556  //!	e Note if drive is accessible	
   557  //!	f Stop USB MS application
   558  //!	g Insert FAT formatted MMC card
   559  //!	h repeat steps from b to f
   560  //!    i reboot the board 
   561 
   562  //! @SYMTestExpectedResults  The drive correspondent to MMC card should be accessible when FAT formatted card is inserted
   563  //! and inaccessible when MMC card formatted as NTFS 
   564 
   565 
   566  //! @SYMTestPriority Low
   567  //! @SYMTestStatus Defined
   568 
   569 
   570  //---------------------------------------------
   571  //! @SYMTestCaseID Cable_plug_unplug
   572  //! @SYMTestType IT
   573 
   574  //! @SYMTestCaseDesc Test system behavior on USB cable plug-in/plug-out (automated integration test)
   575 
   576  //! @SYMFssID Base/emstore/5.1.1
   577  //! @SYMFssID Base/emstore/5.1.2
   578 
   579  //! @SYMTestActions Start USB MS using USB manager. Simulate cable removal.
   580  //! USB Man notifies USB App of cable removal. USB App should dismount MSFSYS. 
   581  //! USB App should get Disconnected state from P&S. USB App should remount FAT.
   582  //! USB App commands MS Class Controller to stop the server/transport.
   583  //! Repeat in backward order.
   584 
   585  //! @SYMTestExpectedResults  Pass.
   586 
   587  //! @SYMTestPriority Low
   588  //! @SYMTestStatus Defined
   589 
   590 
   591  //---------------------------------------------
   592  //! @SYMTestCaseID Interoperability_1
   593  //! @SYMTestType IT
   594 
   595  //! @SYMTestCaseDesc Test Mass Storage functionality on different platforms (Windows 2000/XP/ME, MacOS) (Manual test)
   596 
   597  //! @SYMFssID Base/emstore/1.1.1
   598  //! @SYMFssID Base/emstore/3.1.1
   599 
   600  //! @SYMTestActions Connect device to a host PC. Enable MS. Start perl script on PC. 
   601  //! This script formats drive and creates several folders with levels of nested folders and writes set of files to them. 
   602  //! File sizes varied from several kilobytes to several megabytes. 
   603  //! The number of folders, nest depth, number of files placed in each folder and  there sizes should be configurable.
   604  //! Then script prompt ask to unplug/plug USB cable (to flash OS read cache) and then read all files back and compare.
   605 
   606  //! @SYMTestExpectedResults  Read data from files should match with written.
   607  //---------------------------------------------
   608  //! @SYMTestCaseID Interoperability_2
   609  //! @SYMTestType IT
   610 
   611  //! @SYMTestCaseDesc Test Mass Storage functionality on different platforms (Windows 2000/XP/ME, MacOS) (Manual test)
   612 
   613  //! @SYMFssID Base/emstore/1.1.1
   614  //! @SYMFssID Base/emstore/3.1.1
   615 
   616  //! @SYMTestActions Connect device to a host PC. Enable MS. Start perl script on PC. 
   617  //! This script formats drive and queries size of it. 
   618  //! Than script create file with size close to drive size and check free space.
   619  //! Then script prompt ask to unplug/plug USB cable (to flash OS read cache) and then read the file back and compare.
   620 
   621  //! @SYMTestExpectedResults  File creation should succeed. Read data from file should match with written. 
   622  //! Sum of file size and free space should be close to drive size.
   623 
   624  //---------------------------------------------
   625  //! @SYMTestCaseID Performance_Ready_Time
   626  //! @SYMTestType IT
   627 
   628  //! @SYMTestCaseDesc Test readiness time. (Manual test)
   629 
   630  //! @SYMFssID Base/emstore/1.1.1
   631 
   632  //! @SYMTestActions Open "My computer folder". Enable MS on device. Plug in USB cable. 
   633  //! Note delay between cable insertion and new drive icon appearance using watch stop.
   634  //! Unplug cable then repeat test.
   635 
   636  //! @SYMTestExpectedResults  Delay after second cable plug-in should be not bigger then 10 seconds 
   637  //! However firs delay can be longer if this device was not used with this PC before.
   638  //! Thus result of first step  can be ignored.
   639 
   640  //! @SYMTestPriority Low
   641  //! @SYMTestStatus Defined
   642 
   643  //! @SYMTestPriority Low
   644  //! @SYMTestStatus Defined
   645 
   646 
   647 
   648  //---------------------------------------------
   649  //! @SYMTestCaseID Performance_1
   650  //! @SYMTestType IT
   651 
   652  //! @SYMTestCaseDesc Measure file read/write performance (manual)
   653  //! @SYMFssID Base/emstore/1.1.1
   654 
   655  //! @SYMTestActions Use PassMark Performace test v5.0 (http://www.passmark.com/)
   656  //! Create new thread under advanced disk test with parameters: 
   657  //! File size - 5Mb, Block Size - 16384, Access Method - Standart Win32 API (un-cached),
   658  //! Request Mode - Synchronous, 100% Write, 100% Sequential
   659  //! Run test, note Mb/sec numbers.
   660  //! Change to 100% Read, Run test, note Mb/sec numbers.
   661  //! Change to 50% Read/Write, 50% Sequential/Random
   662  //! Change to 100% Read, Run test, note Mb/sec numbers.
   663 
   664  //! @SYMTestExpectedResults  Number for Lace card reader with 16MB SanDisc MMC (USB 1.1) - 0.12/0.14/0.14 Mb/sec
   665  //! SunDisk Cruiser mini 256MB flash drive (under USB 1.1) - 0.7/0.78/0.42 Mb/sec
   666 
   667  //! @SYMTestPriority Low
   668  //! @SYMTestStatus Defined
   669 
   670 //---------------------------------------------
   671  //! @SYMTestCaseID Performance_2
   672  //! @SYMTestType IT
   673 
   674  //! @SYMTestCaseDesc Test if phone can receive incoming call when acting as a mass storage device. (Manual integration test)
   675 
   676  //! @SYMTestActions Enable MS, connect device (H2 board) to PC. Start script on PC side which write/read files. Place a call from another GSM phone to the device. Hang off, then hang on.
   677 
   678  //! @SYMTestExpectedResults  Call should be received and proceeded properly.
   679 
   680  //! @SYMTestPriority Low
   681  //! @SYMTestStatus Defined
   682 
   683 
   684 
   685  //---------------------------------------------
   686  //! @SYMTestCaseID Performance_3
   687  //! @SYMTestType IT
   688 
   689  //! @SYMTestCaseDesc Test if phone can receive incoming SMS when acting as a mass storage device. (Manual integration test)
   690  //! @SYMFssID Base/emstore/1.1.1
   691 
   692  //! @SYMTestActions Enable MS, connect device (H2 board) to PC. Start script on PC side which write/read files. Send a SMS message from another GSM phone to the device
   693  //! @SYMTestExpectedResults  SMS should be received properly.
   694 
   695  //! @SYMTestPriority Low
   696  //! @SYMTestStatus Defined
   697 
   698 //---------------------------------------------
   699  //! @SYMTestCaseID Performance_4
   700  //! @SYMTestType IT
   701 
   702  //! @SYMTestCaseDesc Test if it possible to browse Address Book when device acting as a mass storage. (Manual integration test)
   703  //! @SYMFssID Base/emstore/1.1.1
   704 
   705  //! @SYMTestActions Enable MS, connect device (H2 board) to PC. Start script on PC side which write/read files. 
   706  //! Open Address Book application and try to navigate through records.
   707  //! @SYMTestExpectedResults  Address Book application should work properly.
   708 
   709  //! @SYMTestPriority Low
   710  //! @SYMTestStatus Defined