From 6d7472b0d691862d8fb3547b1fa44775bf3923f4 Mon Sep 17 00:00:00 2001 From: James Shaw Date: Sat, 11 Aug 2007 23:13:31 +0000 Subject: Implement assertSize svn path=/trunk/dom/; revision=3505 --- test/transform/test-to-c.xsl | 68 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 66 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl index f530264..5f23deb 100644 --- a/test/transform/test-to-c.xsl +++ b/test/transform/test-to-c.xsl @@ -1,4 +1,10 @@ + + @@ -164,6 +171,11 @@ Language construct templates + + if () { @@ -179,6 +191,14 @@ Language construct templates + + + + + + + + equals not implemented @@ -561,6 +581,7 @@ Assert templates + @@ -589,7 +610,12 @@ test itself. - + + + + + + @@ -638,10 +664,39 @@ test itself. - assertSize not implemented + + + + + + + + unsigned long len_ + + ; + + err = + + + + _get_length( + + , &len_ + + ); + + + assert(err == DOM_NO_ERR); + assert(len_ + + == + + ); + + assertDOMException not implemented @@ -721,6 +776,15 @@ Helper templates + + + + + + + + +