From 526338aff53751cdb9c94a37bd7ba32b7286a23f Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Fri, 2 Sep 2011 20:55:04 +0000 Subject: [PATCH] CSPACE-4335: Added XMLReplay run file for CollectionObjects advanced search, omitted from previous check-in. Renamed several test data files for clarity. Added GET test to test group that checks advanced search against a field in an extension schema. --- .../{co1-adv-search-lifesci.xml => co1.xml} | 0 .../{co2-adv-search-lifesci.xml => co2.xml} | 0 .../collectionobject-adv-search.xml | 64 +++++++++++++++++++ .../collectionobject/res/co2.res.xml | 7 ++ 4 files changed, 71 insertions(+) rename services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/{co1-adv-search-lifesci.xml => co1.xml} (100%) rename services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/{co2-adv-search-lifesci.xml => co2.xml} (100%) create mode 100644 services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-adv-search.xml create mode 100755 services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2.res.xml diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co1-adv-search-lifesci.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co1.xml similarity index 100% rename from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co1-adv-search-lifesci.xml rename to services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co1.xml diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co2-adv-search-lifesci.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co2.xml similarity index 100% rename from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co2-adv-search-lifesci.xml rename to services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co2.xml diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-adv-search.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-adv-search.xml new file mode 100644 index 000000000..22e8f0f42 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-adv-search.xml @@ -0,0 +1,64 @@ + + + + + + YWRtaW5AY29yZS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I= + + + + + + POST + /cspace-services/collectionobjects/ + collectionobject/co1.xml + + + + + GET + /cspace-services/collectionobjects?as=collectionobjects_common%3AobjectNumber%3D'6.0221415' + + + + collectionobject/res/co1-adv-search-lifesci.res.xml + + + + + + + + POST + /cspace-services/collectionobjects/ + collectionobject/co2.xml + + + + + GET + /cspace-services/collectionobjects/${co2.CSID} + + + + collectionobject/res/co2.res.xml + + + + + + + + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2.res.xml new file mode 100755 index 000000000..7a312408d --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2.res.xml @@ -0,0 +1,7 @@ + + + + 6.0221415 + + -- 2.47.3