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
Refactor AdvancedConsoleOutputRecorder to use ABI.EncodedEvent architecture (#1281)
### Key changes implemented:
* Event → ABI.EncodedEvent conversion: Using
ABI.EncodedEvent<ABI.HighestVersion>(encoding: event, in: eventContext,
messages: messages) for forward compatibility
* Extensible context storage system: Added Locked<Context> struct
containing test storage dictionary, designed for easy addition of result
data and other event information in future PRs
* Test discovery handling: Populates context storage during
testDiscovered events for later lookup by test ID string
ABI event processing: Added _processABIEvent() method with placeholder
switch statement ready for failure summary implementation
* Still delegates to fallback recorder to maintain existing
functionality while demonstrating ABI conversion flow
* Uses Event.HumanReadableOutputRecorder to generate messages that are
passed to ABI encoding
### 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.
0 commit comments