Jonathan Grynspan
Jonathan Grynspan
This issue tracks adding the equivalent of `AttachableAsCGImage` when using Qt. We presumably would want to add support for [`QImage`](https://doc.qt.io/qt-6/qimage.html) using [`QImage::save()`](https://doc.qt.io/qt-6/qimage.html#save-1). Problems to solve: - [ ] Qt is...
Adopt the newly-approved `@section` and `@used` attributes. We'll need fallback paths for 6.2 toolchains until 6.3 ships. See: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0492-section-control.md
Adopt `#if objectFormat()` in `_TestDiscovery` and in the `@Test`/`@Suite`/`#expect(processExitsWith:)` macro implementations. We'll need to wait a release (presumably until 6.4) to adopt because we can't write: ```swift #if objectFormat(ELF) //...
Add support for OpenBSD: - [x] Audit our platform-specific code and add branches for OpenBSD (mostly, but not entirely, the same as FreeBSD) - [x] Set up team workstations or...
This PR adds an experimental property to `Test.Case` to allow callers to get the test case's arguments as a type-erased array. For example: ```swift if let testCase = Test.Case.current {...
This issue tracks adding the equivalent of `AttachableAsCGImage` when using GTK. We presumably would want to add support for [`GdkPixbuf`](https://docs.gtk.org/gdk-pixbuf/class.Pixbuf.html) using [`gdk_pixbuf_save_to_bufferv()`](https://docs.gtk.org/gdk-pixbuf/method.Pixbuf.save_to_bufferv.html). Problems to solve: - [ ] GTK is...
This PR adopts typed throws (`throws(E)` instead of `throws`) in the `#expect()` and `#require()` macros' declarations and in their implementations. In particular, the return type of the implementation functions changes...
This PR adds an experimental helper library that contains a hook function called the "fallback event handler". When Swift Testing posts an event such as "issue recorded", but Swift Testing...
Consider relaxing `AttachableImageFormat.init(CLSID)` to allow other CLSIDs/GUIDs, specifically: - The GUID returned by [`IWICBitmapCodecInfo::GetContainerFormat()`](https://learn.microsoft.com/en-us/windows/win32/api/wincodec/nf-wincodec-iwicbitmapcodecinfo-getcontainerformat) - Constants such as [`GUID_ContainerFormatPng`](https://learn.microsoft.com/en-us/windows/win32/wic/-wic-guids-clsids#container-formats) (which presumably equal those returned by [`IWICBitmapCodecInfo::GetContainerFormat()`](https://learn.microsoft.com/en-us/windows/win32/api/wincodec/nf-wincodec-iwicbitmapcodecinfo-getcontainerformat) - CLSIDs for corresponding...
This issue tracks adding the equivalent of `AttachableAsCGImage` when using the Android NDK. We can likely use the C function [`AndroidBitmap_compress()`](https://developer.android.com/ndk/reference/group/bitmap#androidbitmap_compress) but Android's native image type, [`android.graphics.Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap), is a Java...