simple-xspec-wrapper 0.1.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +11 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +37 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +49 -0
  11. data/Rakefile +6 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/exe/xspec +16 -0
  15. data/lib/xspec/version.rb +3 -0
  16. data/lib/xspec.rb +256 -0
  17. data/simple-xspec-wrapper.gemspec +28 -0
  18. data/spec-test.xml +1125 -0
  19. data/vendor/xspec-1.0.0/.gitignore +7 -0
  20. data/vendor/xspec-1.0.0/.travis.yml +57 -0
  21. data/vendor/xspec-1.0.0/LICENSE +21 -0
  22. data/vendor/xspec-1.0.0/README.md +26 -0
  23. data/vendor/xspec-1.0.0/appveyor.yml +77 -0
  24. data/vendor/xspec-1.0.0/bin/xspec.bat +620 -0
  25. data/vendor/xspec-1.0.0/bin/xspec.sh +403 -0
  26. data/vendor/xspec-1.0.0/build.xml +369 -0
  27. data/vendor/xspec-1.0.0/editors/emacs/README +31 -0
  28. data/vendor/xspec-1.0.0/editors/emacs/schemas.xml +6 -0
  29. data/vendor/xspec-1.0.0/editors/oxygen/.cvsignore +2 -0
  30. data/vendor/xspec-1.0.0/editors/oxygen/README +11 -0
  31. data/vendor/xspec-1.0.0/editors/oxygen/build.xml +38 -0
  32. data/vendor/xspec-1.0.0/editors/oxygen/templates/xspec.xml +17 -0
  33. data/vendor/xspec-1.0.0/editors/oxygen/xspec.framework +175 -0
  34. data/vendor/xspec-1.0.0/find-examples.xml +37 -0
  35. data/vendor/xspec-1.0.0/find-examples.xsl +615 -0
  36. data/vendor/xspec-1.0.0/graphics/3angle-down.gif +0 -0
  37. data/vendor/xspec-1.0.0/graphics/3angle-right.gif +0 -0
  38. data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.class +0 -0
  39. data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.java +209 -0
  40. data/vendor/xspec-1.0.0/src/ant/find-test-failure.xsl +17 -0
  41. data/vendor/xspec-1.0.0/src/ant/get-schematron-phase.xsl +17 -0
  42. data/vendor/xspec-1.0.0/src/ant/locate-schematron.xsl +28 -0
  43. data/vendor/xspec-1.0.0/src/ant/make-path.js +4 -0
  44. data/vendor/xspec-1.0.0/src/compiler/generate-common-tests.xsl +604 -0
  45. data/vendor/xspec-1.0.0/src/compiler/generate-query-helper.xsl +152 -0
  46. data/vendor/xspec-1.0.0/src/compiler/generate-query-tests.xsl +473 -0
  47. data/vendor/xspec-1.0.0/src/compiler/generate-query-utils.xql +263 -0
  48. data/vendor/xspec-1.0.0/src/compiler/generate-tests-helper.xsl +169 -0
  49. data/vendor/xspec-1.0.0/src/compiler/generate-tests-utils.xsl +479 -0
  50. data/vendor/xspec-1.0.0/src/compiler/generate-xspec-tests.xsl +503 -0
  51. data/vendor/xspec-1.0.0/src/harnesses/basex/basex-standalone-xquery-harness.xproc +135 -0
  52. data/vendor/xspec-1.0.0/src/harnesses/basex/basex-xquery-harness.xproc +133 -0
  53. data/vendor/xspec-1.0.0/src/harnesses/exist/exist-xquery-harness.xproc +161 -0
  54. data/vendor/xspec-1.0.0/src/harnesses/harness-lib.xpl +327 -0
  55. data/vendor/xspec-1.0.0/src/harnesses/marklogic/ml-xquery-harness.xproc +143 -0
  56. data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xquery-harness.xproc +108 -0
  57. data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xslt-harness.xproc +85 -0
  58. data/vendor/xspec-1.0.0/src/harnesses/zorba/zorba-xquery-harness.xproc +134 -0
  59. data/vendor/xspec-1.0.0/src/reporter/coverage-report.xsl +378 -0
  60. data/vendor/xspec-1.0.0/src/reporter/format-utils.xsl +220 -0
  61. data/vendor/xspec-1.0.0/src/reporter/format-xspec-report-folding.xsl +164 -0
  62. data/vendor/xspec-1.0.0/src/reporter/format-xspec-report.xsl +410 -0
  63. data/vendor/xspec-1.0.0/src/reporter/junit-report.xsl +93 -0
  64. data/vendor/xspec-1.0.0/src/reporter/test-report.css +469 -0
  65. data/vendor/xspec-1.0.0/src/schemas/find-examples.rnc +90 -0
  66. data/vendor/xspec-1.0.0/src/schemas/xspec.rnc +304 -0
  67. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_abstract_expand.xsl +313 -0
  68. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_dsdl_include.xsl +1519 -0
  69. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message.xsl +64 -0
  70. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message_xslt2.xsl +64 -0
  71. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_saxon.xsl +2306 -0
  72. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_xslt1.xsl +1851 -0
  73. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt1.xsl +614 -0
  74. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt2.xsl +692 -0
  75. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/readme.txt +101 -0
  76. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-cs.xhtml +56 -0
  77. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-de.xhtml +55 -0
  78. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-en.xhtml +57 -0
  79. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-fr.xhtml +54 -0
  80. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-ja.xhtml +53 -0
  81. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-nl.xhtml +58 -0
  82. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/schematron-skeleton-api.htm +723 -0
  83. data/vendor/xspec-1.0.0/src/schematron/sch-location-compare.xsl +139 -0
  84. data/vendor/xspec-1.0.0/src/schematron/schut-to-xspec.xsl +179 -0
  85. data/vendor/xspec-1.0.0/test/Makefile +117 -0
  86. data/vendor/xspec-1.0.0/test/README +5 -0
  87. data/vendor/xspec-1.0.0/test/catalog/xspec-160_catalog.xml +4 -0
  88. data/vendor/xspec-1.0.0/test/catalog/xspec-160_schematron.xspec +6 -0
  89. data/vendor/xspec-1.0.0/test/catalog/xspec-160_xslt.xspec +5 -0
  90. data/vendor/xspec-1.0.0/test/end-to-end/README.md +42 -0
  91. data/vendor/xspec-1.0.0/test/end-to-end/cases/.gitignore +1 -0
  92. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/.gitignore +3 -0
  93. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-50-result-norm.html +74 -0
  94. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-55-result-norm.html +112 -0
  95. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-focus-1-result-norm.html +109 -0
  96. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-function-result-norm.html +118 -0
  97. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-import-result-norm.html +163 -0
  98. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-imported-result-norm.html +95 -0
  99. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-pending-result-norm.html +123 -0
  100. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-rule-result-norm.html +109 -0
  101. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-three-dots-result-norm.html +1237 -0
  102. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xsl +7 -0
  103. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xspec +10 -0
  104. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xsl +2 -0
  105. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xspec +18 -0
  106. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-focus-1.xspec +71 -0
  107. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-function.xspec +50 -0
  108. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-import.xspec +50 -0
  109. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-imported.xspec +48 -0
  110. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-pending.xspec +89 -0
  111. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-rule.xspec +76 -0
  112. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xsl +49 -0
  113. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xspec +527 -0
  114. data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.cmd +51 -0
  115. data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh +25 -0
  116. data/vendor/xspec-1.0.0/test/end-to-end/processor/_deserializer.xsl +53 -0
  117. data/vendor/xspec-1.0.0/test/end-to-end/processor/_normalizer.xsl +192 -0
  118. data/vendor/xspec-1.0.0/test/end-to-end/processor/_serializer.xsl +15 -0
  119. data/vendor/xspec-1.0.0/test/end-to-end/processor/_util.xsl +35 -0
  120. data/vendor/xspec-1.0.0/test/end-to-end/processor/compare.xsl +88 -0
  121. data/vendor/xspec-1.0.0/test/end-to-end/processor/normalize.xsl +28 -0
  122. data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.cmd +61 -0
  123. data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.sh +28 -0
  124. data/vendor/xspec-1.0.0/test/generate-tests-utils.xspec +636 -0
  125. data/vendor/xspec-1.0.0/test/generate-x-utils.xspec +173 -0
  126. data/vendor/xspec-1.0.0/test/generate-xspec-tests.xspec +64 -0
  127. data/vendor/xspec-1.0.0/test/run-xspec-tests.cmd +83 -0
  128. data/vendor/xspec-1.0.0/test/run-xspec-tests.sh +42 -0
  129. data/vendor/xspec-1.0.0/test/sch-location-compare.xspec +179 -0
  130. data/vendor/xspec-1.0.0/test/schematron/data/standards.xml +7 -0
  131. data/vendor/xspec-1.0.0/test/schematron/schematron-017.sch +9 -0
  132. data/vendor/xspec-1.0.0/test/schematron/schematron-018.sch +17 -0
  133. data/vendor/xspec-1.0.0/test/schematron/schematron-019.sch +13 -0
  134. data/vendor/xspec-1.0.0/test/schematron/schematron-020-01.sch +35 -0
  135. data/vendor/xspec-1.0.0/test/schematron/schematron-020.sch +32 -0
  136. data/vendor/xspec-1.0.0/test/schematron/schematron-021.sch +28 -0
  137. data/vendor/xspec-1.0.0/test/schematron/schematron-022.sch +18 -0
  138. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-compile.xsl +8 -0
  139. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-expand.xsl +8 -0
  140. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-include.xsl +8 -0
  141. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-in.xspec +5 -0
  142. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-out.xspec +7 -0
  143. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-in.xspec +5 -0
  144. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-out.xspec +7 -0
  145. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002.sch +4 -0
  146. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-in.xspec +7 -0
  147. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-out.xspec +9 -0
  148. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-in.xspec +20 -0
  149. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-out.xspec +22 -0
  150. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-in.xspec +6 -0
  151. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-out.xspec +8 -0
  152. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-in.xspec +11 -0
  153. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-out.xspec +13 -0
  154. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-in.xspec +7 -0
  155. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-out.xspec +9 -0
  156. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007.xml +2 -0
  157. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-in.xspec +9 -0
  158. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-out.xspec +9 -0
  159. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-import-in.xspec +5 -0
  160. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-in.xspec +6 -0
  161. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-out.xspec +10 -0
  162. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-import.xspec +5 -0
  163. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-in.xspec +6 -0
  164. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-out.xspec +8 -0
  165. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-in.xspec +6 -0
  166. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-out.xspec +8 -0
  167. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-01.xml +4 -0
  168. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-02.xml +13 -0
  169. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-out.xspec +81 -0
  170. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-in.xspec +6 -0
  171. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-out.xspec +8 -0
  172. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch +4 -0
  173. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch.xsl +4 -0
  174. data/vendor/xspec-1.0.0/test/schematron-01.sch +17 -0
  175. data/vendor/xspec-1.0.0/test/schematron-01.xml +14 -0
  176. data/vendor/xspec-1.0.0/test/schematron-01.xspec +14 -0
  177. data/vendor/xspec-1.0.0/test/schematron-012.xspec +83 -0
  178. data/vendor/xspec-1.0.0/test/schematron-014-01.xml +10 -0
  179. data/vendor/xspec-1.0.0/test/schematron-014.sch +16 -0
  180. data/vendor/xspec-1.0.0/test/schematron-014.xspec +11 -0
  181. data/vendor/xspec-1.0.0/test/schematron-015.sch +16 -0
  182. data/vendor/xspec-1.0.0/test/schematron-015.xspec +11 -0
  183. data/vendor/xspec-1.0.0/test/schematron-016.sch +19 -0
  184. data/vendor/xspec-1.0.0/test/schematron-016.xspec +171 -0
  185. data/vendor/xspec-1.0.0/test/schematron-017.xspec +26 -0
  186. data/vendor/xspec-1.0.0/test/schematron-018.xspec +120 -0
  187. data/vendor/xspec-1.0.0/test/schematron-019.xspec +16 -0
  188. data/vendor/xspec-1.0.0/test/schematron-020.xspec +53 -0
  189. data/vendor/xspec-1.0.0/test/schematron-021.xspec +27 -0
  190. data/vendor/xspec-1.0.0/test/schematron-022.xspec +15 -0
  191. data/vendor/xspec-1.0.0/test/schematron-param-001.xspec +50 -0
  192. data/vendor/xspec-1.0.0/test/schut-to-xspec-012.sch +27 -0
  193. data/vendor/xspec-1.0.0/test/schut-to-xspec.xspec +85 -0
  194. data/vendor/xspec-1.0.0/test/unit-expect-xsl.xspec +28 -0
  195. data/vendor/xspec-1.0.0/test/xspec-26.xsl +19 -0
  196. data/vendor/xspec-1.0.0/test/xspec-26.xspec +17 -0
  197. data/vendor/xspec-1.0.0/test/xspec-30.xml +2 -0
  198. data/vendor/xspec-1.0.0/test/xspec-30.xsl +6 -0
  199. data/vendor/xspec-1.0.0/test/xspec-30.xspec +8 -0
  200. data/vendor/xspec-1.0.0/test/xspec-33.xsl +7 -0
  201. data/vendor/xspec-1.0.0/test/xspec-33.xspec +15 -0
  202. data/vendor/xspec-1.0.0/test/xspec-46.xsl +7 -0
  203. data/vendor/xspec-1.0.0/test/xspec-46.xspec +9 -0
  204. data/vendor/xspec-1.0.0/test/xspec-72.xsl +13 -0
  205. data/vendor/xspec-1.0.0/test/xspec-72.xspec +19 -0
  206. data/vendor/xspec-1.0.0/test/xspec-bat.cmd +757 -0
  207. data/vendor/xspec-1.0.0/test/xspec-focus-2.xspec +91 -0
  208. data/vendor/xspec-1.0.0/test/xspec-junit.xspec +78 -0
  209. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xml +1003 -0
  210. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xslt +10 -0
  211. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xspec +13 -0
  212. data/vendor/xspec-1.0.0/test/xspec-tested.xql +44 -0
  213. data/vendor/xspec-1.0.0/test/xspec-tested.xsl +64 -0
  214. data/vendor/xspec-1.0.0/test/xspec-variable.xml +3 -0
  215. data/vendor/xspec-1.0.0/test/xspec-variable.xspec +58 -0
  216. data/vendor/xspec-1.0.0/test/xspec-xslt3.xsl +13 -0
  217. data/vendor/xspec-1.0.0/test/xspec-xslt3.xspec +12 -0
  218. data/vendor/xspec-1.0.0/test/xspec.bats +420 -0
  219. data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xslt +40 -0
  220. data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xspec +75 -0
  221. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.sch +17 -0
  222. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xml +11 -0
  223. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xspec +14 -0
  224. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseA.xspec +11 -0
  225. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseB.xspec +12 -0
  226. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import1.xspec +10 -0
  227. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import2.xspec +8 -0
  228. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import3.xspec +10 -0
  229. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.sch +58 -0
  230. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.xml +19 -0
  231. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc1.xml +6 -0
  232. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc2.xml +7 -0
  233. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.sch +29 -0
  234. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.xspec +63 -0
  235. data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.sch +20 -0
  236. data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.xspec +33 -0
  237. data/vendor/xspec-1.0.0/tutorial/schematron/quickfix.sch +81 -0
  238. data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xq +8 -0
  239. data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xspec +16 -0
  240. data/vendor/xspec-1.0.0/xproject/project.xml +8 -0
  241. data/vendor/xspec-1.0.0/xproject/release-project.xsl +41 -0
  242. metadata +341 -0
@@ -0,0 +1,112 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
+ <title>Test Report for xspec-55.xsl (passed: 0 / pending: 0 / failed: 3 / total: 3)</title>
5
+ <link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
6
+ </head>
7
+ <body>
8
+ <h1>Test Report</h1>
9
+ <p>Stylesheet: <a href="xspec-55.xsl">xspec-55.xsl</a></p>
10
+ <p>Tested: ONCE-UPON-A-TIME</p>
11
+ <h2>Contents</h2>
12
+ <table class="xspec">
13
+ <col width="75%" />
14
+ <col width="6.25%" />
15
+ <col width="6.25%" />
16
+ <col width="6.25%" />
17
+ <col width="6.25%" />
18
+ <thead>
19
+ <tr>
20
+ <th></th>
21
+ <th class="totals">passed: 0</th>
22
+ <th class="totals">pending: 0</th>
23
+ <th class="totals">failed: 3</th>
24
+ <th class="totals">total: 3</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr class="failed">
29
+ <th><a href="#ELEM-31">In a failure report HTML</a></th>
30
+ <th class="totals">0</th>
31
+ <th class="totals">0</th>
32
+ <th class="totals">3</th>
33
+ <th class="totals">3</th>
34
+ </tr>
35
+ </tbody>
36
+ </table>
37
+ <div id="ELEM-31">
38
+ <h2 class="failed">In a failure report HTML<span class="scenario-totals">passed: 0 / pending: 0 / failed: 3 / total: 3</span></h2>
39
+ <table class="xspec" id="ELEM-33">
40
+ <col width="75%" />
41
+ <col width="25%" />
42
+ <tbody>
43
+ <tr class="failed">
44
+ <th>In a failure report HTML</th>
45
+ <th>passed: 0 / pending: 0 / failed: 3 / total: 3</th>
46
+ </tr>
47
+ <tr class="failed">
48
+ <td><a href="#ELEM-53">[Expected Result] must represent xs:decimal(1) by "1.0" (numeric literal of decimal)</a></td>
49
+ <td>Failure</td>
50
+ </tr>
51
+ <tr class="failed">
52
+ <td><a href="#ELEM-65">[Expected Result] must represent xs:double(1) by "xs:double('1')" (constructor of
53
+ double)</a></td>
54
+ <td>Failure</td>
55
+ </tr>
56
+ <tr class="failed">
57
+ <td><a href="#ELEM-77">[Expected Result] must represent xs:integer(1) by "1" (numeric literal of integer)</a></td>
58
+ <td>Failure</td>
59
+ </tr>
60
+ </tbody>
61
+ </table>
62
+ <h3 id="ELEM-31">In a failure report HTML</h3>
63
+ <h4 id="ELEM-53">[Expected Result] must represent xs:decimal(1) by "1.0" (numeric literal of decimal)</h4>
64
+ <table class="xspecResult">
65
+ <thead>
66
+ <tr>
67
+ <th>Result</th>
68
+ <th>Expected Result</th>
69
+ </tr>
70
+ </thead>
71
+ <tbody>
72
+ <tr>
73
+ <td><pre>()</pre></td>
74
+ <td><pre>1.0</pre></td>
75
+ </tr>
76
+ </tbody>
77
+ </table>
78
+ <h4 id="ELEM-65">[Expected Result] must represent xs:double(1) by "xs:double('1')" (constructor of
79
+ double)
80
+ </h4>
81
+ <table class="xspecResult">
82
+ <thead>
83
+ <tr>
84
+ <th>Result</th>
85
+ <th>Expected Result</th>
86
+ </tr>
87
+ </thead>
88
+ <tbody>
89
+ <tr>
90
+ <td><pre>()</pre></td>
91
+ <td><pre>xs:double('1')</pre></td>
92
+ </tr>
93
+ </tbody>
94
+ </table>
95
+ <h4 id="ELEM-77">[Expected Result] must represent xs:integer(1) by "1" (numeric literal of integer)</h4>
96
+ <table class="xspecResult">
97
+ <thead>
98
+ <tr>
99
+ <th>Result</th>
100
+ <th>Expected Result</th>
101
+ </tr>
102
+ </thead>
103
+ <tbody>
104
+ <tr>
105
+ <td><pre>()</pre></td>
106
+ <td><pre>1</pre></td>
107
+ </tr>
108
+ </tbody>
109
+ </table>
110
+ </div>
111
+ </body>
112
+ </html>
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
+ <title>Test Report for xspec-tested.xsl (passed: 1 / pending: 2 / failed: 1 / total: 4)</title>
5
+ <link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
6
+ </head>
7
+ <body>
8
+ <h1>Test Report</h1>
9
+ <p>Stylesheet: <a href="xspec-tested.xsl">xspec-tested.xsl</a></p>
10
+ <p>Tested: ONCE-UPON-A-TIME</p>
11
+ <h2>Contents</h2>
12
+ <table class="xspec">
13
+ <col width="75%" />
14
+ <col width="6.25%" />
15
+ <col width="6.25%" />
16
+ <col width="6.25%" />
17
+ <col width="6.25%" />
18
+ <thead>
19
+ <tr>
20
+ <th></th>
21
+ <th class="totals">passed: 1</th>
22
+ <th class="totals">pending: 2</th>
23
+ <th class="totals">failed: 1</th>
24
+ <th class="totals">total: 4</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr class="pending">
29
+ <th>(<strong>testing @focus</strong>) <a href="#PENDING_ELEM-23">an unfocused correct scenario must be Pending</a></th>
30
+ <th class="totals">0</th>
31
+ <th class="totals">1</th>
32
+ <th class="totals">0</th>
33
+ <th class="totals">1</th>
34
+ </tr>
35
+ <tr class="pending">
36
+ <th>(<strong>testing @focus</strong>) <a href="#PENDING_ELEM-31">an unfocused incorrect scenario must be Pending</a></th>
37
+ <th class="totals">0</th>
38
+ <th class="totals">1</th>
39
+ <th class="totals">0</th>
40
+ <th class="totals">1</th>
41
+ </tr>
42
+ <tr class="successful">
43
+ <th><a href="#ELEM-54">a focused correct scenario</a></th>
44
+ <th class="totals">1</th>
45
+ <th class="totals">0</th>
46
+ <th class="totals">0</th>
47
+ <th class="totals">1</th>
48
+ </tr>
49
+ <tr class="failed">
50
+ <th><a href="#ELEM-67">a focused incorrect scenario</a></th>
51
+ <th class="totals">0</th>
52
+ <th class="totals">0</th>
53
+ <th class="totals">1</th>
54
+ <th class="totals">1</th>
55
+ </tr>
56
+ </tbody>
57
+ </table>
58
+ <div id="ELEM-54">
59
+ <h2 class="successful">a focused correct scenario<span class="scenario-totals">passed: 1 / pending: 0 / failed: 0 / total: 1</span></h2>
60
+ <table class="xspec" id="ELEM-56">
61
+ <col width="75%" />
62
+ <col width="25%" />
63
+ <tbody>
64
+ <tr class="successful">
65
+ <th>a focused correct scenario</th>
66
+ <th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
67
+ </tr>
68
+ <tr class="successful">
69
+ <td>must execute the test and return Success</td>
70
+ <td>Success</td>
71
+ </tr>
72
+ </tbody>
73
+ </table>
74
+ </div>
75
+ <div id="ELEM-67">
76
+ <h2 class="failed">a focused incorrect scenario<span class="scenario-totals">passed: 0 / pending: 0 / failed: 1 / total: 1</span></h2>
77
+ <table class="xspec" id="ELEM-69">
78
+ <col width="75%" />
79
+ <col width="25%" />
80
+ <tbody>
81
+ <tr class="failed">
82
+ <th>a focused incorrect scenario</th>
83
+ <th>passed: 0 / pending: 0 / failed: 1 / total: 1</th>
84
+ </tr>
85
+ <tr class="failed">
86
+ <td><a href="#ELEM-81">must execute the test and return Failure</a></td>
87
+ <td>Failure</td>
88
+ </tr>
89
+ </tbody>
90
+ </table>
91
+ <h3 id="ELEM-67">a focused incorrect scenario</h3>
92
+ <h4 id="ELEM-81">must execute the test and return Failure</h4>
93
+ <table class="xspecResult">
94
+ <thead>
95
+ <tr>
96
+ <th>Result</th>
97
+ <th>Expected Result</th>
98
+ </tr>
99
+ </thead>
100
+ <tbody>
101
+ <tr>
102
+ <td><pre>4</pre></td>
103
+ <td><pre>()</pre></td>
104
+ </tr>
105
+ </tbody>
106
+ </table>
107
+ </div>
108
+ </body>
109
+ </html>
@@ -0,0 +1,118 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
+ <title>Test Report for xspec-tested.xsl (passed: 2 / pending: 0 / failed: 2 / total: 4)</title>
5
+ <link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
6
+ </head>
7
+ <body>
8
+ <h1>Test Report</h1>
9
+ <p>Stylesheet: <a href="xspec-tested.xsl">xspec-tested.xsl</a></p>
10
+ <p>Tested: ONCE-UPON-A-TIME</p>
11
+ <h2>Contents</h2>
12
+ <table class="xspec">
13
+ <col width="75%" />
14
+ <col width="6.25%" />
15
+ <col width="6.25%" />
16
+ <col width="6.25%" />
17
+ <col width="6.25%" />
18
+ <thead>
19
+ <tr>
20
+ <th></th>
21
+ <th class="totals">passed: 2</th>
22
+ <th class="totals">pending: 0</th>
23
+ <th class="totals">failed: 2</th>
24
+ <th class="totals">total: 4</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr class="successful">
29
+ <th><a href="#ELEM-38">when calling a function and expecting correctly</a></th>
30
+ <th class="totals">2</th>
31
+ <th class="totals">0</th>
32
+ <th class="totals">0</th>
33
+ <th class="totals">2</th>
34
+ </tr>
35
+ <tr class="failed">
36
+ <th><a href="#ELEM-54">when calling a function and expecting incorrectly</a></th>
37
+ <th class="totals">0</th>
38
+ <th class="totals">0</th>
39
+ <th class="totals">2</th>
40
+ <th class="totals">2</th>
41
+ </tr>
42
+ </tbody>
43
+ </table>
44
+ <div id="ELEM-38">
45
+ <h2 class="successful">when calling a function and expecting correctly<span class="scenario-totals">passed: 2 / pending: 0 / failed: 0 / total: 2</span></h2>
46
+ <table class="xspec" id="ELEM-40">
47
+ <col width="75%" />
48
+ <col width="25%" />
49
+ <tbody>
50
+ <tr class="successful">
51
+ <th>when calling a function and expecting correctly</th>
52
+ <th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
53
+ </tr>
54
+ <tr class="successful">
55
+ <td>expecting the correct value must return Success</td>
56
+ <td>Success</td>
57
+ </tr>
58
+ <tr class="successful">
59
+ <td>expecting the correct type must return Success</td>
60
+ <td>Success</td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+ </div>
65
+ <div id="ELEM-54">
66
+ <h2 class="failed">when calling a function and expecting incorrectly<span class="scenario-totals">passed: 0 / pending: 0 / failed: 2 / total: 2</span></h2>
67
+ <table class="xspec" id="ELEM-56">
68
+ <col width="75%" />
69
+ <col width="25%" />
70
+ <tbody>
71
+ <tr class="failed">
72
+ <th>when calling a function and expecting incorrectly</th>
73
+ <th>passed: 0 / pending: 0 / failed: 2 / total: 2</th>
74
+ </tr>
75
+ <tr class="failed">
76
+ <td><a href="#ELEM-72">expecting an incorrect value must return Failure</a></td>
77
+ <td>Failure</td>
78
+ </tr>
79
+ <tr class="failed">
80
+ <td><a href="#ELEM-84">expecting an incorrect type must return Failure</a></td>
81
+ <td>Failure</td>
82
+ </tr>
83
+ </tbody>
84
+ </table>
85
+ <h3 id="ELEM-54">when calling a function and expecting incorrectly</h3>
86
+ <h4 id="ELEM-72">expecting an incorrect value must return Failure</h4>
87
+ <table class="xspecResult">
88
+ <thead>
89
+ <tr>
90
+ <th>Result</th>
91
+ <th>Expected Result</th>
92
+ </tr>
93
+ </thead>
94
+ <tbody>
95
+ <tr>
96
+ <td><pre>4</pre></td>
97
+ <td><pre>()</pre></td>
98
+ </tr>
99
+ </tbody>
100
+ </table>
101
+ <h4 id="ELEM-84">expecting an incorrect type must return Failure</h4>
102
+ <table class="xspecResult">
103
+ <thead>
104
+ <tr>
105
+ <th>Result</th>
106
+ <th>Expected Result</th>
107
+ </tr>
108
+ </thead>
109
+ <tbody>
110
+ <tr>
111
+ <td><pre>4</pre></td>
112
+ <td><pre>()</pre></td>
113
+ </tr>
114
+ </tbody>
115
+ </table>
116
+ </div>
117
+ </body>
118
+ </html>
@@ -0,0 +1,163 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
+ <title>Test Report for xspec-tested.xsl (passed: 3 / pending: 0 / failed: 2 / total: 5)</title>
5
+ <link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
6
+ </head>
7
+ <body>
8
+ <h1>Test Report</h1>
9
+ <p>Stylesheet: <a href="xspec-tested.xsl">xspec-tested.xsl</a></p>
10
+ <p>Tested: ONCE-UPON-A-TIME</p>
11
+ <h2>Contents</h2>
12
+ <table class="xspec">
13
+ <col width="75%" />
14
+ <col width="6.25%" />
15
+ <col width="6.25%" />
16
+ <col width="6.25%" />
17
+ <col width="6.25%" />
18
+ <thead>
19
+ <tr>
20
+ <th></th>
21
+ <th class="totals">passed: 3</th>
22
+ <th class="totals">pending: 0</th>
23
+ <th class="totals">failed: 2</th>
24
+ <th class="totals">total: 5</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr class="successful">
29
+ <th><a href="#ELEM-52">when testing a correct scenario in an importing file</a></th>
30
+ <th class="totals">2</th>
31
+ <th class="totals">0</th>
32
+ <th class="totals">0</th>
33
+ <th class="totals">2</th>
34
+ </tr>
35
+ <tr class="failed">
36
+ <th><a href="#ELEM-68">when testing an incorrect scenario in an importing file</a></th>
37
+ <th class="totals">0</th>
38
+ <th class="totals">0</th>
39
+ <th class="totals">1</th>
40
+ <th class="totals">1</th>
41
+ </tr>
42
+ <tr class="successful">
43
+ <th><a href="#ELEM-95">a correct scenario in an imported file</a></th>
44
+ <th class="totals">1</th>
45
+ <th class="totals">0</th>
46
+ <th class="totals">0</th>
47
+ <th class="totals">1</th>
48
+ </tr>
49
+ <tr class="failed">
50
+ <th><a href="#ELEM-108">an incorrect scenario in an imported file</a></th>
51
+ <th class="totals">0</th>
52
+ <th class="totals">0</th>
53
+ <th class="totals">1</th>
54
+ <th class="totals">1</th>
55
+ </tr>
56
+ </tbody>
57
+ </table>
58
+ <div id="ELEM-52">
59
+ <h2 class="successful">when testing a correct scenario in an importing file<span class="scenario-totals">passed: 2 / pending: 0 / failed: 0 / total: 2</span></h2>
60
+ <table class="xspec" id="ELEM-54">
61
+ <col width="75%" />
62
+ <col width="25%" />
63
+ <tbody>
64
+ <tr class="successful">
65
+ <th>when testing a correct scenario in an importing file</th>
66
+ <th>passed: 2 / pending: 0 / failed: 0 / total: 2</th>
67
+ </tr>
68
+ <tr class="successful">
69
+ <td>expecting the correct result must return Success</td>
70
+ <td>Success</td>
71
+ </tr>
72
+ <tr class="successful">
73
+ <td>expecting the correct type must return Success</td>
74
+ <td>Success</td>
75
+ </tr>
76
+ </tbody>
77
+ </table>
78
+ </div>
79
+ <div id="ELEM-68">
80
+ <h2 class="failed">when testing an incorrect scenario in an importing file<span class="scenario-totals">passed: 0 / pending: 0 / failed: 1 / total: 1</span></h2>
81
+ <table class="xspec" id="ELEM-70">
82
+ <col width="75%" />
83
+ <col width="25%" />
84
+ <tbody>
85
+ <tr class="failed">
86
+ <th>when testing an incorrect scenario in an importing file</th>
87
+ <th>passed: 0 / pending: 0 / failed: 1 / total: 1</th>
88
+ </tr>
89
+ <tr class="failed">
90
+ <td><a href="#ELEM-82">it must return Failure</a></td>
91
+ <td>Failure</td>
92
+ </tr>
93
+ </tbody>
94
+ </table>
95
+ <h3 id="ELEM-68">when testing an incorrect scenario in an importing file</h3>
96
+ <h4 id="ELEM-82">it must return Failure</h4>
97
+ <table class="xspecResult">
98
+ <thead>
99
+ <tr>
100
+ <th>Result</th>
101
+ <th>Expected Result</th>
102
+ </tr>
103
+ </thead>
104
+ <tbody>
105
+ <tr>
106
+ <td><pre>4</pre></td>
107
+ <td><pre>()</pre></td>
108
+ </tr>
109
+ </tbody>
110
+ </table>
111
+ </div>
112
+ <div id="ELEM-95">
113
+ <h2 class="successful">a correct scenario in an imported file<span class="scenario-totals">passed: 1 / pending: 0 / failed: 0 / total: 1</span></h2>
114
+ <table class="xspec" id="ELEM-97">
115
+ <col width="75%" />
116
+ <col width="25%" />
117
+ <tbody>
118
+ <tr class="successful">
119
+ <th>a correct scenario in an imported file</th>
120
+ <th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
121
+ </tr>
122
+ <tr class="successful">
123
+ <td>must return Success</td>
124
+ <td>Success</td>
125
+ </tr>
126
+ </tbody>
127
+ </table>
128
+ </div>
129
+ <div id="ELEM-108">
130
+ <h2 class="failed">an incorrect scenario in an imported file<span class="scenario-totals">passed: 0 / pending: 0 / failed: 1 / total: 1</span></h2>
131
+ <table class="xspec" id="ELEM-110">
132
+ <col width="75%" />
133
+ <col width="25%" />
134
+ <tbody>
135
+ <tr class="failed">
136
+ <th>an incorrect scenario in an imported file</th>
137
+ <th>passed: 0 / pending: 0 / failed: 1 / total: 1</th>
138
+ </tr>
139
+ <tr class="failed">
140
+ <td><a href="#ELEM-122">must return Failure</a></td>
141
+ <td>Failure</td>
142
+ </tr>
143
+ </tbody>
144
+ </table>
145
+ <h3 id="ELEM-108">an incorrect scenario in an imported file</h3>
146
+ <h4 id="ELEM-122">must return Failure</h4>
147
+ <table class="xspecResult">
148
+ <thead>
149
+ <tr>
150
+ <th>Result</th>
151
+ <th>Expected Result</th>
152
+ </tr>
153
+ </thead>
154
+ <tbody>
155
+ <tr>
156
+ <td><pre>4</pre></td>
157
+ <td><pre>()</pre></td>
158
+ </tr>
159
+ </tbody>
160
+ </table>
161
+ </div>
162
+ </body>
163
+ </html>
@@ -0,0 +1,95 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><html xmlns:test="http://www.jenitennison.com/xslt/unit-test" xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
+ <title>Test Report for xspec-tested.xsl (passed: 1 / pending: 0 / failed: 1 / total: 2)</title>
5
+ <link rel="stylesheet" type="text/css" href="../../../../src/reporter/test-report.css" />
6
+ </head>
7
+ <body>
8
+ <h1>Test Report</h1>
9
+ <p>Stylesheet: <a href="xspec-tested.xsl">xspec-tested.xsl</a></p>
10
+ <p>Tested: ONCE-UPON-A-TIME</p>
11
+ <h2>Contents</h2>
12
+ <table class="xspec">
13
+ <col width="75%" />
14
+ <col width="6.25%" />
15
+ <col width="6.25%" />
16
+ <col width="6.25%" />
17
+ <col width="6.25%" />
18
+ <thead>
19
+ <tr>
20
+ <th></th>
21
+ <th class="totals">passed: 1</th>
22
+ <th class="totals">pending: 0</th>
23
+ <th class="totals">failed: 1</th>
24
+ <th class="totals">total: 2</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr class="successful">
29
+ <th><a href="#ELEM-38">a correct scenario in an imported file</a></th>
30
+ <th class="totals">1</th>
31
+ <th class="totals">0</th>
32
+ <th class="totals">0</th>
33
+ <th class="totals">1</th>
34
+ </tr>
35
+ <tr class="failed">
36
+ <th><a href="#ELEM-51">an incorrect scenario in an imported file</a></th>
37
+ <th class="totals">0</th>
38
+ <th class="totals">0</th>
39
+ <th class="totals">1</th>
40
+ <th class="totals">1</th>
41
+ </tr>
42
+ </tbody>
43
+ </table>
44
+ <div id="ELEM-38">
45
+ <h2 class="successful">a correct scenario in an imported file<span class="scenario-totals">passed: 1 / pending: 0 / failed: 0 / total: 1</span></h2>
46
+ <table class="xspec" id="ELEM-40">
47
+ <col width="75%" />
48
+ <col width="25%" />
49
+ <tbody>
50
+ <tr class="successful">
51
+ <th>a correct scenario in an imported file</th>
52
+ <th>passed: 1 / pending: 0 / failed: 0 / total: 1</th>
53
+ </tr>
54
+ <tr class="successful">
55
+ <td>must return Success</td>
56
+ <td>Success</td>
57
+ </tr>
58
+ </tbody>
59
+ </table>
60
+ </div>
61
+ <div id="ELEM-51">
62
+ <h2 class="failed">an incorrect scenario in an imported file<span class="scenario-totals">passed: 0 / pending: 0 / failed: 1 / total: 1</span></h2>
63
+ <table class="xspec" id="ELEM-53">
64
+ <col width="75%" />
65
+ <col width="25%" />
66
+ <tbody>
67
+ <tr class="failed">
68
+ <th>an incorrect scenario in an imported file</th>
69
+ <th>passed: 0 / pending: 0 / failed: 1 / total: 1</th>
70
+ </tr>
71
+ <tr class="failed">
72
+ <td><a href="#ELEM-65">must return Failure</a></td>
73
+ <td>Failure</td>
74
+ </tr>
75
+ </tbody>
76
+ </table>
77
+ <h3 id="ELEM-51">an incorrect scenario in an imported file</h3>
78
+ <h4 id="ELEM-65">must return Failure</h4>
79
+ <table class="xspecResult">
80
+ <thead>
81
+ <tr>
82
+ <th>Result</th>
83
+ <th>Expected Result</th>
84
+ </tr>
85
+ </thead>
86
+ <tbody>
87
+ <tr>
88
+ <td><pre>4</pre></td>
89
+ <td><pre>()</pre></td>
90
+ </tr>
91
+ </tbody>
92
+ </table>
93
+ </div>
94
+ </body>
95
+ </html>