More tests in the test suite

I checked in a more substantial collection of tests under
.../XML/XProc/testsuite

choose001
count001
delete001
head001
identity001
insert001
labelelements001
load001
matchingdocuments001
namespacerename001
rename001
replace001
tail001
unescapemarkup001
unwrap001
validrng001
validxsd001
wrap001
xinclude001
xslt001

Each of those is a directory that contains a pipeline called
'pipeline.xproc'. The inputs to the pipeline are in inputs/ and the
results are in outputs/. The base name of each file is the name
of the input or output port.

So given identity001 which contains

  pipeline.xproc
  outputs/result.xml
  inputs/source.xml

If you run pipeline.xproc with the 'source' input bound to
inputs/source.xml and what you get is "the same as" outputs/result.xml,
then you passed.

I'm using XPath 2.0's deep-equal function to determine "the same as".

                                        Be seeing you,
                                          norm

hephaistos:/projects/w3c/WWW/XML/XProc/testsuite$ harness/xproc/run
[...]
Test report:
PASS choose001
PASS count001
PASS delete001
PASS head001
PASS identity001
PASS insert001
PASS labelelements001
PASS load001
PASS matchingdocuments001
PASS namespacerename001
PASS rename001
PASS replace001
PASS tail001
PASS unescapemarkup001
PASS unwrap001
PASS validrng001
PASS validxsd001
PASS wrap001
PASS xinclude001
PASS xslt001

Whee!

-- 
Norman Walsh <ndw@nwalsh.com> | Curiosity never killed anything except
http://nwalsh.com/            | maybe a few hours.

Received on Friday, 27 April 2007 20:57:52 UTC