Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A software company MicroOffice has produced four generations of Word Processing Applications, called Word90, Word00, Word10, and Word17. Suppose you are writing a program to

image text in transcribed

A software company MicroOffice has produced four generations of Word Processing Applications, called Word90, Word00, Word10, and Word17. Suppose you are writing a program to test their GUIs. The GUI components we are interested in are Panel, Button, and Textbox. These GUI components look a little different in different generation. Each generation has it own program for testing these GUI components. To know which test to run, you will need to instantiate objects that correspond to each one of the GUI components. We assume that generations of the Word to be tested are stored in a configuration file (text file). Because this situation fits the Abstract Factory pattern so well, you can use that pattern to organize the creation of objects that correspond to GUI components. You will also need to use the variation of singleton pattern to ensure that at most two instances of each generation in each test run. Please note finishing running all generations specified in the configuration file is considered as one test run. Here is an example of the configuration file content. You can create your own. Word90 Word00 Word90 Word17 Word10 Word00 Word17 Word90 Word0 Questions 1) Give the UML diagram. You should integrate singleton into abstract factory pattern. 2) Give the code (in any language) based on the UML class diagram given in 1). As output, you need to display three different messages (e.g., "Panel Word90", Button Word90", and "Textbox Word90") for the generation specified in configuration file. You should give a warning message if the same generation are asked to run more than twice. 3) Zip your UML diagram, source code, output screen shot in one .zip file and upload to class project I folder in Canvas before due. A software company MicroOffice has produced four generations of Word Processing Applications, called Word90, Word00, Word10, and Word17. Suppose you are writing a program to test their GUIs. The GUI components we are interested in are Panel, Button, and Textbox. These GUI components look a little different in different generation. Each generation has it own program for testing these GUI components. To know which test to run, you will need to instantiate objects that correspond to each one of the GUI components. We assume that generations of the Word to be tested are stored in a configuration file (text file). Because this situation fits the Abstract Factory pattern so well, you can use that pattern to organize the creation of objects that correspond to GUI components. You will also need to use the variation of singleton pattern to ensure that at most two instances of each generation in each test run. Please note finishing running all generations specified in the configuration file is considered as one test run. Here is an example of the configuration file content. You can create your own. Word90 Word00 Word90 Word17 Word10 Word00 Word17 Word90 Word0 Questions 1) Give the UML diagram. You should integrate singleton into abstract factory pattern. 2) Give the code (in any language) based on the UML class diagram given in 1). As output, you need to display three different messages (e.g., "Panel Word90", Button Word90", and "Textbox Word90") for the generation specified in configuration file. You should give a warning message if the same generation are asked to run more than twice. 3) Zip your UML diagram, source code, output screen shot in one .zip file and upload to class project I folder in Canvas before due

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions