testexecfw/stf/examples/MigrationExample/FileStore/TEF_STEP/scripts/SystestFilestoreSuite.script
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     1 //
       
     2 // Copyright (c) 2010 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 "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 // Sample Test Script
       
    17 
       
    18 PRINT Run all test Suite Tests
       
    19 
       
    20 LOAD_SERVER TEFSTEPFileStore
       
    21 
       
    22 START_TESTCASE  TestCase-1
       
    23 RUN_TEST_STEP !Error=-11 5 TEFSTEPFileStore CreateFile  c:\data\SystestFilestoreSuite.ini	Case1Section
       
    24 END_TESTCASE TestCase-1
       
    25 
       
    26 
       
    27 START_TESTCASE TestCase-2
       
    28 START_REPEAT c:\data\SystestFilestoreSuite.ini Case2Section repeatParam
       
    29 PRINT repeat testing.
       
    30 RUN_TEST_STEP 1000  TEFSTEPFileStore ReadFile c:\data\SystestFilestoreSuite.ini Case2Section
       
    31 END_REPEAT
       
    32 END_TESTCASE TestCase-2
       
    33 
       
    34 START_TESTCASE TestCase-3
       
    35 PRINT test Expected Panic.
       
    36 RUN_TEST_STEP !PanicString=USER !PanicCode=5 1000  TEFSTEPFileStore PanicExample c:\data\SystestFilestoreSuite.ini Case3Section
       
    37 END_TESTCASE TestCase-3
       
    38 
       
    39 START_TESTCASE TestCase-4
       
    40 PRINT test Delay.
       
    41 DELAY 2000
       
    42 RUN_TEST_STEP 1000 TEFSTEPFileStore ReadFile c:\data\SystestFilestoreSuite.ini Case4Section
       
    43 END_TESTCASE TestCase-4
       
    44 
       
    45 
       
    46 
       
    47 
       
    48 CONCURRENT
       
    49 START_TESTCASE  TestCase-5
       
    50 RUN_TEST_STEP 1000  TEFSTEPFileStore ReadFile  c:\data\SystestFilestoreSuite.ini	Case5Section
       
    51 RUN_TEST_STEP !Error=-14 1000  TEFSTEPFileStore ReadFile  c:\data\SystestFilestoreSuite.ini	Case5Section
       
    52 RUN_TEST_STEP !Error=-14 1000  TEFSTEPFileStore ReadFile  c:\data\SystestFilestoreSuite.ini	Case5Section
       
    53 END_TESTCASE TestCase-5
       
    54 
       
    55 PRINT Complete testSuite