Changeset 226782 in webkit


Ignore:
Timestamp:
Jan 11, 2018 8:23:53 AM (6 years ago)
Author:
Ms2ger@igalia.com
Message:

Test gardening for GTK.
https://bugs.webkit.org/show_bug.cgi?id=181477

Unreviewed test gardening.

Tools:

  • TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: Correct the file name.
  • TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp: Adjust the expected console message.

LayoutTests:

  • http/tests/performance/performance-resource-timing-cached-entries-expected.txt:
  • http/tests/performance/performance-resource-timing-cached-entries.html: The code to debug this test's flakiness made it more flaky, as the resources are not logged in a consistent order. This ensures they are logged only in case of failure.
  • platform/gtk/TestExpectations:
    • svg/custom/non-scaling-stroke.svg was fixed in r226443.
    • imported/w3c/web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-001.html was fixed in r226404.
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r226777 r226782  
     12018-01-11  Ms2ger  <Ms2ger@igalia.com>
     2
     3        Test gardening for GTK.
     4        https://bugs.webkit.org/show_bug.cgi?id=181477
     5
     6        Unreviewed test gardening.
     7
     8        * http/tests/performance/performance-resource-timing-cached-entries-expected.txt:
     9        * http/tests/performance/performance-resource-timing-cached-entries.html:
     10          The code to debug this test's flakiness made it more flaky, as the
     11          resources are not logged in a consistent order. This ensures they are
     12          logged only in case of failure.
     13        * platform/gtk/TestExpectations:
     14          - svg/custom/non-scaling-stroke.svg was fixed in r226443.
     15          - imported/w3c/web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-001.html
     16            was fixed in r226404.
     17
    1182018-01-11  Miguel Gomez  <magomez@igalia.com>
    219
  • trunk/LayoutTests/http/tests/performance/performance-resource-timing-cached-entries-expected.txt

    r212150 r226782  
    11CONSOLE MESSAGE: line 9: current entries: 0
    2 CONSOLE MESSAGE: line 18: entry: http://127.0.0.1:8000/resources/js-test-pre.js
    3 CONSOLE MESSAGE: line 18: entry: http://127.0.0.1:8000/resources/square100.png
    4 CONSOLE MESSAGE: line 18: entry: http://127.0.0.1:8000/resources/square100.png
    5 PASS foundResource is 2
     2PASS foundResources.length is 2
    63
  • trunk/LayoutTests/http/tests/performance/performance-resource-timing-cached-entries.html

    r212150 r226782  
    1212<img src="../../resources/square100.png">
    1313<script>
    14     var foundResource = 0;
     14    var foundResources = [];
    1515    var runTest = function() {
    1616        var resources = performance.getEntriesByType('resource');
    1717        for (var i = 0; i < resources.length; ++i) {
    18             console.log("entry: " + resources[i].name);
    1918            if (resources[i].name.indexOf("square") != -1)
    20                 ++foundResource;
     19                foundResources.push(resources[i].name);
    2120        };
    22         shouldBe("foundResource", "2");
     21        shouldBe("foundResources.length", "2");
     22        if (foundResources.length !== 2) {
     23            console.log(foundResources);
     24        }
    2325        if (window.testRunner)
    2426            testRunner.notifyDone();
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r226777 r226782  
    25882588webkit.org/b/81320 editing/pasteboard/copy-two-pasteboard-types-both-work.html [ Failure ]
    25892589
    2590 webkit.org/b/86971 svg/custom/non-scaling-stroke.svg [ Failure ]
    2591 
    25922590webkit.org/b/84679 css3/zoom-coords.xhtml [ Failure ]
    25932591
     
    26892687webkit.org/b/180581 css3/shapes/shape-outside/values/shape-outside-polygon-004.html [ Failure ]
    26902688webkit.org/b/180581 css3/shapes/shape-outside/values/shape-outside-shape-arguments-000.html [ Failure ]
    2691 webkit.org/b/180581 imported/w3c/web-platform-tests/css/css-shapes-1/shape-outside/values/shape-margin-001.html [ Failure ]
    26922689webkit.org/b/180581 imported/w3c/web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-004.html [ Failure ]
    26932690webkit.org/b/180581 imported/w3c/web-platform-tests/css/css-shapes-1/shape-outside/values/shape-outside-circle-005.html [ Failure ]
  • trunk/Tools/ChangeLog

    r226780 r226782  
     12018-01-11  Ms2ger  <Ms2ger@igalia.com>
     2
     3        Test gardening for GTK.
     4        https://bugs.webkit.org/show_bug.cgi?id=181477
     5
     6        Unreviewed test gardening.
     7
     8        * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: Correct the file name.
     9        * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp: Adjust the expected console message.
     10
    1112018-01-11  Carlos Alberto Lopez Perez  <clopez@igalia.com>
    212
  • trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp

    r220903 r226782  
    411411    kServer->run(serverCallback);
    412412
    413     AuthenticationTest::add("WebKitWebView", "authentication-request", testWebViewAuthenticationRequest);
    414     AuthenticationTest::add("WebKitWebView", "authentication-cancel", testWebViewAuthenticationCancel);
    415     AuthenticationTest::add("WebKitWebView", "authentication-load-cancelled", testWebViewAuthenticationLoadCancelled);
    416     AuthenticationTest::add("WebKitWebView", "authentication-success", testWebViewAuthenticationSuccess);
    417     AuthenticationTest::add("WebKitWebView", "authentication-failure", testWebViewAuthenticationFailure);
    418     AuthenticationTest::add("WebKitWebView", "authentication-no-credential", testWebViewAuthenticationNoCredential);
    419     AuthenticationTest::add("WebKitWebView", "authentication-storage", testWebViewAuthenticationStorage);
    420     AuthenticationTest::add("WebKitWebView", "authentication-empty-realm", testWebViewAuthenticationEmptyRealm);
    421     ProxyAuthenticationTest::add("WebKitWebView", "authentication-proxy", testWebViewAuthenticationProxy);
    422     ProxyAuthenticationTest::add("WebKitWebView", "authentication-proxy-https", testWebViewAuthenticationProxyHTTPS);
     413    AuthenticationTest::add("Authentication", "authentication-request", testWebViewAuthenticationRequest);
     414    AuthenticationTest::add("Authentication", "authentication-cancel", testWebViewAuthenticationCancel);
     415    AuthenticationTest::add("Authentication", "authentication-load-cancelled", testWebViewAuthenticationLoadCancelled);
     416    AuthenticationTest::add("Authentication", "authentication-success", testWebViewAuthenticationSuccess);
     417    AuthenticationTest::add("Authentication", "authentication-failure", testWebViewAuthenticationFailure);
     418    AuthenticationTest::add("Authentication", "authentication-no-credential", testWebViewAuthenticationNoCredential);
     419    AuthenticationTest::add("Authentication", "authentication-storage", testWebViewAuthenticationStorage);
     420    AuthenticationTest::add("Authentication", "authentication-empty-realm", testWebViewAuthenticationEmptyRealm);
     421    ProxyAuthenticationTest::add("Authentication", "authentication-proxy", testWebViewAuthenticationProxy);
     422    ProxyAuthenticationTest::add("Authentication", "authentication-proxy-https", testWebViewAuthenticationProxyHTTPS);
    423423}
    424424
  • trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp

    r218743 r226782  
    126126{
    127127    ConsoleMessageTest::ConsoleMessage referenceMessage = { ConsoleMessageTest::MessageSource::Network, ConsoleMessageTest::MessageLevel::Error,
    128         "Failed to load resource: The resource at “/org/webkit/glib/tests/not-found.css” does not exist", 0, "resource:///org/webkit/glib/tests/not-found.css" };
     128        "Failed to load resource: The resource at '/org/webkit/glib/tests/not-found.css' does not exist", 0, "resource:///org/webkit/glib/tests/not-found.css" };
    129129    test->loadHtml("<html><head><link rel='stylesheet' href='not-found.css' type='text/css'></head><body></body></html>", "resource:///org/webkit/glib/tests/");
    130130    test->waitUntilConsoleMessageReceived();
Note: See TracChangeset for help on using the changeset viewer.