|
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-0002 |
|
20 //! @SYMTestCaseID DT-TEF-Logger-0002 |
|
21 //! @SYMCreationDate 09-07-2008 |
|
22 //! @SYMAuthor extshuohuang |
|
23 //! @SYMTestPriority High |
|
24 //! @SYMTestCaseDesc Test LogExtra(.....,TRefByValue, const TDesC aFmt,...) function with all log levels. |
|
25 //! |
|
26 //! HTML log test |
|
27 //! @SYMTestExpectedResults All the infomation should be logged with provided level. |
|
28 //! Pass |
|
29 //! @SYMTestActions 1. create TEFLoggerWrapper |
|
30 //! 2. test all kinds of error level. |
|
31 |
|
32 |
|
33 START_TEST_BLOCK 100 TEF_LoggerTestBlock ${SYSDRIVE}\TestData\configs\loggerTest.ini |
|
34 CREATE_OBJECT TEFLoggerTestWrapper TLogSeverity |
|
35 COMMAND TLogSeverity PrintNonVA_LIST ESevrErr |
|
36 COMMAND TLogSeverity PrintNonVA_LIST ESevrHigh |
|
37 COMMAND TLogSeverity PrintNonVA_LIST ESevrWarn |
|
38 COMMAND TLogSeverity PrintNonVA_LIST ESevrMedium |
|
39 COMMAND TLogSeverity PrintNonVA_LIST ESevrInfo |
|
40 COMMAND TLogSeverity PrintNonVA_LIST ESevrLow |
|
41 COMMAND TLogSeverity PrintNonVA_LIST ESevrAll |
|
42 END_TEST_BLOCK |
|
43 END_TESTCASE DT-TEF-Logger-0002 |
|
44 |