]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4814: Modified expected response and validation level in XmlReplay-based test...
authorAron Roberts <aron@socrates.berkeley.edu>
Mon, 9 Apr 2012 19:30:47 +0000 (12:30 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Mon, 9 Apr 2012 19:30:47 +0000 (12:30 -0700)
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/imports.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-1objectexit-post.res.xml

index c19fd849e98f9c5249af99d65617bd7dea6363dd..ab98efa3027a3b9150f4a31b0fbbe9f55fa78b72 100644 (file)
             <uri>/cspace-services/imports</uri>
             <filename>imports/import-1objectexit-post.xml</filename>
             <response>
-                <expected level="TREE" />
+                <expected level="TEXT" />
                 <filename>imports/res/import-1objectexit-post.res.xml</filename>
              </response>
         </test>
         
         <!-- FIXME: Add forms-based import test -->
+        <!--
         <test ID="import-post-form">
             <expectedCodes>200</expectedCodes>
             <method>POST</method>
@@ -31,6 +32,7 @@
                 <filename>imports/res/import-1objectexit-post.res.xml</filename>
              </response>
         </test>
+        -->
         
         <!-- FIXME: Add tests with non-UTF-8 chars in request payloads -->
         <!-- (CSPACE-3923 and see also CSPACE-4866), via each imports path -->
index 294dbc5ae6ff891bd38e5f16d75cf7c8ff889b39..47bc54dca833f3e2040cdf7c0643d291cb5171c3 100644 (file)
@@ -1,3 +1,5 @@
-<?xml version="1.0"?><import><msg>SUCCESS</msg><report>READ: Variable path value here
-/ObjectExit/Variable CSID value here
-</report></import>
\ No newline at end of file
+<?xml version="1.0"?>
+<import>
+    <totalRecordsImported>1</totalRecordsImported>
+</import>
+