From 94e8b36349790df2f7fcafa91b5104097373107d Mon Sep 17 00:00:00 2001 From: James Shaw Date: Thu, 9 Aug 2007 21:04:37 +0000 Subject: Add assertTrue and assertFalse templates; add boolean primitive to ctypes.xml. Bugfix get-ctype to translate primitive typename when specified. svn path=/trunk/dom/; revision=3494 --- test/transform/ctypes.xml | 1 + test/transform/test-to-c.xsl | 28 +++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/test/transform/ctypes.xml b/test/transform/ctypes.xml index 148b1c4..579e317 100644 --- a/test/transform/ctypes.xml +++ b/test/transform/ctypes.xml @@ -1,6 +1,7 @@ + diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl index 8c8f2cb..f530264 100644 --- a/test/transform/test-to-c.xsl +++ b/test/transform/test-to-c.xsl @@ -558,9 +558,32 @@ Assert templates assert( == NULL); - + + + + + + + assert( == true); + + + + + assert( == false); + + + + @@ -710,6 +733,9 @@ Helper templates + + + -- cgit v1.2.3