Skip to content
Snippets Groups Projects
Commit 7aadfebe authored by mbrodhu's avatar mbrodhu
Browse files

Merge branch 'master' of git.projects.gwdg.de:oai-pmh

parents 012ef764 351275a4
No related branches found
No related tags found
No related merge requests found
......@@ -196,13 +196,13 @@ public class OaiPmhOnlineTests {
System.out.println(TESTING + "#LISTRECORDS");
testList("ListRecords");
}
}
/**
* @throws IOException
*/
@Test
//@Ignore
// @Ignore
public void testListIdentifier() throws IOException {
System.out.println(TESTING + "#LISTIDENTIFIERS");
......@@ -267,6 +267,12 @@ public class OaiPmhOnlineTests {
// System.out.println(res);
// Test for OAIPMH errors.
if (res.contains("<error code=\"badArgument\">")) {
System.err.println(ERROR + " IN OAIPMH RESPONSE: " + res);
assertTrue(false);
}
// Check if token tag is existing.
int tokStart = res.indexOf("<resumptionToken");
int tokEnd = res.indexOf("</resumptionToken");
......
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