testexecfw/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0018.script
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 //
       
     2 // Copyright (c) 2005-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 "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 LOAD_SUITE	te_RegStepTestSuite
       
    18 
       
    19 START_TESTCASE DT-TEF-TestStep-0018
       
    20 //! @SYMTestCaseID          DT-TEF-TestStep-0018
       
    21 //! @SYMCreationDate        02-12-2008
       
    22 //! @SYMAuthor              extshuohuang
       
    23 //! @SYMTestPriority        High
       
    24 //! @SYMTestCaseDesc        this test case is test "!PanicString" in the RUN_TEST_STEP. Expected panic string is too long.
       
    25 //! @SYMTestExpectedResults all the step panic string was too long. The panic string are not match. tef should log the expected and received panic string.
       
    26 //! @SYMTestActions         received panic string is "PanicMe"
       
    27 //!                         exepecte panic string is different. test case should fail cause fail comparesion.
       
    28 	PRINT this test case should fail.
       
    29 	RUN_TEST_STEP !PanicString="LongPanicStringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    30 	RUN_TEST_STEP !PanicString="Long Panic String x x x x x xx x x x  x x x x x x  x x x xxxxxxxxxxxxx" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    31 	
       
    32 	RUN_TEST_STEP !PanicString=TOO long string without a pair of qute  100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    33 	RUN_TEST_STEP !PanicString=DoMediaClockStoppedState: Mutex Unheld  100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    34 	RUN_TEST_STEP !PanicString="TOO long string with a single qute   100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    35 	RUN_TEST_STEP !PanicString= abc  100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    36 	RUN_TEST_STEP !PanicString= "abc"  100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
       
    37 END_TESTCASE DT-TEF-TestStep-0018