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

mkeyes
10.56.2007 436780e697f38ca5d5388448c7efa6262614a967
Fixed test case names and log messages so that they are consistent with best practices.
2 files modified
98 ■■■■ changed files
opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml 58 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml 40 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml
@@ -34,12 +34,12 @@
      <sequence>
        <!--- Admin Check Existence of Min Pwd Length Attr -->
        <testcase name="'Security: Pwd Length Min: Preamble Setup'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: Preamble Setup'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            
            <message>
               'Security: Pwd Length Min: Preamble Step 1. Checking existence of ds-cfg-minimum-password-length'
               'Security: Pwd Validator: Pwd Length Min: Preamble Step 1. Checking existence of ds-cfg-minimum-password-length'
            </message>
            <call function="'compareEntry'">
@@ -53,7 +53,7 @@
            <!--- Admin Enable Pwd Length Validator -->
            <message>
               'Security: Pwd Length Min: Preamble Step 2. Admin Enabling Pwd Length Validator'
               'Security: Pwd Validator: Pwd Length Min: Preamble Step 2. Admin Enabling Pwd Length Validator'
            </message>
            <call function="'modifyPwdPolicy'">
@@ -72,11 +72,11 @@
        </testcase>
        <!--- Test Case : User Change Password - Too Short-->
        <testcase name="'Security: Pwd Length Min: Pwd Too Short 1'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 1'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Min: Pwd Too Short 1 Step 1. User Changing Password'
               'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 1 Step 1. User Changing Password'
            </message>
            
            <call function="'modifyAnAttribute'">
@@ -93,7 +93,7 @@
            
            <!--- User Search With Password -->
            <message>
               'Security: Pwd Length Min: Pwd Too Short 1 Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 1 Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -113,11 +113,11 @@
        </testcase>
        <!--- Test Case : Admin Change Minimum Pwd Length -->
        <testcase name="'Security: Pwd Length Min: Admin Change Min Pwd Length'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: Admin Change Min Pwd Length'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Min: Admin Changing Minimum Pwd Length'
               'Security: Pwd Validator: Pwd Length Min: Admin Changing Minimum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -138,11 +138,11 @@
        </testcase>
        <!--- Test Case : User Change Password - Too Short 2-->
        <testcase name="'Security: Pwd Length Min: Pwd Too Short 2'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 2'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Min: Pwd Too Short 2 Step 1. User Changing Password'
               'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 2 Step 1. User Changing Password'
            </message>
            <call function="'modifyAnAttribute'">
@@ -159,7 +159,7 @@
            
            <!--- User Search With Password -->
            <message>
               'Security: Pwd Length Min: Pwd Too Short 2 Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Min: Pwd Too Short 2 Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -179,11 +179,11 @@
        </testcase>
        <!--- Test Case : User Change Password-->
        <testcase name="'Security: Pwd Length Min: User Change Pwd'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: User Change Pwd'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Min: User Change Pwd Step 1. User Changing Password'
               'Security: Pwd Validator: Pwd Length Min: User Change Pwd Step 1. User Changing Password'
            </message>
            <call function="'modifyAnAttribute'">
@@ -199,7 +199,7 @@
            
            <!--- User Search With Password -->
            <message>
               'Security: Pwd Length Min: User Change Pwd Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Min: User Change Pwd Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -218,11 +218,11 @@
        </testcase>
        <!--- Test Case : Admin Reset Minimum Pwd Length -->
        <testcase name="'Security: Pwd Length Min: Postamble Reset'">
        <testcase name="'Security: Pwd Validator: Pwd Length Min: Postamble Reset'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Min: Postamble - Admin Resetting Minimum Pwd Length'
               'Security: Pwd Validator: Pwd Length Min: Postamble - Admin Resetting Minimum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -242,11 +242,11 @@
          </sequence>
        </testcase>
        <testcase name="'Security: Pwd Length Max: Preamble Setup'">
        <testcase name="'Security: Pwd Validator: Pwd Length Max: Preamble Setup'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Max: Preamble Step 1. Checking existence of ds-cfg-maximum-password-length'
               'Security: Pwd Validator: Pwd Length Max: Preamble Step 1. Checking existence of ds-cfg-maximum-password-length'
            </message>
            <call function="'compareEntry'">
@@ -260,7 +260,7 @@
            <!--- Admin Change Maximum Pwd Length -->
            <message>
               'Security: Pwd Length Max: Preamble Step 2. Admin Changing Maximum Pwd Length'
               'Security: Pwd Validator: Pwd Length Max: Preamble Step 2. Admin Changing Maximum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -281,11 +281,11 @@
        </testcase>
        <!--- Test Case : User Change Password - Too Long-->
        <testcase name="'Security: Pwd Length Max: Pwd Too Long 1'">
        <testcase name="'Security: Pwd Validator: Pwd Length Max: Pwd Too Long 1'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Max: Pwd Too Long 1 Step 1. User Changing Password'
               'Security: Pwd Validator: Pwd Length Max: Pwd Too Long 1 Step 1. User Changing Password'
            </message>
            <call function="'modifyAnAttribute'">
@@ -302,7 +302,7 @@
            
            <!--- User Search With Password -->
            <message>
               'Security: Pwd Length Max: Pwd Too Long 1 Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Max: Pwd Too Long 1 Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -322,11 +322,11 @@
        </testcase>
        <!--- Test Case : User Change Password-->
        <testcase name="'Security: Pwd Length Max: User Change Pwd'">
        <testcase name="'Security: Pwd Validator: Pwd Length Max: User Change Pwd'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Max: User Change Password Step 1. User Changing Password'
               'Security: Pwd Validator: Pwd Length Max: User Change Password Step 1. User Changing Password'
            </message>
            <call function="'modifyAnAttribute'">
@@ -342,7 +342,7 @@
            
            <!--- User Search With Password -->
            <message>
               'Security: Pwd Length Max: User Change Password Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Max: User Change Password Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -361,11 +361,11 @@
        </testcase>
        <!--- Test Case : Admin Reset Maximum Pwd Length -->
        <testcase name="'Security: Pwd Length Max: Postamble Reset'">
        <testcase name="'Security: Pwd Validator: Pwd Length Max: Postamble Reset'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Pwd Length Max: Postamble Step 1. Admin Resetting Maximum Pwd Length'
               'Security: Pwd Validator: Pwd Length Max: Postamble Step 1. Admin Resetting Maximum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -382,7 +382,7 @@
            
            <!--- User Change Password -->
            <message>
               'Security: Pwd Length Max: Postamble Step 2. User Changing Password'
               'Security: Pwd Validator: Pwd Length Max: Postamble Step 2. User Changing Password'
            </message>
            <call function="'modifyAnAttribute'">
@@ -397,7 +397,7 @@
            </call>
            
            <message>
               'Security: Pwd Length Max: User Change Password Step 2. User Searching With Password'
               'Security: Pwd Validator: Pwd Length Max: User Change Password Step 2. User Searching With Password'
            </message>
            <call function="'SearchObject'">
opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml
@@ -34,14 +34,14 @@
      <sequence>
        <!--- Test Case : Setup -->
        <testcase name="'Security: Root User Bypass Valid: Preamble Setup'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: Preamble Setup'">
          <sequence>
          
            <call function="'testCase_Preamble'"/>
            <!--- Admin Enable Pwd Length Validator -->
            <message>
               'Security: Root User Bypass Valid: Preamble - Step 1. Admin Enabling Pwd Length Validator On Root Users'
               'Security: Pwd Validator: Root User Bypass Valid: Preamble - Step 1. Admin Enabling Pwd Length Validator On Root Users'
            </message>
            <call function="'modifyPwdPolicy'">
@@ -60,11 +60,11 @@
        </testcase>
        <!--- Root Change Password - Too Short-->
        <testcase name="'Security: Root User Bypass Valid: No Bypass'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: No Bypass'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Root User Bypass Valid: No Bypass - Step 1. Root Changing Password - Too Short'
               'Security: Pwd Validator: Root User Bypass Valid: No Bypass - Step 1. Root Changing Password - Too Short'
            </message>
            <call function="'modifyAnAttribute'">
@@ -81,7 +81,7 @@
            
            <!--- Root Search With Password -->
            <message>
               'Security: Root User Bypass Valid: No Bypass - Step 2. Root Searching With Password'
               'Security: Pwd Validator: Root User Bypass Valid: No Bypass - Step 2. Root Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -101,11 +101,11 @@
        </testcase>
       <!--- Enable Bypass Validator-->
        <testcase name="'Security: Root User Bypass Valid: Bypass Enabled 1'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 1'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Root User Bypass Valid: Bypass Enabled 1 - Step 1. Admin Enabling Bypass For Pwd Validator'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 1 - Step 1. Admin Enabling Bypass For Pwd Validator'
            </message>
            <call function="'modifyPwdPolicy'">
@@ -119,7 +119,7 @@
            </call>
            
            <message>
               'Security: Root User Bypass Valid: Bypass Enabled 1 - Step 2. Root Changing Password - Too Short'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 1 - Step 2. Root Changing Password - Too Short'
            </message>
            <call function="'modifyAnAttribute'">
@@ -135,7 +135,7 @@
            
            <!--- Root Search With Password -->
           <message>
               'Security: Root User Bypass Valid: Bypass Enabled 1 - Step 3. Root Searching With Password'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 1 - Step 3. Root Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -154,11 +154,11 @@
        </testcase>
        <!--- Admin Change Minimum Pwd Length -->
        <testcase name="'Security: Root User Bypass Valid: Bypass Enabled 2'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 2'">
          <sequence>
            <call function="'testCase_Preamble'"/>
            <message>
               'Security: Root User Bypass Valid: Bypass Enabled 2 - Step 1. Admin Changing Minimum Pwd Length'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 2 - Step 1. Admin Changing Minimum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -175,7 +175,7 @@
            
            <!--- User Change Password - Too Short-->
            <message>
               'Security: Root User Bypass Valid: Bypass Enabled 2 - Step 2. Root Changing Password - Too Short'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 2 - Step 2. Root Changing Password - Too Short'
            </message>
            <call function="'modifyAnAttribute'">
@@ -191,7 +191,7 @@
            
            <!--- Root Search With Password -->
            <message>
               'Security: Root User Bypass Valid: Bypass Enabled 2 - Step 3. Root Searching With Password'
               'Security: Pwd Validator: Root User Bypass Valid: Bypass Enabled 2 - Step 3. Root Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -210,14 +210,14 @@
        </testcase>
        <!--- Check Self-Change Pwd -->
        <testcase name="'Security: Root User Bypass Valid: Self-Change Pwd'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: Self-Change Pwd'">
          <sequence>
          
            <call function="'testCase_Preamble'"/>
  
          <!--- Sales Admin Self-Change Pwd-->
            <message>
               'Security: Root User Bypass Valid: Self-Change Pwd - Step 1. Root Changing Password - Too Short'
               'Security: Pwd Validator: Root User Bypass Valid: Self-Change Pwd - Step 1. Root Changing Password - Too Short'
            </message>
            <call function="'modifyAnAttribute'">
@@ -234,7 +234,7 @@
            
            <!--- Root Search With Password -->
            <message>
               'Security: Root User Bypass Valid: Self-Change Pwd - Step 2. Root Searching With Password'
               'Security: Pwd Validator: Root User Bypass Valid: Self-Change Pwd - Step 2. Root Searching With Password'
            </message>
            <call function="'SearchObject'">
@@ -254,14 +254,14 @@
        </testcase>
        <!--- Test Case : Admin Reset Minimum Pwd Length -->
        <testcase name="'Security: Root User Bypass Valid: Postamble Teardown'">
        <testcase name="'Security: Pwd Validator: Root User Bypass Valid: Postamble Teardown'">
          <sequence>
          
            <call function="'testCase_Preamble'"/>
            <!--- Root Search With Original Password -->
            <message>
               'Security: Root User Bypass Valid: Postamble - Step 1. Admin Disabling Bypass For Pwd Validator'
               'Security: Pwd Validator: Root User Bypass Valid: Postamble - Step 1. Admin Disabling Bypass For Pwd Validator'
            </message>
            <call function="'modifyPwdPolicy'">
@@ -275,7 +275,7 @@
            </call>
            
            <message>
               'Security: Root User Bypass Valid: Postamble - Step 2. Admin Resetting Minimum Pwd Length'
               'Security: Pwd Validator: Root User Bypass Valid: Postamble - Step 2. Admin Resetting Minimum Pwd Length'
            </message>
            <call function="'dsconfigSet'">
@@ -291,7 +291,7 @@
            </call>
            <!--
            <message>
               'Security: Root User Bypass Valid: Postamble - Step 3. Admin Disabling Pwd Length Validator On Root Users'
               'Security: Pwd Validator: Root User Bypass Valid: Postamble - Step 3. Admin Disabling Pwd Length Validator On Root Users'
            </message>
            <call function="'modifyEntry'">