diff options
author | Manuel Rego Casasnovas <rego@igalia.com> | 2013-03-13 00:41:27 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-13 02:20:07 +0800 |
commit | 3e7587c89c40f8031d64f126aec0c53bf47f0634 (patch) | |
tree | da89362115036bf1189375521a970cacef394978 /tests | |
parent | 6de928f0da88649212af2ea0c5d809053d454f84 (diff) | |
download | gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.gz gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.bz2 gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.lz gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.xz gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.zst gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.zip |
Fix download tests in WK2
Modify ephy_download_dispose to disconnect WebKitDownload from all the handlers.
https://bugzilla.gnome.org/show_bug.cgi?id=694579
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ephy-download-test.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index 7c92184d6..d2b986319 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -145,7 +145,6 @@ test_ephy_download_new_for_uri (Fixture *fixture, gconstpointer data) ephy_download_get_source_uri (fixture->download)); } -#ifndef HAVE_WEBKIT2 static void test_ephy_download_start (Fixture *fixture, gconstpointer data) { @@ -155,7 +154,6 @@ test_ephy_download_start (Fixture *fixture, gconstpointer data) ephy_download_start (fixture->download); g_main_loop_run (fixture->loop); } -#endif int main (int argc, char *argv[]) @@ -190,11 +188,9 @@ main (int argc, char *argv[]) g_test_add ("/embed/ephy-download/new_for_uri", Fixture, NULL, fixture_setup, test_ephy_download_new_for_uri, fixture_teardown); -#ifndef HAVE_WEBKIT2 g_test_add ("/embed/ephy-download/start", Fixture, NULL, fixture_setup, test_ephy_download_start, fixture_teardown); -#endif ret = g_test_run (); |