baseintegtests/baseintegrationtest/testsuites/sd/scripts/btsdinterop.script
branchanywhere
changeset 20 d63d727ee0a6
parent 19 f6d3d9676ee4
parent 16 6d8ad5bee44b
child 21 af091391d962
equal deleted inserted replaced
19:f6d3d9676ee4 20:d63d727ee0a6
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Interopeablily between the device under test and a PC
       
    15 // 
       
    16 //
       
    17 
       
    18 //! @file btsdwp.script
       
    19 //! @SYMTestSuiteName basetestsd
       
    20 //! @SYMScriptTestEnvironment base
       
    21 
       
    22 LOAD_SUITE basetestsd
       
    23 
       
    24 PRINT ATTENTION: This is a manual test
       
    25 PRINT User will be prompted to perform file operations on the memory card from another device
       
    26 
       
    27 START_TESTCASE PBASE-INTEROPOUTBOUND-0209
       
    28 //!  @SYMTestCaseID PBASE-INTEROPOUTBOUND-0209
       
    29 //!  @SYMTestCaseDesc File system interoperability from the device under test to another device
       
    30 //!  @SYMREQ REQ0000
       
    31 //!  @SYMTestActions
       
    32 //!      1. Format card
       
    33 //!      2. Create several files and directories
       
    34 //!      3. Read files on the card
       
    35 //!      4. User removes card from the device under test and insert it in another device
       
    36 //!      5. User reads contents of the memory card from the other device
       
    37 //!      6. User performs some more file operations from the other device
       
    38 //!      7. User puts the card back into the device under test
       
    39 //!      8. Read files on the card
       
    40 //!      9. Check file system for consistency
       
    41 //!  @SYMTestExpectedResults
       
    42 //!      1. No error
       
    43 //!      2. No error
       
    44 //!      3. Memory card contents are exactly as expected
       
    45 //!      4. No error
       
    46 //!      5. Memory card contents are exactly as expected
       
    47 //!      6. No error
       
    48 //!      7. No error
       
    49 //!      8. Memory card contents are exactly as expected
       
    50 //!      9. File system is not corrupt
       
    51 //!  @SYMTestPriority High
       
    52 //!  @SYMTestStatus Implemented
       
    53 //!  @SYMTestType CIT
       
    54 RUN_TEST_STEP 500  basetestsd Format          \basetest\btsd.ini FullFormat
       
    55 RUN_TEST_STEP 2000 basetestsd FileOperations1 \basetest\btsd.ini INTEROP_OUTBOUND
       
    56 RUN_TEST_STEP 500  basetestsd ReadFiles1      \basetest\btsd.ini INTEROP_OUTBOUND
       
    57 RUN_TEST_STEP -1   basetestsd DialogBox       \basetest\btsd.ini INTEROP_OUTBOUND
       
    58 RUN_TEST_STEP 500  basetestsd ReadFiles2      \basetest\btsd.ini INTEROP_OUTBOUND
       
    59 RUN_TEST_STEP 500  basetestsd CheckDisk       \basetest\btsd.ini
       
    60 END_TESTCASE PBASE-INTEROPOUTBOUND-0209
       
    61 
       
    62 START_TESTCASE PBASE-INTEROPINBOUND-0210
       
    63 //!  @SYMTestCaseID PBASE-INTEROPINBOUND-0210
       
    64 //!  @SYMTestCaseDesc File system interoperability from another device to the device under test
       
    65 //!  @SYMREQ REQ0000
       
    66 //!  @SYMTestActions
       
    67 //!      1. User formats card on the other device
       
    68 //!      2. User creates several files and directories on the card from the other device
       
    69 //!      3. User inserts card in device under test
       
    70 //!      4. Read files on the card
       
    71 //!      5. Create some more files and directories on the card
       
    72 //!      6. Read files on the card
       
    73 //!      7. Check file system for consistency
       
    74 //!  @SYMTestExpectedResults
       
    75 //!      1. No error
       
    76 //!      2. No error
       
    77 //!      3. No error
       
    78 //!      4. Memory card contents are exactly as expected
       
    79 //!      5. No error
       
    80 //!      6. Memory card contents are exactly as expected
       
    81 //!      7. File system is not corrupt
       
    82 //!  @SYMTestPriority High
       
    83 //!  @SYMTestStatus Implemented
       
    84 //!  @SYMTestType CIT
       
    85 RUN_TEST_STEP -1   basetestsd DialogBox       \basetest\btsd.ini INTEROP_INBOUND
       
    86 RUN_TEST_STEP 500  basetestsd ReadFiles1      \basetest\btsd.ini INTEROP_INBOUND
       
    87 RUN_TEST_STEP 2000 basetestsd FileOperations2 \basetest\btsd.ini INTEROP_INBOUND
       
    88 RUN_TEST_STEP 500  basetestsd ReadFiles2      \basetest\btsd.ini INTEROP_INBOUND
       
    89 RUN_TEST_STEP 500  basetestsd CheckDisk       \basetest\btsd.ini
       
    90 END_TESTCASE PBASE-INTEROPINBOUND-0210