Commit b6da782
Convert ComplexAsyncLoadUIExampleTest to UIThreadTestMethod
- Changed [TestMethod] to [UIThreadTestMethod]
- Removed EnqueueAsync wrapper
- Added CompositionTargetHelper.ExecuteAfterCompositionRenderingAsync() after LoadTestContentAsync
- Added CompositionTargetHelper.ExecuteAfterCompositionRenderingAsync() after UnloadTestContentAsync
- Added using CommunityToolkit.WinUI.Helpers for CompositionTargetHelper
Co-authored-by: michael-hawker <24302614+michael-hawker@users.noreply.github.com>1 parent 55b3ecf commit b6da782
1 file changed
Lines changed: 11 additions & 11 deletions
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
108 | 107 | | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | | - | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments