[epiphany] tests: fix ephy-bookmarks-test
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] tests: fix ephy-bookmarks-test
- Date: Sun, 7 Dec 2014 18:22:59 +0000 (UTC)
commit cdefa4fa6a331429367ec7ffc3f0b6429a39c8f1
Author: Claudio Saavedra <csaavedra igalia com>
Date: Sun Dec 7 19:15:24 2014 +0100
tests: fix ephy-bookmarks-test
Explicitly create a EphyEmbedShell in test mode.
tests/ephy-bookmarks-test.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-bookmarks-test.c b/tests/ephy-bookmarks-test.c
index 65d8ff6..ac89bb1 100644
--- a/tests/ephy-bookmarks-test.c
+++ b/tests/ephy-bookmarks-test.c
@@ -23,7 +23,9 @@
#include "ephy-debug.h"
#include "ephy-file-helpers.h"
+#include "ephy-private.h"
#include "ephy-profile-utils.h"
+#include "ephy-shell.h"
const char* bookmarks_paths[] = { EPHY_BOOKMARKS_FILE, EPHY_BOOKMARKS_FILE_RDF };
@@ -112,6 +114,8 @@ main (int argc, char *argv[])
return -1;
}
+ _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
+
g_test_add_func ("/src/bookmarks/ephy-bookmarks/create",
test_ephy_bookmarks_create);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]