From f3e3f782516a16d33d3d62ba1b6e37b52bef1635 Mon Sep 17 00:00:00 2001 From: Laramie Crocker Date: Sun, 17 Apr 2011 04:07:34 +0000 Subject: [PATCH] CSPACE-3780 got tests working --- .../test-data/xmlreplay/dev-master.xml | 1 + .../test-data/xmlreplay/person/person.xml | 18 ++++++++++++++---- .../person/persons_common_w_relations.xml | 2 ++ .../test-data/xmlreplay/relation/relation.xml | 14 +++++++++----- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml index 9e44b4c24..d132ee2a3 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml @@ -64,6 +64,7 @@ --> + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/person.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/person.xml index 8e6826700..d4753d4df 100755 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/person.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/person.xml @@ -57,8 +57,8 @@ ${Person1.CSID} ${Person2.CSID} - persons - persons + Persons + Persons hasBroader @@ -73,8 +73,8 @@ --> ${Person2.CSID} ${Person1.CSID} - persons - persons + Persons + Persons hasNarrower @@ -94,6 +94,14 @@ + + + + + + + + POST @@ -160,6 +168,8 @@ ${Person1.CSID} ${PersonParent.CSID} ${PersonChild.CSID} + Person + Person diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_w_relations.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_w_relations.xml index bc36c2ab7..1588f153d 100755 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_w_relations.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_w_relations.xml @@ -30,6 +30,8 @@ subjectCsid|relationshipType|predicateDisplayName|objectCsid|uri|csid|subject|object ${myCSID} + ${documentType1} + ${documentType2} hasBroader hasBroader hasBroader diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/relation/relation.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/relation/relation.xml index 4f4e1ea74..d81763611 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/relation/relation.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/relation/relation.xml @@ -5,7 +5,7 @@ YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y - + POST /cspace-services/objectexit/ @@ -23,8 +23,8 @@ ${oe1.CSID} ${oe2.CSID} - objectexit - objectexit + ObjectExit + ObjectExit hasBroader @@ -36,11 +36,15 @@ ${oe2.CSID} ${oe1.CSID} - objectexit - objectexit + ObjectExit + ObjectExit hasBroader + + GET + /cspace-services/relations/ +