From 6eac6019f8e06a1474db4ead08134a985c767f2d Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Thu, 5 Aug 2010 02:40:04 +0000 Subject: [PATCH] CSPACE-2578: Adding XML documents used in Acquisition service payload tests, missing from previous commit r2801. --- .../client/test/AcquisitionServiceTest.java | 4 ++-- .../test-data/cspace-2578-no-whitespace.xml | 17 +++++++++++++++++ .../test-data/cspace-2578-whitespace.xml | 17 +++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 services/acquisition/client/src/test/resources/test-data/cspace-2578-no-whitespace.xml create mode 100644 services/acquisition/client/src/test/resources/test-data/cspace-2578-whitespace.xml 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) + + + -- 2.47.3