From: Aron Roberts Date: Fri, 7 Sep 2012 00:12:14 +0000 (-0700) Subject: CSPACE-5518: Refined relation obj test, added response payload. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=19ec088fa0f62afc4042ba4f960d3363bc5c2055;p=tmp%2Fjakarta-migration.git CSPACE-5518: Refined relation obj test, added response payload. --- diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-hierarchy.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-hierarchy.xml index 4a4cb5a58..23a7b64dd 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-hierarchy.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-hierarchy.xml @@ -205,21 +205,30 @@ collectionobject/hierarchy/res/read-all-relations.res.xml /document/*[local-name()='relations-common-list'] - - + GET - /cspace-services/relations?sbj=${CreateBagOfBlackChessPieces.CSID} + /cspace-services/relations?sbj=${CreateChessSetBox.CSID} - + GET - /cspace-services/relations?obj=${CreateBagOfBlackChessPieces.CSID} - + /cspace-services/relations?obj=${CreateChessSetBox.CSID} + + + collectionobject/hierarchy/res/read-as-object-top-level.res.xml + + ${CreateChessSetBox.CSID} + ${CreateChessBoard.CSID} + ${CreateBagOfWhiteChessPieces.CSID} + ${CreateBagOfBlackChessPieces.CSID} + + /document/*[local-name()='relations-common-list'] + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/hierarchy/res/read-as-object-top-level.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/hierarchy/res/read-as-object-top-level.res.xml new file mode 100644 index 000000000..57bbf6de9 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/hierarchy/res/read-as-object-top-level.res.xml @@ -0,0 +1,49 @@ + + + + + + + +