From: Aron Roberts Date: Fri, 2 Sep 2011 20:55:04 +0000 (+0000) Subject: CSPACE-4335: Added XMLReplay run file for CollectionObjects advanced search, omitted... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=526338aff53751cdb9c94a37bd7ba32b7286a23f;p=tmp%2Fjakarta-migration.git 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. --- 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 + +