From ac8e1f7b7f77b8225706e2ed567bda71b6d88689 Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Wed, 22 Aug 2007 21:35:42 +0000
Subject: [PATCH] Code cleanup - removed a test case that was commented out.

---
 opendj-sdk/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml |  269 -----------------------------------------------------
 1 files changed, 0 insertions(+), 269 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml b/opendj-sdk/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
index ab53bdc..c61e1db 100755
--- a/opendj-sdk/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
+++ b/opendj-sdk/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
@@ -2562,275 +2562,6 @@
             <!---
                 Place test-specific test information here.
                 The tag, TestMarker, must be the same as the tag, TestSuiteName.
-                #@TestMarker                ACI Effective Rights Tests
-                #@TestName                  Effective Rights - targetattr with search,read - aclRightsInfo
-                #@TestIssue                 87
-                #@TestPurpose               Test effective rights with targetattr with search,read permission, return aclRightsInfo
-                #@TestPreamble              Admin adds an aci.
-                #@TestStep                  Client searches for effective rights in an entry in the targeted branch dn.
-                #@TestStep                  Client searches for effective rights in an entry in the non-targeted branch dn.
-                #@TestStep                  Remove aci.
-                #@TestStep                  Client searches for effective rights in an entry with the previously targeted branch dn.
-                #@TestPostamble             none
-                #@TestResult                Success if OpenDS returns 0
-                                            for all ldap operations, and
-                                            an entry is returned for step 1.
-                                            Also, for step 1, the entryLevel and attributeLevel permissions
-                                            are returned.
-            -->
-            <!--
-            <testcase name="getTestCaseName('targetattr with not equal and search,read - aclRightsInfo')">
-              <sequence>
-                <call function="'testCase_Preamble'"/>
-                          
-                <script>
-                    curr_aci_ldif_file = 'add_aci31.ldif'
-                    curr_aci=retrieve_aci('%s/aci/aci_effective_rights/%s' % (logsLocalDataDir,curr_aci_ldif_file));
-                </script>
-        
-                <message>
-                   'ACI: Effective Rights: targetattr with not equal and search,read - aclRightsInfo, preamble adding aci,\n %s' % curr_aci
-                </message>
-    
-                <call function="'modifyEntry'">
-                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
-                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
-                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
-                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
-                    'entryToBeModified'   : '%s/aci/aci_effective_rights/%s' % (logsRemoteDataDir,curr_aci_ldif_file) }
-                </call>
-    
-                <if expr="RC != 0">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <message>
-                   'ACI: Effective Rights: targetattr with not equal and search,read - aclRightsInfo, user searching targeted entry'
-                </message>
-    
-                <call function="'SearchObject'">
-                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
-                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
-                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
-                    'dsInstancePswd'   : 'ACIRules' ,
-                    'dsBaseDN'         : 'uid=scarter,ou=People,ou=aci branch,o=ACI Tests,dc=example,dc=com' ,
-                    'dsFilter'         : 'uid=*'  ,
-                    'attributes'       : 'uid aclRightsInfo roomnumber cn' ,
-                    'extraParams'      : '-T -g "dn: uid=auser,ou=people,o=ACI Tests,dc=example,dc=com" -e uid -e roomnumber' }
-                </call>
-    
-                <script> 
-                 returnString = STAXResult[0][1]
-                </script> 
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;read: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;read: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;add: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;delete: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;write: acl_summary',
-                      'expectedResult'     : '1'  }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'entryLevel;proxy: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;compare;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;read;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;search;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;write;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;proxy;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;selfwrite_add;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'attributeLevel;selfwrite_delete;uid: acl_summary' ,
-                      'expectedResult'     : '1' }
-                </call>
-                
-                <if expr="returnCode != '1'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <message>
-                   'ACI: Effective Rights: targetattr with not equal and search,read - aclRightsInfo, user searching non-targeted entry'
-                </message>
-    
-                <call function="'SearchObject'">
-                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
-                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
-                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
-                    'dsInstancePswd'   : 'ACIRules' ,
-                    'dsBaseDN'         : 'uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests,dc=example,dc=com' ,
-                    'dsFilter'         : 'uid=*'  ,
-                    'attributes'       : 'aclRights' ,
-                    'extraParams'      : '-T -g "dn: uid=auser,ou=people,o=ACI Tests,dc=example,dc=com" -e uid -e roomnumber -e aclRights' }
-                </call>
-    
-                <script> 
-                 returnString = STAXResult[0][1]
-                </script> 
-    
-                <call function="'searchStringForSubstring'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests,dc=example,dc=com' ,
-                      'expectedResult'     : '0' }
-                </call>
-                
-                <if expr="returnCode != '0'">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <message>
-                   'ACI: Effective Rights: targetattr with not equal and search,read - aclRightsInfo, admin deleting aci'
-                </message>
-    
-                <call function="'modifyEntry'">
-                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
-                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
-                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
-                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
-                    'entryToBeModified'   : '%s/aci/aci_effective_rights/del_aci.ldif' % logsRemoteDataDir }
-                </call>
-    
-                <if expr="RC != 0">
-                    <tcstatus result="'fail'"/>
-                </if>
-    
-                <message>
-                   'ACI: Effective Rights: targetattr with not equal and search,read - aclRightsInfo, user searching previously targeted entry'
-                </message>
-    
-                <call function="'SearchObject'">
-                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
-                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
-                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
-                    'dsInstancePswd'   : 'ACIRules' ,
-                    'dsBaseDN'         : 'uid=scarter,ou=People,ou=aci branch,o=ACI Tests,dc=example,dc=com' ,
-                    'dsFilter'         : 'uid=*'  ,
-                    'attributes'       : 'aclRights' ,
-                    'extraParams'      : '-T -g "dn: uid=auser,ou=people,o=ACI Tests,dc=example,dc=com" -e uid -e roomnumber -e aclRights' }
-                </call>
-    
-                <script> 
-                 returnString = STAXResult[0][1]
-                </script> 
-    
-                <call function="'checktestStringNotPresent'">
-                    { 'returnString'       : returnString ,
-                      'testString'         : 'uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests,dc=example,dc=com' }
-                </call>
-                
-                <call function="'testCase_Postamble'"/>
-    
-              </sequence>
-            </testcase>
-            -->
-            
-          <!---
-                Place test-specific test information here.
-                The tag, TestMarker, must be the same as the tag, TestSuiteName.
                 #@TestMarker                ACI Target Tests
                 #@TestName                  Postamble
                 #@TestIssue                 87

--
Gitblit v1.10.0