testexecmdw/tef/tef/test/regressiontest/logger/testdata/scripts/dt-tef-logger-0031.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_SERVER TEF_LoggerTestBlock -SharedData
       
    18 
       
    19 START_TESTCASE DT-TEF-Logger-0031
       
    20 //! @SYMTestCaseID          DT-TEF-Logger-0031
       
    21 //! @SYMCreationDate        09-07-2008
       
    22 //! @SYMAuthor              extshuohuang
       
    23 //! @SYMTestPriority        Critical
       
    24 //! @SYMTestCaseDesc        Print all emun Levels of the log out put.
       
    25 //!                         The following levels will be covered.
       
    26 //!                         {ESevrErr  = 1,ESevrHigh, ESevrWarn,ESevrMedium, ESevrInfo, ESevrLow, ESevrAll};
       
    27 //!                         
       
    28 //!                         the perl script will compare the test result with expected result. The test result comes form the run time result and the expected result comes form scripts.
       
    29 //!                         When test case/step finished, the perl script will compare test result and expected result, at last print out test case/step pass or fail information.
       
    30 //!                         The compare function codes are writing the perl script, seperate for this poject. It will placed under \RegressionTest\baseline\logcomparetool
       
    31 //!
       
    32 //!                         
       
    33 //!                         HTML, XML log test                                                                           
       
    34 //! @SYMTestExpectedResults all the infomation will be logged with provided level number.
       
    35 //!                         Pass
       
    36 //! @SYMTestActions         1. create TEFLoggerWrapper
       
    37 //!                         2. test all kinds of error level.
       
    38 	START_TEST_BLOCK 100	TEF_LoggerTestBlock ${SYSDRIVE}\TestData\configs\loggerTest.ini
       
    39 		CREATE_OBJECT	TEFLoggerTestWrapper	TLogSeverity
       
    40 		COMMAND		TLogSeverity			Print				ESevrErr
       
    41 		COMMAND		TLogSeverity			Print				ESevrHigh
       
    42 		COMMAND		TLogSeverity			Print				ESevrWarn
       
    43 		COMMAND		TLogSeverity			Print				ESevrMedium
       
    44 		COMMAND		TLogSeverity			Print				ESevrInfo
       
    45 		COMMAND		TLogSeverity			Print				ESevrLow
       
    46 		COMMAND		TLogSeverity			Print				ESevrAll
       
    47 	END_TEST_BLOCK
       
    48 END_TESTCASE DT-TEF-Logger-0031