Jonas Fonseca
|
082031c10c
|
Fix SGML parser test program
|
2006-01-14 12:44:06 +01:00 |
|
Laurent MONIN
|
bdc59d5ac4
|
Store lib.o name in a variable named LIB_O_NAME.
|
2006-01-12 19:06:50 +01:00 |
|
Jonas Fonseca
|
534a16fff1
|
Improve error detection
|
2006-01-07 23:40:21 +01:00 |
|
Jonas Fonseca
|
97f403a9d9
|
Add a test file for checking detection of errors by the SGML parser
|
2006-01-07 05:15:16 +01:00 |
|
Jonas Fonseca
|
03ee543e21
|
Make sgml-parser request error detection when passed --error option
|
2006-01-07 04:27:08 +01:00 |
|
Jonas Fonseca
|
a1e5122183
|
Drop unnneeded URL argument and simplify test helpers
|
2006-01-07 02:14:45 +01:00 |
|
Jonas Fonseca
|
f1c3c90a4f
|
Move line counting tests to own file; simplifies a few things
|
2006-01-07 02:02:21 +01:00 |
|
Jonas Fonseca
|
dee8ac5b45
|
Move test for incompleteness to own file
|
2006-01-07 01:48:51 +01:00 |
|
Jonas Fonseca
|
c9c41e38a2
|
test_expect_incomplete(): Put sgml-parser output to /dev/null
|
2006-01-07 01:27:48 +01:00 |
|
Jonas Fonseca
|
bca330fcbd
|
Simplify incomplete test helper and fix quoting problem
|
2006-01-07 01:22:14 +01:00 |
|
Jonas Fonseca
|
215d7ec158
|
Append memdebug to test dependencies in Makefile.lib
|
2006-01-06 22:11:45 +01:00 |
|
Jonas Fonseca
|
5f5c78a87f
|
Realign the test docs with reality
|
2006-01-06 18:32:22 +01:00 |
|
Jonas Fonseca
|
ab8a4b2847
|
Add more tests based on test/comments.html
|
2006-01-05 15:36:18 +01:00 |
|
Jonas Fonseca
|
7a5f699a88
|
Drop unneeded -b arg to cmp, which isn't available in FreeBSD's version
|
2006-01-03 20:00:06 +01:00 |
|
Jonas Fonseca
|
146ca09c43
|
Improve support for running 'make test' when srcdir != builddir
Additionally, also make TESTDEPS conditionally contain memdebug object
binary only if CONFIG_DEBUG is yes.
|
2006-01-03 19:04:17 +01:00 |
|
Jonas Fonseca
|
ba5bdfec00
|
Move the 'make test' handling to Makefile.lib
The test rule is defined when TEST_PROGS is defined. Users should also set
TESTDEPS to get the correct object files linked in.
|
2006-01-03 00:45:22 +01:00 |
|
Jonas Fonseca
|
23f0085842
|
Move src/dom/test/libtest test/libtest.sh, put path to it in TEST_LIB
|
2006-01-03 00:34:10 +01:00 |
|
Jonas Fonseca
|
f88cbe6761
|
Add check of incomplete text
|
2006-01-02 22:35:03 +01:00 |
|
Jonas Fonseca
|
42156f4477
|
Change one test description to start with 'Parse ...'
|
2006-01-02 22:31:28 +01:00 |
|
Jonas Fonseca
|
0160c0a464
|
Make it possible to test how incomplete input is parsed
Also fix the expected output of proc. instruction test.
|
2006-01-02 21:02:41 +01:00 |
|
Jonas Fonseca
|
af72dd8435
|
Make parse_sgml() return the sgml_parser_code enum
It is mostly just ignored for now. The SGML parser test tool will however
return parser code.
|
2006-01-02 17:40:42 +01:00 |
|
Jonas Fonseca
|
8c9324cc37
|
Add test for SGML such as, e.g. '<parent<child/></parent>'
|
2006-01-02 16:26:01 +01:00 |
|
Jonas Fonseca
|
0071ea696c
|
Fix logic in update_number_of_lines() and tell parse_sgml() src is complete
|
2006-01-02 14:59:54 +01:00 |
|
Jonas Fonseca
|
7717862401
|
Make it possible to pass --print-lines to test line counting
|
2006-01-02 01:48:08 +01:00 |
|
Jonas Fonseca
|
275ba0b789
|
Use common print_indent() to simplify printf()-strings
|
2006-01-02 00:32:22 +01:00 |
|
Jonas Fonseca
|
4a766f350b
|
Just for fun also parse <?xml-stylesheet attributes
|
2005-12-31 03:13:39 +01:00 |
|
Jonas Fonseca
|
7489c134f7
|
Make non-terminated comments and cdata sections have 'the rest' as content
|
2005-12-31 01:47:57 +01:00 |
|
Jonas Fonseca
|
14a3f9c0fd
|
Disable dom-select building since it requires defining of DOM_STACK_TRACE
|
2005-12-31 00:05:49 +01:00 |
|
Jonas Fonseca
|
ad052c3985
|
Hey, hey Cripple Creek Fai^H^Herry
|
2005-12-30 21:19:46 +01:00 |
|
Jonas Fonseca
|
41f1f5f9d3
|
Add a simple program for testing the DOM select code
It accepts --uri, --src and --selector args.
|
2005-12-30 03:33:48 +01:00 |
|
Jonas Fonseca
|
4868c23a06
|
Cleanup the DOM test Makefile so it's more generic and more silent
|
2005-12-30 02:19:25 +01:00 |
|
Jonas Fonseca
|
76a524ddf6
|
More <?xml and comment tests, fix an off-by-one error for comments skipping
|
2005-12-29 22:26:39 +01:00 |
|
Jonas Fonseca
|
bd877570d2
|
Test some more obscure proc. instructions and fix some assertion failures
|
2005-12-29 21:52:27 +01:00 |
|
Jonas Fonseca
|
57168e1fbc
|
Handle <element path=/to/%61-&\one";files/> as a self-closing tag
Before the '/' before '>' would be interpreted as part of the attribute
value. Hope this is sensible slurping of the markup soup.
|
2005-12-29 20:38:43 +01:00 |
|
Jonas Fonseca
|
958a4a1b51
|
Add tests for more things like space handling and obscure formatting
|
2005-12-29 19:13:48 +01:00 |
|
Jonas Fonseca
|
889a0f16f8
|
Fix the expected output of processing instruction parsing
Spaces after the target should be skipped.
|
2005-12-29 18:00:26 +01:00 |
|
Jonas Fonseca
|
ba5dbd3a18
|
Add test_output_equals helper and add a few more tests
The last one fails for now. Incorrect parsing of processing instructions.
|
2005-12-29 06:54:41 +01:00 |
|
Jonas Fonseca
|
23f21f1924
|
Fine tune how some of the nodes are printed, fix string compressing
|
2005-12-29 06:50:51 +01:00 |
|
Jonas Fonseca
|
602d2d8a66
|
Add README for the test infrastructure mostly pasted from git/t/README
|
2005-12-29 05:12:36 +01:00 |
|
Jonas Fonseca
|
d394cb0bc1
|
Grab GITs shell script-based test infrastructure and add "Hello world" test
|
2005-12-29 04:44:03 +01:00 |
|
Jonas Fonseca
|
f42b39ee3c
|
Fix indentation so that things are printed at the start of the line
|
2005-12-29 04:39:20 +01:00 |
|
Jonas Fonseca
|
8dcbaa76f3
|
sgml-parser: Make it possible to specify the URL and the source to parse
|
2005-12-29 04:29:13 +01:00 |
|
Jonas Fonseca
|
c475f1fc0c
|
Drop linking with util/string.o, since memdebug no longer requires it
|
2005-12-28 23:07:06 +01:00 |
|
Jonas Fonseca
|
4feba6d515
|
Use stdio when printing enhanced values instead of allocating first
|
2005-12-28 23:02:45 +01:00 |
|
Jonas Fonseca
|
1b71368459
|
Add proof-of-concept stand-alone test binary which just prints Hello World
May it multiply in great numbers and help to stabilize the DOM
implementation.
|
2005-12-28 17:10:01 +01:00 |
|