test for ADS 1093

This commit is contained in:
Alessia Bardi 2022-11-21 20:31:12 +01:00
parent 194c1620ea
commit b3524feb9d
1 changed files with 15 additions and 7 deletions

View File

@ -32,6 +32,20 @@ public class GraphDbReaderAndESIndexTest {
private RunSPARQLQueryService runSPQRLQuery; private RunSPARQLQueryService runSPQRLQuery;
@Test
public void testADS1093() throws Exception {
String coll ="https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B";
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/15814239-CCF1-317C-AEBA-49EEBB582611";
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/3210FDBD-97DC-3B12-9EFF-3FDAB7AC11CE";
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);
}
@Test @Test
public void testADS1093Record() throws Exception { public void testADS1093Record() throws Exception {
String id ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2"; String id ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
@ -50,13 +64,7 @@ public class GraphDbReaderAndESIndexTest {
@Test
public void testADS1093Collection() throws Exception {
String id ="https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B";
String datasource = "ads";
String apiId = "1093";
readAndIndexTest(false, id, datasource, apiId);
}