testexecmdw/tef/tef/test/regressiontest/logger/testdata/scripts/dt-tef-logger-0027.script
branchRCL_3
changeset 3 9397a16b6eb8
parent 1 6edeef394eb7
equal deleted inserted replaced
1:6edeef394eb7 3:9397a16b6eb8
     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 TEF_LoggerTestStep
       
    18 
       
    19 START_TESTCASE DT-TEF-Logger-0027
       
    20 //! @SYMTestCaseID          DT-TEF-Logger-0027
       
    21 //! @SYMCreationDate        09-07-2008
       
    22 //! @SYMAuthor              extshuohuang
       
    23 //! @SYMTestCaseDesc        This test logger compare panic related information.
       
    24 //!                         This suite should fail.
       
    25 //!                         
       
    26 //!                         TEF will compare the test result with expected result. The test result comes form the run time result and the expected result comes form scripts.
       
    27 //!                         When test case/step finished, TEF will compare test result and expected result, at last print out test case/step pass or fail information.
       
    28 //!                         The compare function is one of the most important parts. And this codes are writing under TEF logger component.
       
    29 //!                         So this result compare test case are located here.
       
    30 //!                         The Test Server "t_TEFIntegration" are reused from tef block test, the panic related command will be reuse.
       
    31 //!                         
       
    32 //!                         XML log test
       
    33 //! @SYMTestExpectedResults The first PanicString which contains two spaces which will be converted to one space. this step should fail.
       
    34 //!                         The second PanicString different with expacted string. this step should fail.
       
    35 //!                         The third PanicString compared with empty string. this step should fail.
       
    36 //!                         test case result Fail.
       
    37   PRINT should fail
       
    38   RUN_TEST_STEP !PanicCode=110 !PanicString="a  b" 1000 TEF_LoggerTestStep TEFPanicDblSpaceStep
       
    39   RUN_TEST_STEP !PanicCode=110 !PanicString=OtherThing 1000 TEF_LoggerTestStep TEFPanicSomeThingStep 
       
    40   RUN_TEST_STEP !PanicCode=110 !PanicString=OtherThing 1000 TEF_LoggerTestStep TEFPanicEmptyStep
       
    41 END_TESTCASE DT-TEF-Logger-0027