Author: jmb
Date: Thu Sep 20 00:00:22 2007
New Revision: 3552
URL:
http://source.netsurf-browser.org?rev=3552&view=rev
Log:
Stop TestObject appending .xml to the filename -- the auto-generated testcases already
have it appended.
Fixup binding testcase appropriately.
Modified:
trunk/dom/test/binding.c
trunk/dom/test/testutils.h
Modified: trunk/dom/test/binding.c
URL:
http://source.netsurf-browser.org/trunk/dom/test/binding.c?rev=3552&r...
==============================================================================
--- trunk/dom/test/binding.c (original)
+++ trunk/dom/test/binding.c Thu Sep 20 00:00:22 2007
@@ -9,7 +9,7 @@
dom_exception err;
TestObject *staff;
- staff = test_object_create(argc, argv, "staff", false);
+ staff = test_object_create(argc, argv, "staff.xml", false);
assert(staff != NULL);
doc = test_object_get_doc(staff);
Modified: trunk/dom/test/testutils.h
URL:
http://source.netsurf-browser.org/trunk/dom/test/testutils.h?rev=3552&...
==============================================================================
--- trunk/dom/test/testutils.h (original)
+++ trunk/dom/test/testutils.h Thu Sep 20 00:00:22 2007
@@ -90,7 +90,7 @@
xml_parser_initialised = true;
}
- snprintf(fnbuf, sizeof fnbuf, "%s/%s.xml", argv[1], uri);
+ snprintf(fnbuf, sizeof fnbuf, "%s/%s", argv[1], uri);
ret = malloc(sizeof(TestObject));
if (ret == NULL)