Apache OpenOffice (AOO) Bugzilla – Issue 99713
[Automation] Try to speed up w_updt.bas / fix strange tests
Last modified: 2013-08-07 15:07:30 UTC
The writer update test has 68 minutes worth of sleep() statements. Guessed 95% of those are not required as they are caused by not using best coding practices like - MyDialog.exists( n ) - Waiting for an enormous amount of time for asynchronous slots (instead of probing) The approach here would be to set GLOBAL_USE_NEW_SLEEP to TRUE and to use two newly written functions hUseAsyncSlot() and hClickButton() which both use probing instead a fixed amount of time to determine whether a slot is ready or not. Some of the tests are somewhat fuzzy (they allow errors to go unnoticed as they e.g. close unexpected dialogs and error messages without printing anything to the logs. This should be fixed while refactoring the code.
Started
working on w_001*_ 70% done, already 5 minutes saved.
Completed for now, further action required at a later point.
Set verified
Close