Changeset 87727 in webkit


Ignore:
Timestamp:
May 31, 2011 8:38:37 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-31 ChangeLog <james.cooley@nokia.com>

Reviewed by Andreas Kling.

[Qt][WK2] Qt port needs test content for QWKHistory
https://bugs.webkit.org/show_bug.cgi?id=57850

Created data-driven QTestLib tests for existing QWKHistory APIs.

This walks through loading four simple pages, navigating
backwards and forwards.

We check the results at each action by creating expected forward/back
lists and comparing those lists in count and membership to those kept by
WebKit and retrieved via the QWKHistory APIs.

  • UIProcess/API/qt/tests/html/a.htm: Added.
  • UIProcess/API/qt/tests/html/b.htm: Added.
  • UIProcess/API/qt/tests/html/c.htm: Added.
  • UIProcess/API/qt/tests/html/d.htm: Added. Four added simple pages
  • UIProcess/API/qt/tests/qwkhistory: Added.
  • UIProcess/API/qt/tests/qwkhistory/qwkhistory.pro: Added. Created qwkhistory folder and pro
  • UIProcess/API/qt/tests/qwkhistory/tst_qwkhistory.cpp: Added. (TestHistoryItem::title): (TestHistoryItem::url): (TestHistoryItem::TestHistoryItem): Utility class to hold expected url,title for test

(tst_QWKHistory::initTestCase):
(tst_QWKHistory::historyFBTest_data):
(tst_QWKHistory::historyFBTest):
init, data, and data-driven test case

  • UIProcess/API/qt/tests/tests.pro: Included qwkhistory in tests.pro
Location:
trunk/Source/WebKit2
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r87707 r87727  
     12011-05-31  ChangeLog  <james.cooley@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt][WK2] Qt port needs test content for QWKHistory
     6        https://bugs.webkit.org/show_bug.cgi?id=57850
     7
     8        Created data-driven QTestLib tests for existing QWKHistory APIs.
     9
     10        This walks through loading four simple pages, navigating
     11        backwards and forwards.
     12
     13        We check the results at each action by creating expected forward/back
     14        lists and comparing those lists in count and membership to those kept by
     15        WebKit and retrieved via the QWKHistory APIs.
     16
     17        * UIProcess/API/qt/tests/html/a.htm: Added.
     18        * UIProcess/API/qt/tests/html/b.htm: Added.
     19        * UIProcess/API/qt/tests/html/c.htm: Added.
     20        * UIProcess/API/qt/tests/html/d.htm: Added.
     21        Four added simple pages
     22
     23        * UIProcess/API/qt/tests/qwkhistory: Added.
     24        * UIProcess/API/qt/tests/qwkhistory/qwkhistory.pro: Added.
     25        Created qwkhistory folder and pro
     26
     27        * UIProcess/API/qt/tests/qwkhistory/tst_qwkhistory.cpp: Added.
     28        (TestHistoryItem::title):
     29        (TestHistoryItem::url):
     30        (TestHistoryItem::TestHistoryItem):
     31        Utility class to hold expected url,title for test
     32
     33        (tst_QWKHistory::initTestCase):
     34        (tst_QWKHistory::historyFBTest_data):
     35        (tst_QWKHistory::historyFBTest):
     36        init, data, and data-driven test case
     37
     38        * UIProcess/API/qt/tests/tests.pro:
     39        Included qwkhistory in tests.pro
     40
    1412011-05-30  No'am Rosenthal  <noam.rosenthal@nokia.com>
    242
  • trunk/Source/WebKit2/UIProcess/API/qt/tests/tests.pro

    r81237 r87727  
    11TEMPLATE = subdirs
    2 SUBDIRS = qgraphicswkview qwkpage
     2SUBDIRS = qgraphicswkview qwkpage qwkhistory
Note: See TracChangeset for help on using the changeset viewer.