[webkit-changes] [WebKit/WebKit] 4ee7d1: Make it easier to test multiple types in IPCSerial...

Brady Eidson noreply at github.com
Thu Oct 26 15:40:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ee7d142938d4707c6e22dcc910e319f470449bb
      https://github.com/WebKit/WebKit/commit/4ee7d142938d4707c6e22dcc910e319f470449bb
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCSerialization.mm

  Log Message:
  -----------
  Make it easier to test multiple types in IPCSerialization, and use it to test NSURL and NSData
https://bugs.webkit.org/show_bug.cgi?id=263740
rdar://117548102

Reviewed by Alex Christensen.

This makes it much easier to add new types and to test them.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCSerialization.mm:
(ObjCHolderForTesting::valueAsID const):
(ObjCHolderForTesting::encode const):
(ObjCHolderForTesting::decode):
(operator==):
(BasicPingBackMessage::BasicPingBackMessage):
(TEST):

Canonical link: https://commits.webkit.org/269828@main




More information about the webkit-changes mailing list