Skip to content

Conversation

grynspan
Copy link
Contributor

No description provided.

@grynspan grynspan added the TWG Contains topics under the domain of the Testing Workgroup label Aug 14, 2025
grynspan added a commit to swiftlang/swift-testing that referenced this pull request Aug 14, 2025
This PR tweaks the Windows image attachments API to match what is proposed in
swiftlang/swift-evolution#2940.
@grynspan grynspan force-pushed the jgrynspan/windows-image-attachments branch 5 times, most recently from b70ceb4 to 67f15a2 Compare August 15, 2025 16:08
grynspan added a commit to swiftlang/swift-testing that referenced this pull request Aug 15, 2025
)

This PR tweaks the Windows image attachments API to match what is
proposed in swiftlang/swift-evolution#2940.

### 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.
@grynspan grynspan force-pushed the jgrynspan/windows-image-attachments branch from 67f15a2 to b30b24a Compare August 18, 2025 18:29
@grynspan grynspan changed the title [WIP] [ST-NNNN] Swift Testing image attachments (Windows) [ST-NNNN] Swift Testing image attachments (Windows) Aug 29, 2025
/// the documentation for the [`IWICBitmapEncoder`](https://learn.microsoft.com/en-us/windows/win32/api/wincodec/nn-wincodec-iwicbitmapencoder)
/// class.
public init(_ clsid: CLSID, encodingQuality: Float = 1.0)
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should also add support for creating an instance of this type from a container format GUID:

public init(containerFormatGUID guid: GUID, encodingQuality: Float = 1.0)

See swiftlang/swift-testing#1294

@grynspan grynspan force-pushed the jgrynspan/windows-image-attachments branch from cd7ffd5 to f3dab6f Compare September 2, 2025 15:33
@grynspan grynspan force-pushed the jgrynspan/windows-image-attachments branch from f3dab6f to 21553ea Compare September 2, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TWG Contains topics under the domain of the Testing Workgroup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant