Commit 8bc6d91
Address review findings: fix tests, deduplicate JNI parsing
- Fix UCO attribute test to verify actual UnmanagedCallersOnlyAttribute
type name instead of just Assert.NotEmpty(attrs)
- Replace non-asserting NegativeEdgeCase Theory with three Facts that
each assert a specific expected behavior
- Remove duplicate SkipSingleType method; ParseParameterTypeStrings
now reuses ParseSingleType to advance the index
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2574cc1 commit 8bc6d91
File tree
2 files changed
+23
-31
lines changed- src/Microsoft.Android.Sdk.TrimmableTypeMap/Generator
- tests/Microsoft.Android.Sdk.TrimmableTypeMap.Tests/Generator
2 files changed
+23
-31
lines changedLines changed: 1 addition & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 88 | | |
108 | 89 | | |
109 | 90 | | |
| |||
Lines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
175 | 181 | | |
176 | | - | |
| 182 | + | |
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| |||
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
| 330 | + | |
| 331 | + | |
329 | 332 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
335 | 346 | | |
336 | 347 | | |
337 | 348 | | |
| |||
0 commit comments