[epiphany] ephy-embed-single-test: skip form auth test in WebKit2



commit c0d29768abbf6c740c243a464167df7366243590
Author: Xan Lopez <xan igalia com>
Date:   Mon Mar 18 20:02:50 2013 +0100

    ephy-embed-single-test: skip form auth test in WebKit2
    
    This is done differently for WebKit2, so this test won't work.

 tests/ephy-embed-single-test.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-embed-single-test.c b/tests/ephy-embed-single-test.c
index 80a54bc..be6c0ca 100644
--- a/tests/ephy-embed-single-test.c
+++ b/tests/ephy-embed-single-test.c
@@ -52,6 +52,7 @@ test_embed_single_get_from_shell (void)
   g_assert (EPHY_IS_EMBED_SINGLE (single));
 }
 
+#ifndef HAVE_WEBKIT2
 static void
 test_embed_single_form_auth (void)
 {
@@ -76,6 +77,7 @@ test_embed_single_form_auth (void)
 
   g_object_unref (single);
 }
+#endif
 
 int
 main (int argc, char *argv[])
@@ -99,8 +101,10 @@ main (int argc, char *argv[])
                    test_embed_single_new);
   g_test_add_func ("/embed/ephy-embed-single/get_from_shell",
                    test_embed_single_get_from_shell);
+#ifndef HAVE_WEBKIT2
   g_test_add_func ("/embed/ephy-embed-single/form_auth",
                    test_embed_single_form_auth);
+#endif
 
   ret = g_test_run ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]