[epiphany] Run all tests in test mode



commit 3834a5ed9e2dacfed1c716460ddcde2677e7c5bf
Author: Xan Lopez <xan igalia com>
Date:   Mon Oct 8 10:51:15 2012 -0400

    Run all tests in test mode
    
    That's what it's for!

 tests/ephy-completion-model-test.c |    2 +-
 tests/ephy-download-test.c         |    2 +-
 tests/ephy-embed-single-test.c     |    2 +-
 tests/ephy-shell-test.c            |    2 +-
 tests/ephy-web-view-test.c         |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/ephy-completion-model-test.c b/tests/ephy-completion-model-test.c
index 06c222e..d02377d 100644
--- a/tests/ephy-completion-model-test.c
+++ b/tests/ephy-completion-model-test.c
@@ -87,7 +87,7 @@ main (int argc, char *argv[])
     return -1;
   }
 
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
+  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
 
   g_test_add_func ("/src/ephy-completion-model/create",
                    test_ephy_completion_model_create);
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index 303410e..f92c7d0 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -165,7 +165,7 @@ main (int argc, char *argv[])
 
   ephy_debug_init ();
   ephy_embed_prefs_init ();
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
+  _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,
diff --git a/tests/ephy-embed-single-test.c b/tests/ephy-embed-single-test.c
index 4441c8d..e9e5c0a 100644
--- a/tests/ephy-embed-single-test.c
+++ b/tests/ephy-embed-single-test.c
@@ -85,7 +85,7 @@ main (int argc, char *argv[])
 
   ephy_debug_init ();
   ephy_embed_prefs_init ();
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
+  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
 
   if (!ephy_file_helpers_init (NULL,
                                EPHY_FILE_HELPERS_ENSURE_EXISTS | EPHY_FILE_HELPERS_PRIVATE_PROFILE,
diff --git a/tests/ephy-shell-test.c b/tests/ephy-shell-test.c
index 75402e6..4518cb2 100644
--- a/tests/ephy-shell-test.c
+++ b/tests/ephy-shell-test.c
@@ -344,7 +344,7 @@ main (int argc, char *argv[])
     return -1;
   }
 
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
+  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
   g_application_register (G_APPLICATION (ephy_shell), NULL, NULL);
 
   g_test_add_func ("/src/ephy-shell/basic_embeds",
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index 29739b1..294a865 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -450,7 +450,7 @@ main (int argc, char *argv[])
     return -1;
   }
 
-  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
+  _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
 
   server = soup_server_new (SOUP_SERVER_PORT, SERVER_PORT, NULL);
   soup_server_add_handler (server, NULL, server_callback, NULL, NULL);



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