@@ -14,7 +14,12 @@ public sealed class Core(TestContext testContext)
1414
1515 public async Task ValidateAsync ( string filePath )
1616 {
17- using var process = Process . Start ( ValidatorExePath , [ filePath ] ) ;
17+ using var process = Process . Start ( new ProcessStartInfo ( ValidatorExePath , [ filePath ] )
18+ {
19+ RedirectStandardError = true ,
20+ RedirectStandardOutput = true ,
21+ } ) ! ;
22+
1823 await process . WaitForExitAsync ( this . cancellationToken ) ;
1924 if ( process . ExitCode != 0 )
2025 {
@@ -61,17 +66,6 @@ public async Task Pack_BoxTextured()
6166 await this . ValidateAsync ( outputFilePath ) ;
6267 }
6368
64- [ TestMethod ]
65- public async Task Pack_LightsIES ( )
66- {
67- string [ ] filePaths = [ @"LightsIES\Example.gltf" , @"LightsIES\Example_bufferview.gltf" , @"LightsIES\Example_dataUri.gltf" ] ;
68- foreach ( var filePath in filePaths )
69- {
70- var outputFilePath = this . Unpack ( this . Pack ( filePath ) ) ;
71- await this . ValidateAsync ( outputFilePath ) ;
72- }
73- }
74-
7569 [ TestMethod ]
7670 public async Task Unpack_Box ( )
7771 {
@@ -87,10 +81,21 @@ public async Task Unpack_BoxTextured()
8781 }
8882
8983 [ TestMethod ]
90- public async Task Pack_And_Unpack_BoxTextured_Embedded ( )
84+ public async Task Pack_Unpack_BoxTextured_Embedded ( )
9185 {
9286 var outputFilePath = this . Unpack ( this . Pack ( @"BoxTextured\glTF-Embedded\BoxTextured.gltf" ) ) ;
9387 await this . ValidateAsync ( outputFilePath ) ;
9488 }
89+
90+ [ TestMethod ]
91+ public async Task Pack_Unpack_LightsIES ( )
92+ {
93+ string [ ] filePaths = [ @"LightsIES\Example.gltf" , @"LightsIES\Example_bufferview.gltf" , @"LightsIES\Example_dataUri.gltf" ] ;
94+ foreach ( var filePath in filePaths )
95+ {
96+ var outputFilePath = this . Unpack ( this . Pack ( filePath ) ) ;
97+ await this . ValidateAsync ( outputFilePath ) ;
98+ }
99+ }
95100 }
96101}
0 commit comments