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

smaguin
20.37.2007 20fc1f465a357700b34edb1d5415432cf840e88d
add funtoin to  set the tests status
1 files modified
32 ■■■■■ changed files
opends/tests/functional-tests/shared/functions/utils.xml 32 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/utils.xml
@@ -139,6 +139,37 @@
    </sequence>
  </function>
<!-- testisPASS  -->
<!-- Set the test status to PASS -->
 <function name="testIsPASS">
    <function-prolog>
      This function set the status of the tests: PASS
    </function-prolog>
    <sequence>
       <message>'Set test status to PASS'</message>
       <tcstatus result="'pass'"/>
    </sequence>
 </function>
<!-- testisFAIL -->
<!-- Set the test status to  FAIL -->
 <function name="testIsFAIL">
    <function-prolog>
      This function set the status of the tests: FAIL
    </function-prolog>
    <sequence>
       <message>'Set test status to FAIL'</message>
       <tcstatus result="'fail'"/>
    </sequence>
  </function>
<!-- checktestString -->
  <function name="checktestString">
    <function-prolog>
      This function checks the return string against an expected return substring for a testcase
@@ -417,7 +448,6 @@
          <script>
            ldapRC=RC
          </script>
          <call function="'Sleep'">
            { 'sleepForMilliSeconds'  : noOfMilliSeconds }
          </call>