diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2018-07-17 10:53:21 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2018-07-17 10:53:21 -0500 |
commit | 62c2194d6061c38570161d365262dc81361524b7 (patch) | |
tree | 07d5a06274ac06d8b5f33d410621d784442708ab | |
parent | 44dac9eae63223bce27d2a33bc6e43fd02c67923 (diff) | |
download | epiphany-55.tar.gz |
Use EPHY_FILE_HELPERS_TESTING_MODE in (almost) all tests55
The file helpers test should probably still use PRIVATE_PROFILE, since
that's what it's trying to test, although it could certainly be switched
just as well. Anyway, that test is careful enough not to muck with the
default profile dir, so it's probably safe.
Fixes #55.
-rw-r--r-- | tests/ephy-completion-model-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-download-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-embed-shell-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-embed-utils-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-encodings-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-gsb-service-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-migration-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-session-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-shell-test.c | 2 | ||||
-rw-r--r-- | tests/ephy-web-view-test.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/tests/ephy-completion-model-test.c b/tests/ephy-completion-model-test.c index 869d16b56..dc86112db 100644 --- a/tests/ephy-completion-model-test.c +++ b/tests/ephy-completion-model-test.c @@ -81,7 +81,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index b1421b77f..6d69b26f1 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -164,7 +164,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; diff --git a/tests/ephy-embed-shell-test.c b/tests/ephy-embed-shell-test.c index 74d9abe2e..6af89054e 100644 --- a/tests/ephy-embed-shell-test.c +++ b/tests/ephy-embed-shell-test.c @@ -112,7 +112,7 @@ main (int argc, char *argv[]) ephy_debug_init (); - if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { + if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; } diff --git a/tests/ephy-embed-utils-test.c b/tests/ephy-embed-utils-test.c index 7f184cfd5..64d6ee0b5 100644 --- a/tests/ephy-embed-utils-test.c +++ b/tests/ephy-embed-utils-test.c @@ -133,7 +133,7 @@ main (int argc, char *argv[]) guint i; gtk_test_init (&argc, &argv); - ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, NULL); + ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_TESTING_MODE, NULL); _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST); for (i = 0; i < G_N_ELEMENTS (tests_has_scheme); i++) { diff --git a/tests/ephy-encodings-test.c b/tests/ephy-encodings-test.c index 22fa0397e..d98465e0b 100644 --- a/tests/ephy-encodings-test.c +++ b/tests/ephy-encodings-test.c @@ -82,7 +82,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; diff --git a/tests/ephy-gsb-service-test.c b/tests/ephy-gsb-service-test.c index 516cb11de..d900491e4 100644 --- a/tests/ephy-gsb-service-test.c +++ b/tests/ephy-gsb-service-test.c @@ -263,7 +263,7 @@ main (int argc, char *argv[]) ephy_debug_init (); - ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, &error); + ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_TESTING_MODE, &error); if (error) { g_debug ("ephy_file_helpers_init() failed: %s\n", error->message); g_error_free (error); diff --git a/tests/ephy-migration-test.c b/tests/ephy-migration-test.c index c069585ee..68df02c60 100644 --- a/tests/ephy-migration-test.c +++ b/tests/ephy-migration-test.c @@ -53,7 +53,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; diff --git a/tests/ephy-session-test.c b/tests/ephy-session-test.c index cea634056..00822f60e 100644 --- a/tests/ephy-session-test.c +++ b/tests/ephy-session-test.c @@ -347,7 +347,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; diff --git a/tests/ephy-shell-test.c b/tests/ephy-shell-test.c index 01e3aa823..b6bac99a9 100644 --- a/tests/ephy-shell-test.c +++ b/tests/ephy-shell-test.c @@ -320,7 +320,7 @@ main (int argc, char *argv[]) ephy_debug_init (); - if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { + if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; } diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c index 42745840c..20f727975 100644 --- a/tests/ephy-web-view-test.c +++ b/tests/ephy-web-view-test.c @@ -456,7 +456,7 @@ main (int argc, char *argv[]) ephy_debug_init (); if (!ephy_file_helpers_init (NULL, - EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; |