test for ADS 276

master
Alessia Bardi 1 year ago
parent b3524feb9d
commit 4642e77a0c

@ -41,9 +41,23 @@ public class GraphDbReaderAndESIndexTest {
String datasource = "ads";
String apiId = "1093";
readAndIndexTest(false, coll, datasource, apiId);
readAndIndexTest(false, record1, datasource, apiId);
readAndIndexTest(false, record2, datasource, apiId);
readAndIndexTest(false, record3, datasource, apiId);
readAndIndexTest(true, record1, datasource, apiId);
readAndIndexTest(true, record2, datasource, apiId);
readAndIndexTest(true, record3, datasource, apiId);
}
@Test
public void testADS276() throws Exception {
String coll ="https://ariadne-infrastructure.eu/aocat/Collection/ADS/B1E1FD6B-42C6-35B6-82E8-06E0082CCC71";
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/FB819062-C53C-3164-9A42-AEA6FD127575";
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/C460E0A9-F064-3B9D-8905-00CF08E4772D";
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/E13FAB63-4870-3C91-9138-21E0E3999F54";
String datasource = "ads";
String apiId = "276";
readAndIndexTest(false, coll, datasource, apiId);
readAndIndexTest(true, record1, datasource, apiId);
readAndIndexTest(true, record2, datasource, apiId);
readAndIndexTest(true, record3, datasource, apiId);
}
@Test
@ -63,11 +77,6 @@ public class GraphDbReaderAndESIndexTest {
}
@Test
public void testADS() throws Exception {
String id = "https://ariadne-infrastructure.eu/aocat/Resource/ADS/90D1C95D-E249-3E74-92D9-B58FDF690CC7";

Loading…
Cancel
Save