From 19ec088fa0f62afc4042ba4f960d3363bc5c2055 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Thu, 6 Sep 2012 17:12:14 -0700 Subject: [PATCH] CSPACE-5518: Refined relation obj test, added response payload. --- .../collectionobject-hierarchy.xml | 21 +++++--- .../res/read-as-object-top-level.res.xml | 49 +++++++++++++++++++ 2 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/hierarchy/res/read-as-object-top-level.res.xml 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 @@ + + + + + + + + -- 2.47.3