From 95d2828dd29d700a6288dac7393e413647a6eeb4 Mon Sep 17 00:00:00 2001 From: James Shaw Date: Thu, 4 Oct 2007 22:17:12 +0000 Subject: Sketch out some implementation ideas: '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 --- test/transform/test-to-c.xsl | 269 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 215 insertions(+), 54 deletions(-) (limited to 'test') diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl index 5b4943a..fd44e93 100644 --- a/test/transform/test-to-c.xsl +++ b/test/transform/test-to-c.xsl @@ -30,12 +30,79 @@ test representation. http://www.w3.org/2001/DOM-Test-Suite/tests/Level-1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized element + + + + + + + + int main(int argc, char **argv) +{ + + + + false + + return 0; +} + - package not implemented + package not implemented @@ -53,61 +120,52 @@ test representation. - - - wait not implemented - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - assertEventCount not implemented + assertEventCount not implemented - + + + + @@ -149,7 +210,7 @@ Statements Not used. --> - subtract not implemented + subtract not implemented @@ -161,19 +222,64 @@ Statements Not used. --> - divide not implemented + divide not implemented - + + + + + + if ( + + ) { + + + + + + + } + + + else { + + + + + + } + + + - + + TRY + + + + true + + ENDTRY + @@ -185,6 +291,15 @@ Statements + + + wait not implemented + + @@ -212,7 +327,7 @@ Statements Not used. --> - userObj not implemented + userObj not implemented @@ -250,14 +365,19 @@ Conditions Not used. --> - - same not implemented + + same not implemented - + + - + + + + - - lessOrEquals not implemented + + lessOrEquals not implemented - + - - greaterOrEquals not implemented + + greaterOrEquals not implemented - - isNull not implemented + + isNull not implemented - + - + - + + ( + + | + + ) - - xor not implemented + + xor not implemented - + - - instanceOf not implemented + + instanceOf not implemented - + - + - - hasSize not implemented + + hasSize not implemented @@ -347,4 +472,40 @@ Conditions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3