RED-8701 - Move files to customer data repositories

- update unit tests with the new path to submodules for customer files
- remove customer files from project
This commit is contained in:
Corina Olariu
2024-04-22 14:06:56 +03:00
parent 7ed1632c6f
commit d55f245c5e
3 changed files with 7 additions and 7 deletions
@@ -50,9 +50,9 @@ public class OcrServiceIntegrationTest extends AbstractTest {
@Test
public void testOCRMetrics() {
testOCR("files/Watermark.pdf");
testOCR("files/Watermark.pdf");
testOCR("files/Watermark.pdf");
testOCR("files/syngenta/CustomerFiles/SinglePages/Watermark_Page1_10.SYN524464 FS (A16148C) - Absorção cutânea.pdf");
testOCR("files/syngenta/CustomerFiles/SinglePages/Watermark_Page1_10.SYN524464 FS (A16148C) - Absorção cutânea.pdf");
testOCR("files/syngenta/CustomerFiles/SinglePages/Watermark_Page1_10.SYN524464 FS (A16148C) - Absorção cutânea.pdf");
var ocrOnDocumentMeter = registry.getMeters().stream().filter(m -> m.getId().getName().equalsIgnoreCase("redactmanager_runOcrOnDocument")).findAny();
assertThat(ocrOnDocumentMeter.isPresent()).isTrue();
@@ -81,7 +81,7 @@ public class OcrServiceIntegrationTest extends AbstractTest {
@Test
public void testMergeImages() {
// check visually for most of the images containing text, the resulting text is kind of nonsense, just ensure it is there
String text = testOCR("files/merge_images.pdf");
String text = testOCR("files/syngenta/CustomerFiles/SinglePages/merge_images - Page241_18 Chlorothalonil RAR 08 Volume 3CA B 6a Oct 2017.pdf");
assertThat(text).contains("Bodyweight change of dams with live young - group mean values",
"Control",
"mg/g day",
@@ -101,7 +101,7 @@ public class OcrServiceIntegrationTest extends AbstractTest {
@Test
public void testOCRWatermark() {
assertThat(testOCR("files/Watermark.pdf")).contains("syngenta");
assertThat(testOCR("files/syngenta/CustomerFiles/SinglePages/Watermark_Page1_10.SYN524464 FS (A16148C) - Absorção cutânea.pdf")).contains("syngenta");
}