From 8f972be9859c3e7f294bd318ccf13d8cb175f623 Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Fri, 10 Aug 2007 20:56:27 +0000
Subject: [PATCH] Fixed test case names and log messages so that they are consistent with best practices.

---
 opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml          |   58 ++++++++++++++--------------
 opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml |   40 ++++++++++----------
 2 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml b/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml
index cb716ad..b11f6ba 100755
--- a/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml
+++ b/opendj-sdk/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'">
diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml b/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml
index a2077d2..2384f27 100755
--- a/opendj-sdk/opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml
+++ b/opendj-sdk/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'">

--
Gitblit v1.10.0