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

el_kaboing
09.12.2007 c77efb4241fa6dbb2c5f1888f0cdbc72a6edb241
Changed the aci functional test cases to reflect the new error code that is now returned for an improperly formatted aci (Issue 1317).
3 files modified
32 ■■■■ changed files
opends/tests/functional-tests/testcases/aci/aci_target.xml 12 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/aci/aci_targetattr.xml 12 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/aci/aci_targetfilter_syntax.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/aci/aci_target.xml
@@ -971,7 +971,7 @@
                                        self to an existing entry
            #@TestStep                  Admin checks if aci was added.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50,
            #@TestResult                Success if OpenDS returns 21,
                                        and the aci has not been added.
        -->
        <!-- cross reference to syntax.ksh Test Case 1 -->
@@ -990,7 +990,7 @@
                'entryToBeModified'   : '%s/aci/aci_target/add_aci8.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
@@ -1235,7 +1235,7 @@
            #@TestStep                  Client searches entry with the targeted dn.
            #@TestStep                  Client searches entry with a non-targeted dn.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50,
            #@TestResult                Success if OpenDS returns 21,
                                        and the aci has not been added.
        -->
        <!-- cross reference to syntax.ksh Test Case 3 -->
@@ -1254,7 +1254,7 @@
                'entryToBeModified'   : '%s/aci/aci_target/add_aci10.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
@@ -1300,7 +1300,7 @@
            #@TestStep                  Client searches entry with the targeted dn.
            #@TestStep                  Client searches entry with a non-targeted dn.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50,
            #@TestResult                Success if OpenDS returns 21,
                                        and the aci has not been added.
        -->
        <!-- cross reference to syntax.ksh Test Case 13 -->
@@ -1319,7 +1319,7 @@
                'entryToBeModified'   : '%s/aci/aci_target/add_aci11.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/aci/aci_targetattr.xml
@@ -921,7 +921,7 @@
            #@TestStep                  Admin adds an aci to an existing entry
                                        that has multiple targetattrs.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50
            #@TestResult                Success if OpenDS returns 21
        -->
      <!-- cross reference to syntax.ksh Test Case 5 -->
        <testcase name="'ACI: Targetattr: Multiple Targets'">
@@ -939,7 +939,7 @@
                'entryToBeModified'   : '%s/aci/aci_targetattr/add_aci6.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
@@ -982,7 +982,7 @@
            #@TestStep                  Admin adds an aci to an existing entry
                                        that has multiple targetattrs.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50
            #@TestResult                Success if OpenDS returns 21
        -->
        <testcase name="'ACI: Targetattr: Keyword Targetattr Mispelled'">
          <sequence>
@@ -999,7 +999,7 @@
                'entryToBeModified'   : '%s/aci/aci_targetattr/add_aci7.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
@@ -1042,7 +1042,7 @@
            #@TestStep                  Admin adds an aci to an existing entry
                                        that has a targetattr missing quotes.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50
            #@TestResult                Success if OpenDS returns 21
        -->
        <testcase name="'ACI: Targetattr: Targetattr With Missing Quotes'">
          <sequence>
@@ -1059,7 +1059,7 @@
                'entryToBeModified'   : '%s/aci/aci_targetattr/add_aci8.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/aci/aci_targetfilter_syntax.xml
@@ -1634,7 +1634,7 @@
            #@TestStep                  Admin adds an aci with the targetfilter with missing quotes.
            #@TestStep                  Client searches entry which should not be allowed.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50
            #@TestResult                Success if OpenDS returns 21
                                        and the aci was not addded.
        -->
      <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
@@ -1654,7 +1654,7 @@
                'entryToBeModified'   : '%s/aci/aci_targetfilter/add_aci8.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>
@@ -1697,7 +1697,7 @@
            #@TestStep                  Admin adds an aci with the targetfilter with misplaced quotes.
            #@TestStep                  Client searches entry which should not be allowed.
            #@TestPostamble             none
            #@TestResult                Success if OpenDS returns 50
            #@TestResult                Success if OpenDS returns 21
                                        and the aci was not addded.
        -->
      <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
@@ -1717,7 +1717,7 @@
                'entryToBeModified'   : '%s/aci/aci_targetfilter/add_aci9.ldif' % STAGED_DATA_DIR }
            </call>
            <if expr="RC != 50">
            <if expr="RC != 21">
                <tcstatus result="'fail'"/>
            </if>