You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR applies the changes from
[ST-0017](swiftlang/swift-evolution#2985). It
merges `AttachableAsCGImage` and `AttachableAsIWICBitmapSource` into a
single `AttachableAsImage` protocol and it adjusts the interfaces of
`AttachableImageFormat` and `Attachment where AttachableValue:
AttachableAsImage`.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
/// | Windows | [`HBITMAP`](https://learn.microsoft.com/en-us/windows/win32/gdi/bitmaps), [`HICON`](https://learn.microsoft.com/en-us/windows/win32/menurc/icons), [`IWICBitmapSource`](https://learn.microsoft.com/en-us/windows/win32/api/wincodec/nn-wincodec-iwicbitmapsource) (including its subclasses declared by Windows Imaging Component) |
31
-
///
32
-
/// You do not generally need to add your own conformances to this protocol. If
33
-
/// you have an image in another format that needs to be attached to a test,
34
-
/// first convert it to an instance of one of the types above.
35
-
///
36
-
/// @Metadata {
37
-
/// @Available(Swift, introduced: 6.3)
38
-
/// }
20
+
/// This protocol is not part of the public interface of the testing library. It
21
+
/// encapsulates Apple-specific logic for image attachments.
0 commit comments