|
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 #include <e32test.h> |
|
17 |
|
18 #include <xml/parserfeature.h> |
|
19 #include <xml/xmlframeworkerrors.h> |
|
20 |
|
21 #include "stabilitytestclass.h" |
|
22 #include "testdocuments.h" |
|
23 |
|
24 _LIT (KTestDocument1, "z:\\system\\XmlTest\\SyncML\\1.1\\add-to-client\\FromServer1.wbxml"); |
|
25 _LIT (KTestDocument2, "z:\\system\\XmlTest\\SyncML\\1.1\\add-to-server\\FromServer1.wbxml"); |
|
26 _LIT (KTestDocument3, "z:\\system\\XmlTest\\SyncML\\1.1\\Atomic\\FromServer1.wbxml"); |
|
27 _LIT (KTestDocument4, "z:\\system\\XmlTest\\Wml\\1.1\\AllElements.wmlc"); |
|
28 _LIT (KTestDocument5, "z:\\system\\XmlTest\\Wml\\1.1\\CharEntities.wmlc"); |
|
29 _LIT (KTestDocument6, "z:\\system\\XmlTest\\Wml\\1.1\\data.wmlc"); |
|
30 _LIT (KTestDocument7, "z:\\system\\XmlTest\\Wml\\1.1\\http___www.bbc.co.uk_mobile_sportheads1.wmlc"); |
|
31 _LIT (KTestDocument8, "z:\\system\\XmlTest\\Wml\\1.1\\mob.wmlc"); |
|
32 _LIT (KTestDocument9, "z:\\system\\XmlTest\\Wml\\1.1\\Variables.wmlc"); |
|
33 _LIT (KTestDocument10,"z:\\system\\XmlTest\\Wml\\1.1\\wireless_char.wmlc"); |
|
34 _LIT (KTestDocument11,"z:\\system\\XmlTest\\Wml\\Codepage\\wml_data_attr_copepage_255.wmlc"); |
|
35 |
|
36 // Some characters had to have their string representation amended. |
|
37 // i.e. dir paths should be seperated by '\\' |
|
38 // carriage return (0D) replaced with \r |
|
39 // line feed (0A) replaced with \n |
|
40 // double quotes (") replaced with \" |
|
41 // single quotes (') replaced with \' |
|
42 |
|
43 |
|
44 _LIT (KDataComparison1_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
45 _LIT (KDataComparison1_2, "<SessionID xmlns=\'syncml:syncml1.1\'>1871351294</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
46 _LIT (KDataComparison1_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63157234976619000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</LocURI>"); |
|
47 _LIT (KDataComparison1_4, "</Source><RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML?f1sess=194.200.144.243sync1871351294</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
48 _LIT (KDataComparison1_5, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID>"); |
|
49 _LIT (KDataComparison1_6, "<MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd>"); |
|
50 _LIT (KDataComparison1_7, "<TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>63157234976619000</SourceRef>"); |
|
51 _LIT (KDataComparison1_8, "<Data xmlns=\'syncml:syncml1.1\'>212</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
52 _LIT (KDataComparison1_9, "<CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
53 _LIT (KDataComparison1_10, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
54 _LIT (KDataComparison1_11, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next></Anchor></Data></Item></Status>"); |
|
55 _LIT (KDataComparison1_12, "<Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef>"); |
|
56 _LIT (KDataComparison1_13, "<Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks2</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks2.dat</SourceRef>"); |
|
57 _LIT (KDataComparison1_14, "<Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
58 _LIT (KDataComparison1_15, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
59 _LIT (KDataComparison1_16, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
60 _LIT (KDataComparison1_17, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
61 _LIT (KDataComparison1_18, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010509T105003Z</Next></Anchor></Data></Item></Status>"); |
|
62 _LIT (KDataComparison1_19, "<Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
63 _LIT (KDataComparison1_20, "<Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
64 _LIT (KDataComparison1_21, "<LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Last xmlns=\'syncml:metinf\'>0</Last>"); |
|
65 _LIT (KDataComparison1_22, "<Next xmlns=\'syncml:metinf\'>20010509T105145</Next></Anchor></Meta></Item></Alert><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
66 |
|
67 |
|
68 _LIT (KDataComparison2_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
69 _LIT (KDataComparison2_2, "<SessionID xmlns=\'syncml:syncml1.1\'>43049786</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
70 _LIT (KDataComparison2_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63156883059050000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
71 _LIT (KDataComparison2_4, "<LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</LocURI></Source>"); |
|
72 _LIT (KDataComparison2_5, "<RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML?f1sess=194.200.144.243sync43049786</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
73 _LIT (KDataComparison2_6, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'>"); |
|
74 _LIT (KDataComparison2_7, "<CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef>"); |
|
75 _LIT (KDataComparison2_8, "<Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</TargetRef>"); |
|
76 _LIT (KDataComparison2_9, "<SourceRef xmlns=\'syncml:syncml1.1\'>63156883059050000</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'>"); |
|
77 _LIT (KDataComparison2_10, "<CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef>"); |
|
78 _LIT (KDataComparison2_11, "<Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
79 _LIT (KDataComparison2_12, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
80 _LIT (KDataComparison2_13, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
81 _LIT (KDataComparison2_14, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
82 _LIT (KDataComparison2_15, "<CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
83 _LIT (KDataComparison2_16, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
84 _LIT (KDataComparison2_17, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
85 _LIT (KDataComparison2_18, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
86 _LIT (KDataComparison2_19, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
87 _LIT (KDataComparison2_20, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
88 _LIT (KDataComparison2_21, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010501T172705Z</Next>"); |
|
89 _LIT (KDataComparison2_22, "</Anchor></Data></Item></Status><Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
90 _LIT (KDataComparison2_23, "<Item xmlns=\'syncml:syncml1.1\'><Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target>"); |
|
91 _LIT (KDataComparison2_24, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source>"); |
|
92 _LIT (KDataComparison2_25, "<Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Last xmlns=\'syncml:metinf\'>0</Last><Next xmlns=\'syncml:metinf\'>20010501T172843</Next></Anchor>"); |
|
93 _LIT (KDataComparison2_26, "</Meta></Item></Alert><Results xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>6</CmdID><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef>"); |
|
94 _LIT (KDataComparison2_27, "<Meta xmlns=\'syncml:syncml1.1\'><Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><TargetRef xmlns=\'syncml:syncml1.1\'>./devinf11</TargetRef>"); |
|
95 _LIT (KDataComparison2_28, "<Item xmlns=\'syncml:syncml1.1\'><Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./devinf11</LocURI></Source>"); |
|
96 _LIT (KDataComparison2_29, "<Meta xmlns=\'syncml:syncml1.1\'><Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta>"); |
|
97 _LIT (KDataComparison2_30, "<Data xmlns=\'syncml:syncml1.1\'>2006A1D2D2F2F53594E434D4C2F2F44544420446576496E6620312E312F2F454E4A653312E3101513667573696F6E4F6E652C20496E632E0155353796E634D4C2046444"); |
|
98 _LIT (KDataComparison2_31, "5015E3312E300149346312053796E634D4C205346444520312E30014B373657276657201475D32E2F43414C454E444152014C343616C656E646172015A463746578742F782D7663616C656E64617201643312E"); |
|
99 _LIT (KDataComparison2_32, "3001162463746578742F782D7663616C656E64617201643312E300115F60331016033201603330111475D32E2F434F4E5441435453014C3436F6E7461637473015A463746578742F782D766361726401643322"); |
|
100 _LIT (KDataComparison2_33, "E3101162463746578742F782D766361726401643322E310115F60331016033201603330111475D32E2F582D46312D424F4F4B4D41524B014C3426F6F6B6D61726B73015A463746578742F782D66312D626F6F6"); |
|
101 _LIT (KDataComparison2_34, "B6D61726B01643312E3001162463746578742F782D66312D626F6F6B6D61726B01643312E300115F6033101603320160333011145463746578742F782D7663616C656E64617201583424547494E01633564341"); |
|
102 _LIT (KDataComparison2_35, "4C454E4441520158356455253494F4E01633312E300158353554D4D41525901483636872015834445534352495054494F4E014836368720158343415445474F524945530148363687201583445453544152540"); |
|
103 _LIT (KDataComparison2_36, "14836461746574696D65015834454454E44014836461746574696D650158341414C41524D014836461746574696D6501583434C41535301483636872015835252554C450148363687201583454E44016335643"); |
|
104 _LIT (KDataComparison2_37, "414C454E44415201463746578742F782D766361726401583424547494E0163356434152440158356455253494F4E01633322E31015834E0148363687201583464E01483636872015835449544C450148363687"); |
|
105 _LIT (KDataComparison2_38, "2015834F5247014836368720158354454C0148363687201573564F4943450148363687201573464158014836368720157343454C4C0148363687201573574F524B0148363687201573484F4D45014836368720"); |
|
106 _LIT (KDataComparison2_39, "1583454D41494C014836368720158355524C01483636872015834E4F54450148363687201583434C4153530148363687201583454E4401633564341524401463746578742F782D66312D626F6F6B6D61726B01"); |
|
107 _LIT (KDataComparison2_40, "583424547494E016334631424F4F4B4D41524B015834E414D45014836368720158355524C01483636872015834445534352495054494F4E01483636872015834C4153545649534954454444415445014836461"); |
|
108 _LIT (KDataComparison2_41, "746574696D6501583454E44016334631424F4F4B4D41524B0111</Data></Item></Results><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
109 |
|
110 |
|
111 _LIT (KDataComparison3_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
112 _LIT (KDataComparison3_2, "<SessionID xmlns=\'syncml:syncml1.1\'>33459702</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
113 _LIT (KDataComparison3_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63158186431599000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
114 _LIT (KDataComparison3_4, "<LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML</LocURI></Source>"); |
|
115 _LIT (KDataComparison3_5, "<RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML?f1sess=194.200.144.243fuse10518377320</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
116 _LIT (KDataComparison3_6, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'>"); |
|
117 _LIT (KDataComparison3_7, "<CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef>"); |
|
118 _LIT (KDataComparison3_8, "<Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML</TargetRef>"); |
|
119 _LIT (KDataComparison3_9, "<SourceRef xmlns=\'syncml:syncml1.1\'>63158186431599000</SourceRef><Data xmlns=\'syncml:syncml1.1\'>212</Data></Status><Status xmlns=\'syncml:syncml1.1\'>"); |
|
120 _LIT (KDataComparison3_10, "<CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd>"); |
|
121 _LIT (KDataComparison3_11, "<Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
122 _LIT (KDataComparison3_12, "<CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><SourceRef xmlns=\'syncml:syncml1.1\'>./devinf11</SourceRef>"); |
|
123 _LIT (KDataComparison3_13, "<Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
124 _LIT (KDataComparison3_14, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
125 _LIT (KDataComparison3_15, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
126 _LIT (KDataComparison3_16, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010607T125033Z</Next></Anchor></Data></Item></Status>"); |
|
127 _LIT (KDataComparison3_17, "<Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>201</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
128 _LIT (KDataComparison3_18, "<Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat?from_server</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
129 _LIT (KDataComparison3_19, "<LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'>"); |
|
130 _LIT (KDataComparison3_20, "<Last xmlns=\'syncml:metinf\'>20010522T090813</Last><Next xmlns=\'syncml:metinf\'>20010607T125258</Next></Anchor></Meta></Item></Alert><Results xmlns=\'syncml:syncml1.1\'>"); |
|
131 _LIT (KDataComparison3_21, "<CmdID xmlns=\'syncml:syncml1.1\'>6</CmdID><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
132 _LIT (KDataComparison3_22, "<Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><TargetRef xmlns=\'syncml:syncml1.1\'>./devinf11</TargetRef><Item xmlns=\'syncml:syncml1.1\'>"); |
|
133 _LIT (KDataComparison3_23, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./devinf11</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
134 _LIT (KDataComparison3_24, "<Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><Data xmlns=\'syncml:syncml1.1\'>2006A1D2D2F2F53594E434D4C2F2F44544420446576496E6620312E312"); |
|
135 _LIT (KDataComparison3_25, "F2F454E4A653312E3101513667573696F6E4F6E652C20496E632E0155353796E634D4C20464445015E3312E300149346312053796E634D4C205346444520312E30014B373657276657201475D32E2F43616C"); |
|
136 _LIT (KDataComparison3_26, "656E646172014C343616C656E646172015A463746578742F782D7663616C656E64617201643312E3001162463746578742F782D7663616C656E64617201643312E300115F6033101603320111475D32E2F43"); |
|
137 _LIT (KDataComparison3_27, "6F6E7461637473014C3436F6E7461637473015A463746578742F782D766361726401643322E3101162463746578742F782D766361726401643322E310115F6033101603320111475D32E2F426F6F6B6D6172"); |
|
138 _LIT (KDataComparison3_28, "6B73014C3426F6F6B6D61726B73015A463746578742F546573745479706501643312E3001162463746578742F546573745479706501643312E300115F603310160332011145463746578742F782D7663616C"); |
|
139 _LIT (KDataComparison3_29, "656E64617201583424547494E016335643414C454E4441520158356455253494F4E01633312E300158353554D4D41525901483636872015834445534352495054494F4E014836368720158343415445474F5"); |
|
140 _LIT (KDataComparison3_30, "2494553014836368720158344545354415254014836461746574696D65015834454454E44014836461746574696D650158341414C41524D014836461746574696D6501583434C41535301483636872015834"); |
|
141 _LIT (KDataComparison3_31, "54E44016335643414C454E44415201463746578742F782D766361726401583424547494E0163356434152440158356455253494F4E01633322E31015834E0148363687201583464E01483636872015835449"); |
|
142 _LIT (KDataComparison3_32, "544C4501483636872015834F5247014836368720158354454C0148363687201573564F4943450148363687201573464158014836368720157343454C4C0148363687201573574F524B014836368720157348"); |
|
143 _LIT (KDataComparison3_33, "4F4D450148363687201583454D41494C014836368720158355524C01483636872015834E4F54450148363687201583434C4153530148363687201583454E4401633564341524401463746578742F782D6631"); |
|
144 _LIT (KDataComparison3_34, "2D626F6F6B6D61726B01583424547494E016334631424F4F4B4D41524B015834E414D45014836368720158355524C01483636872015834445534352495054494F4E01483636872015834C415354564953495"); |
|
145 _LIT (KDataComparison3_35, "4454444415445014836461746574696D6501583454E44016334631424F4F4B4D41524B0111</Data></Item></Results><Sync xmlns=\'syncml:syncml1.1\'>"); |
|
146 _LIT (KDataComparison3_36, "<CmdID xmlns=\'syncml:syncml1.1\'>7</CmdID><Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target>"); |
|
147 _LIT (KDataComparison3_37, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Atomic xmlns=\'syncml:syncml1.1\'>"); |
|
148 _LIT (KDataComparison3_38, "<CmdID xmlns=\'syncml:syncml1.1\'>50</CmdID><Add xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>8</CmdID><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
149 _LIT (KDataComparison3_39, "<Type xmlns=\'syncml:metinf\'>text/x-f1-bookmark</Type></Meta><Item xmlns=\'syncml:syncml1.1\'><Source xmlns=\'syncml:syncml1.1\'>"); |
|
150 _LIT (KDataComparison3_40, "<LocURI xmlns=\'syncml:syncml1.1\'>fd279764-1dd1-11b2-80eb-ff2b70e4fe89</LocURI></Source>"); |
|
151 _LIT (KDataComparison3_41, "<Data xmlns=\'syncml:syncml1.1\'>BEGIN:F1-BOOKMARK\r\nVERSION:1.0\r\nNAME:Server\'s Bookmark\r\nURL:www.servers-place.com\r\nEND:F1-BOOKMARK\r\n</Data></Item></Add>"); |
|
152 _LIT (KDataComparison3_42, "</Atomic></Sync><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
153 |
|
154 _LIT (KDataComparison4_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><head xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><meta xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"Felix\" content=\"jees\"></meta></head>"); |
|
155 _LIT (KDataComparison4_2, "<template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' onenterbackward=\"#card1\" ontimer=\"#card1\">"); |
|
156 _LIT (KDataComparison4_3, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"template do\" name=\"doName\" optional=\"true\" xml:lang=\"lang\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do>"); |
|
157 _LIT (KDataComparison4_4, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\"><refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></refresh></onevent></template>"); |
|
158 _LIT (KDataComparison4_5, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" class=\"cards\" title=\"Title\" newcontext=\"true\" ordered=\"true\" xml:lang=\"english\">"); |
|
159 _LIT (KDataComparison4_6, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"ontimer\"><noop xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></noop></onevent>"); |
|
160 _LIT (KDataComparison4_7, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterbackward\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\" sendreferer=\"false\" method=\"get\" accept-charset=\"charset\">"); |
|
161 _LIT (KDataComparison4_8, "</go></onevent><timer xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"clock\" value=\"100\"></timer><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
162 _LIT (KDataComparison4_9, "<fieldset xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"fs\"> #PCDATA <em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>ephasized</em><strong xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>strong</strong>"); |
|
163 _LIT (KDataComparison4_10, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><i xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><u xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Biu </u></i></b></fieldset>"); |
|
164 _LIT (KDataComparison4_11, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> big </big><small xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> tiny </small><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
165 _LIT (KDataComparison4_12, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"alternative \" src=\"pic\" localsrc=\"localPic\" vspace=\"10\" hspace=\"20\" align=\"middle\" height=\"1000\" width=\"200\" xml:lang=\"lang\"></img>"); |
|
166 _LIT (KDataComparison4_13, "<anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"other.document\" method=\"post\">"); |
|
167 _LIT (KDataComparison4_14, "<postfield xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"data\" value=\"value\"></postfield></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\">link</a>"); |
|
168 _LIT (KDataComparison4_15, "<table xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Table\" align=\"center\" column=\"1\"><tr xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><td xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Stuff </td>"); |
|
169 _LIT (KDataComparison4_16, "</tr></table><input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" type=\"password\" value=\"def\" format=\"*M\" emptyok=\"true\" size=\"20\" maxlength=\"100\" tabindex=\"3\" title=\"input\"></input>"); |
|
170 _LIT (KDataComparison4_17, "<select xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><option xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"1\" title=\"first\" onpick=\"#card2\"> Yeah </option>"); |
|
171 _LIT (KDataComparison4_18, "<optgroup xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Group1\"><option xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"2\"> Yeah <onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onpick\">"); |
|
172 _LIT (KDataComparison4_19, "<refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></refresh></onevent></option></optgroup></select></p><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\">"); |
|
173 _LIT (KDataComparison4_20, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"variable\" value=\"varValue\"></setvar></prev></do></card></wml>"); |
|
174 |
|
175 _LIT (KDataComparison5_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Character entitie$\">"); |
|
176 _LIT (KDataComparison5_2, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\"><refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
177 _LIT (KDataComparison5_3, "<setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" value=\"\" & \' < > Â Â $\"></setvar></refresh></onevent>"); |
|
178 _LIT (KDataComparison5_4, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Quote: \"<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Ampersand: &<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
179 _LIT (KDataComparison5_5, "</br> Apos: \'<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Lesser: <<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Greater: >"); |
|
180 _LIT (KDataComparison5_6, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> NBSP: Â <br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> S-hyp: Â<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
181 _LIT (KDataComparison5_7, "</br> $<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
182 _LIT (KDataComparison5_8, "</br>[[0x82 : Entities in attribute: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
183 |
|
184 _LIT (KDataComparison6_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Crystal Demo\">"); |
|
185 _LIT (KDataComparison6_2, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
186 _LIT (KDataComparison6_3, "</br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Welcome</b>"); |
|
187 _LIT (KDataComparison6_4, "</big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> to the<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
188 _LIT (KDataComparison6_5, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Mib\'s World!</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
189 _LIT (KDataComparison6_6, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"Next\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\"></go></do></p></card>"); |
|
190 _LIT (KDataComparison6_7, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card2\" title=\"Next card\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"left\">"); |
|
191 _LIT (KDataComparison6_8, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Well, that\'s pretty much it.</em>"); |
|
192 _LIT (KDataComparison6_9, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
193 _LIT (KDataComparison6_10, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"file://c|/wml-events-do-7.wml\"></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card1\">Prev card</a>"); |
|
194 _LIT (KDataComparison6_11, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Go back\">"); |
|
195 _LIT (KDataComparison6_12, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
196 _LIT (KDataComparison6_13, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"image\" src=\"demo.mbm\" align=\"bottom\"></img><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
197 |
|
198 _LIT (KDataComparison7_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><head xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><meta xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' http-equiv=\"Cache-Control\" content=\"max-age=300\"></meta></head>"); |
|
199 _LIT (KDataComparison7_2, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" label=\"BBC Homepage\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"mainmenu.wml\"></go></do>"); |
|
200 _LIT (KDataComparison7_3, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Back\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
201 _LIT (KDataComparison7_4, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Sport Headlines</b><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
202 _LIT (KDataComparison7_5, "<small xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>at 14:45 on 31/5/2000</small><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
203 _LIT (KDataComparison7_6, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"TOP STORIES\" href=\"storiesheads1.wml\">TOP STORIES</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
204 _LIT (KDataComparison7_7, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"FOOTBALL\" href=\"footballheads1.wml\">FOOTBALL</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
205 _LIT (KDataComparison7_8, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"GOLF\" href=\"golfheads1.wml\">GOLF</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
206 _LIT (KDataComparison7_9, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"CRICKET\" href=\"cricketheads1.wml\">CRICKET</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
207 _LIT (KDataComparison7_10, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"MOTORSPORT\" href=\"motorsportheads1.wml\">MOTORSPORT</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
208 _LIT (KDataComparison7_11, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"RUGBY UNION\" href=\"rugbyunionheads1.wml\">RUGBY UNION</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
209 _LIT (KDataComparison7_12, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"RUGBY LEAGUE\" href=\"rugbyleagueheads1.wml\">RUGBY LEAGUE</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
210 _LIT (KDataComparison7_13, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"TENNIS\" href=\"tennisheads1.wml\">TENNIS</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
211 _LIT (KDataComparison7_14, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"SNOOKER\" href=\"snookerheads1.wml\">SNOOKER</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p>"); |
|
212 _LIT (KDataComparison7_15, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"SportAlert\" href=\"http://bbc.co.uk/cgi-bin/alert/prgterse.pl?subject=18 \">BBC Sport programmes Alert</a></p>"); |
|
213 _LIT (KDataComparison7_16, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Sports Headlines\" href=\"sportheads1.wml\">Sports Headlines</a></p>"); |
|
214 _LIT (KDataComparison7_17, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"BBC Homepage\" href=\"mainmenu.wml\">BBC Homepage</a></p></card></wml>"); |
|
215 |
|
216 _LIT (KDataComparison8_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" label=\"iii.co.uk home\">"); |
|
217 _LIT (KDataComparison8_2, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/index.wml#index\"></go></do><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" name=\"Back\" label=\"back\">"); |
|
218 _LIT (KDataComparison8_3, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></template><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Quote/Graph\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
219 _LIT (KDataComparison8_4, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>1. Enter Stock Code<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#quotes\"></go></anchor>"); |
|
220 _LIT (KDataComparison8_5, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>2. Name Search<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#namesearch\"></go></anchor></p>"); |
|
221 _LIT (KDataComparison8_6, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
222 _LIT (KDataComparison8_7, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
223 _LIT (KDataComparison8_8, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card>"); |
|
224 _LIT (KDataComparison8_9, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"quotes\" title=\"Quote/Graph\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Enter Stock Code<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
225 _LIT (KDataComparison8_10, "<input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"text\" name=\"s\"></input>[[0x80 : price.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Get Quote</a>"); |
|
226 _LIT (KDataComparison8_11, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x80 : graph.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Get 12 month</a>"); |
|
227 _LIT (KDataComparison8_12, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x80 : graph.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"&p=1d\">Get Intraday</a></p>"); |
|
228 _LIT (KDataComparison8_13, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
229 _LIT (KDataComparison8_14, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
230 _LIT (KDataComparison8_15, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card>"); |
|
231 _LIT (KDataComparison8_16, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"namesearch\" title=\"Name Search\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Enter search term:"); |
|
232 _LIT (KDataComparison8_17, "<input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"text\" name=\"n\"></input>[[0x80 : name.wml?n=n]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Search</a></p>"); |
|
233 _LIT (KDataComparison8_18, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
234 _LIT (KDataComparison8_19, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
235 _LIT (KDataComparison8_20, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
236 |
|
237 _LIT (KDataComparison9_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Title\"><onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\">"); |
|
238 _LIT (KDataComparison9_2, "<refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" value=\"VarVal\"></setvar></refresh></onevent>"); |
|
239 _LIT (KDataComparison9_3, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>[[0x82 : Plain variable: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x82 : NoEsc: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
240 _LIT (KDataComparison9_4, "</br>[[0x80 : Escape: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x81 : UnEsc: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
241 |
|
242 _LIT (KDataComparison10_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" name=\"Prev\" label=\"Back\">"); |
|
243 _LIT (KDataComparison10_2, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" name=\"Home\" label=\"Home\">"); |
|
244 _LIT (KDataComparison10_3, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://wap.rtsnetworks\"></go></do></template><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"index\" ontimer=\"#menu\">"); |
|
245 _LIT (KDataComparison10_4, "<timer xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"20\"></timer><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
246 _LIT (KDataComparison10_5, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' src=\"images/RTSe_slogan.wbmp\" alt=\"Welcome !\" align=\"middle\"></img></p></card>"); |
|
247 _LIT (KDataComparison10_6, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"menu\" title=\"RTSe WAP demos\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
248 _LIT (KDataComparison10_7, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.178/RouteWAP/\">» RouteWAP</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
249 _LIT (KDataComparison10_8, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.178/OutlookBridge/start.asp\">» Outlook Bridge</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
250 _LIT (KDataComparison10_9, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/wap_demos.wml#card1\">» HKL Timetables</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
251 _LIT (KDataComparison10_10, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://sodium.rtsnetworks.com:8080/apps/ytv/\">» YTV Timetables</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
252 _LIT (KDataComparison10_11, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/wap_demos.wml#card2\">» Wireless Investor</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
253 _LIT (KDataComparison10_12, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/hangman/hangman.wml\">» HangMan</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
254 _LIT (KDataComparison10_13, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"contact_us.wml\">Contact Us</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
255 _LIT (KDataComparison10_14, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"whats_new.wml\">What\'s New</a></p></card></wml>"); |
|
256 |
|
257 _LIT (KDataComparison11_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' xmlns=\'-//WAPFORUM//DTD WML 1.1 ATTRIBUTE SWITCH TEST//EN\' id=\"card1\" TestAttribute=\"Crystal Demo1\" TestAttribute=\"Crystal Demo2\">"); |
|
258 _LIT (KDataComparison11_2, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
259 _LIT (KDataComparison11_3, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Welcome</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> to the<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
260 _LIT (KDataComparison11_4, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Mib\'s World!</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"Next\">"); |
|
261 _LIT (KDataComparison11_5, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\"></go></do></p></card><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card2\" title=\"Next card\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"left\">"); |
|
262 _LIT (KDataComparison11_6, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Well, that\'s pretty much it.</em><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
263 _LIT (KDataComparison11_7, "<anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"file://c|/wml-events-do-7.wml\"></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card1\">Prev card</a>"); |
|
264 _LIT (KDataComparison11_8, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Go back\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></p>"); |
|
265 _LIT (KDataComparison11_9, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"image\" src=\"demo.mbm\" align=\"bottom\"></img><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
266 |
|
267 |
|
268 static RTest test(_L("t_wbxmloomparsertests")); |
|
269 |
|
270 |
|
271 /** |
|
272 @SYMTestCaseID SYSLIB-XML-CT-3729 |
|
273 @SYMTestCaseDesc Parsing large documents. |
|
274 @SYMTestPriority Medium |
|
275 @SYMTestActions Parsing large documents and comparing the output. |
|
276 @SYMTestExpectedResults Parsed documents and expected output should match. |
|
277 @SYMREQ REQ0000 |
|
278 */ |
|
279 static void ParserTestsL() |
|
280 { |
|
281 test.Next(_L(" @SYMTestCaseID:SYSLIB-XML-CT-3729 ParserTestsL tests... ")); |
|
282 |
|
283 __UHEAP_MARK; |
|
284 |
|
285 TBuf16<8000> *expectedOutput = new(ELeave) TBuf16<8000>; |
|
286 CleanupStack::PushL(expectedOutput); |
|
287 |
|
288 CStabilityTestClass* parserTest = CStabilityTestClass::NewL(test, ETrue, KMaxChunkSize); |
|
289 CleanupStack::PushL(parserTest); |
|
290 |
|
291 parserTest->iOutput->Zero(); |
|
292 |
|
293 |
|
294 // Test1 |
|
295 |
|
296 expectedOutput->Zero(); |
|
297 expectedOutput->Append(KDataComparison1_1); |
|
298 expectedOutput->Append(KDataComparison1_2); |
|
299 expectedOutput->Append(KDataComparison1_3); |
|
300 expectedOutput->Append(KDataComparison1_4); |
|
301 expectedOutput->Append(KDataComparison1_5); |
|
302 expectedOutput->Append(KDataComparison1_6); |
|
303 expectedOutput->Append(KDataComparison1_7); |
|
304 expectedOutput->Append(KDataComparison1_8); |
|
305 expectedOutput->Append(KDataComparison1_9); |
|
306 expectedOutput->Append(KDataComparison1_10); |
|
307 expectedOutput->Append(KDataComparison1_11); |
|
308 expectedOutput->Append(KDataComparison1_12); |
|
309 expectedOutput->Append(KDataComparison1_13); |
|
310 expectedOutput->Append(KDataComparison1_14); |
|
311 expectedOutput->Append(KDataComparison1_15); |
|
312 expectedOutput->Append(KDataComparison1_16); |
|
313 expectedOutput->Append(KDataComparison1_17); |
|
314 expectedOutput->Append(KDataComparison1_18); |
|
315 expectedOutput->Append(KDataComparison1_19); |
|
316 expectedOutput->Append(KDataComparison1_20); |
|
317 expectedOutput->Append(KDataComparison1_21); |
|
318 expectedOutput->Append(KDataComparison1_22); |
|
319 |
|
320 parserTest->ParseEntryL(KTestDocument1(), &CStabilityTestClass::TestWholeL); |
|
321 test(*expectedOutput == *parserTest->iOutput); |
|
322 |
|
323 parserTest->iOutput->Zero(); |
|
324 |
|
325 parserTest->ParseEntryL(KTestDocument1(), &CStabilityTestClass::TestChunkL); |
|
326 test(*expectedOutput == *parserTest->iOutput); |
|
327 |
|
328 parserTest->iOutput->Zero(); |
|
329 |
|
330 |
|
331 // Test2 |
|
332 |
|
333 expectedOutput->Zero(); |
|
334 expectedOutput->Append(KDataComparison2_1); |
|
335 expectedOutput->Append(KDataComparison2_2); |
|
336 expectedOutput->Append(KDataComparison2_3); |
|
337 expectedOutput->Append(KDataComparison2_4); |
|
338 expectedOutput->Append(KDataComparison2_5); |
|
339 expectedOutput->Append(KDataComparison2_6); |
|
340 expectedOutput->Append(KDataComparison2_7); |
|
341 expectedOutput->Append(KDataComparison2_8); |
|
342 expectedOutput->Append(KDataComparison2_9); |
|
343 expectedOutput->Append(KDataComparison2_10); |
|
344 expectedOutput->Append(KDataComparison2_11); |
|
345 expectedOutput->Append(KDataComparison2_12); |
|
346 expectedOutput->Append(KDataComparison2_13); |
|
347 expectedOutput->Append(KDataComparison2_14); |
|
348 expectedOutput->Append(KDataComparison2_15); |
|
349 expectedOutput->Append(KDataComparison2_16); |
|
350 expectedOutput->Append(KDataComparison2_17); |
|
351 expectedOutput->Append(KDataComparison2_18); |
|
352 expectedOutput->Append(KDataComparison2_19); |
|
353 expectedOutput->Append(KDataComparison2_20); |
|
354 expectedOutput->Append(KDataComparison2_21); |
|
355 expectedOutput->Append(KDataComparison2_22); |
|
356 expectedOutput->Append(KDataComparison2_23); |
|
357 expectedOutput->Append(KDataComparison2_24); |
|
358 expectedOutput->Append(KDataComparison2_25); |
|
359 expectedOutput->Append(KDataComparison2_26); |
|
360 expectedOutput->Append(KDataComparison2_27); |
|
361 expectedOutput->Append(KDataComparison2_28); |
|
362 expectedOutput->Append(KDataComparison2_29); |
|
363 expectedOutput->Append(KDataComparison2_30); |
|
364 expectedOutput->Append(KDataComparison2_31); |
|
365 expectedOutput->Append(KDataComparison2_32); |
|
366 expectedOutput->Append(KDataComparison2_33); |
|
367 expectedOutput->Append(KDataComparison2_34); |
|
368 expectedOutput->Append(KDataComparison2_35); |
|
369 expectedOutput->Append(KDataComparison2_36); |
|
370 expectedOutput->Append(KDataComparison2_37); |
|
371 expectedOutput->Append(KDataComparison2_38); |
|
372 expectedOutput->Append(KDataComparison2_39); |
|
373 expectedOutput->Append(KDataComparison2_40); |
|
374 expectedOutput->Append(KDataComparison2_41); |
|
375 |
|
376 parserTest->ParseEntryL(KTestDocument2(), &CStabilityTestClass::TestWholeL); |
|
377 test(*expectedOutput == *parserTest->iOutput); |
|
378 |
|
379 parserTest->iOutput->Zero(); |
|
380 |
|
381 parserTest->ParseEntryL(KTestDocument2(), &CStabilityTestClass::TestChunkL); |
|
382 test(*expectedOutput == *parserTest->iOutput); |
|
383 |
|
384 parserTest->iOutput->Zero(); |
|
385 |
|
386 |
|
387 // Test3 |
|
388 |
|
389 expectedOutput->Zero(); |
|
390 expectedOutput->Append(KDataComparison3_1); |
|
391 expectedOutput->Append(KDataComparison3_2); |
|
392 expectedOutput->Append(KDataComparison3_3); |
|
393 expectedOutput->Append(KDataComparison3_4); |
|
394 expectedOutput->Append(KDataComparison3_5); |
|
395 expectedOutput->Append(KDataComparison3_6); |
|
396 expectedOutput->Append(KDataComparison3_7); |
|
397 expectedOutput->Append(KDataComparison3_8); |
|
398 expectedOutput->Append(KDataComparison3_9); |
|
399 expectedOutput->Append(KDataComparison3_10); |
|
400 expectedOutput->Append(KDataComparison3_11); |
|
401 expectedOutput->Append(KDataComparison3_12); |
|
402 expectedOutput->Append(KDataComparison3_13); |
|
403 expectedOutput->Append(KDataComparison3_14); |
|
404 expectedOutput->Append(KDataComparison3_15); |
|
405 expectedOutput->Append(KDataComparison3_16); |
|
406 expectedOutput->Append(KDataComparison3_17); |
|
407 expectedOutput->Append(KDataComparison3_18); |
|
408 expectedOutput->Append(KDataComparison3_19); |
|
409 expectedOutput->Append(KDataComparison3_20); |
|
410 expectedOutput->Append(KDataComparison3_21); |
|
411 expectedOutput->Append(KDataComparison3_22); |
|
412 expectedOutput->Append(KDataComparison3_23); |
|
413 expectedOutput->Append(KDataComparison3_24); |
|
414 expectedOutput->Append(KDataComparison3_25); |
|
415 expectedOutput->Append(KDataComparison3_26); |
|
416 expectedOutput->Append(KDataComparison3_27); |
|
417 expectedOutput->Append(KDataComparison3_28); |
|
418 expectedOutput->Append(KDataComparison3_29); |
|
419 expectedOutput->Append(KDataComparison3_30); |
|
420 expectedOutput->Append(KDataComparison3_31); |
|
421 expectedOutput->Append(KDataComparison3_32); |
|
422 expectedOutput->Append(KDataComparison3_33); |
|
423 expectedOutput->Append(KDataComparison3_34); |
|
424 expectedOutput->Append(KDataComparison3_35); |
|
425 expectedOutput->Append(KDataComparison3_36); |
|
426 expectedOutput->Append(KDataComparison3_37); |
|
427 expectedOutput->Append(KDataComparison3_38); |
|
428 expectedOutput->Append(KDataComparison3_39); |
|
429 expectedOutput->Append(KDataComparison3_40); |
|
430 expectedOutput->Append(KDataComparison3_41); |
|
431 expectedOutput->Append(KDataComparison3_42); |
|
432 |
|
433 parserTest->ParseEntryL(KTestDocument3(), &CStabilityTestClass::TestWholeL); |
|
434 test(*expectedOutput == *parserTest->iOutput); |
|
435 |
|
436 parserTest->iOutput->Zero(); |
|
437 |
|
438 parserTest->ParseEntryL(KTestDocument3(), &CStabilityTestClass::TestChunkL); |
|
439 test(*expectedOutput == *parserTest->iOutput); |
|
440 |
|
441 parserTest->iOutput->Zero(); |
|
442 |
|
443 |
|
444 // Test4 |
|
445 |
|
446 expectedOutput->Zero(); |
|
447 expectedOutput->Append(KDataComparison4_1); |
|
448 expectedOutput->Append(KDataComparison4_2); |
|
449 expectedOutput->Append(KDataComparison4_3); |
|
450 expectedOutput->Append(KDataComparison4_4); |
|
451 expectedOutput->Append(KDataComparison4_5); |
|
452 expectedOutput->Append(KDataComparison4_6); |
|
453 expectedOutput->Append(KDataComparison4_7); |
|
454 expectedOutput->Append(KDataComparison4_8); |
|
455 expectedOutput->Append(KDataComparison4_9); |
|
456 expectedOutput->Append(KDataComparison4_10); |
|
457 expectedOutput->Append(KDataComparison4_11); |
|
458 expectedOutput->Append(KDataComparison4_12); |
|
459 expectedOutput->Append(KDataComparison4_13); |
|
460 expectedOutput->Append(KDataComparison4_14); |
|
461 expectedOutput->Append(KDataComparison4_15); |
|
462 expectedOutput->Append(KDataComparison4_16); |
|
463 expectedOutput->Append(KDataComparison4_17); |
|
464 expectedOutput->Append(KDataComparison4_18); |
|
465 expectedOutput->Append(KDataComparison4_19); |
|
466 expectedOutput->Append(KDataComparison4_20); |
|
467 |
|
468 parserTest->ParseEntryL(KTestDocument4(), &CStabilityTestClass::TestWholeL); |
|
469 test(*expectedOutput == *parserTest->iOutput); |
|
470 |
|
471 parserTest->iOutput->Zero(); |
|
472 |
|
473 parserTest->ParseEntryL(KTestDocument4(), &CStabilityTestClass::TestChunkL); |
|
474 test(*expectedOutput == *parserTest->iOutput); |
|
475 |
|
476 parserTest->iOutput->Zero(); |
|
477 |
|
478 |
|
479 // Test5 |
|
480 |
|
481 expectedOutput->Zero(); |
|
482 expectedOutput->Append(KDataComparison5_1); |
|
483 expectedOutput->Append(KDataComparison5_2); |
|
484 expectedOutput->Append(KDataComparison5_3); |
|
485 expectedOutput->Append(KDataComparison5_4); |
|
486 expectedOutput->Append(KDataComparison5_5); |
|
487 expectedOutput->Append(KDataComparison5_6); |
|
488 expectedOutput->Append(KDataComparison5_7); |
|
489 expectedOutput->Append(KDataComparison5_8); |
|
490 |
|
491 parserTest->ParseEntryL(KTestDocument5(), &CStabilityTestClass::TestWholeL); |
|
492 test(*expectedOutput == *parserTest->iOutput); |
|
493 |
|
494 parserTest->iOutput->Zero(); |
|
495 |
|
496 parserTest->ParseEntryL(KTestDocument5(), &CStabilityTestClass::TestChunkL); |
|
497 test(*expectedOutput == *parserTest->iOutput); |
|
498 |
|
499 parserTest->iOutput->Zero(); |
|
500 |
|
501 |
|
502 // Test6 |
|
503 |
|
504 expectedOutput->Zero(); |
|
505 expectedOutput->Append(KDataComparison6_1); |
|
506 expectedOutput->Append(KDataComparison6_2); |
|
507 expectedOutput->Append(KDataComparison6_3); |
|
508 expectedOutput->Append(KDataComparison6_4); |
|
509 expectedOutput->Append(KDataComparison6_5); |
|
510 expectedOutput->Append(KDataComparison6_6); |
|
511 expectedOutput->Append(KDataComparison6_7); |
|
512 expectedOutput->Append(KDataComparison6_8); |
|
513 expectedOutput->Append(KDataComparison6_9); |
|
514 expectedOutput->Append(KDataComparison6_10); |
|
515 expectedOutput->Append(KDataComparison6_11); |
|
516 expectedOutput->Append(KDataComparison6_12); |
|
517 expectedOutput->Append(KDataComparison6_13); |
|
518 |
|
519 parserTest->ParseEntryL(KTestDocument6(), &CStabilityTestClass::TestWholeL); |
|
520 test(*expectedOutput == *parserTest->iOutput); |
|
521 |
|
522 parserTest->iOutput->Zero(); |
|
523 |
|
524 parserTest->ParseEntryL(KTestDocument6(), &CStabilityTestClass::TestChunkL); |
|
525 test(*expectedOutput == *parserTest->iOutput); |
|
526 |
|
527 parserTest->iOutput->Zero(); |
|
528 |
|
529 |
|
530 // Test7 |
|
531 |
|
532 expectedOutput->Zero(); |
|
533 expectedOutput->Append(KDataComparison7_1); |
|
534 expectedOutput->Append(KDataComparison7_2); |
|
535 expectedOutput->Append(KDataComparison7_3); |
|
536 expectedOutput->Append(KDataComparison7_4); |
|
537 expectedOutput->Append(KDataComparison7_5); |
|
538 expectedOutput->Append(KDataComparison7_6); |
|
539 expectedOutput->Append(KDataComparison7_7); |
|
540 expectedOutput->Append(KDataComparison7_8); |
|
541 expectedOutput->Append(KDataComparison7_9); |
|
542 expectedOutput->Append(KDataComparison7_10); |
|
543 expectedOutput->Append(KDataComparison7_11); |
|
544 expectedOutput->Append(KDataComparison7_12); |
|
545 expectedOutput->Append(KDataComparison7_13); |
|
546 expectedOutput->Append(KDataComparison7_14); |
|
547 expectedOutput->Append(KDataComparison7_15); |
|
548 expectedOutput->Append(KDataComparison7_16); |
|
549 expectedOutput->Append(KDataComparison7_17); |
|
550 |
|
551 parserTest->ParseEntryL(KTestDocument7(), &CStabilityTestClass::TestWholeL); |
|
552 test(*expectedOutput == *parserTest->iOutput); |
|
553 |
|
554 parserTest->iOutput->Zero(); |
|
555 |
|
556 parserTest->ParseEntryL(KTestDocument7(), &CStabilityTestClass::TestChunkL); |
|
557 test(*expectedOutput == *parserTest->iOutput); |
|
558 |
|
559 parserTest->iOutput->Zero(); |
|
560 |
|
561 |
|
562 // Test8 |
|
563 |
|
564 expectedOutput->Zero(); |
|
565 expectedOutput->Append(KDataComparison8_1); |
|
566 expectedOutput->Append(KDataComparison8_2); |
|
567 expectedOutput->Append(KDataComparison8_3); |
|
568 expectedOutput->Append(KDataComparison8_4); |
|
569 expectedOutput->Append(KDataComparison8_5); |
|
570 expectedOutput->Append(KDataComparison8_6); |
|
571 expectedOutput->Append(KDataComparison8_7); |
|
572 expectedOutput->Append(KDataComparison8_8); |
|
573 expectedOutput->Append(KDataComparison8_9); |
|
574 expectedOutput->Append(KDataComparison8_10); |
|
575 expectedOutput->Append(KDataComparison8_11); |
|
576 expectedOutput->Append(KDataComparison8_12); |
|
577 expectedOutput->Append(KDataComparison8_13); |
|
578 expectedOutput->Append(KDataComparison8_14); |
|
579 expectedOutput->Append(KDataComparison8_15); |
|
580 expectedOutput->Append(KDataComparison8_16); |
|
581 expectedOutput->Append(KDataComparison8_17); |
|
582 expectedOutput->Append(KDataComparison8_18); |
|
583 expectedOutput->Append(KDataComparison8_19); |
|
584 expectedOutput->Append(KDataComparison8_20); |
|
585 |
|
586 parserTest->ParseEntryL(KTestDocument8(), &CStabilityTestClass::TestWholeL); |
|
587 test(*expectedOutput == *parserTest->iOutput); |
|
588 |
|
589 parserTest->iOutput->Zero(); |
|
590 |
|
591 parserTest->ParseEntryL(KTestDocument8(), &CStabilityTestClass::TestChunkL); |
|
592 test(*expectedOutput == *parserTest->iOutput); |
|
593 |
|
594 parserTest->iOutput->Zero(); |
|
595 |
|
596 |
|
597 // Test9 |
|
598 |
|
599 expectedOutput->Zero(); |
|
600 expectedOutput->Append(KDataComparison9_1); |
|
601 expectedOutput->Append(KDataComparison9_2); |
|
602 expectedOutput->Append(KDataComparison9_3); |
|
603 expectedOutput->Append(KDataComparison9_4); |
|
604 |
|
605 parserTest->ParseEntryL(KTestDocument9(), &CStabilityTestClass::TestWholeL); |
|
606 test(*expectedOutput == *parserTest->iOutput); |
|
607 |
|
608 parserTest->iOutput->Zero(); |
|
609 |
|
610 parserTest->ParseEntryL(KTestDocument9(), &CStabilityTestClass::TestChunkL); |
|
611 test(*expectedOutput == *parserTest->iOutput); |
|
612 |
|
613 parserTest->iOutput->Zero(); |
|
614 |
|
615 |
|
616 // Test10 |
|
617 |
|
618 expectedOutput->Zero(); |
|
619 expectedOutput->Append(KDataComparison10_1); |
|
620 expectedOutput->Append(KDataComparison10_2); |
|
621 expectedOutput->Append(KDataComparison10_3); |
|
622 expectedOutput->Append(KDataComparison10_4); |
|
623 expectedOutput->Append(KDataComparison10_5); |
|
624 expectedOutput->Append(KDataComparison10_6); |
|
625 expectedOutput->Append(KDataComparison10_7); |
|
626 expectedOutput->Append(KDataComparison10_8); |
|
627 expectedOutput->Append(KDataComparison10_9); |
|
628 expectedOutput->Append(KDataComparison10_10); |
|
629 expectedOutput->Append(KDataComparison10_11); |
|
630 expectedOutput->Append(KDataComparison10_12); |
|
631 expectedOutput->Append(KDataComparison10_13); |
|
632 expectedOutput->Append(KDataComparison10_14); |
|
633 |
|
634 parserTest->ParseEntryL(KTestDocument10(), &CStabilityTestClass::TestWholeL); |
|
635 test(*expectedOutput == *parserTest->iOutput); |
|
636 |
|
637 parserTest->iOutput->Zero(); |
|
638 |
|
639 parserTest->ParseEntryL(KTestDocument10(), &CStabilityTestClass::TestChunkL); |
|
640 test(*expectedOutput == *parserTest->iOutput); |
|
641 |
|
642 parserTest->iOutput->Zero(); |
|
643 |
|
644 |
|
645 // Test11 |
|
646 |
|
647 expectedOutput->Zero(); |
|
648 expectedOutput->Append(KDataComparison11_1); |
|
649 expectedOutput->Append(KDataComparison11_2); |
|
650 expectedOutput->Append(KDataComparison11_3); |
|
651 expectedOutput->Append(KDataComparison11_4); |
|
652 expectedOutput->Append(KDataComparison11_5); |
|
653 expectedOutput->Append(KDataComparison11_6); |
|
654 expectedOutput->Append(KDataComparison11_7); |
|
655 expectedOutput->Append(KDataComparison11_8); |
|
656 expectedOutput->Append(KDataComparison11_9); |
|
657 |
|
658 parserTest->ParseEntryL(KTestDocument11(), &CStabilityTestClass::TestWholeL); |
|
659 test(*expectedOutput == *parserTest->iOutput); |
|
660 |
|
661 parserTest->iOutput->Zero(); |
|
662 |
|
663 parserTest->ParseEntryL(KTestDocument11(), &CStabilityTestClass::TestChunkL); |
|
664 test(*expectedOutput == *parserTest->iOutput); |
|
665 |
|
666 parserTest->iOutput->Zero(); |
|
667 |
|
668 |
|
669 |
|
670 CleanupStack::PopAndDestroy(parserTest); |
|
671 CleanupStack::PopAndDestroy(expectedOutput); |
|
672 |
|
673 __UHEAP_MARKEND; |
|
674 } |
|
675 |
|
676 static void MainL() |
|
677 { |
|
678 ParserTestsL(); |
|
679 } |
|
680 |
|
681 TInt E32Main() |
|
682 { |
|
683 |
|
684 __UHEAP_MARK; |
|
685 test.Title(); |
|
686 test.Start(_L("initialising")); |
|
687 |
|
688 CTrapCleanup* c=CTrapCleanup::New(); |
|
689 |
|
690 // start the loader |
|
691 RFs fs; |
|
692 test (fs.Connect()==KErrNone); |
|
693 fs.Close(); |
|
694 |
|
695 test (c!=0); |
|
696 TRAPD(r,MainL()); |
|
697 test (r==KErrNone); |
|
698 delete c; |
|
699 test.End(); |
|
700 test.Close(); |
|
701 __UHEAP_MARKEND; |
|
702 |
|
703 return KErrNone; |
|
704 } |
|
705 |