summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Bosbach <tbo@OpenOffice.org>2010-10-12 15:11:14 +0200
committerThorsten Bosbach <tbo@OpenOffice.org>2010-10-12 15:11:14 +0200
commit0eabe6cf78f5aadefdfba1d9761914a0add66068 (patch)
treeaf3aef8691107baa009039087d870591a2bd5ca1
parent57c749996a838a3b56ad2917c656b865880d5fd6 (diff)
#i114831# fix outcome from tl83 cws
-rw-r--r--testautomation/math/optional/includes/m_105.inc22
1 files changed, 11 insertions, 11 deletions
diff --git a/testautomation/math/optional/includes/m_105.inc b/testautomation/math/optional/includes/m_105.inc
index 9d35f36ff..e7b97e705 100644
--- a/testautomation/math/optional/includes/m_105.inc
+++ b/testautomation/math/optional/includes/m_105.inc
@@ -302,8 +302,8 @@ testcase tToolsCatalog
dim bChecked as boolean
dim sFileName as string
dim sAllSymbols as string
- dim lAllSymbols(100) as string
- dim lAllSymbolsSort(100) as string
+ dim lAllSymbols(200) as string
+ dim lAllSymbolsSort(200) as string
dim iTimeOut as integer
dim sFilterName as string
dim sFilter as string
@@ -335,8 +335,8 @@ testcase tToolsCatalog
'/// There are 2 Symbol sets: 1. 'Greek' with 54 entries and 2. 'Special' with 12 entries ///'
'///+ These symbol set names are availble in 2 listboxes 1. 'Old Symbol Set' and 2. 'Symbol Set' ///'
iSymbolSets = OldSymbolSet.GetItemCount
- if (iSymbolSets <> 2) then
- WarnLog "- OldSymbolSet: '" + iSymbolSets + "' is not 2; expected is 2. ('Special' and 'Greek')"
+ if (iSymbolSets <> 3) then
+ WarnLog "- OldSymbolSet: '" + iSymbolSets + "' is not 3; expected is 3. ('Special' and 'Greek' and 'iGreek')"
for i = 1 to iSymbolSets
qaErrorLog "- " + i + ": '" + OldSymbolSet.GetItemText(i) + "'"
next i
@@ -448,12 +448,12 @@ testcase tToolsCatalog
'///+ insert the copied text into the document ///'
DocumentWriter.typeKeys "<Mod1 End> - " + sTemp + ": " + j + "<Tab>"
sAllSymbols = sAllSymbols + sTemp
- listAppend(lAllSymbols(), sTemp)
+ listAppend(lAllSymbols(), rTrim(sTemp))
next j
next i
- if (listCount(lAllSymbols()) <> 66) then
- warnlog "There have to be 66 Symbols, but there are: " + listCount(lAllSymbols())
+ if (listCount(lAllSymbols()) <> 106) then
+ warnlog "There have to be 106 Symbols, but there are: " + listCount(lAllSymbols())
endif
' TODO: check sAllSymbols for not allowed characters!
listCopy(lAllSymbols(),lAllSymbolsSort())
@@ -509,8 +509,8 @@ testcase tToolsCatalogNew
Kontext "EditSymbols"
if EditSymbols.exists then
iStartingSymbolSetCount = SymbolSet.getItemCount
- if iStartingSymbolSetCount <> 2 then
- qaErrorLog "There are already other symbolsets, instead of 2: " + iStartingSymbolSetCount
+ if iStartingSymbolSetCount <> 3 then
+ qaErrorLog "There are already other symbolsets, instead of 3: " + iStartingSymbolSetCount
for i = 1 to iStartingSymbolSetCount
printlog "("+i+"/"+iStartingSymbolSetCount+"): '" + SymbolSet.getItemText (i) + "'"
next i
@@ -673,8 +673,8 @@ testcase tToolsCatalogNew
endif
Kontext "SymboleMath"
j = symbolset.getItemCount
- if j <> 2 then
- warnlog "There is a number != 2 of symbollists listed"
+ if j <> 3 then
+ warnlog "There is a number != 3 of symbollists listed"
else
printlog "Everything is cleaned up."
endif