aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-02-22 09:04:54 +0800
committerXan Lopez <xan@igalia.com>2013-02-22 09:06:42 +0800
commit75da5fff3f4489dacf4ded6f012daa06af306709 (patch)
tree16248159f33a52af626cb364be2269af07af72ba /tests
parente5856473bd6d0455d054514555871b20a47fb3c5 (diff)
downloadgsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar.gz
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar.bz2
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar.lz
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar.xz
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.tar.zst
gsoc2013-epiphany-75da5fff3f4489dacf4ded6f012daa06af306709.zip
ephy-session-test: make tests pass
We delay session loads until tab map now, which won't happen in the tests. So take that into account for about: URIs, which are changed to ephy-about: only during the actual load process. We should make this work properly before 3.8
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-session-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ephy-session-test.c b/tests/ephy-session-test.c
index fb1ec63f4..01d10aa62 100644
--- a/tests/ephy-session-test.c
+++ b/tests/ephy-session-test.c
@@ -94,7 +94,7 @@ test_ephy_session_load (void)
g_assert (embed);
view = ephy_embed_get_web_view (embed);
g_assert (view);
- g_assert_cmpstr (ephy_web_view_get_address (view), ==, "ephy-about:memory");
+ g_assert_cmpstr (ephy_web_view_get_address (view), ==, "about:memory");
ephy_session_clear (session);
}
@@ -190,7 +190,7 @@ test_ephy_session_load_many_windows (void)
g_assert (embed);
view = ephy_embed_get_web_view (embed);
g_assert (view);
- g_assert_cmpstr (ephy_web_view_get_address (view), ==, "ephy-about:epiphany");
+ g_assert_cmpstr (ephy_web_view_get_address (view), ==, "about:epiphany");
}
ephy_session_clear (session);
@@ -224,7 +224,7 @@ open_uris_after_loading_session (const char** uris, int final_num_windows)
g_assert (embed);
view = ephy_embed_get_web_view (embed);
g_assert (view);
- g_assert_cmpstr (ephy_web_view_get_address (view), ==, "ephy-about:epiphany");
+ g_assert_cmpstr (ephy_web_view_get_address (view), ==, "about:epiphany");
}
/* Causing a session load here should not create new windows, since we