summaryrefslogtreecommitdiffstats
path: root/testautomation
diff options
context:
space:
mode:
authorThorsten Bosbach <tbo@openoffice.org>2011-02-02 11:03:16 +0100
committerThorsten Bosbach <tbo@openoffice.org>2011-02-02 11:03:16 +0100
commit5404b53cab99fdd392ae4dd60e1472c5accfe30f (patch)
tree38727d700690805bce63b8d36ec23f2cce2174ac /testautomation
parent#i116658# update issue ids and remove obsolete ones (diff)
downloadcore-5404b53cab99fdd392ae4dd60e1472c5accfe30f.tar.gz
core-5404b53cab99fdd392ae4dd60e1472c5accfe30f.zip
Fix some changed constants
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/framework/optional/includes/options_ooo_colors.inc10
-rw-r--r--testautomation/math/optional/includes/m_105.inc4
2 files changed, 6 insertions, 8 deletions
diff --git a/testautomation/framework/optional/includes/options_ooo_colors.inc b/testautomation/framework/optional/includes/options_ooo_colors.inc
index f7c68095e198..92489ecb15fc 100644
--- a/testautomation/framework/optional/includes/options_ooo_colors.inc
+++ b/testautomation/framework/optional/includes/options_ooo_colors.inc
@@ -40,8 +40,8 @@ testcase tOOoColors
dim currentColor(4) as String
dim chColor(4) as String
- const DEFAULT_COLOR_COUNT = 99
- const CHANGED_COLOR_COUNT = 100
+ const DEFAULT_COLOR_COUNT = 100
+ const CHANGED_COLOR_COUNT = DEFAULT_COLOR_COUNT +1
const USER_COLOR = "TT-Test-Color"
myColor(1) = USER_COLOR
@@ -66,10 +66,8 @@ testcase tOOoColors
printlog( "Check the number of currently registered colors - cancel test on error" )
Kontext "TabFarben"
if ( Farbe.GetItemCount() <> DEFAULT_COLOR_COUNT ) then
- warnlog( "The number of colors has changed, stopping test" )
- printlog( "Expected: " & DEFAULT_COLOR_COUNT )
- printlog( "Found...: " & Farbe.getItemCount() )
- printlog( "Close the Tools/Options dialog with OK" )
+ warnlog "The number of colors has changed, stopping test; Expected: " & DEFAULT_COLOR_COUNT & "; Found...: " & Farbe.getItemCount()
+ printlog "Close the Tools/Options dialog with OK"
Kontext "ExtrasOptionenDlg"
ExtrasOptionenDlg.OK
WaitSlot( 2000 )
diff --git a/testautomation/math/optional/includes/m_105.inc b/testautomation/math/optional/includes/m_105.inc
index 2f16f4247854..48e45c41e1cb 100644
--- a/testautomation/math/optional/includes/m_105.inc
+++ b/testautomation/math/optional/includes/m_105.inc
@@ -453,8 +453,8 @@ testcase tToolsCatalog
next j
next i
- if (listCount(lAllSymbols()) <> 106) then
- warnlog "There have to be 106 Symbols, but there are: " + listCount(lAllSymbols())
+ if (listCount(lAllSymbols()) <> 108) then
+ warnlog "There have to be 108 Symbols, but there are: " + listCount(lAllSymbols())
endif
' TODO: check sAllSymbols for not allowed characters!
listCopy(lAllSymbols(),lAllSymbolsSort())