@@ -423,11 +423,11 @@ public void testProbeDefaultArguments() throws IOException {
423
423
424
424
verify (runFunc , times (2 )).run (argsCaptor .capture ());
425
425
426
- List <String > value = argsCaptor .getValue ();
426
+ List <String > value = argsCaptor .getValue (). subList ( 1 , argsCaptor . getValue (). size ()) ;
427
427
428
428
assertThat (
429
429
value ,
430
- is (ImmutableList .of ("ffprobe" , " -v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
430
+ is (ImmutableList .of ("-v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
431
431
);
432
432
}
433
433
@@ -437,11 +437,11 @@ public void testProbeProbeBuilder() throws IOException {
437
437
438
438
verify (runFunc , times (2 )).run (argsCaptor .capture ());
439
439
440
- List <String > value = argsCaptor .getValue ();
440
+ List <String > value = argsCaptor .getValue (). subList ( 1 , argsCaptor . getValue (). size ()) ;
441
441
442
442
assertThat (
443
443
value ,
444
- is (ImmutableList .of ("ffprobe" , " -v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
444
+ is (ImmutableList .of ("-v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
445
445
);
446
446
}
447
447
@@ -451,11 +451,11 @@ public void testProbeProbeBuilderBuilt() throws IOException {
451
451
452
452
verify (runFunc , times (2 )).run (argsCaptor .capture ());
453
453
454
- List <String > value = argsCaptor .getValue ();
454
+ List <String > value = argsCaptor .getValue (). subList ( 1 , argsCaptor . getValue (). size ()) ;
455
455
456
456
assertThat (
457
457
value ,
458
- is (ImmutableList .of ("ffprobe" , " -v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
458
+ is (ImmutableList .of ("-v" , "quiet" , "-print_format" , "json" , "-show_error" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
459
459
);
460
460
}
461
461
@@ -465,11 +465,11 @@ public void testProbeProbeExtraArgs() throws IOException {
465
465
466
466
verify (runFunc , times (2 )).run (argsCaptor .capture ());
467
467
468
- List <String > value = argsCaptor .getValue ();
468
+ List <String > value = argsCaptor .getValue (). subList ( 1 , argsCaptor . getValue (). size ()) ;
469
469
470
470
assertThat (
471
471
value ,
472
- is (ImmutableList .of ("ffprobe" , " -v" , "quiet" , "-print_format" , "json" , "-show_error" , "-rw_timeout" , "0" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
472
+ is (ImmutableList .of ("-v" , "quiet" , "-print_format" , "json" , "-show_error" , "-rw_timeout" , "0" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
473
473
);
474
474
}
475
475
@@ -479,11 +479,11 @@ public void testProbeProbeUserAgent() throws IOException {
479
479
480
480
verify (runFunc , times (2 )).run (argsCaptor .capture ());
481
481
482
- List <String > value = argsCaptor .getValue ();
482
+ List <String > value = argsCaptor .getValue (). subList ( 1 , argsCaptor . getValue (). size ()) ;
483
483
484
484
assertThat (
485
485
value ,
486
- is (ImmutableList .of ("ffprobe" , " -v" , "quiet" , "-print_format" , "json" , "-show_error" , "-user_agent" , "ffmpeg-cli-wrapper" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
486
+ is (ImmutableList .of ("-v" , "quiet" , "-print_format" , "json" , "-show_error" , "-user_agent" , "ffmpeg-cli-wrapper" , "-show_format" , "-show_streams" , "-show_chapters" , Samples .always_on_my_mind ))
487
487
);
488
488
}
489
489
}
0 commit comments