summaryrefslogtreecommitdiff
path: root/test/testutils/domtsasserts.c
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
commitac42344d05ec326f0063133498ec1c040e924db2 (patch)
tree4041bc41d72721a94dc573e5be3cb0f80988e004 /test/testutils/domtsasserts.c
parentc9c2a632f38b736d6879caf00aa477ecf2e22dfb (diff)
downloadlibdom-ac42344d05ec326f0063133498ec1c040e924db2.tar.gz
libdom-ac42344d05ec326f0063133498ec1c040e924db2.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/testutils/domtsasserts.c')
-rw-r--r--test/testutils/domtsasserts.c4
1 files changed, 1 insertions, 3 deletions
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) {