Changeset 116460 in webkit


Ignore:
Timestamp:
May 8, 2012 3:45:10 PM (12 years ago)
Author:
tony@chromium.org
Message:

move listener_leak_test to webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=85922

Reviewed by Ojan Vafai.

Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
All I did was change the style and use the FrameTestHelper to load the file.

  • WebKit.gyp: Exclude file in components build.
  • WebKit.gypi: Add new file.
  • tests/ListenerLeakTest.cpp: Added.

(WebKit):
(WebKit::GetProperty):
(WebKit::GetNumObjects):
(ListenerLeakTest):
(WebKit::ListenerLeakTest::ListenerLeakTest):
(WebKit::ListenerLeakTest::RunTest):
(WebKit::TEST_F):

  • tests/data/listener/listener_leak1.html: Added.
  • tests/data/listener/listener_leak2.html: Added.
Location:
trunk/Source/WebKit/chromium
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r116456 r116460  
     12012-05-08  Tony Chang  <tony@chromium.org>
     2
     3        move listener_leak_test to webkit_unit_tests
     4        https://bugs.webkit.org/show_bug.cgi?id=85922
     5
     6        Reviewed by Ojan Vafai.
     7
     8        Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
     9        All I did was change the style and use the FrameTestHelper to load the file.
     10
     11        * WebKit.gyp: Exclude file in components build.
     12        * WebKit.gypi: Add new file.
     13        * tests/ListenerLeakTest.cpp: Added.
     14        (WebKit):
     15        (WebKit::GetProperty):
     16        (WebKit::GetNumObjects):
     17        (ListenerLeakTest):
     18        (WebKit::ListenerLeakTest::ListenerLeakTest):
     19        (WebKit::ListenerLeakTest::RunTest):
     20        (WebKit::TEST_F):
     21        * tests/data/listener/listener_leak1.html: Added.
     22        * tests/data/listener/listener_leak2.html: Added.
     23
    1242012-05-08  W. James MacLean  <wjmaclean@chromium.org>
    225
  • trunk/Source/WebKit/chromium/WebKit.gyp

    r116433 r116460  
    739739                                'tests/FrameTestHelpers.cpp',
    740740                                'tests/LevelDBTest.cpp',
     741                                'tests/ListenerLeakTest.cpp',
    741742                                'tests/PopupMenuTest.cpp',
    742743                                'tests/RenderTableCellTest.cpp',
  • trunk/Source/WebKit/chromium/WebKit.gypi

    r116456 r116460  
    116116            'tests/LevelDBTest.cpp',
    117117            'tests/LinkHighlightTest.cpp',
     118            'tests/ListenerLeakTest.cpp',
    118119            'tests/LocalizedNumberICUTest.cpp',
    119120            'tests/MockCCQuadCuller.h',
Note: See TracChangeset for help on using the changeset viewer.