From 1eb19587bf3d96712d8d3313ecb32e92e1fcbd30 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 9 Sep 2017 10:59:21 +0100 Subject: Fix up tests with nslog changes --- test/data/Choices-all | 2 ++ test/nsoption.c | 3 +++ test/urldbtest.c | 3 +++ 3 files changed, 8 insertions(+) (limited to 'test') diff --git a/test/data/Choices-all b/test/data/Choices-all index b9cab1fb3..9f2e18377 100644 --- a/test/data/Choices-all +++ b/test/data/Choices-all @@ -95,6 +95,8 @@ sys_colour_ThreeDShadow:d5d5d5 sys_colour_Window:f1f1f1 sys_colour_WindowFrame:4e4e4e sys_colour_WindowText:000000 +log_filter:level:WARNING +verbose_filter:level:VERBOSE render_resample:1 downloads_clear:0 request_overwrite:1 diff --git a/test/nsoption.c b/test/nsoption.c index 5874c94b6..8f2388a5b 100644 --- a/test/nsoption.c +++ b/test/nsoption.c @@ -39,6 +39,9 @@ const char *test_choices_all_path = "test/data/Choices-all"; const char *test_choices_full_path = "test/data/Choices-full"; const char *test_choices_missing_path = "test/data/Choices-missing"; +/* Stubs */ +nserror nslog_set_filter_by_options() { return NSERROR_OK; } + /** * generate test output filenames */ diff --git a/test/urldbtest.c b/test/urldbtest.c index 3cba8835f..620ce4cb5 100644 --- a/test/urldbtest.c +++ b/test/urldbtest.c @@ -77,6 +77,9 @@ struct test_urls { #define NELEMS(x) (sizeof(x) / sizeof((x)[0])) +/* Stubs */ +nserror nslog_set_filter_by_options() { return NSERROR_OK; } + /** * generate test output filenames */ -- cgit v1.2.3