Commit b37bbeb
committed
fix: handle SecondaryApp support test on WinUI 3
SecondaryApp.IsSupported returns true on Windows via
OperatingSystem.IsWindows(), but DevServer is intentionally excluded
on Windows/WinUI 3 (VS provides native Hot Reload instead).
The original #if __SKIA__ check was correct in spirit — SecondaryApp
cannot actually run tests on WinUI 3 due to missing DevServer — but
the assertion failed because IsSupported checks the OS, not DevServer
availability.
Changed the test to use #if HAS_UNO_DEVSERVER / __SKIA__ / else
branches that match the actual runtime capability instead of making
a hard true/false assertion that contradicts the property value.1 parent c8535d3 commit b37bbeb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments