Changeset 166242 in webkit


Ignore:
Timestamp:
Mar 25, 2014 12:48:15 PM (10 years ago)
Author:
aestes@apple.com
Message:

Add some debug logging to an API test that's failing on Mountain Lion.

  • TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:

(-[DownloadDelegate _download:didReceiveResponse:]):
(-[DownloadDelegate _downloadDidFinish:]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r166241 r166242  
     12014-03-25  Andy Estes  <aestes@apple.com>
     2
     3        Add some debug logging to an API test that's failing on Mountain Lion.
     4
     5        * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
     6        (-[DownloadDelegate _download:didReceiveResponse:]):
     7        (-[DownloadDelegate _downloadDidFinish:]):
     8
    192014-03-25  Anders Carlsson  <andersca@apple.com>
    210
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm

    r166186 r166242  
    7979- (void)_download:(_WKDownload *)download didReceiveResponse:(NSURLResponse *)response
    8080{
     81    NSLog(@"[response sourceURL]: %@\n", [response URL]);
     82    NSLog(@"[self sourceURL]: %@\n", [self sourceURL]);
    8183    EXPECT_EQ(_download, download);
    8284    EXPECT_TRUE(_expectedContentLength == 0);
     
    107109- (void)_downloadDidFinish:(_WKDownload *)download
    108110{
     111    NSLog(@"_expectedContentLength: %lld\n", _expectedContentLength);
     112    NSLog(@"_receivedContentLength: %llu\n", _receivedContentLength);
    109113    EXPECT_EQ(_download, download);
    110114    EXPECT_TRUE(_expectedContentLength == NSURLResponseUnknownLength || static_cast<uint64_t>(_expectedContentLength) == _receivedContentLength);
Note: See TracChangeset for help on using the changeset viewer.