Commit 4fd0a0f
Add 39 tests for FormShim dual-mode and WebFormsForm component (FritzAndFriends#533)
- FormShimTests.cs: 27 tests covering SSR (IFormCollection) and interactive
(Dictionary<string, StringValues>) modes for indexer, GetValues, AllKeys,
Count, ContainsKey, and SetFormData mutation
- WebFormsFormTests.razor: 12 bUnit tests for form rendering, Method/Action
parameters, ChildContent, HtmlAttributes, and default POST method
- Fix WebFormsForm.razor: add @inherits ComponentBase to prevent duplicate
CaptureUnmatchedValues from BaseWebFormsComponent via _Imports.razor
- Fix RequestShim.cs: disambiguate FormShim(null) constructor call
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f561482 commit 4fd0a0f
6 files changed
Lines changed: 779 additions & 3 deletions
File tree
- .squad
- agents/rogue
- decisions/inbox
- src
- BlazorWebFormsComponents.Test
- WebFormsForm
- BlazorWebFormsComponents
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments