]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4335: Added XMLReplay-based tests to the services IntegrationTests module...
authorAron Roberts <aron@socrates.berkeley.edu>
Fri, 2 Sep 2011 20:16:57 +0000 (20:16 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Fri, 2 Sep 2011 20:16:57 +0000 (20:16 +0000)
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co1-adv-search-lifesci.xml [new file with mode: 0755]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/co2-adv-search-lifesci.xml [new file with mode: 0755]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co1-adv-search-lifesci.res.xml [new file with mode: 0755]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2-adv-search-lifesci.res.xml [new file with mode: 0755]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/xml-replay-master.xml

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-adv-search-lifesci.xml
new file mode 100755 (executable)
index 0000000..23ce2b5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<document name="collectionobjects">
+
+  <ns2:collectionobjects_common
+    xmlns:ns2="http://collectionspace.org/services/collectionobject">
+    <objectNumber>6.0221415</objectNumber>
+  </ns2:collectionobjects_common>
+
+</document>
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-adv-search-lifesci.xml
new file mode 100755 (executable)
index 0000000..9e904ac
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<document name="collectionobjects">
+
+  <ns2:collectionobjects_common
+    xmlns:ns2="http://collectionspace.org/services/collectionobject">
+    <objectNumber>2</objectNumber>
+  </ns2:collectionobjects_common>
+
+  <ns3:collectionobjects_naturalhistory
+    xmlns:ns3="http://collectionspace.org/services/collectionobject/domain/naturalhistory">
+    <fieldLocVerbatim>jlmbsoqjlmbsoq</fieldLocVerbatim>
+  </ns3:collectionobjects_naturalhistory>
+
+</document>
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co1-adv-search-lifesci.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co1-adv-search-lifesci.res.xml
new file mode 100755 (executable)
index 0000000..b9e76b9
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<ns2:abstract-common-list xmlns:ns2="http://collectionspace.org/services/jaxb">
+  <totalItems>1</totalItems>
+</ns2:abstract-common-list>
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2-adv-search-lifesci.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2-adv-search-lifesci.res.xml
new file mode 100755 (executable)
index 0000000..b9e76b9
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<ns2:abstract-common-list xmlns:ns2="http://collectionspace.org/services/jaxb">
+  <totalItems>1</totalItems>
+</ns2:abstract-common-list>
index d6fb9eface981c9fe7170cfc489ee6db40227efd..09c39d28e58ebd7d7f2b8800d56120f63130b884 100755 (executable)
@@ -36,7 +36,8 @@
     <run controlFile="./security.xml" testGroup="deleteBug" />\r
     <run controlFile="objectexit/object-exit.xml" testGroup="makeone" />\r
     <run controlFile="objectexit/object-exit.xml" testGroup="checkList" />\r
-       <run controlFile="objectexit/object-exit-display.xml" testGroup="refNameDisplayNameOnly" />\r
+    <run controlFile="objectexit/object-exit-display.xml" testGroup="refNameDisplayNameOnly" />\r
+    <run controlFile="collectionobject/collectionobject-adv-search.xml" testGroup="advSearchCommonSchema" />\r
     <run controlFile="acquisitions/acquisitions.xml" testGroup="makeone" />\r
     <run controlFile="acquisitions/acquisitions.xml" testGroup="testList" />\r
     <run controlFile="relation/relation.xml" testGroup="makeRelations" />\r