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

Christophe Sovant
19.23.2013 797dee591c76c0e2882d0f5047369990773d0179
CR-1441 Update snmp testscases: fix test step messages and remove known issues
3 files modified
92 ■■■■ changed files
opends/tests/staf-tests/functional-tests/testcases/snmp/basic/snmp_basic_tests.xml 40 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/snmp/v1/snmp_v1_customconf_tests.xml 26 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/snmp/v2c/snmp_v2c_customconf_tests.xml 26 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/snmp/basic/snmp_basic_tests.xml
@@ -372,7 +372,7 @@
  <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -432,7 +432,9 @@
              key = 'dsApplIfSearchOps.%s' % indexLDAP
              DEFAULT_VALUES[key] = \
                str(int(DEFAULT_VALUES[key]) + nbLoop)
              key = 'dsApplIfWholeSubtreeSearchOps.%s' % indexLDAP
              DEFAULT_VALUES[key] = \
                str(int(DEFAULT_VALUES[key]) + nbLoop)
            </script>
              
            <call function="'testStep'">
@@ -444,8 +446,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -492,7 +493,7 @@
  <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -574,8 +575,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -622,7 +622,7 @@
   <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -693,8 +693,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -741,7 +740,7 @@
  <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -811,8 +810,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -859,7 +857,7 @@
  <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -931,8 +929,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -979,7 +976,7 @@
  <!--- Test Case information
    #@TestMarker          SNMP MIB values
    #@TestName            snmp_mibvalues: TODO
    #@TestIssue           3862
    #@TestIssue           none
    #@TestPurpose         TODO.
    #@TestPreamble        none
    #@TestStep            TODO.
@@ -1099,8 +1096,7 @@
              'snmpHost'      : DIRECTORY_INSTANCE_HOST ,
              'snmpPort'      : SNMP_PORT ,
              'snmpCommunity' : community ,
              'index'         : indexLDAP ,
              'knownIssue'    : '3862'
              'index'         : indexLDAP
              }
            </call>
@@ -1634,7 +1630,7 @@
    #@TestName            status: check error message and status when
                          the opendmk-jarfile property is set to a
                          wrong value
    #@TestIssue           3943
    #@TestIssue           none
    #@TestPurpose         Check error message and status when
                          the opendmk-jarfile property is set to a
                          wrong value.
@@ -1725,10 +1721,6 @@
              }
            </call>
            <call function="'setKnownIssue'">
              { 'issueId' : '3943' }
            </call>
            <call function="'testStep'">
              { 'stepMessage' : 'Get status when the server is started' }
            </call>
opends/tests/staf-tests/functional-tests/testcases/snmp/v1/snmp_v1_customconf_tests.xml
@@ -24,7 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2008-2009 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 !      Portions Copyright 2012-2013 ForgeRock AS
 ! -->
<stax>
@@ -250,9 +250,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet with the new community -->
            <!-- @Step3: SNMPGet from an allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet with the new community.' }
              { 'stepMessage' : 'SNMPGet from an allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -266,9 +266,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">
@@ -384,9 +384,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet with the old community -->
            <!-- @Step3: SNMPGet from a not allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet with the old community.' }
              { 'stepMessage' : 'SNMPGet from a not allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -400,9 +400,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">
@@ -531,9 +531,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet from a not allowed manager -->
            <!-- @Step3: SNMPGet from an allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet from a not allowed manager.' }
              { 'stepMessage' : 'SNMPGet from an allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -547,9 +547,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">
opends/tests/staf-tests/functional-tests/testcases/snmp/v2c/snmp_v2c_customconf_tests.xml
@@ -24,7 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2008-2009 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 !      Portions Copyright 2012-2013 ForgeRock AS
 ! -->
<stax>
@@ -250,9 +250,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet with the new community -->
            <!-- @Step3: SNMPGet from an allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet with the new community.' }
              { 'stepMessage' : 'SNMPGet from an allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -266,9 +266,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">
@@ -384,9 +384,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet with the old community -->
            <!-- @Step3: SNMPGet from a not allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet with the old community.' }
              { 'stepMessage' : 'SNMPGet from a not allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -400,9 +400,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">
@@ -531,9 +531,9 @@
              }
            </call>
            <!-- @Step3: SNMPGet from a not allowed manager -->
            <!-- @Step3: SNMPGet from an allowed manager -->
            <call function="'testStep'">
              { 'stepMessage' : 'SNMPGet from a not allowed manager.' }
              { 'stepMessage' : 'SNMPGet from an allowed manager.' }
            </call>
            <call function="'SNMPGet'">
@@ -547,9 +547,9 @@
              }
            </call>
            <!-- @Step4: Restore the community property -->
            <!-- @Step4: Restore the allowed-manager property -->
            <call function="'testStep'">
              { 'stepMessage' : 'Restore the community property.' }
              { 'stepMessage' : 'Restore the allowed-manager property.' }
            </call>
            <call function="'dsconfig'">