From: Aron Roberts Date: Thu, 6 Sep 2012 22:13:05 +0000 (-0700) Subject: CSPACE-5518: Tests now create an initial set of hierarchical relationships between... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=2109d542ec446b5daac3dc4e4a733493514fc8f4;p=tmp%2Fjakarta-migration.git CSPACE-5518: Tests now create an initial set of hierarchical relationships between CollectionObjects, and include a skeletal set of hierarchy tests. Need to add more such tests, as well testing the contents of response payloads. As well, we may also need to clean up relations created by the tests. --- 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 f81fde142..ab5d6ff30 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 @@ -2,6 +2,8 @@ + + @@ -107,9 +109,75 @@ GET /cspace-services/collectionobjects/${CreateBlackRook.CSID} - + + + + + + + + + PUT + /cspace-services/collectionobjects/${CreateBlackRook.CSID} + collectionobject/hierarchy/2-collectionobjects_w_relations_CSID.xml + + ${CreateChessSetBox.CSID} + ${CreateChessBoard.CSID} + ${CreateBagOfWhiteChessPieces.CSID} + ${CreateBagOfBlackChessPieces.CSID} + ${CreateWhiteRook.CSID} + ${CreateWhiteBishop.CSID} + ${CreateBlackQueen.CSID} + ${CreateBlackRook.CSID} + + + + + + + GET + /cspace-services/collectionobjects/${CreateChessSetBox.CSID}?showRelations=true + + + + + GET + /cspace-services/collectionobjects/${CreateBagOfBlackChessPieces.CSID}?showRelations=true + + + + + GET + /cspace-services/collectionobjects/${CreateBlackRook.CSID}?showRelations=true + + + + + GET + /cspace-services/relations + + + + + GET + /cspace-services/relations?sbj=${CreateBagOfBlackChessPieces.CSID} + + + + + GET + /cspace-services/relations?obj=${CreateBagOfBlackChessPieces.CSID} + + + + + + +