Guest User

Untitled

a guest
May 20th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. [ockonal@wincode bin]$ ./Themisto
  2. ** Demo doc read from disk: **
  3.  
  4. ** Printing via doc.Print **
  5. <?xml version="1.0" standalone="no" ?>
  6. <!-- Our to do list data -->
  7. <ToDo>
  8. <!-- Do I need a secure PDA? -->
  9. <Item priority="1" distance="close">Go to the
  10. <bold>Toy store!</bold>
  11. </Item>
  12. <Item priority="2" distance="none">Do bills</Item>
  13. <Item priority="2" distance="far & back">Look for Evil Dinosaurs!</Item>
  14. </ToDo>
  15. ** Printing via TiXmlPrinter **
  16. <?xml version="1.0" standalone="no" ?>
  17. <!-- Our to do list data -->
  18. <ToDo>
  19. <!-- Do I need a secure PDA? -->
  20. <Item priority="1" distance="close">
  21. Go to the
  22. <bold>Toy store!</bold>
  23. </Item>
  24. <Item priority="2" distance="none">Do bills</Item>
  25. <Item priority="2" distance="far & back">Look for Evil Dinosaurs!</Item>
  26. </ToDo>
  27. ** Printing via operator<< **
  28. <?xml version="1.0" standalone="no" ?><!-- Our to do list data --><ToDo><!-- Do I need a secure PDA? --><Item priority="1" distance="close">Go to the<bold>Toy store!</bold></Item><Item priority="2" distance="none">Do bills</Item><Item priority="2" distance="far & back">Look for Evil Dinosaurs!</Item></ToDo>
  29. ** Demo doc processed: **
  30.  
  31. <?xml version="1.0" standalone="no" ?>
  32. <!-- Our to do list data -->
  33. <ToDo>
  34. <!-- Do I need a secure PDA? -->
  35. <Item priority="2" distance="close">Go to the
  36. <bold>Toy store!</bold>
  37. </Item>
  38. <Item priority="1" distance="far">Talk to:
  39. <Meeting where="School">
  40. <Attendee name="Marple" position="teacher" />
  41. <Attendee name="Voel" position="counselor" />
  42. </Meeting>
  43. <Meeting where="Lunch" />
  44. </Item>
  45. <Item priority="2" distance="here">Do bills</Item>
  46. </ToDo>
  47. ** Demo doc processed to stream: **
  48.  
  49. <?xml version="1.0" standalone="no" ?><!-- Our to do list data --><ToDo><!-- Do I need a secure PDA? --><Item priority="2" distance="close">Go to the<bold>Toy store!</bold></Item><Item priority="1" distance="far">Talk to:<Meeting where="School"><Attendee name="Marple" position="teacher" /><Attendee name="Voel" position="counselor" /></Meeting><Meeting where="Lunch" /></Item><Item priority="2" distance="here">Do bills</Item></ToDo>
  50.  
  51. ** Basic structure. **
  52. [pass] Output stream correct.
  53. [pass] Root element exists. [1][1]
  54. [pass] Root element value is 'ToDo'. [ToDo][ToDo]
  55. [pass] First child exists & is a comment. [1][1]
  56. [pass] Sibling element exists & is an element. [1][1]
  57. [pass] Value is 'Item'. [Item][Item]
  58. [pass] First child exists. [1][1]
  59. [pass] Value is 'Go to the'. [Go to the][Go to the]
  60.  
  61. ** Iterators. **
  62. [pass] Top level nodes, using First / Next. [3][3]
  63. [pass] Top level nodes, using Last / Previous. [3][3]
  64. [pass] Top level nodes, using IterateChildren. [3][3]
  65. [pass] Children of the 'ToDo' element, using First / Next. [3][3]
  66. [pass] 'Item' children of the 'ToDo' element, using First/Next. [3][3]
  67. [pass] 'Item' children of the 'ToDo' element, using Last/Previous. [3][3]
  68.  
  69. ** Parsing. **
  70. [pass] Element parsed, value is 'Element0'. [Element0][Element0]
  71. [pass] Reads attribute 'attribute0="foo0"'. [foo0][foo0]
  72. [pass] Reads incorrectly formatted 'attribute1=noquotes'. [noquotes][noquotes]
  73. [pass] Read attribute with entity value '>'. [>][>]
  74. [pass] Error row [3][3]
  75. [pass] Error column [17][17]
  76.  
  77. ** Streaming. **
  78. [pass] Stream round trip correct.
  79. [pass] String printing correct.
  80. [pass] Query attribute: int as double [0][0]
  81. [pass] Query attribute: int as double [1][1]
  82. [pass] Query attribute: double as double [2][2]
  83. [pass] Query attribute: double as int [0][0]
  84. [pass] Query attribute: double as int [2][2]
  85. [pass] Query attribute: not a number [2][2]
  86. [pass] Query attribute: does not exist [1][1]
  87. [pass] Attribute round trip. c-string. [strValue][strValue]
  88. [pass] Attribute round trip. int. [1][1]
  89. [pass] Attribute round trip. double. [-1][-1]
  90. [pass] Location tracking: Tab 8: room row [1][1]
  91. [pass] Location tracking: Tab 8: room col [49][49]
  92. [pass] Location tracking: Tab 8: doors row [1][1]
  93. [pass] Location tracking: Tab 8: doors col [55][55]
  94. [pass] Location tracking: Declaration row [1][1]
  95. [pass] Location tracking: Declaration col [5][5]
  96. [pass] Location tracking: room row [1][1]
  97. [pass] Location tracking: room col [45][45]
  98. [pass] Location tracking: doors row [1][1]
  99. [pass] Location tracking: doors col [51][51]
  100. [pass] Location tracking: Comment row [2][2]
  101. [pass] Location tracking: Comment col [3][3]
  102. [pass] Location tracking: text row [3][3]
  103. [pass] Location tracking: text col [24][24]
  104. [pass] Location tracking: door0 row [3][3]
  105. [pass] Location tracking: door0 col [5][5]
  106. [pass] Location tracking: door1 row [4][4]
  107. [pass] Location tracking: door1 col [5][5]
  108.  
  109. ** UTF-8 **
  110. WARNING: File 'utf8test.xml' not found.
  111. (Are you running the test from the wrong directory?)
  112. Could not test UTF-8 functionality.
  113.  
  114. ** Copy and Assignment **
  115. [pass] Copy/Assign: element copy #1. [element][element]
  116. [pass] Copy/Assign: element copy #2. [value][value]
  117. [pass] Copy/Assign: element assign #1. [element][element]
  118. [pass] Copy/Assign: element assign #2. [value][value]
  119. [pass] Copy/Assign: element assign #3. [1][1]
  120. [pass] Copy/Assign: comment copy. [comment][comment]
  121. [pass] Copy/Assign: comment assign. [comment][comment]
  122. [pass] Copy/Assign: unknown copy. [[unknown]][[unknown]]
  123. [pass] Copy/Assign: unknown assign. [[unknown]][[unknown]]
  124. [pass] Copy/Assign: text copy. [TextNode][TextNode]
  125. [pass] Copy/Assign: text assign. [TextNode][TextNode]
  126. [pass] Copy/Assign: declaration copy. [UTF-8][UTF-8]
  127. [pass] Copy/Assign: text assign. [UTF-8][UTF-8]
  128. [pass] Copy/Assign: document copy.
  129. [pass] Copy/Assign: document assign.
  130.  
  131. ** Parsing, no Condense Whitespace **
  132. [pass] Condense white space OFF.
  133. [pass] GetText() normal use. [This is text][This is text]
  134. [pass] GetText() contained element. [1][1]
  135. [pass] GetText() partial. [This is ][This is ]
  136. <xmlElement>
  137. <![CDATA[I am > the rules!
  138. ...since I make symbolic puns]]>
  139. </xmlElement>
  140. [pass] CDATA parse.
  141. [pass] CDATA stream.
  142. [pass] CDATA copy.
  143. [pass] CDATA with all bytes #1.
  144. [pass] CDATA with all bytes #2.
  145. <xmlElement>
  146. <![CDATA[<b>I am > the rules!</b>
  147. ...since I make symbolic puns]]>
  148. </xmlElement>
  149. [pass] CDATA parse. [ 1480107 ]
  150. [pass] CDATA stream. [ 1480107 ]
  151. [pass] CDATA copy. [ 1480107 ]
  152.  
  153. ** Fuzzing... **
  154. ** Fuzzing Complete. **
  155.  
  156. ** Bug regression tests **
  157. [pass] Test InsertBeforeChild on empty node. [1][1]
  158. [pass] Test InsertAfterChild on empty node. [1][1]
  159. [pass] Entity transformation: read.
  160. [pass] Entity transformation: write.
  161. [pass] dot in element attributes and names [0][0]
  162. [pass] Entity with one digit. [1][1]
  163. [pass] Entity with one digit. [1.1 Start easy ignore fin thickness
  164. ][1.1 Start easy ignore fin thickness
  165. ]
  166. [pass] Correct value of unknown. [!DOCTYPE PLAY SYSTEM 'play.dtd'][!DOCTYPE PLAY SYSTEM 'play.dtd']
  167. [pass] Correct streaming of unknown. [<!ELEMENT title (#PCDATA)>][<!ELEMENT title (#PCDATA)>]
  168. [pass] Comment formatting. [ Somewhat<evil> ][ Somewhat<evil> ]
  169. [pass] Comment streaming. [<!-- Somewhat<evil> -->][<!-- Somewhat<evil> -->]
  170. [pass] White space kept. [ This has leading and trailing space ][ This has leading and trailing space ]
  171. [pass] White space kept. [This has internal space][This has internal space]
  172. [pass] White space kept. [ This has leading, trailing, and internal space ][ This has leading, trailing, and internal space ]
  173. [pass] White space condensed. [This has leading and trailing space][This has leading and trailing space]
  174. [pass] White space condensed. [This has internal space][This has internal space]
  175. [pass] White space condensed. [This has leading, trailing, and internal space][This has leading, trailing, and internal space]
  176. [pass] Parsing repeated attributes. [1][1]
  177. [pass] Embedded null throws error. [1][1]
  178. [pass] Embedded null throws error. [1][1]
  179. [pass] ISO-8859-1 Parsing. [C�nt�nt�������][C�nt�nt�������]
  180. [pass] Empty document error TIXML_ERROR_DOCUMENT_EMPTY [12][12]
  181. [pass] Test safe error return. [0][0]
  182. [pass] Low entities. [][]
  183. <test>&#x0E;</test>
  184. [pass] Throw error with bad end quotes. [1][1]
  185. [pass] QueryValueAttribute [0][0]
  186. [pass] QueryValueAttribute [0][0]
  187. [pass] QueryValueAttribute [0][0]
  188. [pass] QueryValueAttribute [2][2]
  189. [pass] QueryValueAttribute [1][1]
  190. [pass] QueryValueAttribute [0][0]
  191. [pass] QueryValueAttribute [1][1]
  192. [pass] QueryValueAttribute [1][1]
  193. [pass] QueryValueAttribute [1][1]
  194. [pass] QueryValueAttribute [1][1]
  195. [pass] Attribute [0][0]
  196. [pass] Attribute [1][1]
  197. [pass] Attribute [1][1]
  198. [pass] Document only at top level. [1][1]
  199. [pass] Document only at top level. [15][15]
  200. [pass] Missing end tag at end of input [1][1]
  201. [pass] Missing end tag with trailing whitespace [1][1]
  202. [pass] Comments ignore entities.
  203. [pass] Comments ignore entities.
  204. [pass] Comments ignore entities.
  205. [pass] Comments ignore entities.
  206. [pass] Comments iterate correctly. [3][3]
  207. [pass] Handle end tag whitespace [0][0]
  208. [pass] Infinite loop test. [1][1]
  209. [pass] Odd XML parsing. [tag][tag]
  210. [pass] Entity escaping [<foo>foo&#xa+bar</foo>][<foo>foo&#xa+bar</foo>]
  211.  
  212. Pass 128, Fail 0
Add Comment
Please, Sign In to add comment