Stylesheet: xspec-three-dots.xsl
Tested: ONCE-UPON-A-TIME
passed: 42 | pending: 0 | failed: 30 | total: 72 | |
---|---|---|---|---|
For resultant element (simple) | 5 | 0 | 2 | 7 |
For resultant element (with attribute) | 2 | 0 | 1 | 3 |
For resultant element (with mixed content) | 4 | 0 | 1 | 5 |
For resultant attribute | 5 | 0 | 1 | 6 |
For resultant text node | 4 | 0 | 5 | 9 |
For resultant comment | 5 | 0 | 1 | 6 |
For resultant processing instruction | 5 | 0 | 1 | 6 |
For resultant document node | 5 | 0 | 2 | 7 |
For resultant namespace node (TODO: xspec/xspec#67) | 3 | 0 | 4 | 7 |
For resultant sequence of multiple nodes | 2 | 0 | 3 | 5 |
When result is empty sequence | 0 | 0 | 1 | 1 |
For resultant atomic value | 2 | 0 | 4 | 6 |
For any resultant item | 0 | 0 | 4 | 4 |
For resultant element (simple) | passed: 5 / pending: 0 / failed: 2 / total: 7 |
---|---|
When result is <elem>text</elem> | passed: 2 / pending: 0 / failed: 0 / total: 2 |
expecting <elem>...</elem> should be Success | Success |
expecting ... should be Success | Success |
When result is <elem /> | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting <elem>...</elem> should be Success | Success |
expecting <elem attrib="..." /> should be Failure | Failure |
When result is <elem>...</elem> | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting <elem>...</elem> should be Success | Success |
expecting ... should be Success | Success |
expecting <elem>text</elem> should be Failure | Failure |
Result | Expected Result |
---|---|
<elem /> |
<elem attrib="..." /> |
Result | Expected Result |
---|---|
<elem>...</elem> |
<elem>text</elem> |
For resultant element (with attribute) | passed: 2 / pending: 0 / failed: 1 / total: 3 |
---|---|
When result is <elem attrib="val" /> | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting <elem attrib="..." /> should be Success | Success |
expecting ... should be Success | Success |
expecting <elem>...</elem> should be Failure | Failure |
Result | Expected Result |
---|---|
<elem attrib="val" /> |
<elem>...</elem> |
For resultant element (with mixed content) | passed: 4 / pending: 0 / failed: 1 / total: 5 |
---|---|
When result is <outer>text<inner1 /><inner2 /></outer> | passed: 3 / pending: 0 / failed: 0 / total: 3 |
expecting <outer>...</outer> should be Success | Success |
expecting <outer>...<inner1 />...</outer> should be Success | Success |
expecting ... should be Success | Success |
When result is <outer><inner /></outer> | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting <outer>...</outer> should be Success | Success |
expecting <outer>...<inner /></outer> should be Failure | Failure |
Result | Expected Result |
---|---|
<outer> <inner /> </outer> |
<outer>...<inner /> </outer> |
For resultant attribute | passed: 5 / pending: 0 / failed: 1 / total: 6 |
---|---|
When result is @attrib="val" | passed: 2 / pending: 0 / failed: 0 / total: 2 |
expecting @attrib="..." should be Success | Success |
expecting ... should be Success | Success |
When result is @attrib="" | passed: 1 / pending: 0 / failed: 0 / total: 1 |
expecting @attrib="..." should be Success | Success |
When result is @attrib="..." | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting @attrib="..." should be Success | Success |
expecting ... should be Success | Success |
expecting @attrib="val" should be Failure | Failure |
Result | Expected Result |
---|---|
XPath <temp attrib="..." /> |
XPath <temp attrib="val" /> |
For resultant text node | passed: 4 / pending: 0 / failed: 5 / total: 9 |
---|---|
When result is usual text node | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting ... should be Success | Success |
expecting '...' should be Failure | Failure |
When result is whitespace-only text node | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting ... should be Success | Success |
expecting usual text node should be Failure | Failure |
When result is zero-length text node | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting ... should be Success | Success |
expecting usual text node should be Failure | Failure |
When result is three-dot text node | passed: 1 / pending: 0 / failed: 2 / total: 3 |
expecting ... should be Success | Success |
expecting usual text node should be Failure | Failure |
expecting '...' should be Failure | Failure |
Result | Expected Result |
---|---|
XPath text |
'...' |
Result | Expected Result |
---|---|
XPath \t\n\r. |
XPath text |
Result | Expected Result |
---|---|
XPath |
XPath text |
Result | Expected Result |
---|---|
XPath ... |
XPath text |
Result | Expected Result |
---|---|
XPath ... |
'...' |
For resultant comment | passed: 5 / pending: 0 / failed: 1 / total: 6 |
---|---|
When result is <!--comment--> | passed: 2 / pending: 0 / failed: 0 / total: 2 |
expecting <!--...--> should be Success | Success |
expecting ... should be Success | Success |
When result is <!----> | passed: 1 / pending: 0 / failed: 0 / total: 1 |
expecting <!--...--> should be Success | Success |
When result is <!--...--> | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting <!--...--> should be Success | Success |
expecting ... should be Success | Success |
expecting <!--comment--> should be Failure | Failure |
Result | Expected Result |
---|---|
XPath <--...--> |
XPath <--comment--> |
For resultant processing instruction | passed: 5 / pending: 0 / failed: 1 / total: 6 |
---|---|
When result is <?pi data?> | passed: 2 / pending: 0 / failed: 0 / total: 2 |
expecting <?pi ...?> should be Success | Success |
expecting ... should be Success | Success |
When result is <?pi?> | passed: 1 / pending: 0 / failed: 0 / total: 1 |
expecting <?pi ...?> should be Success | Success |
When result is <?pi ...?> | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting <?pi ...?> should be Success | Success |
expecting ... should be Success | Success |
expecting <?pi data?> should be Failure | Failure |
Result | Expected Result |
---|---|
XPath <?pi ...?> |
XPath <?pi data?> |
For resultant document node | passed: 5 / pending: 0 / failed: 2 / total: 7 |
---|---|
When result is <xsl:document><?pi?><!--comment--><elem /></xsl:document> | passed: 2 / pending: 0 / failed: 0 / total: 2 |
expecting <xsl:document>...</xsl:document> should be Success | Success |
expecting ... should be Success | Success |
When result is <xsl:document /> | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting ... should be Success | Success |
expecting <xsl:document>...</xsl:document> should be Failure | Failure |
When result is <xsl:document>...</xsl:document> | passed: 2 / pending: 0 / failed: 1 / total: 3 |
expecting <xsl:document>...</xsl:document> should be Success | Success |
expecting ... should be Success | Success |
expecting <xsl:document>text</xsl:document> should be Failure | Failure |
Result | Expected Result |
---|---|
/ |
XPath ... |
Result | Expected Result |
---|---|
XPath ... |
XPath text |
For resultant namespace node (TODO: xspec/xspec#67) | passed: 3 / pending: 0 / failed: 4 / total: 7 |
---|---|
When result is xmlns:prefix="namespace-uri" | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting xmlns:prefix="..." should be Success | Failure |
expecting ... should be Success | Success |
When result is xmlns="namespace-uri" | passed: 1 / pending: 0 / failed: 1 / total: 2 |
expecting xmlns="..." should be Success | Failure |
expecting ... should be Success | Success |
When result is xmlns:prefix="..." | passed: 1 / pending: 0 / failed: 2 / total: 3 |
expecting xmlns:prefix="..." should be Success | Failure |
expecting ... should be Success | Success |
expecting xmlns:prefix="namespace-uri" should be Failure | Failure |
Result | Expected Result |
---|---|
/node() |
/node() |
Result | Expected Result |
---|---|
/node() |
/node() |
Result | Expected Result |
---|---|
/node() |
/node() |
Result | Expected Result |
---|---|
/node() |
/node() |
For resultant sequence of multiple nodes | passed: 2 / pending: 0 / failed: 3 / total: 5 |
---|---|
When result is sequence of <elem1 /><elem2 /> | passed: 2 / pending: 0 / failed: 3 / total: 5 |
expecting ...<elem2 /> should be Success | Success |
expecting sequence of two ... should be Success | Success |
expecting ... should be Failure | Failure |
expecting ...... should be Failure | Failure |
expecting sequence of three ... should be Failure | Failure |
Result | Expected Result |
---|---|
<elem1 /><elem2 /> |
XPath ... |
Result | Expected Result |
---|---|
<elem1 /><elem2 /> |
XPath ...... |
Result | Expected Result |
---|---|
<elem1 /><elem2 /> |
XPath ......... |
When result is empty sequence | passed: 0 / pending: 0 / failed: 1 / total: 1 |
---|---|
expecting ... should be Failure | Failure |
Result | Expected Result |
---|---|
() |
XPath ... |
For resultant atomic value | passed: 2 / pending: 0 / failed: 4 / total: 6 |
---|---|
When result is 'string' | passed: 1 / pending: 0 / failed: 2 / total: 3 |
expecting 'string' should be Success | Success |
expecting ... should be Failure | Failure |
expecting '...' should be Failure | Failure |
When result is '...' | passed: 1 / pending: 0 / failed: 2 / total: 3 |
expecting '...' should be Success | Success |
expecting ... should be Failure | Failure |
expecting 'string' should be Failure | Failure |
Result | Expected Result |
---|---|
'string' |
XPath ... |
Result | Expected Result |
---|---|
'string' |
'...' |
Result | Expected Result |
---|---|
'...' |
XPath ... |
Result | Expected Result |
---|---|
'...' |
'string' |
For any resultant item | passed: 0 / pending: 0 / failed: 4 / total: 4 |
---|---|
expecting .... (four dots) should be Failure | Failure |
expecting ...x (three dots with extra character) should be Failure | Failure |
expecting ... with surrounding whitespace should be Failure | Failure |
expecting '...' (xs:string) should be Failure | Failure |
Result | Expected Result |
---|---|
XPath item |
XPath .... |
Result | Expected Result |
---|---|
XPath item |
XPath ...x |
Result | Expected Result |
---|---|
XPath item |
XPath ... |
Result | Expected Result |
---|---|
XPath item |
'...' |