Commit b93f6a4
authored
Moved HANDLE management to Test Class Constructor and Destructor (microsoft#7357)
Test class `ShaderOpTest` had a `HANDLE` not closed after `RunShaderOp`
test ran.
Created a constructor and destructor for the Test Class to manage the
`HANDLE`.1 parent 0beaa76 commit b93f6a4
File tree
2 files changed
+12
-4
lines changed- tools/clang/unittests/HLSLExec
2 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
261 | 270 | | |
262 | 271 | | |
263 | 272 | | |
| |||
423 | 432 | | |
424 | 433 | | |
425 | 434 | | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | 435 | | |
431 | 436 | | |
432 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
278 | 281 | | |
279 | 282 | | |
280 | 283 | | |
| |||
0 commit comments