[epiphany] ephy-download-test.c: initialize the file_helpers earlier



commit 35432d8999700bcf39d4c398299335d1b67b891a
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Aug 29 19:16:56 2013 +0300

    ephy-download-test.c: initialize the file_helpers earlier
    
    The shell needs these to be ready, otherwise the test will break.

 tests/ephy-download-test.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index 98ab2b1..3e5557e 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]