aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2013-08-30 00:16:56 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2013-08-30 00:16:56 +0800
commit35432d8999700bcf39d4c398299335d1b67b891a (patch)
tree85490d220d31237dd7f00fb334048496d0b45f70
parent3254beb59a670250142c3dae1337a991944c379e (diff)
downloadgsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar.gz
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar.bz2
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar.lz
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar.xz
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.tar.zst
gsoc2013-epiphany-35432d8999700bcf39d4c398299335d1b67b891a.zip
ephy-download-test.c: initialize the file_helpers earlier
The shell needs these to be ready, otherwise the test will break.
-rw-r--r--tests/ephy-download-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index 98ab2b119..3e5557e03 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -166,7 +166,6 @@ main (int argc, char *argv[])
ephy_debug_init ();
ephy_embed_prefs_init ();
- _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
if (!ephy_file_helpers_init (NULL,
EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS,
@@ -175,6 +174,8 @@ main (int argc, char *argv[])
return -1;
}
+ _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
+
server = soup_server_new (SOUP_SERVER_PORT, 0, NULL);
soup_server_run_async (server);