Apache OpenOffice (AOO) Bugzilla – Issue 96341
[Automation] Remove loading of global filternames from master.inc
Last modified: 2013-08-07 15:07:24 UTC
To speed up the test initialization we decided to remove the call to GetDefaultFilterNames() from master.inc. The expected speed gain per test file is between 6 and 12 seconds, depending on hardware/network speed. Implementation: - The call to GetDefaultFilterNames() is removed from master.inc::103 - The global variables are removed from gvariabl.inc - A new (optional) include file is created global/tools/includes/optional/t_ui_filters.inc - The global variables and the functions GetDefaultFilterNames() and hGetFilterGroup() are moved to the new file - Following .bas files are updated to include (use) the new file: * first.bas * w_numbering.bas * w_formatcharacter.bas * w_xml_vertical_alignment.bas * m_lvl1.bas * g_export_html.bas * i_pengine.bas * i_slideshow.bas * dba_ctrl_TextControl.bas
Started
Sending testautomation/dbaccess/optional/dba_ctrl_TextControl.bas Sending testautomation/framework/required/f_first.bas Sending testautomation/global/system/includes/gvariabl.inc Sending testautomation/global/system/includes/master.inc Sending testautomation/global/tools/includes/required/t_filters.inc Sending testautomation/graphics/optional/g_export_html.bas Sending testautomation/graphics/optional/i_pengine.bas Sending testautomation/graphics/optional/i_slideshow.bas Sending testautomation/math/optional/m_lvl1.bas Sending testautomation/writer/optional/w_formatcharacter.bas Sending testautomation/writer/optional/w_numbering.bas Sending testautomation/xml/optional/w_xml_vertical_alignment.bas Transmitting file data ............ Committed revision 263969. Adding optional/t_ui_filters.inc Transmitting file data . Committed revision 263970. Fixed.
Missed m_updt.bas (which uses gMathFilter in m_001_.inc) Fixed. Removed unused function hHandleAlienWarning() which used global filternames.
Sending testautomation/global/system/includes/gvariabl.inc Sending testautomation/global/tools/includes/required/t_files.inc Sending testautomation/math/required/m_updt.bas Transmitting file data ... Committed revision 264055. Removed now unused documentation from gvariable.inc
Code is gone in m38, closing