swiftlang / swift-corelibs-xctest

The XCTest Project, A Swift core library for providing unit test support
swift.org
Apache License 2.0
1.15k stars 267 forks source link

XCTestCase.fulfillment(…) missing on Linux #436 #453

Closed grynspan closed 1 year ago

grynspan commented 1 year ago

This change implements fulfillment(of:) as found in Xcode's version of XCTest. The implementation, while (and I'm using a technical term here) ridiculous, is equivalent to the Xcode 14.3 implementation.

Resolves #436.

grynspan commented 1 year ago

@swift-ci please test

grynspan commented 1 year ago

@swift-ci please test

grynspan commented 1 year ago

@swift-ci please test Windows

grynspan commented 1 year ago

@swift-ci please clean test Windows

grynspan commented 1 year ago

@swift-ci please test

grynspan commented 1 year ago

One more minor nit: this is not Linux only - it impacts Windows as well. I'd prefer "non-Darwin platforms" over "Linux".

You're right of course—I just stole the title from the reported issue. :)

grynspan commented 1 year ago

@swift-ci please test

grynspan commented 1 year ago

@swift-ci please clean test Windows

briancroom commented 1 year ago

Thank you for making this happen!