Title: [129900] trunk/Source/WebKit2
Revision
129900
Author
[email protected]
Date
2012-09-28 08:40:58 -0700 (Fri, 28 Sep 2012)

Log Message

[EFL] Unreviewed test fixes after r129892.

* UIProcess/API/efl/tests/test_ewk2_context.cpp:
(TEST_F): Fix a copy&paste error that changed the test
expectations.
* UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp:
(TEST_F): Revert the change here since it was already in the right
format before.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (129899 => 129900)


--- trunk/Source/WebKit2/ChangeLog	2012-09-28 15:31:00 UTC (rev 129899)
+++ trunk/Source/WebKit2/ChangeLog	2012-09-28 15:40:58 UTC (rev 129900)
@@ -1,3 +1,14 @@
+2012-09-28  Raphael Kubo da Costa  <[email protected]>
+
+        [EFL] Unreviewed test fixes after r129892.
+
+        * UIProcess/API/efl/tests/test_ewk2_context.cpp:
+        (TEST_F): Fix a copy&paste error that changed the test
+        expectations.
+        * UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp:
+        (TEST_F): Revert the change here since it was already in the right
+        format before.
+
 2012-09-28  Jinwoo Song  <[email protected]>
 
         [EFL][WK2] Some expected and actual parameters in unit tests are reversed

Modified: trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp (129899 => 129900)


--- trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp	2012-09-28 15:31:00 UTC (rev 129899)
+++ trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp	2012-09-28 15:40:58 UTC (rev 129900)
@@ -168,7 +168,7 @@
 TEST_F(EWK2UnitTestBase, ewk_context_ref)
 {
     Ewk_Context* context = ewk_context_new();
-    ASSERT_EQ(ewk_context_ref(context), context);
+    ASSERT_EQ(context, ewk_context_ref(context));
     ewk_context_unref(context);
     ewk_context_unref(context);
 }

Modified: trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp (129899 => 129900)


--- trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp	2012-09-28 15:31:00 UTC (rev 129899)
+++ trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp	2012-09-28 15:40:58 UTC (rev 129900)
@@ -209,7 +209,7 @@
 
     cookiesChanged = false;
     ewk_cookie_manager_persistent_storage_set(cookieManager, textStorage2, EWK_COOKIE_PERSISTENT_STORAGE_TEXT);
-    ASSERT_EQ(2, countHostnamesWithCookies(cookieManager));
+    ASSERT_EQ(0, countHostnamesWithCookies(cookieManager));
 
     ewk_cookie_manager_persistent_storage_set(cookieManager, textStorage1, EWK_COOKIE_PERSISTENT_STORAGE_TEXT);
     ASSERT_EQ(2, countHostnamesWithCookies(cookieManager));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to