The XML Calabash “extra” test suite

250 tests, 224 expected to pass, 26 expected to catch errors.

Test suiteTestExpected resultDescription
extra-suiteasciidoctor-001passTests that Asciidoctor creates DocBook.
extra-suiteasciidoctor-002passTests that Asciidoctor creates several paragraphs of DocBook.
extra-suiteasciidoctor-003passTests that Asciidoctor creates a whole document.
extra-suiteasciidoctor-004passTests that Asciidoctor creates HTML5.
extra-suiteasciidoctor-005passTests that Asciidoctor creates several paragraphs of HTML5.
extra-suiteasciidoctor-006passTests that Asciidoctor creates a whole document.
extra-suiteassertions-001passTests a Schematron assertion.
extra-suiteassertions-002passTests a Schematron assertion.
extra-suiteassertions-003passTests a Schematron assertion.
extra-suiteassertions-004passTests a Schematron assertion.
extra-suiteassertions-005passTests a Schematron assertion.
extra-suiteassertions-006passTests a Schematron assertion.
extra-suiteassertions-007passTests a Schematron assertion.
extra-suiteassertions-008passTests a Schematron assertion.
extra-suiteassertions-009passTests a Schematron assertion.
extra-suiteassertions-010passTests a pipeline assertion.
extra-suiteassertions-011passTests a pipeline assertion against a binary document.
extra-suitecache-001passTests that the document isn’t in the cache (if we didn’t add it).
extra-suitecache-002passTests that the document can be added to the cache.
extra-suitecache-003passTests that the document can be replaced in the cache.
extra-suitecache-004catch failureTests that document replacement can raise an error.
extra-suitecache-005passTests that the document can be removed from the cache.
extra-suitecache-006catch failureTests that the document can be removed from the cache.
extra-suitecache-007passTests that the same URI with different content types can be cached.
extra-suitecatalog-001catch failureAccess should fail if there’s no catalog for it.
extra-suitecatalog-002passMake sure that the catalog configuration is available to parsers, etc.
extra-suitecollmgr-001passTests that cx:collection-manager creates a collection.
extra-suitecollmgr-002catch failureTests that cx:collection-manager fails if the collection contains duplicate URIs.
extra-suitecollmgr-003catch failureTests that cx:collection-manager fails if an attempt is made to modify a stable collection.
extra-suitecollmgr-004passTests that cx:collection-manager can modify an unstable collection.
extra-suitecollmgr-005passTests that cx:collection-manager collections are visible in XSLT.
extra-suitecollmgr-006catch failureTests that cx:collection-manager fails if a document has no URI.
extra-suitecx-until-001passTest cx:until
extra-suitecx-until-002passTest cx:until
extra-suitecx-while-001passTest cx:while
extra-suiteebnf-convert-001passTests that cx:ebnf-convert produces text.
extra-suiteebnf-convert-002passTests that cx:ebnf-convert accepts explicit type.
extra-suiteebnf-convert-003passTests that cx:ebnf-convert accepts explicit type not ixml.
extra-suiteebnf-convert-004passTests that cx:ebnf-convert creates XML.
extra-suiteebnf-convert-005passTests that cx:ebnf-convert supports epsilon-references.
extra-suiteebnf-convert-006passTests that cx:ebnf-convert supports inline-terminals.
extra-suiteepubcheck-001passTests that the epubcheck step writes a report.
extra-suitefileset-001apassTests a simple cx:fileset.
extra-suitefileset-001bpassTests a simple cx:fileset.
extra-suitefileset-001cpassTests a simple cx:fileset.
extra-suitefileset-001dpassTests a simple cx:fileset.
extra-suitefileset-001epassTests a simple cx:fileset.
extra-suitefileset-001fpassTests a simple cx:fileset.
extra-suitefileset-001gpassTests a simple cx:fileset.
extra-suitefileset-001hpassTests a simple cx:fileset.
extra-suitefileset-002passTests contains.
extra-suitefileset-003passTests contains, case insensitive.
extra-suitefileset-004passTests contains, not ignoring whitespace.
extra-suitefileset-005passTests contains, ignoring whitespace.
extra-suitefileset-006passTests contains, with encoding.
extra-suitefileset-007passTests contains, with encoding.
extra-suitefileset-008passTests contains-regexp.
extra-suitefileset-009passTests contains-regexp, case insensitive.
extra-suitefileset-010passTests contains-regexp, with encoding.
extra-suitefileset-011passTests contains-regexp, with encoding.
extra-suitefileset-012passTests date, before.
extra-suitefileset-013passTests date, before.
extra-suitefileset-014passTests date, before.
extra-suitefileset-015passTests date, after with a granularity.
extra-suitefileset-016passTests date, after with a granularity duration.
extra-suitefileset-017passTests the readable selector
extra-suitefileset-018passTests the writable selector
extra-suitefileset-019passTests the executable selector
extra-suitefileset-020passTests the size selector, equal no units
extra-suitefileset-021passTests the size selector, equal da
extra-suitefileset-022passTests the size selector, equal h
extra-suitefileset-023passTests the size selector, less no units
extra-suitefileset-024passTests the size selector, less da
extra-suitefileset-025passTests the size selector, less h
extra-suitefileset-026passTests the size selector, less Ki
extra-suitefileset-027passTests the size selector, more no units
extra-suitefileset-028passTests the size selector, more k
extra-suitefileset-029passTests the and selector
extra-suitefileset-030passTests the or selector
extra-suitefileset-031passTests the or selector
extra-suitefileset-032passTests the or selector
extra-suitefileset-033passTests the none selector.
extra-suitefileset-034passTests the present selector.
extra-suitefileset-035passTests the present selector.
extra-suitefileset-036passTests the different selector.
extra-suitefileset-037passTests the different selector.
extra-suitefileset-038passTests the different selector.
extra-suitefileset-039passTests the different selector.
extra-suitefileset-040passTests the depends selector.
extra-suitefileset-041passTests the majority selector.
extra-suitefileset-042passTests the majority selector.
extra-suitefileset-043passTests the majority selector.
extra-suitefileset-044passTests the identity mapper.
extra-suitefileset-045passTests the cut-dirs-mapper.
extra-suitefileset-046passTests the flatten mapper.
extra-suitefileset-047passTests the flatten mapper.
extra-suitefileset-048passTests the glob mapper.
extra-suitefileset-049passTests the glob mapper.
extra-suitefileset-050passTests the regexp mapper.
extra-suitefileset-051passTests the package mapper.
extra-suitefileset-052passTests the package mapper.
extra-suitefileset-053passTests the chained-mapper.
extra-suitefileset-054passTests the composite-mapper.
extra-suitefileset-055passTests the first-match-mapper.
extra-suitefileset-056passTests the first-match-mapper.
extra-suitefileset-057passTests the first-match-mapper.
extra-suitefileset-058passTests the content-type-selector.
extra-suitefileset-059passTests the depth selector.
extra-suitefileset-060passTests the depth selector.
extra-suitefileset-061passTests the filename selector.
extra-suitefileset-062passTests the filename selector.
extra-suitefind-001passTests cx:find without any queries.
extra-suitefind-002passTests cx:find with a grep query.
extra-suitefind-003passTests cx:find with a grep query that won’t find JSON files.
extra-suitefind-004passTests cx:find with a grep query that won’t find any files.
extra-suitefind-005catch failureTests cx:find with a grep query that won’t find any files.
extra-suitefind-006passTests cx:find without any queries.
extra-suitefind-007catch failureTests an invalid JSONPath.
extra-suitefind-008passTests cx:find without an XPath query.
extra-suitefind-009catch failureTests an invalid XPath.
extra-suitefind-010catch failureTests setting more than one query option.
extra-suiteissue-160-001passTests that a variable defined as a function can be evaluated later on.
extra-suitejava-properties-001passTests that a Java properties file can be cast to XML.
extra-suitejava-properties-002passTests that a Java properties file can be cast to JSON.
extra-suitejava-properties-003catch failureTests that a Java properties file can not be cast to XHTML.
extra-suitejava-properties-004catch failureTests that a Java properties file can not be cast to HTML.
extra-suitejava-properties-005catch failureTests that a Java properties file can not be cast to binary.
extra-suitejava-properties-006catch failureTests that a Java properties file can not be cast to image/jpeg.
extra-suitejava-properties-007passTests that a Java properties file can be cast to YAML (same as JSON).
extra-suitejava-properties-008passTests that XML can be cast to Java properties.
extra-suitejava-properties-009passTests that a map can be cast to Java properties.
extra-suitejava-properties-010catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-011catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-012catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-013catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-014catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-015catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejson-patch-001passExample test from RFC 6092.
extra-suitejson-patch-002passExample test from RFC 6092.
extra-suitejson-patch-merge-001passExample test from RFC 7386.
extra-suitejson-patch-merge-002passExample test from RFC 7386.
extra-suitejsonpath-001passTests a JSONPath definite query.
extra-suitejsonpath-002passTests a JSONPath indefinite query.
extra-suitejsonpath-003passTests a JSONPath definite query with the always-return-list option.
extra-suitejsonpath-004catch failureTests an invalid option.
extra-suitejsonpath-005catch failureTests an invalid JSONPath.
extra-suitelookup-uri-001passTests that lookup URI returns the original URI if there’s no catalog.
extra-suitelookup-uri-002passTests that lookup URI returns the original URI if there’s no catalog.
extra-suitemarkup-blitz-001passPorted the standard ab-i-xml-001 test to use cx:markup-blitz.
extra-suitemarkup-blitz-002passPorted the standard ab-i-xml-002 test to use cx:markup-blitz.
extra-suitemessage-001passTests that p:message outputs a message if test is true.
extra-suitemessage-002passTests that p:message does not output a message if test is false.
extra-suitemetadata-extractor-001passTests extracting metadata from a JPG image
extra-suitepolyglot-001passTests that the cx:python polyglot step returns a string.
extra-suitepolyglot-002passTests that the cx:python polyglot step returns a map.
extra-suitepolyglot-003passTests that the cx:python polyglot step returns an array.
extra-suitepolyglot-004passTests that the cx:python polyglot step returns XML.
extra-suitepolyglot-005passTests that the cx:javascript polyglot step returns a string.
extra-suitepolyglot-006passTests that the cx:javascript polyglot step returns a map.
extra-suitepolyglot-007passTests that the cx:javascript polyglot step returns an array.
extra-suitepolyglot-008passTests that the cx:javascript polyglot step returns XML.
extra-suitepolyglot-009passTests that the cx:python polyglot step returns json.
extra-suitepolyglot-010passTests that the cx:javascript polyglot serializes JSON.
extra-suitepolyglot-011passTests that standard error and standard output are processed.
extra-suiterdf-jsonld-001passTests that .jsonld loads as application/ld+json, RDF, and JSON.
extra-suiterdf-jsonld-002passTests that application/ld+json works in p:inline, p:document, and p:load.
extra-suiterdf-jsonld-003passTests application/ld+json can be queried.
extra-suiterdf-n3-001passTests that .n3 loads as application/rdf+thrift and RDF.
extra-suiterdf-n3-002passTests that text/n3 works in p:inline, p:document, and p:load. Note that text/n3 is nothing but a synonym for text/turtle.
extra-suiterdf-n3-003passTests text/n3 can be queried. Note that text/n3 is nothing but a synonym for text/turtle.
extra-suiterdf-nq-001passTests that .nq loads as application/rdf+thrift and RDF.
extra-suiterdf-nq-002passTests that application/n-quads works in p:inline, p:document, and p:load.
extra-suiterdf-nq-003passTests application/n-quads can be queried.
extra-suiterdf-nt-001passTests that .nt loads as application/rdf+thrift and RDF.
extra-suiterdf-nt-002passTests that application/n-triples works in p:inline, p:document, and p:load.
extra-suiterdf-nt-003passTests application/n-triples can be queried.
extra-suiterdf-rdf-001passTests that .rdf loads as application/rdf+xml, XML, and RDF.
extra-suiterdf-rdf-002passTests that application/rdf+xml works in p:inline, p:document, and p:load.
extra-suiterdf-rdf-003passTests application/rdf+xml can be queried.
extra-suiterdf-rj-001passTests that .rj loads as application/rdf+json, JSON, and RDF.
extra-suiterdf-rj-002passTests that application/rdf+json works in p:inline, p:document, and p:load.
extra-suiterdf-rj-003passTests application/rdf+json can be queried.
extra-suiterdf-rq-001passTests that .rq loads as application/sparql-query and text.
extra-suiterdf-srj-001passTests that .srj loads as application/sparql-results+json and JSON.
extra-suiterdf-srj-002passTests that cx:sparql can produce application/sparql-results+json.
extra-suiterdf-srj-003passTests application/sparql-results+json can be cast to text/plain.
extra-suiterdf-srx-001passTests that .srx loads as application/sparql-results+xml and XML.
extra-suiterdf-srx-002passTests that cx:sparql can produce application/sparql-results+xml.
extra-suiterdf-srx-003passTests application/sparql-results+xml can be cast to text/plain.
extra-suiterdf-thrift-001passTests that .thrift loads as application/rdf+thrift and RDF.
extra-suiterdf-thrift-002passTests that application/rdf+thrift works in p:inline, p:document, and p:load.
extra-suiterdf-thrift-003passTests application/rdf+thrift can be queried.
extra-suiterdf-trig-001passTests that .trig loads as application/trig and RDF.
extra-suiterdf-trig-002passTests that application/trig works in p:inline, p:document, and p:load.
extra-suiterdf-trig-003passTests application/trig can be queried.
extra-suiterdf-trix-001passTests that .trix loads as application/trix+xml, XML, and RDF.
extra-suiterdf-trix-002passTests that application/trix+xml works in p:inline, p:document, and p:load.
extra-suiterdf-trix-003passTests application/trix+xml can be queried.
extra-suiterdf-ttl-001passTests that .ttl loads as application/rdf+thrift and RDF.
extra-suiterdf-ttl-002passTests that text/turtle works in p:inline, p:document, and p:load.
extra-suiterdf-ttl-003passTests text/turtle can be queried.
extra-suiterr-001passTests that cx:railroad runs.
extra-suiterr-002passTests that cx:railroad returns the right properties.
extra-suiterr-003passTests that cx:railroad returns multiple, cross-referenced images.
extra-suiterr-004passTests that cx:railroad returns a single image if the nonterminal option is specified.
extra-suiterr-005catch failureTests that cx:railroad fails if a non-existant nonterminal option is specified.
extra-suiterr-006passTests that cx:railroad produces HTML.
extra-suiterr-007passTests that cx:railroad automatically converts grammar formats.
extra-suitestatic-expr-context-001passMake sure that static expressions are evaluated with the correct context.
extra-suitetrang-001passTests DTD to RNG
extra-suitetrang-002passTests DTD to RNC
extra-suitetrang-003passTests DTD to XSD
extra-suitetrang-004catch failureTests DTD to DTD
extra-suitetrang-005passTests RNG to RNC
extra-suitetrang-006passTests RNG to DTD
extra-suitetrang-007passTests RNG to XSD
extra-suitetrang-008passTests RNC to RNG
extra-suitetrang-009passTests RNC to DTD
extra-suitetrang-010passTests RNC to XSD
extra-suitetrang-011catch failureAn XSD input is an error
extra-suitetrang-012passMultipart DTD to RNG
extra-suitetrang-013passMultipart DTD to RNC
extra-suitetrang-014passMultipart DTD to XSD
extra-suitetrang-015passMultipart RNC to RNG
extra-suitetrang-016passMultipart RNG to XSD
extra-suiteunique-id-001passTests creating a type 1 UUID.
extra-suiteunique-id-002passTests creating a type 2 UUID.
extra-suiteunique-id-003passTests creating a type 3 UUID.
extra-suiteunique-id-004passTests creating a type 4 UUID.
extra-suiteunique-id-005passTests creating a type 5 UUID.
extra-suiteunique-id-006passTests creating a type 6 UUID.
extra-suiteunique-id-007passTests creating a type 7 UUID.
extra-suiteunique-id-008passTests creating ULID.
extra-suiteunique-id-009passTests creating TypeID.
extra-suiteunique-id-010passTests creating TypeID with a type.
extra-suitevalidate-json-schema-001passTests that metadata is correct for JSON schema validation.
extra-suitevalidate-nvdl-001passTests that NVDL errors are reported in the XVRL.
extra-suitevalidate-rng-001passTests that RNG errors are reported in the XVRL.
extra-suitevalidate-sch-001passCopying a 3.0 test; checking that the digests roll up.
extra-suitevalidate-xsd-001passTests that XSD errors are reported in the XVRL.
extra-suitewait-for-update-001passTests that cx:wait-for-update works. It relies on the fact that calling the time-of-day service only updates every 10 seconds, so it’s highly likely to have to wait a bit.
extra-suitexinclude-321passHopefully, a test that finally, once and for all, really and truly this time, demonstrates that issue #321 is resolved.
extra-suitexmlunit-001passTests that identity comparison succeeds.
extra-suitexmlunit-002catch failureTests that identity comparison fails.
extra-suitexmlunit-003passTests that documents can be similar.
extra-suitexmlunit-004passTests that differences are reported.
extra-suitexpath-001passTests that the cx:xpath step runs.
extra-suitexpath-002passTests that the cx:xpath step runs.
extra-suiteyaml-001passTests that YAML can be parsed.
extra-suiteyaml-002passTests that YAML can be parsed.