summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-1141-4907/+2818
| | | | svn path=/trunk/dom/; revision=9191
* Merge DOMTS tests -- they're causing havoc with review diffs.John Mark Bell2009-07-303060-0/+147514
| | | | svn path=/trunk/dom/; revision=8910
* Add test dir to include path. Probably useful for the DOMTS stuff.John Mark Bell2009-03-261-1/+1
| | | | svn path=/trunk/dom/; revision=6894
* Attempt to integrate DOMTS stuff.John Mark Bell2009-03-261-24/+18
| | | | | | | | This currently fails for two reasons: 1) XSLTProc doesn't like the input. 2) The build process bails before building any DOMTS tests. svn path=/trunk/dom/; revision=6890
* Purge testrunnerJohn Mark Bell2009-03-251-147/+0
| | | | svn path=/trunk/dom/; revision=6888
* Add -I$(CURDIR) to TESTCFLAGSJohn Mark Bell2009-03-251-0/+2
| | | | svn path=/trunk/dom/; revision=6887
* First cut at a port to the new buildsystem.John Mark Bell2009-03-252-157/+23
| | | | | | DOMTS stuff currently disabled. svn path=/trunk/dom/; revision=6883
* Make hubbub parser binding build trees correctly (credit: Bo Yang)John Mark Bell2009-03-051-1/+1
| | | | svn path=/trunk/dom/; revision=6711
* Use pkg-config for hubbub cflags/librariesJohn Mark Bell2009-03-031-3/+1
| | | | svn path=/trunk/dom/; revision=6681
* Make TestObject support both HTML and XML documents and auto-detect which ↵John Mark Bell2007-11-045-26/+448
| | | | | | | | | | parser to use. Make binding testcase attempt to load an HTML document. Hubbub parser binding constructor takes Aliases file path as a parameter. Hubbub parser binding's token handler now spews debug at stdout. svn path=/trunk/dom/; revision=3648
* Fix TestObject after xml binding error changesJohn Mark Bell2007-11-041-4/+5
| | | | svn path=/trunk/dom/; revision=3647
* Fix up bindings buildsystem to permit multiple bindings to be built -- quite ↵John Mark Bell2007-11-041-10/+10
| | | | | | | | | why this wasn't done in the first place is currently beyond me. Tidy up XML binding -- ensure all public API is prefixed dom_xml_ to avoid confusion, remove xml_alloc (it's pointless), and move xml_msg to <dom/functypes.h> (as dom_msg, as it's more useful there) Fix up testobject to compile once more svn path=/trunk/dom/; revision=3643
* Sketch out some implementation ideas:James Shaw2007-10-041-54/+215
| | | | | | | 'throw' variable propagated in same way to 'vardefs' 'condition-before' allows the creation of temporary DOMStrings before they're needed svn path=/trunk/dom/; revision=3623
* dom_initialise() and dom_finalise() are now completely public, rather than ↵John Mark Bell2007-09-291-1/+7
| | | | | | | | hidden away in a header only meant for inclusion by bindings. Client applications are responsible for initialisation and finalisation of the dom library. This must happen before/after (respectively) any call to a dom library or dom binding library function. The reason for this change is that, if multiple bindings are required, then the dom library should still only be initialised/finalised once. Only the client can enforce this sensibly. svn path=/trunk/dom/; revision=3606
* Add finalisation method to libxml-libdom.John Mark Bell2007-09-291-2/+11
| | | | | | Ensure testcases clean up after themselves by calling xml_dom_binding_finalise() svn path=/trunk/dom/; revision=3605
* Stub out all test templates. Remove all previous tests.James Shaw2007-09-2818-1527/+243
| | | | svn path=/trunk/dom/; revision=3602
* Alter assert_equals signature, stub out assert_uri_equalsJames Shaw2007-09-262-10/+34
| | | | svn path=/trunk/dom/; revision=3594
* Remove accidental commit of binaryJames Shaw2007-09-221-0/+0
| | | | svn path=/trunk/dom/; revision=3575
* Extend list implementation, add test-list.c to test some of it.James Shaw2007-09-222-0/+56
| | | | svn path=/trunk/dom/; revision=3574
* Extend list implementation, add test-list.c to test some of it.James Shaw2007-09-229-20/+160
| | | | svn path=/trunk/dom/; revision=3573
* Rename testcase utility library to libdomtest -- libdebug made no senseJohn Mark Bell2007-09-222-3/+3
| | | | svn path=/trunk/dom/; revision=3571
* Create a library of utility functions for the testsuite to useJohn Mark Bell2007-09-2213-187/+379
| | | | | | Make test/binding.c include stdio.h itself rather than relying on other things to include it. svn path=/trunk/dom/; revision=3568
* Implement #defines for try/catchJames Shaw2007-09-221-0/+27
| | | | svn path=/trunk/dom/; revision=3565
* Use a typedef for the function pointers to comparison functions, add newline ↵Rob Kendrick2007-09-222-4/+6
| | | | | | at end of file svn path=/trunk/dom/; revision=3564
* s/malloc.h/stdlib.h/ (malloc.h is non-standard, though common)John Mark Bell2007-09-222-9/+22
| | | | | | | Sprinkle some assertions about so as to catch malloc failure at the earliest opportunity. Pedantic line length and brace position changes. svn path=/trunk/dom/; revision=3563
* Change to C-style commentsJames Shaw2007-09-221-3/+3
| | | | svn path=/trunk/dom/; revision=3562
* Implement list_contains_all()James Shaw2007-09-222-0/+15
| | | | svn path=/trunk/dom/; revision=3560
* Initial revision of linked list implementationJames Shaw2007-09-222-0/+99
| | | | svn path=/trunk/dom/; revision=3559
* Stop TestObject appending .xml to the filename -- the auto-generated ↵John Mark Bell2007-09-192-2/+2
| | | | | | | | testcases already have it appended. Fixup binding testcase appropriately. svn path=/trunk/dom/; revision=3552
* Fix testcases after change to xml_parser API (messaging callback)John Mark Bell2007-09-161-3/+18
| | | | svn path=/trunk/dom/; revision=3541
* Move parameter declaration, as xsltproc (libxml 2.6.26, libxslt 1.1.21, ↵John Mark Bell2007-09-161-5/+5
| | | | | | libexslt 0.8.13) complains otherwise svn path=/trunk/dom/; revision=3539
* Import more W3C tests that compile successfullyJames Shaw2007-08-113-0/+146
| | | | svn path=/trunk/dom/; revision=3506
* Implement assertSizeJames Shaw2007-08-111-2/+66
| | | | svn path=/trunk/dom/; revision=3505
* Import more W3C tests that compile successfullyJames Shaw2007-08-095-0/+233
| | | | svn path=/trunk/dom/; revision=3495
* Add assertTrue and assertFalse templates; add boolean primitive to ↵James Shaw2007-08-092-1/+28
| | | | | | ctypes.xml. Bugfix get-ctype to translate primitive typename when specified. svn path=/trunk/dom/; revision=3494
* Import more W3C tests that compile successfullyJames Shaw2007-08-086-0/+277
| | | | svn path=/trunk/dom/; revision=3492
* Import string helper functions from XSLT Standard LibraryJames Shaw2007-08-081-0/+1233
| | | | svn path=/trunk/dom/; revision=3491
* Fix casting of structs as 'out' parameters. Update ctypes.xml mappings.James Shaw2007-08-082-2/+63
| | | | svn path=/trunk/dom/; revision=3490
* Import test from W3C test suiteJames Shaw2007-08-031-0/+45
| | | | svn path=/trunk/dom/; revision=3473
* Reinstate assertEquals templateJames Shaw2007-08-031-2/+51
| | | | svn path=/trunk/dom/; revision=3472
* Implemented variable-or-literal type guessing. Implemented creation of ↵James Shaw2007-08-011-11/+38
| | | | | | temporary DOMStrings with autogenned, globally unique identifiers. svn path=/trunk/dom/; revision=3471
* Improve infrastructure for generating parameters for method calls. Stub out ↵James Shaw2007-07-271-20/+194
| | | | | | guess-var-or-literal-type template. svn path=/trunk/dom/; revision=3464
* Fix binding.c API usage.John Mark Bell2007-07-222-2/+11
| | | | | | Modify testcase Makefile to build things other than the XML-based testsuite svn path=/trunk/dom/; revision=3460
* Rewritten produce-specific-attribute to handle casts properly. IDL to C ↵James Shaw2007-07-222-240/+233
| | | | | | names are now held in ctypes.xml. produce-specific-method and <assertEquals> are not yet reimplemented. svn path=/trunk/dom/; revision=3457
* Silence GCC/LD command lines when building test cases.John Mark Bell2007-07-214-10/+11
| | | | | | Improve structure of xml-based testsuite svn path=/trunk/dom/; revision=3452
* Add cast for attribute result variableJames Shaw2007-07-212-16/+128
| | | | svn path=/trunk/dom/; revision=3451
* Fix RISC OS buildJohn Mark Bell2007-07-201-6/+7
| | | | svn path=/trunk/dom/; revision=3446
* Silence XSLT invocation.John Mark Bell2007-07-201-1/+2
| | | | | | Ensure generated testcase source files are deleted from clean target. svn path=/trunk/dom/; revision=3445
* Add XML to C transformation to 'make test' targetJames Shaw2007-07-195-10/+2573
| | | | svn path=/trunk/dom/; revision=3443
* Fix casting for attribute accessor generation. Add cast for string James Shaw2007-07-181-10/+24
| | | | | | literal in <assertEquals>. documentgetdoctype.c now compiles and runs. svn path=/trunk/dom/; revision=3434