Commit 978d7758 authored by jmalonzo@webkit.org's avatar jmalonzo@webkit.org
Browse files

2009-03-20 Jan Michael Alonzo <jmalonzo@gmail.com>

        Not reviewed. Fix style issues with my previous commit (r41866) as
        suggested by Holger in https://bugs.webkit.org/show_bug.cgi?id=24493

        * tests/testwebhistoryitem.c:
        (test_webkit_web_history_item_get_data):
        (test_webkit_web_history_item_alternate_title):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cd169898
2009-03-20 Jan Michael Alonzo <jmalonzo@gmail.com>
Not reviewed. Fix style issues with my previous commit (r41866) as
suggested by Holger in https://bugs.webkit.org/show_bug.cgi?id=24493
* tests/testwebhistoryitem.c:
(test_webkit_web_history_item_get_data):
(test_webkit_web_history_item_alternate_title):
2009-03-20 Jan Michael Alonzo <jmalonzo@gmail.com>
Reviewed by Holger Freyther.
......
......@@ -44,17 +44,15 @@ static void web_history_item_fixture_teardown(WebHistoryItemFixture* fixture,
g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, ==, 1);
}
static void
test_webkit_web_history_item_get_data(WebHistoryItemFixture* fixture,
gconstpointer data)
static void test_webkit_web_history_item_get_data(WebHistoryItemFixture* fixture,
gconstpointer data)
{
g_assert_cmpstr(webkit_web_history_item_get_title(fixture->item), ==, "Example1");
g_assert_cmpstr(webkit_web_history_item_get_uri(fixture->item), ==, "http://example.com/");
}
static void
test_webkit_web_history_item_alternate_title(WebHistoryItemFixture* fixture,
gconstpointer data)
static void test_webkit_web_history_item_alternate_title(WebHistoryItemFixture* fixture,
gconstpointer data)
{
webkit_web_history_item_set_alternate_title(fixture->item, "Alternate title");
g_assert_cmpstr(webkit_web_history_item_get_alternate_title(fixture->item), ==, "Alternate title");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment