From f331c649ac236d662149be3852878ff4fe200f14 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 13 Dec 2007 18:04:15 +0000
Subject: [PATCH] CheckMatches() : use global variables True/False instead of strings

---
 opendj-sdk/opends/tests/shared/functions/utils.xml                                      |    6 +++---
 opendj-sdk/opends/tests/functional-tests/testcases/groups/group_static_uniquemember.xml |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/groups/group_static_uniquemember.xml b/opendj-sdk/opends/tests/functional-tests/testcases/groups/group_static_uniquemember.xml
index 8b5d57c..f0d052f 100644
--- a/opendj-sdk/opends/tests/functional-tests/testcases/groups/group_static_uniquemember.xml
+++ b/opendj-sdk/opends/tests/functional-tests/testcases/groups/group_static_uniquemember.xml
@@ -309,7 +309,7 @@
               <call function="'CheckMatches'">
                 { 'string2find' : 'uniquemember',
                   'mainString'  : STAXReason,
-                  'caseSensitive' : 'false',
+                  'caseSensitive' : False,
                   'nbExpected'  : 10
                 }
               </call>
@@ -467,7 +467,7 @@
               <call function="'CheckMatches'">
                 { 'string2find' : 'uniquemember',
                   'mainString'  : ldapSearchResult,
-                  'caseSensitive' : 'false',
+                  'caseSensitive' : False,
                   'nbExpected'  : 11
                 }
               </call>
@@ -672,7 +672,7 @@
               <call function="'CheckMatches'">
                 { 'string2find' : 'uniquemember',
                   'mainString'  : ldapSearchResult,
-                  'caseSensitive' : 'false',
+                  'caseSensitive' : False,
                   'nbExpected'  : 0
                 }
               </call>
diff --git a/opendj-sdk/opends/tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/shared/functions/utils.xml
index c300f50..e43e6aa 100755
--- a/opendj-sdk/opends/tests/shared/functions/utils.xml
+++ b/opendj-sdk/opends/tests/shared/functions/utils.xml
@@ -1170,9 +1170,9 @@
         </function-arg-description>
         <function-arg-property name="type" value="string"/>
       </function-arg-def>
-      <function-arg-def name="caseSensitive" type="optional" default="'true'">
+      <function-arg-def name="caseSensitive" type="optional" default="True">
         <function-arg-description>
-          comparison using case sensitive, or not value is : true/false
+          comparison using case sensitive, or not value is : True/False
         </function-arg-description>
         <function-arg-property name="type" value="string"/>
       </function-arg-def>
@@ -1188,7 +1188,7 @@
       <script>
         caseSensitiveInfo = '[case sensitive mode]'
         
-        if caseSensitive == 'false':
+        if caseSensitive == False:
           string2find = string2find.lower()
           mainString = mainString.lower()
           caseSensitiveInfo = '[case insensitive mode]'

--
Gitblit v1.10.0