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

maudj
27.21.2008 a5fb3361f788ba43b88e23c80b3b7aee20418431
remove space and change list code - maudj
3 files modified
91 ■■■■■ changed files
opends/tests/functional-tests/testcases/security/client_auth/equal_dn_mapper.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_user_pwd_policy.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/security.xml 87 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/client_auth/equal_dn_mapper.xml
@@ -84,7 +84,7 @@
  #@TestResult               Success if OpenDS returns 0 for all operations
      -->
    
  <testcase name="getTestCaseName('Equal DN mapping ')">
  <testcase name="getTestCaseName('Equal DN mapping')">
    <sequence>
    <call function="'testCase_Preamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy/security_user_pwd_policy.xml
@@ -102,7 +102,7 @@
        </testcase>
        <!--- Test Case : User Change Password With Bad Credentials -->
        <testcase name="getTestCaseName('User With Bad Credentials Change Password ')">
        <testcase name="getTestCaseName('User With Bad Credentials Change Password')">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
opends/tests/functional-tests/testcases/security/security.xml
@@ -26,67 +26,56 @@
 !      Copyright 2006-2008 Sun Microsystems, Inc.
 ! -->
<stax>
  <defaultcall function="main_security"/>
  <function name="main_security">
    <block name="'security'">
      <sequence>
        <script>
    <sequence>
      <block name="'security'">
        <sequence>
          <!--- Test Group information
            #@TestGroupName          Security tests
            #@TestGroupPurpose       Test the security.
          -->
          <script>
          CurrentTestPath['group']='security'
        </script>
        
        <call function="'testGroup_Preamble'"/>
        
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/client_auth/client_auth.xml' % (TESTS_DIR)"/>
        <call function="'client_auth'" />
        <script>
            testList = []
            testList.append(['client_auth','client_auth'])
            testList.append(['jks','security_jks'])
            testList.append(['pkcs12','security_pkcs12'])
            testList.append(['startTLS','security_startTLS'])
            testList.append(['sasl','security_sasl'])
            testList.append(['pwd_policy','security_pwd_policy'])
            testList.append(['pwd_policy_root','security_pwd_policy_root'])
            testList.append(['auth_pwd_syntax','security_auth_pwd_syntax'])
            testList.append(['pwd_validator','security_pwd_validator'])
            testList.append(['pwd_storage','security_pwd_storage'])
            testList.append(['bind_no_pwd','security_bind_no_pwd'])
            testList.append(['account_activation','security_account_activation'])
        </script>
        <iterate var="_test" in="testList">
          <sequence>
            <import machine="STAF_LOCAL_HOSTNAME"
                    file="'%s/testcases/security/%s/%s.xml' %
                    (TESTS_DIR,_test[0],_test[1])"/>
            <call function="'%s' % _test[1]" />
          </sequence>
        </iterate>
        
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/jks/security_jks.xml' % (TESTS_DIR)"/>
        <call function="'security_jks'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/pkcs12/security_pkcs12.xml' % (TESTS_DIR)"/>
        <call function="'security_pkcs12'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/startTLS/security_startTLS.xml' % (TESTS_DIR)"/>
        <call function="'security_startTLS'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/sasl/security_sasl.xml' % (TESTS_DIR)"/>
        <call function="'security_sasl'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/pwd_policy/security_pwd_policy.xml' % (TESTS_DIR)"/>
        <call function="'security_pwd_policy'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/pwd_policy_root/security_pwd_policy_root.xml' % (TESTS_DIR)"/>
        <call function="'security_pwd_policy_root'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax.xml' % (TESTS_DIR)"/>
        <call function="'security_auth_pwd_syntax'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/pwd_validator/security_pwd_validator.xml' % (TESTS_DIR)"/>
        <call function="'security_pwd_validator'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/pwd_storage/security_pwd_storage.xml' % (TESTS_DIR)"/>
        <call function="'security_pwd_storage'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/bind_no_pwd/security_bind_no_pwd.xml' % (TESTS_DIR)"/>
        <call function="'security_bind_no_pwd'" />
        <import machine="STAF_LOCAL_HOSTNAME"
          file="'%s/testcases/security/account_activation/security_account_activation.xml' % (TESTS_DIR)"/>
        <call function="'security_account_activation'" />
        
        <call function="'testGroup_Postamble'"/>
      
      </sequence>
    </block>
   </sequence>
  </function>
</stax>