[webkit-changes] [WebKit/WebKit] 2b2023: [WGSL] Remove XCTest-based unit tests

Dan Glastonbury noreply at github.com
Wed Sep 28 03:07:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2b202352430fbe90c22f8dca2b6285aaae048dbb
      https://github.com/WebKit/WebKit/commit/2b202352430fbe90c22f8dca2b6285aaae048dbb
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    R Source/WebGPU/Configurations/WGSLUnitTests.xcconfig
    R Source/WebGPU/WGSLUnitTests/Parser/ConstLiteralTests.mm
    R Source/WebGPU/WGSLUnitTests/WGSLLexerTests.mm
    R Source/WebGPU/WGSLUnitTests/WGSLParserTests.mm
    M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WGSL/ConstLiteralTests.cpp
    M Tools/TestWebKitAPI/Tests/WGSL/LexerTests.cpp
    M Tools/TestWebKitAPI/Tests/WGSL/ParserTests.cpp

  Log Message:
  -----------
  [WGSL] Remove XCTest-based unit tests
https://bugs.webkit.org/show_bug.cgi?id=245714
rdar://problem/100439888

Reviewed by Myles Maxfield.

Move the last set of tests for constant literals to gtest and remove
XCTest-based tests in WebGPU project.

* Source/WebGPU/Configurations/WGSLUnitTests.xcconfig: Removed.
* Source/WebGPU/WGSLUnitTests/WGSLLexerTests.mm: Removed.
* Source/WebGPU/WGSLUnitTests/WGSLParserTests.mm: Removed.
* Source/WebGPU/WebGPU.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WGSL/ConstLiteralTests.cpp: Renamed from Source/WebGPU/WGSLUnitTests/Parser/ConstLiteralTests.mm.
(parseLCharPrimaryExpression):
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list