|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __TESTDOCUMENTS_H__ |
|
17 #define __TESTDOCUMENTS_H__ |
|
18 |
|
19 #include <e32test.h> |
|
20 |
|
21 |
|
22 // Encoding XML documents |
|
23 _LIT(KXmlEngUtf, "z:\\system\\XmlTest\\Encodings\\doc_eng_utf.xml"); |
|
24 _LIT(KXmlChBig5, "z:\\system\\XmlTest\\Encodings\\doc_ch_b5.xml"); |
|
25 _LIT(KXmlChUtf, "z:\\system\\XmlTest\\Encodings\\doc_ch_utf.xml"); |
|
26 _LIT(KXmlFrHtml, "z:\\system\\XmlTest\\Encodings\\doc_fr_html.xml"); |
|
27 _LIT(KXmlFrLatin1, "z:\\system\\XmlTest\\Encodings\\doc_fr_latin1.xml"); |
|
28 _LIT(KXmlFrUtf, "z:\\system\\XmlTest\\Encodings\\doc_fr_utf.xml"); |
|
29 _LIT(KXmlJpEuc, "z:\\system\\XmlTest\\Encodings\\doc_jp_euc.xml"); |
|
30 _LIT(KXmlJpSjis, "z:\\system\\XmlTest\\Encodings\\doc_jp_sjis.xml"); |
|
31 _LIT(KXmlJpUtf, "z:\\system\\XmlTest\\Encodings\\doc_jp_utf.xml"); |
|
32 |
|
33 |
|
34 // SyncML XML/WBXML documents directory. |
|
35 // This contains a list of dirctories that contains the actual documents for test. |
|
36 // NOTE there are NO trailing back slash. |
|
37 _LIT(KSyncML1_1Directory, "z:\\system\\XmlTest\\SyncML\\1.1"); |
|
38 _LIT(KSyncML1_2Directory, "z:\\system\\XmlTest\\SyncML\\1.2"); |
|
39 _LIT(KWml1_1Directory, "z:\\system\\XmlTest\\Wml\\1.1"); |
|
40 _LIT(KSi1_0Directory, "z:\\system\\XmlTest\\ServiceIndication\\1.0"); |
|
41 _LIT(KOpaqueDirectory, "c:\\system\\XmlTest\\Opaque"); |
|
42 |
|
43 _LIT8(KWbxmlParserDataType, "text/wbxml"); |
|
44 |
|
45 _LIT8(KSyncmlStringDictionaryUri, "-//SYNCML//DTD SyncML 1.1//EN~0"); |
|
46 _LIT8(KBlankStringDictionaryUri, ""); |
|
47 |
|
48 _LIT(KDirSeperator, "\\"); |
|
49 _LIT(KUnderscore, "_"); |
|
50 |
|
51 _LIT(KXmlExt, ".xml"); |
|
52 _LIT(KWbxmlExt, ".wbxml"); |
|
53 _LIT(KWmlcExt, ".wmlc"); |
|
54 _LIT(KSiExt, ".bdy"); |
|
55 |
|
56 // The size of chunks to parse. Allows for boundary testing. |
|
57 const TInt KMinChunkSize = 1; |
|
58 const TInt KMidChunkSize = 5; |
|
59 const TInt KMaxChunkSize = 300; |
|
60 |
|
61 |
|
62 #endif // __TESTDOCUMENTS_H__ |