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

al_xipe
29.56.2007 1d86ae4d71b5d7e7b371844d776dc60cc10a7f33
opends/tests/functional-tests/testcases/sample/sample.xml
@@ -55,7 +55,7 @@
             -->
            <call function="setupStep" />
          </iterate>
          <iterate in="['passing_test']" var="testStep">
          <iterate in="['sample_test','knownIssue_test','passing_test','failing_test']" var="testStep">
            <!-- the sequence tag is superfluous here since there is only a 
                 single instruction to execute within the iterate block 
             -->
@@ -126,6 +126,47 @@
      </sequence>
    </block>
  </function>
  <!-- the test -->
  <function name="knownIssue_test">
    <!---
      Place test-specific test information here.
      The tag, TestMarker, must be the same as the tag, TestSuiteName.
      #@TestMarker                Sample
      #@TestName                  sample_test
      #@TestIssue                 xyz
      #@TestPurpose               Illustrate how to issue a query on OpenDS
      #@TestPreamble              none
      #@TestStep                  Fetch all the entries in the server
      #@TestPostamble             none
      #@TestResult                Success if OpenDS returns 0
    -->
    <block name="'knownIssue_test'">
      <sequence>
        <script>
          CurrentTestPath['suite']= 'search'
        </script>
        <testcase name="getTestCaseName(STAXCurrentBlock)">
          <sequence>
            <call function="'testCase_Preamble'" />
            <!-- search for an entry that does not exist -->
            <call function="'SearchObject'">
            { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
              'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
              'dsInstanceDn'     : DIRECTORY_INSTANCE_DN   ,
              'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
              'dsBaseDN'         : DIRECTORY_INSTANCE_SFX  ,
              'dsFilter'         : 'uid=wronguid'         }
            </call>
            <script>
              knownIssue(828)
            </script>
            <call function="'testCase_Postamble'" />
          </sequence>
        </testcase>
      </sequence>
    </block>
  </function>
  
  <!-- the dummy failing test -->
  <function name="failing_test">