From e61cbfa14eeee0fa45d0e051b693bf807d5633df Mon Sep 17 00:00:00 2001 From: mbrodhu <brodhun@sub.uni-goettingen.de> Date: Thu, 15 Jan 2015 11:10:58 +0100 Subject: [PATCH] version to 1.3.9 snapshot --- oaipmh-core/pom.xml | 4 +-- .../info/textgrid/middleware/OaiPmhTest.java | 28 +++++++++---------- oaipmh-webapp/pom.xml | 4 +-- pom.xml | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/oaipmh-core/pom.xml b/oaipmh-core/pom.xml index 88655e8b..1eee5520 100644 --- a/oaipmh-core/pom.xml +++ b/oaipmh-core/pom.xml @@ -4,11 +4,11 @@ <parent> <artifactId>oaipmh</artifactId> <groupId>info.textgrid.middleware</groupId> - <version>1.3.8-SNAPSHOT</version> + <version>1.3.9-SNAPSHOT</version> </parent> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh-core</artifactId> - <version>1.3.8-SNAPSHOT</version> + <version>1.3.9-SNAPSHOT</version> <packaging>jar</packaging> <name>TextGrid :: TG-OAI-PMH :: Core</name> <url>http://maven.apache.org</url> diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java index df796fc1..b8667bbe 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java @@ -25,9 +25,9 @@ public class OaiPmhTest { private RecordDeliverer record = new RecordDeliverer(oaiEsClient, TGConstants.TGFields, TGConstants.TGWorkFields, true, false); private RecordListDeliverer recordList = new RecordListDeliverer(oaiEsClient, TGConstants.TGFields, TGConstants.TGWorkFields, true, false); - private OAIPMHImpl testRequest = new OAIPMHImpl(oaiEsClient, record); - private OAIPMHImpl repIdentificationTestRequest = new OAIPMHImpl(oaiEsClient, rep); - private OAIPMHImpl recordListRequest = new OAIPMHImpl(oaiEsClient, recordList); + //private OAIPMHImpl testRequest = new OAIPMHImpl(oaiEsClient, record); + //private OAIPMHImpl repIdentificationTestRequest = new OAIPMHImpl(oaiEsClient, rep); + //private OAIPMHImpl recordListRequest = new OAIPMHImpl(oaiEsClient, recordList); private OAIPMHImpl request = new OAIPMHImpl(oaiEsClient, rep, record, recordList); @@ -83,7 +83,7 @@ public class OaiPmhTest { public void testGetRequestIdentify() throws ParseException { System.out.println("Test for the verb \"Identify\" with succesfull response"); - JAXBElement<OAIPMHType> r = repIdentificationTestRequest.getRequest("Identify", "", "", + JAXBElement<OAIPMHType> r = request.getRequest("Identify", "", "", "", "", "", ""); JAXB.marshal(r, System.out); System.out.println("-----------------------------------\n"); @@ -92,7 +92,7 @@ public class OaiPmhTest { @Test //@Ignore public void testGetRequestIdentifyVerbError() throws ParseException { - JAXBElement<OAIPMHType> t = testRequest.getRequest("Identify", "", "a", + JAXBElement<OAIPMHType> t = request.getRequest("Identify", "", "a", "", "", "", ""); JAXB.marshal(t, System.out); System.out.println("-----------------------------------\n"); @@ -103,7 +103,7 @@ public class OaiPmhTest { public void testGetRequestIdentifyArgumentError() throws ParseException { System.out .println("Test for the verb \"Identify\" with error response"); - JAXBElement<OAIPMHType> z = testRequest.getRequest("Identify", "a", "", + JAXBElement<OAIPMHType> z = request.getRequest("Identify", "a", "", "", "", "a", ""); JAXB.marshal(z, System.out); System.out.println("-----------------------------------\n"); @@ -126,7 +126,7 @@ public class OaiPmhTest { public void testGetRequestGetRecordError2() throws ParseException { System.out .println("Test for the verb \"GetRecord\" with succesfull response"); - JAXBElement<OAIPMHType> p = testRequest.getRequest("GetRecord", + JAXBElement<OAIPMHType> p = request.getRequest("GetRecord", "wr71.0", "oai_dc", "", "", "", ""); JAXB.marshal(p, System.out); System.out.println("-----------------------------------\n"); @@ -137,7 +137,7 @@ public class OaiPmhTest { @Ignore public void testGetRequestGetRecordError3() throws ParseException{ System.out.println("Test for the verb \"GetRecord\" with succesfull response" - ); JAXBElement<OAIPMHType> p = testRequest.getRequest("GetRecord", "", + ); JAXBElement<OAIPMHType> p = request.getRequest("GetRecord", "", "", "", "", "", ""); JAXB.marshal(p, System.out); System.out.println("-----------------------------------\n"); @@ -148,7 +148,7 @@ public class OaiPmhTest { @Ignore public void testListIdentifierSets() throws ParseException { System.out.println("Test for the verb \"ListIdentifiers\" with succesfull response"); - JAXBElement<OAIPMHType> p = testRequest.getRequest("ListIdentifiers", + JAXBElement<OAIPMHType> p = request.getRequest("ListIdentifiers", "", "oai_dc", "project.value:St. Matthias Test 07", "", "", ""); JAXB.marshal(p, System.out); System.out.println("-----------------------------------\n"); @@ -159,7 +159,7 @@ public class OaiPmhTest { @Ignore public void testListRecordSets() throws ParseException { System.out.println("Test for the verb \"ListRecord\" with sets with succesfull response"); - JAXBElement<OAIPMHType> p = recordListRequest.getRequest("ListRecords", + JAXBElement<OAIPMHType> p = request.getRequest("ListRecords", "", "oai_dc", "project.value:Digitale Bibliothek", "", "", ""); JAXB.marshal(p, System.out); System.out.println("-----------------------------------\n"); @@ -169,7 +169,7 @@ public class OaiPmhTest { @Test @Ignore public void testListRecords() throws ParseException{ - JAXBElement<OAIPMHType> r = testRequest.getRequest("ListRecords", "", + JAXBElement<OAIPMHType> r = request.getRequest("ListRecords", "", "oai_dc", "", "2011-02-06T20:48:39", "", ""); JAXB.marshal(r, System.out); System.out.println("-----------------------------------\n"); } @@ -177,7 +177,7 @@ public class OaiPmhTest { @Test @Ignore public void testListMetadataFormats() throws ParseException{ - JAXBElement<OAIPMHType> r = testRequest.getRequest("ListMetadataFormats", + JAXBElement<OAIPMHType> r = request.getRequest("ListMetadataFormats", "wr67.0", "", "", "", "", ""); JAXB.marshal(r, System.out); System.out.println("-----------------------------------\n"); } @@ -186,7 +186,7 @@ public class OaiPmhTest { @Ignore public void testListSets() throws ParseException { - JAXBElement<OAIPMHType> r = testRequest.getRequest("ListSets", "", "", + JAXBElement<OAIPMHType> r = request.getRequest("ListSets", "", "", "", "", "", ""); JAXB.marshal(r, System.out); System.out.println("-----------------------------------\n"); @@ -196,7 +196,7 @@ public class OaiPmhTest { @Ignore public void testListIdentifiers() throws ParseException{ - JAXBElement<OAIPMHType> r = testRequest.getRequest("ListIdentifiers", "", + JAXBElement<OAIPMHType> r = request.getRequest("ListIdentifiers", "", "oai_dc", "", "", "", ""); JAXB.marshal(r, System.out); System.out.println("-----------------------------------\n"); } diff --git a/oaipmh-webapp/pom.xml b/oaipmh-webapp/pom.xml index 675fd8b1..32e13960 100644 --- a/oaipmh-webapp/pom.xml +++ b/oaipmh-webapp/pom.xml @@ -4,12 +4,12 @@ <parent> <artifactId>oaipmh</artifactId> <groupId>info.textgrid.middleware</groupId> - <version>1.3.8-SNAPSHOT</version> + <version>1.3.9-SNAPSHOT</version> </parent> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh-webapp</artifactId> <packaging>war</packaging> - <version>1.3.8-SNAPSHOT</version> + <version>1.3.9-SNAPSHOT</version> <name>TextGrid :: OAI-PMH :: Webapp</name> <url>http://maven.apache.org</url> <profiles> diff --git a/pom.xml b/pom.xml index 0facc2c6..3792c0ab 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh</artifactId> - <version>1.3.8-SNAPSHOT</version> + <version>1.3.9-SNAPSHOT</version> <packaging>pom</packaging> <name>TextGrid :: TG-OAI-PMH :: Parent</name> <properties> -- GitLab