From 83bc8f09261fb4d265cc79d39e740b4a0c9648e2 Mon Sep 17 00:00:00 2001 From: James Shaw Date: Fri, 28 Sep 2007 23:41:30 +0000 Subject: Stub out all test templates. Remove all previous tests. svn path=/trunk/dom/; revision=3602 --- test/transform/test-to-c.xsl | 976 +++++++++++-------------------------------- 1 file changed, 243 insertions(+), 733 deletions(-) (limited to 'test/transform/test-to-c.xsl') diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl index 211f006..5b4943a 100644 --- a/test/transform/test-to-c.xsl +++ b/test/transform/test-to-c.xsl @@ -27,814 +27,324 @@ test representation. --> dom1-interfaces.xml - - ctypes.xml http://www.w3.org/2001/DOM-Test-Suite/tests/Level-1/ - - - + + + - - - - - + - - - - - - - - - - - - - - - - - Unrecognized element - - - - + Not used. + --> + + package not implemented - - + - -#include <string.h> - -#include <dom/dom.h> -#include "testutils.h" - - - - - -int main(int argc, char **argv) -{ - dom_exception err; - - - - return 0; -} - - - - -/* -This source file was generated by test-to-c.xsl -and is a derived work from the source document. -The source document contained the following notice: - - -*/ - - - -/** - - - - - */ - - - - - - - - - TestObject *testObject = test_object_create(argc, argv, ".xml", false); - assert(testObject != NULL); + + + + + + wait not implemented - - strcmp(test_object_get_mimetype(testObject), "") == 0 + + - + + - - - - - - - ; + - - - - - if () { - - - } - - else { - - - } - - - + - - + - - + - - equals not implemented + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - err = - - - _set_ - - ( - - ); - - - - - - - _get_ - - ( - - - - - - , - - - - - & - - ); - - - assert(err == DOM_NO_ERR); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - domString_ - - - - - - - err = - - _ - - ( - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - , - - - - - - - & - - - ); - - assert(err == DOM_NO_ERR); - + - - - - - - - - - - - - - - - - - - - - - - - - - - domString_ - - - - - - - - - - - - - - - - - - - - - - - - - - DOMString - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + assertEventCount not implemented - - - - assert( != NULL); - + - - - - assert( == NULL); - + - - - - - assert( == true); - + - - - - assert( == false); - + - - - + + - - - - - - - - - - - - - - - - - matchString_ - - - assert( - - - dom_string_icmp - - - - <assertEquals ignoreCase='auto'> not supported - - - dom_string_cmp - - - ( - - , matchString_ - - ) == 0); - - - - assert( - - == - - ); - - - - assertEquals on unknown type - - - - - - - - + + + subtract not implemented + + + + + + + + divide not implemented + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + userObj not implemented - - + + - assertDOMException not implemented + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + - - - - struct - - - - - - - - - - - - - * - - - - - - - - - + Not used. + --> + + same not implemented + + + + + + + + + - + Not used. + --> + + lessOrEquals not implemented + + + + + + - + Not used. + --> + + greaterOrEquals not implemented + + + + + isNull not implemented + + + + + + + + + + + + - + Not used. + --> + + xor not implemented + + + + + + + + instanceOf not implemented + + + + + + - - - + + + hasSize not implemented - - - - - - - - * - - - - - - - - - - - - - * - - - - - + + + + + + + + + + -- cgit v1.2.1