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

mkeyes
23.36.2007 955ff30d741348bff5c5e9f2015fcbd87448a587
added list-je-indexes to the dsconfig_list functional test suite.
2 files modified
40 ■■■■ changed files
opends/tests/functional-tests/testcases/dsconfig/dsconfig_list.xml 39 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/dsconfig/list.dat 1 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/dsconfig/dsconfig_list.xml
@@ -72,17 +72,34 @@
                    'Listing component %s, %s, %s' % (componentList[componentNumber][0], componentList[componentNumber][1], componentList[componentNumber][2])
                </message>
                
                <call function="'dsconfig'">
                {   'location'       :  location ,
                    'dsPath'         :  dsPath ,
                    'dsInstanceHost' :  dsInstanceHost ,
                    'dsInstancePort' :  dsInstancePort ,
                    'dsInstanceDn'   :  dsInstanceDn ,
                    'dsInstancePswd' :  dsInstancePswd ,
                    'subcommand'     :  '%s' % componentList[componentNumber][0] ,
                    'expectedRC'     : 0
                }
                </call>
                <if expr="componentList[componentNumber][0] == 'list-je-indexes'">
                  <call function="'dsconfig'">
                  {   'location'       :  location ,
                      'dsPath'         :  dsPath ,
                      'dsInstanceHost' :  dsInstanceHost ,
                      'dsInstancePort' :  dsInstancePort ,
                      'dsInstanceDn'   :  dsInstanceDn ,
                      'dsInstancePswd' :  dsInstancePswd ,
                      'subcommand'     :  '%s' % componentList[componentNumber][0] ,
                      'objectType'     :  'backend-name' ,
                      'objectName'     :  'userroot' ,
                      'expectedRC'     : 0
                  }
                  </call>
                <else>
                  <call function="'dsconfig'">
                  {   'location'       :  location ,
                      'dsPath'         :  dsPath ,
                      'dsInstanceHost' :  dsInstanceHost ,
                      'dsInstancePort' :  dsInstancePort ,
                      'dsInstanceDn'   :  dsInstanceDn ,
                      'dsInstancePswd' :  dsInstancePswd ,
                      'subcommand'     :  '%s' % componentList[componentNumber][0] ,
                      'expectedRC'     : 0
                  }
                  </call>
                </else>
                </if>
              
                <script> 
                 returnString = STAXResult[0][1]
opends/tests/functional-tests/testcases/dsconfig/list.dat
@@ -7,6 +7,7 @@
list-extended-operation-handlers:Get Connection ID:Password Policy State:
list-group-implementations:Dynamic:Static:
list-identity-mappers:Exact Match:Regular Expression:
list-je-indexes:entryuuid:givenName:
list-key-managers:JKS:PKCS12:
list-log-publishers:File-Based Audit Logger:File-Based Error Logger:
list-log-retention-policies:File Count Retention Policy:Free Disk Space Retention Policy: