From 4cd21d9934f3b74aaf918f521c5aea55c1cf61ef Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 12 Jan 2011 08:40:08 +0000 Subject: Fix testsuite svn path=/trunk/netsurf/; revision=11288 --- test/llcache.c | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) (limited to 'test/llcache.c') diff --git a/test/llcache.c b/test/llcache.c index b7b6fd05c..416c2f573 100644 --- a/test/llcache.c +++ b/test/llcache.c @@ -99,11 +99,19 @@ char *url_to_path(const char *url) * * URLdb should have a cookies update event + handler registration */ -bool cookies_update(const char *domain, const struct cookie_data *data) +bool cookies_schedule_update(const struct cookie_data *data) { return true; } +/* desktop/cookies.h -- used by urldb + * + * URLdb should have a cookies removal handler registration + */ +void cookies_remove(const struct cookie_data *data) +{ +} + /* image/bitmap.h -- used by urldb * * URLdb shouldn't care about bitmaps. @@ -113,31 +121,12 @@ void bitmap_destroy(void *bitmap) { } -/* desktop/tree.h -- used by options.c +/* content/fetchers/fetch_file.h -- used by fetcher core * - * Why on earth is tree loading and saving in options.c? + * Simpler to stub this than haul in all the file fetcher's dependencies */ -void tree_initialise(struct tree *tree) -{ -} - -/* desktop/tree.h */ -struct node *tree_create_folder_node(struct node *parent, const char *title) +void fetch_file_register(void) { - return NULL; -} - -/* desktop/tree.h */ -struct node *tree_create_URL_node(struct node *parent, const char *url, - const struct url_data *data, const char *title) -{ - return NULL; -} - -/* desktop/tree.h */ -struct node_element *tree_find_element(struct node *node, node_element_data d) -{ - return NULL; } /****************************************************************************** -- cgit v1.2.3