Commit 26e4f18
Trim UpdateDevice throw-test to the throw contract
The post-Disable frame + GetPlatformInfo assertion was demonstrating the canonical
UpdateDevice usage sequence, which is what TEST(Device, UpdateDevice) in BabylonJS#1687
does. The throw-test should focus on the throw contract only:
- permitted pre-init
- throws after EnableRendering
- permitted again after DisableRendering
[Created by Copilot on behalf of @bghgary]
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5e25e2d commit 26e4f18
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 142 | | |
0 commit comments