aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2013-09-01 23:21:48 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2013-09-01 23:41:39 +0800
commit34afe1abf5cf55bac45cfcbbc544d8b41e8d8343 (patch)
treede85c91aebb6051953c7e65834bf6c271c4877cf
parent8f84cb58571f369e83f969acd668438a89cdb62a (diff)
downloadgsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar.gz
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar.bz2
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar.lz
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar.xz
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.tar.zst
gsoc2013-epiphany-34afe1abf5cf55bac45cfcbbc544d8b41e8d8343.zip
test-ephy-web-view: change search url to DDG
This is hardcoded here and necessary for the test to pass.
-rw-r--r--tests/ephy-web-view-test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index 62b4ef2e2..1c1e1d878 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -275,7 +275,7 @@ test_ephy_web_view_non_search_regex (void)
g_regex_unref (regex_domain);
}
-/* FIXME: we hardcode the google search for now, since it's the
+/* FIXME: we hardcode the ddg search for now, since it's the
* default. */
static struct {
char *url;
@@ -284,15 +284,15 @@ static struct {
{ "google.com", "http://google.com" },
{ "http://google.com", "http://google.com" },
{ "http://google.com/this/is/a/path", "http://google.com/this/is/a/path" },
- { "search", "http://www.google.com/search?q=search&ie=UTF-8&oe=UTF-8" },
+ { "search", "http://duckduckgo.com/?q=search&t=epiphany" },
{ "search.me", "http://search.me" },
- { "lala.lala", "http://www.google.com/search?q=lala%2Elala&ie=UTF-8&oe=UTF-8" },
+ { "lala.lala", "http://duckduckgo.com/?q=lala%2Elala&t=epiphany" },
{ "127.0.0.1", "http://127.0.0.1" },
{ "http://127.0.0.1", "http://127.0.0.1" },
- { "totalgarbage0xdeadbeef", "http://www.google.com/search?q=totalgarbage0xdeadbeef&ie=UTF-8&oe=UTF-8" },
+ { "totalgarbage0xdeadbeef", "http://duckduckgo.com/?q=totalgarbage0xdeadbeef&t=epiphany" },
{ "planet.gnome.org", "http://planet.gnome.org" },
- { "search separated words please", "http://www.google.com/search?q=search+separated+words+please&ie=UTF-8&oe=UTF-8" },
- { "\"a quoted string should be searched\"", "http://www.google.com/search?q=%22a+quoted+string+should+be+searched%22&ie=UTF-8&oe=UTF-8" }
+ { "search separated words please", "http://duckduckgo.com/?q=search+separated+words+please&t=epiphany" },
+ { "\"a quoted string should be searched\"", "http://duckduckgo.com/?q=%22a+quoted+string+should+be+searched%22&t=epiphany" }
};
static void