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-0016 |
|
20 //! @SYMTestCaseID DT-TEF-Logger-0016 |
|
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 //! XML log test |
|
33 //! @SYMTestExpectedResults all the infomation will be logged with provided level number. |
|
34 //! Pass |
|
35 //! @SYMTestActions 1. create TEFLoggerWrapper |
|
36 //! 2. test all kinds of error level. |
|
37 |
|
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-0016 |
|