|
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-0019 |
|
20 //! @SYMTestCaseID DT-TEF-Logger-0019 |
|
21 //! @SYMCreationDate 09-07-2008 |
|
22 //! @SYMAuthor extshuohuang |
|
23 //! @SYMTestPriority High |
|
24 //! @SYMTestCaseDesc Run test with a very long section name and a long key. Makes sure test will support long string arguments |
|
25 //! The contest loaded from ini will be wite to log file. |
|
26 //! This command will panic 11 at TVerdict CTestExecuteLogger::LogHTMLBlock( const TTEFItemArray& aItemArray ) |
|
27 //! When append "blockLine += KTEFFontEnd;" should be triple TBuf<KMaxTestExecuteCommandLength> blockLine; |
|
28 //! |
|
29 //! XML log test |
|
30 //! @SYMTestExpectedResults This two command should pass with no error. the maximum length is 255 |
|
31 |
|
32 START_TEST_BLOCK 100 TEF_LoggerTestBlock ${SYSDRIVE}\TestData\configs\loggerTest.ini |
|
33 CREATE_OBJECT TEFLoggerTestWrapper TLogSeverity |
|
34 COMMAND TLogSeverity GetLongSectionName ALooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongSection |
|
35 COMMAND TLogSeverity GetLongKeyName ALongKeySection |
|
36 END_TEST_BLOCK |
|
37 END_TESTCASE DT-TEF-Logger-0019 |
|
38 |