summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 23:52:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 23:52:56 +0000
commit6ab986acd57b516b5b9aff04ee09d57db02ed0b6 (patch)
tree4041bc41d72721a94dc573e5be3cb0f80988e004 /test
parentcf7e104bab600e6c22c3bf8d1d6cbc138360038b (diff)
downloadlibdom-6ab986acd57b516b5b9aff04ee09d57db02ed0b6.tar.gz
libdom-6ab986acd57b516b5b9aff04ee09d57db02ed0b6.tar.bz2
Remove bootstrap infrastructure, and just make dom_implementation a stub.
We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex svn path=/trunk/dom/; revision=11017
Diffstat (limited to 'test')
-rw-r--r--test/DOMTSHandler.pm1
-rw-r--r--test/testutils/domtsasserts.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm
index ce392c0..0bd4b81 100644
--- a/test/DOMTSHandler.pm
+++ b/test/DOMTSHandler.pm
@@ -362,7 +362,6 @@ sub generate_main {
#include <dom/dom.h>
#include <dom/functypes.h>
-#include <dom/bootstrap/init_fini.h>
#include <domts.h>
diff --git a/test/testutils/domtsasserts.c b/test/testutils/domtsasserts.c
index bd0eab1..488f294 100644
--- a/test/testutils/domtsasserts.c
+++ b/test/testutils/domtsasserts.c
@@ -14,8 +14,6 @@
#include "domts.h"
-extern dom_implementation *doc_impl;
-
void __assert2(const char *expr, const char *function,
const char *file, int line)
{
@@ -237,7 +235,7 @@ bool has_feature(char *feature, char *version)
return false;
}
- err = dom_implementation_has_feature(doc_impl, df, dv, &ret);
+ err = dom_implementation_has_feature(df, dv, &ret);
/* Here, when we come with exception, we should return false,
* TODO: this need to be improved, but I can't figure out how */
if (err != DOM_NO_ERR) {