Skip to content
Snippets Groups Projects
Commit bd9b6246 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Add more logging

parent 2e92e3d8
No related branches found
No related tags found
No related merge requests found
......@@ -424,8 +424,8 @@ public class RecordListDelivererDC extends RecordListDelivererAbstract {
try {
System.out.println(" ## getRecords() --> " + (query==null?query:"NULL") +
" " + (recordList!=null?recordList:"NULL") + " " + (resumptionToken!=null?resumptionToken:"NULL")
+ " " + (set!=null?set:"NULL"));
" - " + (recordList!=null?recordList:"NULL") + " - " + (resumptionToken!=null?resumptionToken:"NULL")
+ " - " + (set!=null?set:"NULL"));
fetchFields(query, recordList, resumptionToken, set);
} catch (UnsupportedEncodingException e) {
......
......@@ -25,8 +25,10 @@ import info.textgrid.utils.httpclient.TGHttpResponse;
public class OaiPmhDariahdeOnlineTests {
// The OAIPMH host to be tested.
private static String host = "http://trep.de.dariah.eu/1.0/oaipmh/";
// private static String host = "https://repository.de.dariah.eu/1.0/oaipmh/";
private static String host = "https://repository.de.dariah.eu/1.0/oaipmh/";
// private static String host = "https://dhrepworkshop.de.dariah.eu/1.0/oaipmh/";
// private static String host = "https://trep.de.dariah.eu/1.0/oaipmh/";
// private static String host = "http://vm1.dariah.local/1.0/oaipmh/";
// Some output finals.
private static final String ERROR = ">>> ERROR";
......@@ -102,7 +104,7 @@ public class OaiPmhDariahdeOnlineTests {
@Test
public void testRootUrl() throws IOException {
String shouldContain = "repository.de.dariah.eu";
String shouldContain = "DARIAH-DE Repository";
System.out.println(TESTING + "#ROOTURL");
......@@ -128,7 +130,7 @@ public class OaiPmhDariahdeOnlineTests {
public void testIdentify() throws IOException {
String verb = "Identify";
String shouldContain = "repository.de.dariah.eu";
String shouldContain = "DARIAH-DE Repository";
System.out.println(TESTING + "#IDENTIFY");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment