mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

andrug
09.49.2007 38f6c4a2833186f81dbc33471f6abc4d5975a983
add noCheck wildcard for searchObject()
1 files modified
15 ■■■■ changed files
opends/tests/functional-tests/shared/functions/ldap.xml 15 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/ldap.xml
@@ -1200,7 +1200,7 @@
      </function-arg-def>
      <function-arg-def name="expectedRC" type="optional" default="0">
        <function-arg-description>
          Expected return code value. Default value is 0
          Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC
        </function-arg-description>
        <function-arg-property name="type" value="integer"/>          
        </function-arg-def>     
@@ -1269,12 +1269,13 @@
        STAXCode=RC
        STAXReason=STAXResult
      </script>
      <call function="'checktestRC'">
        { 'returncode' : STAXCode ,
          'result'     : STAXReason ,
          'expected'   : expectedRC }
      </call>
      <if expr="expectedRC != 'noCheck'">
        <call function="'checktestRC'">
          { 'returncode' : STAXCode ,
            'result'     : STAXReason ,
            'expected'   : expectedRC }
        </call>
      </if>
      <return>
        STAXReason
      </return>