Mercurial > hg > ThermostatQA
changeset 54:7a3350258b2f
Added links to GUI patterns into generated JavaDoc (it's used in
report too).
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Wed, 05 Jun 2013 13:27:55 +0200 |
parents | c2965d2bbb2a |
children | afe2f328a970 |
files | ChangeLog src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java |
diffstat | 2 files changed, 112 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jun 05 13:14:51 2013 +0200 +++ b/ChangeLog Wed Jun 05 13:27:55 2013 +0200 @@ -1,3 +1,9 @@ +2013-06-05 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java: + Added links to GUI patterns into generated JavaDoc (it's used in + report too). + 2013-06-05 Jana Fabrikova <jfabriko@redhat.com> * src/org/thermostat/qa/framework/GuiRobot.java:
--- a/src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java Wed Jun 05 13:14:51 2013 +0200 +++ b/src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java Wed Jun 05 13:27:55 2013 +0200 @@ -76,6 +76,16 @@ /** * Test if "Failure dialog" is displayed when Thermostat GUI client is started * w/o storage. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/FailureToConnectToStorageDialog/error_icon.png"><br /><br /> + * <img src="patterns/AA/FailureToConnectToStorageDialog/configure_button.png"><br /><br /> + * <img src="patterns/AA/FailureToConnectToStorageDialog/quit_button.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/FailureToConnectToStorageDialog/error_icon.png"><br /><br /> + * <img src="patterns/noAA/FailureToConnectToStorageDialog/configure_button.png"><br /><br /> + * <img src="patterns/noAA/FailureToConnectToStorageDialog/quit_button.png"><br /><br /> */ public void testStartGUIWithoutStorage() throws IOException, AWTException { @@ -108,6 +118,18 @@ /** * Test if all base GUI parts are displayed on the screen when Thermostat GUI client * is started. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainWindow/magnify_icon.png"><br /><br /> + * <img src="patterns/AA/MainWindow/issues_label.png"><br /><br /> + * <img src="patterns/AA/MainWindow/summary_label.png"><br /><br /> + * <img src="patterns/AA/MainWindow/main_menu.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainWindow/magnify_icon.png"><br /><br /> + * <img src="patterns/noAA/MainWindow/issues_label.png"><br /><br /> + * <img src="patterns/noAA/MainWindow/summary_label.png"><br /><br /> + * <img src="patterns/noAA/MainWindow/main_menu.png"><br /><br /> */ public void testStartGUIWithStorageBasicTest() throws IOException, AWTException { @@ -129,6 +151,18 @@ /** * Test for presence of all four main menu items: File menu, Edit menu, View menu and Help menu. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainMenu/menu_bar_file.png"><br /><br /> + * <img src="patterns/AA/MainMenu/menu_bar_edit.png"><br /><br /> + * <img src="patterns/AA/MainMenu/menu_bar_view.png"><br /><br /> + * <img src="patterns/AA/MainMenu/menu_bar_help.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainMenu/menu_bar_file.png"><br /><br /> + * <img src="patterns/noAA/MainMenu/menu_bar_edit.png"><br /><br /> + * <img src="patterns/noAA/MainMenu/menu_bar_view.png"><br /><br /> + * <img src="patterns/noAA/MainMenu/menu_bar_help.png"><br /><br /> */ public void testStartGUIWithStorageMenuTest() throws IOException, AWTException { @@ -150,6 +184,12 @@ /** * Test for presence of items located in File menu. + * + * Following patterns are checked for its presence:<br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainMenu/menu_file_exit.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainMenu/menu_file_exit.png"><br /><br /> */ public void testStartGUIWithStorageMenuFileTest() throws IOException, AWTException { @@ -166,6 +206,16 @@ /** * Test for presence of items located in Edit menu. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainMenu/menu_edit_client_preferences.png"><br /><br /> + * <img src="patterns/AA/MainMenu/menu_edit_enable_history_mode.png"><br /><br /> + * <img src="patterns/AA/MainMenu/menu_edit_show_non_living_vm.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainMenu/menu_edit_client_preferences.png"><br /><br /> + * <img src="patterns/noAA/MainMenu/menu_edit_enable_history_mode.png"><br /><br /> + * <img src="patterns/noAA/MainMenu/menu_edit_show_non_living_vm.png"><br /><br /> */ public void testStartGUIWithStorageMenuEditTest() throws IOException, AWTException { @@ -185,6 +235,12 @@ /** * Test for presence of items located in View menu. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainMenu/menu_view_all_agents.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainMenu/menu_view_all_agents.png"><br /><br /> */ public void testStartGUIWithStorageMenuViewTest() throws IOException, AWTException { @@ -203,6 +259,12 @@ /** * Test for presence of items located in View menu. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/MainMenu/menu_help_about.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/MainMenu/menu_help_about.png"><br /><br /> */ public void testStartGUIWithStorageMenuHelpTest() throws IOException, AWTException { @@ -223,8 +285,12 @@ /** * Test if dialog Help/About is really shown on the screen and if all it's GUI items are presented. - * Following patterns are checked for its presence:<br /> - * <img src="patterns/AboutDialog/close_button.png"><br /> + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/AboutDialog/close_button.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/AboutDialog/close_button.png"><br /><br /> */ public void testStartGUIWithStorageMenuHelpAboutTest() throws IOException, AWTException { @@ -255,6 +321,20 @@ /** * Test if Summary tab is shown on the screen. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/TabSummary/summary_label.png"><br /><br /> + * <img src="patterns/AA/TabSummary/issues_label.png"><br /><br /> + * <img src="patterns/AA/TabSummary/total_machines_label.png"><br /><br /> + * <img src="patterns/AA/TabSummary/total_java_virtual_machines_label.png"><br /><br /> + * <img src="patterns/AA/TabSummary/no_issues_in_text_area.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/TabSummary/summary_label.png"><br /><br /> + * <img src="patterns/noAA/TabSummary/issues_label.png"><br /><br /> + * <img src="patterns/noAA/TabSummary/total_machines_label.png"><br /><br /> + * <img src="patterns/noAA/TabSummary/total_java_virtual_machines_label.png"><br /><br /> + * <img src="patterns/noAA/TabSummary/no_issues_in_text_area.png"><br /><br /> */ public void testSummaryTab() throws IOException, AWTException { @@ -276,6 +356,24 @@ /** * Test if dialog with client preferences is really shown on the screen. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/ClientPreferencesDialog/ok_button.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/cancel_button.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/user_name_label.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/password_label.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/storage_url_label.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/connection_info_label.png"><br /><br /> + * <img src="patterns/AA/ClientPreferencesDialog/save_entitlements_checkbox.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/ClientPreferencesDialog/ok_button.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/cancel_button.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/user_name_label.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/password_label.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/storage_url_label.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/connection_info_label.png"><br /><br /> + * <img src="patterns/noAA/ClientPreferencesDialog/save_entitlements_checkbox.png"><br /><br /> */ public void testEditClientPreferences() throws IOException, AWTException { @@ -307,6 +405,12 @@ /** * Test if dialog with all agents information is really shown on the screen. + * + * Following patterns are checked for its presence:<br /><br /> + * Text antialiasing enabled:<br /> + * <img src="patterns/AA/AllAgentsDialog/close_button-v2.png"><br /><br /> + * Text antialiasing disabled:<br /> + * <img src="patterns/noAA/AllAgentsDialog/close_button-v2.png"><br /><br /> */ public void testAllAgentsDialog() throws IOException, AWTException {