[Libreoffice-commits] .: testautomation/framework

Yi Fan yifan at kemper.freedesktop.org
Mon Feb 21 20:27:23 PST 2011


 testautomation/framework/optional/includes/extras_modify_objects.inc |    2 +-
 testautomation/framework/optional/includes/extras_preview.inc        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4a87e74db169fb0c11794bf3f4f74ac9e92b52ac
Author: Yifan J <yfjiang at novell.com>
Date:   Tue Feb 22 12:24:53 2011 +0800

    expand template files counts index in the array
    
    If many language packs are installed, the
    original 20 items array is not enough to contain the file list.

diff --git a/testautomation/framework/optional/includes/extras_modify_objects.inc b/testautomation/framework/optional/includes/extras_modify_objects.inc
index 964d28a..59fcf17 100755
--- a/testautomation/framework/optional/includes/extras_modify_objects.inc
+++ b/testautomation/framework/optional/includes/extras_modify_objects.inc
@@ -49,7 +49,7 @@ testcase tModifyObjects( iMode as integer, cCategory as string, sVer as string )
     dim iObjectFolders as integer
    
     dim iObject as integer    ' Iterator
-    dim iObjectCount( 20 ) as integer
+    dim iObjectCount( 100 ) as integer
     dim iObjectSum as integer : iObjectSum = 0
     dim iObjectCountExpected as integer
    
diff --git a/testautomation/framework/optional/includes/extras_preview.inc b/testautomation/framework/optional/includes/extras_preview.inc
index ca3a24e..0d086c3 100755
--- a/testautomation/framework/optional/includes/extras_preview.inc
+++ b/testautomation/framework/optional/includes/extras_preview.inc
@@ -44,7 +44,7 @@ testcase tShowAllObjectsAsPreview( cCategory as string )
     dim iObjectFolders as integer  ' the number of template/sample-folders
     
     dim iObject as Integer         ' the current template/sample within loops
-    dim iObjectCount( 20 ) as integer  ' number of templates/samples in the folders
+    dim iObjectCount( 100 ) as integer  ' number of templates/samples in the folders
    
   
     printlog( "" )


More information about the Libreoffice-commits mailing list