Commit graph

68 commits

Author SHA1 Message Date
Jez Higgins
39b493e2e9 More test harnesses
Builds sax, dom, utils, taggle, xpath, and xslt tests in both narrow
and wide character modes. By default the test apps are off, but can be
enabled using BUILD_ARABICA_TESTS=ON
2024-09-09 22:10:57 +01:00
Ben Key
99fd2cf41a Resolved 64-bit specific warnings. 2018-01-29 19:30:14 -06:00
Jez Higgins
9959e54a02 Minor DOM non-conformance in Attr.getSpecified
Can't fix this as the information is not available through SAX.  I
haven't ever used getSpecified, and I'm willing to bet that only a
handful of people ever have anywhere ever.
2012-09-16 15:54:35 +01:00
jez
72bfe7a883 Add PARSER_LIBS into link 2011-11-25 18:47:54 +00:00
jez
45adaf53d2 don't skip the results of hte dom tests now that they're all passing 2010-12-29 16:17:57 +00:00
jez
d4fb2dcdda Updated wording on DOM conformance test suite 2010-12-29 15:55:03 +00:00
jez
90d6726d1b skip if no external DTD 2010-12-29 15:53:47 +00:00
jez
647de72862 skip if no external DTD 2010-12-27 00:18:02 +00:00
jez
7e22f79e71 more skips when no external DTD 2010-12-27 00:03:41 +00:00
jez
3c7aac4666 skip if not loading external DTD 2010-12-26 23:32:31 +00:00
jez
3536ce2413 s/c++/C++/ 2010-12-26 23:11:29 +00:00
jez
7d0c880508 added another couple of skips 2010-12-26 23:10:44 +00:00
jez
36af997d89 skip if external DTD not loaded 2010-12-24 23:05:10 +00:00
jez
4d20439527 skip if no external DTD 2010-12-24 22:16:54 +00:00
Jez Higgins
e8753c80db silence unused parameter warning 2010-12-23 23:15:34 +00:00
jez
80a0455d75 skip if default attrs not supported 2010-12-21 09:03:25 +00:00
jez
f9d9551ee7 compile for all string_types 2010-12-20 15:59:06 +00:00
Jez Higgins
53184edc79 better error handling when loading docs 2010-12-19 22:44:06 +00:00
Jez Higgins
4ab8d34349 return 77 from test executables so that make check doesn't stop the build 2010-12-18 01:02:52 +00:00
Jez Higgins
2791880703 whitespace changes in generated code 2010-12-18 01:02:11 +00:00
Jez Higgins
0e8169db54 Error in test - check node type is 1 (element) not 3 (entityref) 2010-12-18 01:01:51 +00:00
Jez Higgins
dd93306eb9 whitespace changes in generated code 2010-12-18 01:00:54 +00:00
Jez Higgins
8c57052bf7 whitespace changes in generated code 2010-12-18 01:00:37 +00:00
Jez Higgins
c10f6a410d wrap static_cast checks in an assertTrue to silence Clang's discarded resutl warning 2010-12-18 01:00:13 +00:00
Jez Higgins
f25de324af whitespace changes in generated code 2010-12-18 00:59:09 +00:00
jez
d947908c68 Don't normalize after loading the test document. (OTOH it's gratifying to know that normalization worked properly :) ) 2010-12-15 23:00:27 +00:00
Jez Higgins
623a169cf7 Setup DOM conformance files path so we can find them when running under hudson 2010-12-15 20:10:49 +00:00
jez
d878124d9d More skips if entityrefs not expanded 2010-12-11 01:09:50 +00:00
Jez Higgins
2fc91e7965 silence unused variable warnings 2010-12-09 23:33:49 +00:00
Jez Higgins
59fd79277e regenerated yet again :) 2010-12-09 23:33:18 +00:00
Jez Higgins
dd14985902 Sigh. VC++ is better, but it's still not as C++ conformant as gcc 2010-12-09 20:15:12 +00:00
jez
ce69150111 Improved error reporting. Fixed a couple of test functions in dom_conf_test. Skip a couple of entityRef tests 2010-12-09 19:03:23 +00:00
Jez Higgins
b001314598 tweaked suite name 2010-12-09 15:03:07 +00:00
Jez Higgins
fd64040a65 Include DOM conformance tests in dist package 2010-12-09 14:50:38 +00:00
Jez Higgins
b22d91ff3e Got conformance tests compiling and running on Linux 2010-12-09 14:03:55 +00:00
jez
a7569aed2a Base class for conformance tests 2010-12-09 12:18:55 +00:00
jez
ff61aec7fb Added DOM Level 1 Core conformance tests, derived from W3C DOM Conf tests 2010-12-09 11:34:15 +00:00
jez
6bd91d9abe Silence warning 4244 - loss of precision 2010-12-09 10:54:46 +00:00
Jez Higgins
d28849dc48 Finally sorted out the attributes and their namespaces issues. hurrah 2010-10-03 16:08:54 +01:00
Jez Higgins
abaaaf4cc4 Generate a namespace prefix for unprefixed attributes in namespaces. It's a start, but needs to check for clashes. I also wonder if there are cases when I need to generate them for elements too. Hmmm 2010-07-14 22:36:05 +01:00
jez
7080c5049e finished up the test cases. now to get them to work 2010-07-14 10:04:34 +01:00
jez
7e8752fe30 Getting DOM operator<< to work with other strings 2010-07-14 09:08:46 +01:00
Jez Higgins
02ad044150 added test_NamedNodeMap.hpp into sources list. 2010-01-14 09:11:45 +00:00
Jez Higgins
7e62969c6c Fixed double delete problem when removing and readding an attribute 2010-01-01 23:03:01 +00:00
jez
17e93705ae redirect to DOMSink when evaluating variables. This wasn't being done for ResolvedVariables and so everything was exploding. 2009-12-14 14:20:12 +00:00
Jez Higgins
b736278781 commented out segfaulting tests 2009-12-11 10:13:52 +00:00
Jez Higgins
e770fe0b28 had managed to commit a borken file - oops 2009-12-11 10:13:11 +00:00
jez
80da48a661 Ash Berlin's patch for Element.setAttributeNodeNS 2009-12-06 21:39:46 +00:00
jez
719829f10a Ash Berlin's patch to get Text.splitText working properly 2009-12-06 21:34:46 +00:00
jez
9a532b73cb NamedNodeMap tests - not complete yet 2009-11-25 10:24:21 +00:00