5
5
use Biigle \Jobs \CloneImagesOrVideos ;
6
6
use Biigle \Jobs \ProcessNewVolumeFiles ;
7
7
use Biigle \MediaType ;
8
- use Biigle \Modules \Largo \Jobs \GenerateImageAnnotationPatch ;
9
- use Biigle \Modules \Largo \Jobs \GenerateVideoAnnotationPatch ;
8
+ use Biigle \Modules \Largo \Jobs \ProcessAnnotatedImage ;
9
+ use Biigle \Modules \Largo \Jobs \ProcessAnnotatedVideo ;
10
10
use Biigle \Tests \ImageAnnotationLabelTest ;
11
11
use Biigle \Tests \ImageAnnotationTest ;
12
12
use Biigle \Tests \ImageLabelTest ;
@@ -616,13 +616,13 @@ public function testHandleVolumeImages()
616
616
(new CloneImagesOrVideos ($ request , $ copy ))->handle ();
617
617
618
618
Queue::assertPushed (ProcessNewVolumeFiles::class);
619
- Queue::assertNotPushed (GenerateImageAnnotationPatch ::class);
619
+ Queue::assertNotPushed (ProcessAnnotatedImage ::class);
620
620
}
621
621
622
622
public function testHandleImageAnnotationPatches ()
623
623
{
624
- if (!class_exists (GenerateImageAnnotationPatch ::class)) {
625
- $ this ->markTestSkipped ('Requires ' .GenerateImageAnnotationPatch ::class);
624
+ if (!class_exists (ProcessAnnotatedImage ::class)) {
625
+ $ this ->markTestSkipped ('Requires ' .ProcessAnnotatedImage ::class);
626
626
}
627
627
628
628
// The target project.
@@ -647,15 +647,15 @@ public function testHandleImageAnnotationPatches()
647
647
]);
648
648
(new CloneImagesOrVideos ($ request , $ copy ))->handle ();
649
649
650
- // One job for the creation of the annotation and one job for GenerateImageAnnotationPatch
650
+ // One job for the creation of the annotation and one job for ProcessAnnotatedImage
651
651
Queue::assertPushed (ProcessNewVolumeFiles::class);
652
- Queue::assertPushed (GenerateImageAnnotationPatch ::class);
652
+ Queue::assertPushed (ProcessAnnotatedImage ::class);
653
653
}
654
654
655
655
public function testHandleVideoAnnotationPatches ()
656
656
{
657
- if (!class_exists (GenerateVideoAnnotationPatch ::class)) {
658
- $ this ->markTestSkipped ('Requires ' .GenerateVideoAnnotationPatch ::class);
657
+ if (!class_exists (ProcessAnnotatedVideo ::class)) {
658
+ $ this ->markTestSkipped ('Requires ' .ProcessAnnotatedVideo ::class);
659
659
}
660
660
661
661
// The target project.
@@ -680,8 +680,8 @@ public function testHandleVideoAnnotationPatches()
680
680
]);
681
681
(new CloneImagesOrVideos ($ request , $ copy ))->handle ();
682
682
683
- // One job for the creation of the annotation and one job for GenerateVideoAnnotationPatch
683
+ // One job for the creation of the annotation and one job for ProcessAnnotatedVideo
684
684
Queue::assertPushed (ProcessNewVolumeFiles::class);
685
- Queue::assertPushed (GenerateVideoAnnotationPatch ::class);
685
+ Queue::assertPushed (ProcessAnnotatedVideo ::class);
686
686
}
687
687
}
0 commit comments