aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-08 22:51:15 +0800
committerXan Lopez <xan@igalia.com>2012-10-08 22:51:15 +0800
commit3834a5ed9e2dacfed1c716460ddcde2677e7c5bf (patch)
tree3d8d74855d98a69b5d3f0c8c0c905a5c17640143 /tests
parent46eafefa8d3e02e634edb287dfe9763398954626 (diff)
downloadgsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar.gz
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar.bz2
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar.lz
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar.xz
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.tar.zst
gsoc2013-epiphany-3834a5ed9e2dacfed1c716460ddcde2677e7c5bf.zip
Run all tests in test mode
That's what it's for!
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-completion-model-test.c2
-rw-r--r--tests/ephy-download-test.c2
-rw-r--r--tests/ephy-embed-single-test.c2
-rw-r--r--tests/ephy-shell-test.c2
-rw-r--r--tests/ephy-web-view-test.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/ephy-completion-model-test.c b/tests/ephy-completion-model-test.c
index 06c222e64..d02377d5f 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 303410e5b..f92c7d091 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 4441c8dc5..e9e5c0a70 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 75402e6dc..4518cb2c2 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 29739b1ae..294a8657c 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);