From 75da5fff3f4489dacf4ded6f012daa06af306709 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 22 Feb 2013 02:04:54 +0100 Subject: 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 --- tests/ephy-session-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3