mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-12-15 05:15:40 +00:00
* Add IAsyncDisposable support to mock generators Extend both GenerateMock and GenerateCapturingMock to support interfaces that inherit IAsyncDisposable, mirroring the existing IDisposable pattern. Changes: - Add IAsyncDisposable to KnownInheritance type - Detect IAsyncDisposable inheritance in interface parsing - Generate DisposeAsync field with ValueTask return type - Initialize DisposeAsync with completed ValueTask() in Empty mock - Implement System.IAsyncDisposable interface explicitly - Support interfaces inheriting both IDisposable and IAsyncDisposable Test cases added: - TypeWithAsyncDisposable: interface with only IAsyncDisposable - TypeWithBothDisposables: interface with both disposal interfaces 🤖 Generated with [Claude Code](https://claude.com/claude-code)
25 lines
397 B
JSON
25 lines
397 B
JSON
{
|
|
"version": 1,
|
|
"isRoot": true,
|
|
"tools": {
|
|
"fantomas": {
|
|
"version": "7.0.3",
|
|
"commands": [
|
|
"fantomas"
|
|
]
|
|
},
|
|
"fsharp-analyzers": {
|
|
"version": "0.34.1",
|
|
"commands": [
|
|
"fsharp-analyzers"
|
|
]
|
|
},
|
|
"woofware.nunittestrunner": {
|
|
"version": "0.3.9",
|
|
"commands": [
|
|
"woofware.nunittestrunner"
|
|
]
|
|
}
|
|
}
|
|
}
|