Issue 91790 - Unnecessary code duplication - tMainMenuBar
Summary: Unnecessary code duplication - tMainMenuBar
Status: CONFIRMED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: DEV300m24
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-18 08:41 UTC by joerg.skottke
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2008-07-18 08:41:44 UTC
The test case tMainMenuBar is present in at least five different .inc files.
Note: Module is testautomation/dbaccess

- MainApp.inc
- ReportBuilder.inc
- Query.inc
- Table.inc
- TableDesign.inc

Large parts of the test case is redundant code which checks e.g. for the
menuentries in the wizards menu. 

I suggest to isolate the test case.
Comment 1 joerg.skottke 2008-07-18 10:16:42 UTC
Chart2 uses the same test case (as tMainMenu) in ch2_menu.inc.

We should probably consider moving the test case to framework, make it part of
the required tests.