From: Aron Roberts Date: Thu, 5 Aug 2010 02:40:04 +0000 (+0000) Subject: CSPACE-2578: Adding XML documents used in Acquisition service payload tests, missing... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=6eac6019f8e06a1474db4ead08134a985c767f2d;p=tmp%2Fjakarta-migration.git CSPACE-2578: Adding XML documents used in Acquisition service payload tests, missing from previous commit r2801. --- diff --git a/services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java b/services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java index 92d1d2613..f66b21c41 100644 --- a/services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java +++ b/services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java @@ -179,8 +179,8 @@ public class AcquisitionServiceTest extends AbstractServiceTestImpl { // out for check-in, to prevent service tests from failing. Can uncomment to test // fixes, and also after the issue is resolved, to help detect any regressions. - // @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, - // dependsOnMethods = {"create", "testSubmitRequest"}, groups = {"cspace2578group"}) + @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, + dependsOnMethods = {"create", "testSubmitRequest"}, groups = {"cspace2578group"}) public void createFromXmlWhitespaceAfterRepeatableGroupTag(String testName) throws Exception { if (logger.isDebugEnabled()) { logger.debug(testBanner(testName, CLASS_NAME)); diff --git a/services/acquisition/client/src/test/resources/test-data/cspace-2578-no-whitespace.xml b/services/acquisition/client/src/test/resources/test-data/cspace-2578-no-whitespace.xml new file mode 100644 index 000000000..f4e3138a0 --- /dev/null +++ b/services/acquisition/client/src/test/resources/test-data/cspace-2578-no-whitespace.xml @@ -0,0 +1,17 @@ + + + + + + + + urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(franFundingSourceOne) + + + diff --git a/services/acquisition/client/src/test/resources/test-data/cspace-2578-whitespace.xml b/services/acquisition/client/src/test/resources/test-data/cspace-2578-whitespace.xml new file mode 100644 index 000000000..aa2dd2b78 --- /dev/null +++ b/services/acquisition/client/src/test/resources/test-data/cspace-2578-whitespace.xml @@ -0,0 +1,17 @@ + + + + + + + + urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(franFundingSourceOne) + + +