]> source.dussan.org Git - sonarqube.git/commitdiff
move IT from src/it/java to src/test/java to follow default conf of failsafe plugin
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 15 Dec 2010 12:05:17 +0000 (12:05 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 15 Dec 2010 12:05:17 +0000 (12:05 +0000)
399 files changed:
tests/integration/tests/pom.xml
tests/integration/tests/src/it/java/org/sonar/tests/integration/GzipCompressionTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/ITUtils.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/ServerTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/UpdateCenterTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/VariationsIT.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java [deleted file]
tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/SonarTestCase.java [deleted file]
tests/integration/tests/src/it/selenium/SONAR-1032-ws-api.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-1074-commented-code.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-1709-static-resources.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-1772-findbugs-violations.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-222_maven_extensions.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-594-jee-sample.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-594-no-violations.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-684-encode-violation-messages.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-767-pmd-close-resource-rule.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html [deleted file]
tests/integration/tests/src/it/selenium/SONAR-981-clover-skip.html [deleted file]
tests/integration/tests/src/it/selenium/alerts/create_and_delete_alert_on_lines_of_code.html [deleted file]
tests/integration/tests/src/it/selenium/alerts/should_validate_alert_on_creation.html [deleted file]
tests/integration/tests/src/it/selenium/all-tests.html [deleted file]
tests/integration/tests/src/it/selenium/authentication/login_cancel.html [deleted file]
tests/integration/tests/src/it/selenium/authentication/login_successful.html [deleted file]
tests/integration/tests/src/it/selenium/authentication/login_wrong_password.html [deleted file]
tests/integration/tests/src/it/selenium/branch.html [deleted file]
tests/integration/tests/src/it/selenium/clover/clover2.html [deleted file]
tests/integration/tests/src/it/selenium/clover/clover3.html [deleted file]
tests/integration/tests/src/it/selenium/contextualized-breadcrumb.html [deleted file]
tests/integration/tests/src/it/selenium/coverage_clouds/clouds_on_packages.html [deleted file]
tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_project_risk.html [deleted file]
tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_quick_wins.html [deleted file]
tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_source_tab.html [deleted file]
tests/integration/tests/src/it/selenium/custom-maven-type.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/SONAR-601-project-without-measures.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/basic-archetype-widget.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/chidamber_kemerer_widget.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/deprecated-url-format.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/display_files_and_classes.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/file_widget_on_packages.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/no_file_design_widget_on_projects.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/no_package_design_widget_on_packages.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/package_design_widget_on_projects.html [deleted file]
tests/integration/tests/src/it/selenium/dashboard/reference.html [deleted file]
tests/integration/tests/src/it/selenium/dependencies/no_results.html [deleted file]
tests/integration/tests/src/it/selenium/dependencies/search_subprojects.html [deleted file]
tests/integration/tests/src/it/selenium/dependencies/standard_usage.html [deleted file]
tests/integration/tests/src/it/selenium/dependencies/too_short_search.html [deleted file]
tests/integration/tests/src/it/selenium/design/drilldown_on_lcom4.html [deleted file]
tests/integration/tests/src/it/selenium/design/drilldown_on_rfc.html [deleted file]
tests/integration/tests/src/it/selenium/design/drilldown_to_dsm.html [deleted file]
tests/integration/tests/src/it/selenium/design/lcom4_tab.html [deleted file]
tests/integration/tests/src/it/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html [deleted file]
tests/integration/tests/src/it/selenium/disabled-project.html [deleted file]
tests/integration/tests/src/it/selenium/do-not-import-sources.html [deleted file]
tests/integration/tests/src/it/selenium/duplicated-lines/drilldown-without-ratio.html [deleted file]
tests/integration/tests/src/it/selenium/event_categories/should_create_category.html [deleted file]
tests/integration/tests/src/it/selenium/event_categories/should_delete_category.html [deleted file]
tests/integration/tests/src/it/selenium/event_categories/should_edit_category.html [deleted file]
tests/integration/tests/src/it/selenium/event_categories/should_validate_category.html [deleted file]
tests/integration/tests/src/it/selenium/events/create_event_on_last_snapshot.html [deleted file]
tests/integration/tests/src/it/selenium/events/create_event_with_special_characters.html [deleted file]
tests/integration/tests/src/it/selenium/events/create_event_without_snapshot.html [deleted file]
tests/integration/tests/src/it/selenium/events/no_events_widget_on_module_and_package.html [deleted file]
tests/integration/tests/src/it/selenium/events/should_not_create_events_if_anonymous.html [deleted file]
tests/integration/tests/src/it/selenium/events/should_validate_event_on_creation.html [deleted file]
tests/integration/tests/src/it/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html [deleted file]
tests/integration/tests/src/it/selenium/exclusions/cobertura_exclusions.html [deleted file]
tests/integration/tests/src/it/selenium/exclusions/cpd_exclusions.html [deleted file]
tests/integration/tests/src/it/selenium/exclusions/javancss_exclusions.html [deleted file]
tests/integration/tests/src/it/selenium/exclusions/set_exclusions_from_project_settings_page.html [deleted file]
tests/integration/tests/src/it/selenium/filters/anonymous-default-filters.html [deleted file]
tests/integration/tests/src/it/selenium/filters/create-advanced-filter.html [deleted file]
tests/integration/tests/src/it/selenium/filters/create-and-delete-filter.html [deleted file]
tests/integration/tests/src/it/selenium/filters/default-filters-console-for-admins-only.html [deleted file]
tests/integration/tests/src/it/selenium/filters/default-filters-console.html [deleted file]
tests/integration/tests/src/it/selenium/filters/set-favourite-project.html [deleted file]
tests/integration/tests/src/it/selenium/filters/treemap-filter.html [deleted file]
tests/integration/tests/src/it/selenium/footer-data.html [deleted file]
tests/integration/tests/src/it/selenium/google_analytics_plugin/activate_google_analytics.html [deleted file]
tests/integration/tests/src/it/selenium/google_analytics_plugin/deactivate_google_analytics.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/ccn_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/duplicated_lines_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/function_complexity_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/no_measures.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/popup-on-rules.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/rules_violations_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/test_execution_time_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/hotspots/violations_hotspot.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/default_locale_is_english.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/french-france.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/french-switzerland.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/french.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/japanese_duplications.html [deleted file]
tests/integration/tests/src/it/selenium/i18n/japanese_sources.html [deleted file]
tests/integration/tests/src/it/selenium/java-inner-classes/dashboard.html [deleted file]
tests/integration/tests/src/it/selenium/libraries/display_tests.html [deleted file]
tests/integration/tests/src/it/selenium/libraries/keyword_filter.html [deleted file]
tests/integration/tests/src/it/selenium/libraries/module_libraries.html [deleted file]
tests/integration/tests/src/it/selenium/manual_metrics/predefined_metrics.html [deleted file]
tests/integration/tests/src/it/selenium/many-source-dirs.html [deleted file]
tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html [deleted file]
tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-268.html [deleted file]
tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-564_show_zero_measures.html [deleted file]
tests/integration/tests/src/it/selenium/measures_drilldown/dont-display-resources-without-violations.html [deleted file]
tests/integration/tests/src/it/selenium/measures_drilldown/show_from_modules_to_classes.html [deleted file]
tests/integration/tests/src/it/selenium/modules.html [deleted file]
tests/integration/tests/src/it/selenium/plugins/settings_on_core_plugins.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/activate-profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/backup-profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/bulk-change.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/cancel-profile-creation.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/copy-profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/create_java_profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/dashboard_links_to_used_profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/delete-profile.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/display-permalinks-to-tools.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-blank-name.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-existing-name.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/do-not-create-profile-with-existing-name.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/do-not-delete-provided-profiles.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/link-profile-to-project.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/permalink-to-checkstyle-configuration.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/permalink-to-default-checkstyle-configuration.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/permalink-to-pmd-configuration.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/profile-overriden-by-maven-parameter.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/provided-profiles-are-not-editable.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/read-only-mode-when-anonymous-user.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/should_import_checkstyle_findbugs_pmd.html [deleted file]
tests/integration/tests/src/it/selenium/profiles/user-profiles-are-editable.html [deleted file]
tests/integration/tests/src/it/selenium/projects_columns/projects_columns_add_and_remove_column.html [deleted file]
tests/integration/tests/src/it/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html [deleted file]
tests/integration/tests/src/it/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html [deleted file]
tests/integration/tests/src/it/selenium/projects_columns/projects_columns_remove_default_column_sort.html [deleted file]
tests/integration/tests/src/it/selenium/projects_columns/projects_columns_update_default_column_sort.html [deleted file]
tests/integration/tests/src/it/selenium/reviews/create_then_edit_type.html [deleted file]
tests/integration/tests/src/it/selenium/reviews/insert_then_delete_review_measure.html [deleted file]
tests/integration/tests/src/it/selenium/reviews/reviews_should_not_create_review_in_futur.html [deleted file]
tests/integration/tests/src/it/selenium/ruby-api.html [deleted file]
tests/integration/tests/src/it/selenium/rules-on-tests.html [deleted file]
tests/integration/tests/src/it/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html [deleted file]
tests/integration/tests/src/it/selenium/rules/check_rules_extensions.html [deleted file]
tests/integration/tests/src/it/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html [deleted file]
tests/integration/tests/src/it/selenium/rules/copy_and_edit_rule_template.html [deleted file]
tests/integration/tests/src/it/selenium/rules/pmd_xpath_rule_extension.html [deleted file]
tests/integration/tests/src/it/selenium/rules/rule_search.html [deleted file]
tests/integration/tests/src/it/selenium/rules/rule_search_verify_form_values_on_first_call.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_all_rules.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_and_display_inactive_rules.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_any_rules.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_by_plugin.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_by_rule_priority.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_by_rule_status.html [deleted file]
tests/integration/tests/src/it/selenium/rules/search_by_rule_title.html [deleted file]
tests/integration/tests/src/it/selenium/rules/violations_tab.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-300-tests_details.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-517_violations_drilldown.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-538-duplications_viewer.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-582-violations-without-lines.html [deleted file]
tests/integration/tests/src/it/selenium/sourceviewers/SONAR-659-test_success_percentage.html [deleted file]
tests/integration/tests/src/it/selenium/static-analysis/deprecated_light_mode.html [deleted file]
tests/integration/tests/src/it/selenium/static-analysis/static-analysis.html [deleted file]
tests/integration/tests/src/it/selenium/system_info/system_info.html [deleted file]
tests/integration/tests/src/it/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html [deleted file]
tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html [deleted file]
tests/integration/tests/src/it/selenium/timemachine/should-not-display-rows-without-data.html [deleted file]
tests/integration/tests/src/it/selenium/timemachine/violations-timemachine.html [deleted file]
tests/integration/tests/src/it/selenium/treemap/treemap_check_gradient_direction.html [deleted file]
tests/integration/tests/src/it/selenium/treemap/treemap_file_drilldown_link.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/SONAR-1099-html-chars.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/no-test-failures.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/no-tests-data-on-static-analysis.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/reuse-clover-and-junit-reports.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/reuse-cobertura-and-junit-reports.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/reuse-junit-reports-only.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/reuse-maven-coverage-reports.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/skip-surefire-tests.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/some-test-failures.html [deleted file]
tests/integration/tests/src/it/selenium/unit_tests/zero-when-no-tests.html [deleted file]
tests/integration/tests/src/it/selenium/users/accept-login-with-whitespace.html [deleted file]
tests/integration/tests/src/it/selenium/users/add-user-to-group.html [deleted file]
tests/integration/tests/src/it/selenium/users/admin-has-default-groups.html [deleted file]
tests/integration/tests/src/it/selenium/users/affect-new-user-to-default-group.html [deleted file]
tests/integration/tests/src/it/selenium/users/affect-user-to-group.html [deleted file]
tests/integration/tests/src/it/selenium/users/authenticate-new-user.html [deleted file]
tests/integration/tests/src/it/selenium/users/can-not-delete-myself.html [deleted file]
tests/integration/tests/src/it/selenium/users/change-username-without-changing-password.html [deleted file]
tests/integration/tests/src/it/selenium/users/confirm-password-when-creating-user.html [deleted file]
tests/integration/tests/src/it/selenium/users/create-and-delete-groups.html [deleted file]
tests/integration/tests/src/it/selenium/users/create-and-delete-users.html [deleted file]
tests/integration/tests/src/it/selenium/users/my-profile-display-basic-data.html [deleted file]
tests/integration/tests/src/it/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html [deleted file]
tests/integration/tests/src/it/selenium/violations_drilldown/check_violations_on_extensions.html [deleted file]
tests/integration/tests/src/it/selenium/violations_drilldown/popup-on-rules.html [deleted file]
tests/integration/tests/src/it/selenium/violations_drilldown/select_resource.html [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139Test.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimemachineTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java [new file with mode: 0644]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/all-tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/authentication/login_cancel.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/authentication/login_successful.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/branch.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/clover/clover2.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/clover/clover3.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/custom-maven-type.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dashboard/reference.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dependencies/no_results.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dependencies/standard_usage.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/dependencies/too_short_search.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/design/lcom4_tab.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/disabled-project.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/do-not-import-sources.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/event_categories/should_create_category.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/default-filters-console.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/set-favourite-project.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/filters/treemap-filter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/footer-data.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/no_measures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/french-france.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/french-switzerland.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/french.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/i18n/japanese_sources.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/libraries/display_tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/libraries/keyword_filter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/libraries/module_libraries.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/many-source-dirs.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/modules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/activate-profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/backup-profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/bulk-change.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/copy-profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/create_java_profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/delete-profile.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/ruby-api.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules-on-tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/rule_search.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_all_rules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_any_rules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_by_plugin.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/rules/violations_tab.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/system_info/system_info.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/add-user-to-group.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/affect-user-to-group.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/authenticate-new-user.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/create-and-delete-users.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html [new file with mode: 0644]
tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html [new file with mode: 0644]

index f79a7b2c7f349763f9fc7fc6c7f2147790017be7..e4ab316ecd908850e2d07a724c276187bcc2510e 100644 (file)
           <port>4444</port>
           <browser>${selenium.browser}</browser>
           <startURL>http://localhost:9000/</startURL>
-          <suite>src/it/selenium/all-tests.html</suite>
+          <suite>src/test/selenium/all-tests.html</suite>
           <slowResources>false</slowResources>
         </configuration>
         <executions>
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/GzipCompressionTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/GzipCompressionTest.java
deleted file mode 100644 (file)
index 841e7b5..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpMethod;
-import org.apache.commons.httpclient.methods.GetMethod;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-import java.io.IOException;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.*;
-
-public class GzipCompressionTest {
-
-  private HttpClient client;
-  private HttpMethod method;
-
-  @Before
-  public void before() {
-    client = new HttpClient();
-    method = new GetMethod(ITUtils.getSonarURL());
-  }
-
-  @After
-  public void after(){
-    method.releaseConnection();
-  }
-
-  @Test
-  public void responseShouldBeGzipped() throws IOException {
-    client.executeMethod(method);
-    int sizeWithoutGzip = method.getResponseBodyAsString().length();
-    assertThat(sizeWithoutGzip, greaterThan(0));
-    assertThat(method.getResponseHeader("Content-Encoding"), nullValue());
-        
-    method.setRequestHeader("Accept-Encoding", "gzip, deflate");
-    client.executeMethod(method);
-    int sizeWithGzip = method.getResponseBodyAsString().length();
-    assertThat(sizeWithGzip, greaterThan(0));
-    assertThat(method.getResponseHeader("Content-Encoding").getValue(), is("gzip"));
-
-    assertThat(sizeWithGzip, lessThan(sizeWithoutGzip));
-  }
-
-}
\ No newline at end of file
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/ITUtils.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/ITUtils.java
deleted file mode 100644 (file)
index e6d0ec7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.lang.StringUtils;
-import org.junit.Ignore;
-import org.sonar.wsclient.Sonar;
-
-@Ignore
-public final class ITUtils {
-
-  private ITUtils() {
-  }
-
-  public static Sonar createSonarWsClient() {
-    return Sonar.create(getSonarURL());
-  }
-
-  public static String getSonarURL() {
-    return StringUtils.defaultIfEmpty(System.getProperty("sonar.url"), "http://localhost:9000");
-  }
-
-
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/ServerTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/ServerTest.java
deleted file mode 100644 (file)
index 80968f3..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.Test;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Server;
-import org.sonar.wsclient.services.ServerQuery;
-
-import static org.hamcrest.Matchers.endsWith;
-import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
-
-public class ServerTest {
-
-  @Test
-  public void shouldGetVersion() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    assertThat(sonar.find(new ServerQuery()).getVersion(), endsWith("-SNAPSHOT"));
-  }
-
-  @Test
-  public void shouldGetStatus() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    assertThat(sonar.find(new ServerQuery()).getStatus(), is(Server.Status.UP));
-  }
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java
deleted file mode 100644 (file)
index aa6cc2e..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.*;
-
-import java.util.Date;
-import java.util.List;
-
-import static junit.framework.Assert.assertTrue;
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.Matchers.nullValue;
-import static org.hamcrest.number.OrderingComparisons.greaterThan;
-import static org.hamcrest.number.IsCloseTo.closeTo;
-import static org.hamcrest.number.OrderingComparisons.greaterThanOrEqualTo;
-import static org.hamcrest.number.OrderingComparisons.lessThan;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
-
-/**
- * To execute these unit tests, just check-out Struts 1.3.9 from subversion:
- * http://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_9
- * <p/>
- * The quality profile to use is the default one configured in IT (see the file integration-tests-backup.xml).
- */
-public class Struts139Test {
-
-  private static Sonar sonar;
-  private static final String PROJECT_STRUTS = "org.apache.struts:struts-parent";
-  private static final String MODULE_CORE = "org.apache.struts:struts-core";
-  private static final String PACKAGE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action";
-  private static final String FILE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action.Action";
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void shouldReturnAnalysisDate() {
-    Date date = sonar.find(new ResourceQuery(PROJECT_STRUTS)).getDate();
-    assertNotNull(date);
-    assertThat(date.getYear(), greaterThanOrEqualTo(110)); // 1900 + 110
-  }
-
-  @Test
-  public void strutsIsAnalyzed() {
-    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getName(), is("Struts"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getVersion(), is("1.3.9"));
-    assertThat(sonar.find(new ResourceQuery(MODULE_CORE)).getName(), is("Struts Core"));
-  }
-
-  @Test
-  public void testProjectViolationMeasures() {
-    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(7726.0, 500.0));
-    assertThat(getProjectMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(2889.0, 200.0));
-    assertThat(getProjectMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 200.0));
-    assertThat(getProjectMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(5157.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(84.6, 5.0));
-  }
-
-  @Test
-  public void testPackageViolationMeasures() {
-    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(292.0, 50.0));
-    assertThat(getPackageMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
-    assertThat(getPackageMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
-    assertThat(getPackageMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(111.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(181.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(87.8, 5.0));
-  }
-
-
-  @Test
-  public void sizeMetrics() {
-    assertThat(getProjectMeasure("lines").getIntValue(), is(114621));
-    assertThat(getProjectMeasure("ncloc").getIntValue(), is(50080));
-    assertThat(getProjectMeasure("functions").getIntValue(), is(4292));
-    assertThat(getProjectMeasure("accessors").getIntValue(), is(1133));
-    assertThat(getProjectMeasure("classes").getIntValue(), is(518));
-    assertThat(getProjectMeasure("packages").getIntValue(), is(49));
-    assertThat(getProjectMeasure("files").getIntValue(), is(494));
-    assertThat(getCoreModuleMeasure("files").getIntValue(), is(134));
-    assertThat(getPackageMeasure("files").getIntValue(), is(21));
-    assertThat(getFileMeasure("files").getIntValue(), is(1));
-  }
-
-  @Test
-  public void unitTestMetrics() {
-    assertThat(getProjectMeasure("coverage").getValue(), is(14.7));
-    assertThat(getProjectMeasure("line_coverage").getValue(), is(15.4));
-    assertThat(getProjectMeasure("branch_coverage").getValue(), is(12.8));
-    assertThat(getProjectMeasure("tests").getIntValue(), is(323));
-    assertThat(getProjectMeasure("test_execution_time").getIntValue(), greaterThan(1000));
-    assertThat(getProjectMeasure("test_errors").getIntValue(), is(0));
-    assertThat(getProjectMeasure("test_failures").getIntValue(), is(0));
-    assertThat(getProjectMeasure("skipped_tests").getIntValue(), is(0));
-    assertThat(getProjectMeasure("test_success_density").getValue(), is(100.0));
-
-  }
-
-  @Test
-  public void complexityMetrics() {
-    assertThat(getProjectMeasure("complexity").getIntValue(), is(11140));
-    assertThat(getProjectMeasure("statements").getIntValue(), is(21896));
-    assertThat(getProjectMeasure("class_complexity").getValue(), is(21.5));
-    assertThat(getProjectMeasure("function_complexity").getValue(), is(2.6));
-    assertThat(getProjectMeasure("class_complexity_distribution").getData(), is("0=172;5=90;10=86;20=55;30=69;60=34;90=17"));
-  }
-
-  @Test
-  public void lcom4() {
-    assertThat(getProjectMeasure("lcom4").getValue(), greaterThan(1.5));
-    assertThat(getProjectMeasure("lcom4").getValue(), lessThan(2.0));
-    assertThat(getFileMeasure("lcom4").getValue(), greaterThan(10.0));
-  }
-
-  @Test
-  public void rfc() {
-    assertThat(getProjectMeasure("rfc").getValue(), greaterThan(10.0));
-    assertThat(getProjectMeasure("rfc").getValue(), lessThan(30.0));
-  }
-
-  @Test
-  public void designMeaures() {
-    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), greaterThan(10));
-    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), lessThan(50));
-    
-    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), greaterThan(3));
-    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), lessThan(10));
-
-    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), greaterThan(10));
-    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), lessThan(50));
-
-    assertThat(sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, "dit", "noc")).getMeasures().size(), is(0));
-  }
-
-  @Test
-  public void shouldGetDetailsOfCoverageHits() {
-    Resource resource = sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.action.ActionForward", CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY));
-    Measure coverageData = resource.getMeasure(CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY);
-    assertNotNull(coverageData);
-    assertThat(coverageData.getData().length(), greaterThan(10));
-    assertTrue(coverageData.getData().matches("(\\d+=\\d+;{0,1})+"));
-  }
-
-  @Test
-  public void dependencyTree() {
-    List<DependencyTree> trees = sonar.findAll(DependencyTreeQuery.createForProject(PROJECT_STRUTS));
-    assertThat(trees.size(), is(0));
-
-    trees = sonar.findAll(DependencyTreeQuery.createForProject(MODULE_CORE));
-    assertThat(trees.size(), greaterThan(0));
-    assertThat(trees.get(0).getResourceName(), is("antlr:antlr"));
-  }
-
-  @Test
-  public void versionEvent() {
-    EventQuery query = new EventQuery(PROJECT_STRUTS);
-    query.setCategories(new String[]{"Version"});
-    List<Event> events = sonar.findAll(query);
-    assertThat(events.size(), is(1));
-
-    Event version = events.get(0);
-    assertThat(version.getName(), is("1.3.9"));
-    assertThat(version.getCategory(), is("Version"));
-  }
-
-  /**
-   * See http://jira.codehaus.org/browse/SONAR-2041
-   */
-  @Test
-  public void unknownMetric() {
-    assertThat(getProjectMeasure("notfound"), nullValue());
-    assertThat(getCoreModuleMeasure("notfound"), nullValue());
-    assertThat(getPackageMeasure("notfound"), nullValue());
-    assertThat(getFileMeasure("notfound"), nullValue());
-  }
-
-  private Measure getFileMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(FILE_ACTION, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getCoreModuleMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(MODULE_CORE, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getProjectMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getPackageMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(PACKAGE_ACTION, metricKey)).getMeasure(metricKey);
-  }
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/UpdateCenterTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/UpdateCenterTest.java
deleted file mode 100644 (file)
index 9ba4c33..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.lang.StringUtils;
-import org.junit.Test;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Plugin;
-import org.sonar.wsclient.services.UpdateCenterQuery;
-
-import java.util.List;
-
-import static junit.framework.Assert.assertNotNull;
-import static org.hamcrest.Matchers.startsWith;
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.number.OrderingComparisons.greaterThan;
-import static org.junit.Assert.assertThat;
-
-public class UpdateCenterTest {
-
-  @Test
-  public void shouldGetInstalledPlugins() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    List<Plugin> plugins = sonar.findAll(UpdateCenterQuery.createForInstalledPlugins());
-    assertThat(plugins.size(), greaterThan(0));
-
-    Plugin referencePlugin = findReferencePlugin(plugins, "itreference");
-    assertNotNull(referencePlugin);
-    assertThat(referencePlugin.getName(), is("Sonar :: Integration Tests :: Reference Plugin"));
-    assertThat(referencePlugin.getVersion(), startsWith("2."));
-  }
-
-  private Plugin findReferencePlugin(List<Plugin> plugins, String pluginKey) {
-    for (Plugin plugin : plugins) {
-      if (StringUtils.equals(pluginKey, plugin.getKey())) {
-        return plugin;
-      }
-    }
-    return null;
-  }
-
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/VariationsIT.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/VariationsIT.java
deleted file mode 100644 (file)
index 20307d6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-public class VariationsIT {
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java
deleted file mode 100644 (file)
index f834de0..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.*;
-
-import java.util.Arrays;
-import java.util.List;
-
-import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
-
-public class ViolationsTimemachineTest {
-
-  private static Sonar sonar;
-  private static final String PROJECT = "org.sonar.tests:violations-timemachine";
-  private static final String FILE = "org.sonar.tests:violations-timemachine:org.sonar.tests.violationstimemachine.Hello";
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void projectIsAnalyzed() {
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getName(), is("Violations timemachine"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getVersion(), is("1.0-SNAPSHOT"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getDate().getMonth(), is(10)); // November
-  }
-
-  @Test
-  public void timemachine() {
-    TimeMachineQuery query = TimeMachineQuery.createForMetrics(PROJECT,
-        CoreMetrics.BLOCKER_VIOLATIONS_KEY,
-        CoreMetrics.CRITICAL_VIOLATIONS_KEY,
-        CoreMetrics.MAJOR_VIOLATIONS_KEY,
-        CoreMetrics.MINOR_VIOLATIONS_KEY,
-        CoreMetrics.INFO_VIOLATIONS_KEY);
-    List<TimeMachineData> snapshots = sonar.findAll(query);
-    assertThat(snapshots.size(), is(2));
-
-    TimeMachineData snapshot1 = snapshots.get(0);
-    TimeMachineData snapshot2 = snapshots.get(1);
-
-    assertThat(snapshot1.getDate().getMonth(), is(9));
-    assertThat(snapshot1.getValues(), is(Arrays.asList("0.0", "0.0", "3.0", "4.0", "0.0")));
-
-    assertThat(snapshot2.getDate().getMonth(), is(10));
-    assertThat(snapshot2.getValues(), is(Arrays.asList("0.0", "0.0", "4.0", "3.0", "0.0")));
-  }
-
-  @Test
-  public void correctLinesAndDates() {
-    ViolationQuery query = ViolationQuery.createForResource(FILE).setSeverities("MAJOR");
-    List<Violation> violations = sonar.findAll(query);
-
-    assertThat(violations.get(0).getLine(), is(8));
-    assertThat(violations.get(0).getCreatedAt().getMonth(), is(9)); // old violation
-
-    assertThat(violations.get(1).getLine(), is(13));
-    assertThat(violations.get(1).getCreatedAt().getMonth(), is(9)); // old violation
-
-    assertThat(violations.get(2).getLine(), is(18));
-    assertThat(violations.get(2).getCreatedAt().getMonth(), is(10)); // new violation
-  }
-
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java
deleted file mode 100644 (file)
index 5d6ecc6..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import org.junit.Test;
-
-import static junit.framework.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
-public class CustomizeComponentsPageTest extends SonarTestCase {
-
-  @Test
-  public void defaultTreemapIsCustomizableByAdministrators() {
-    loginAsAdministrator();
-    selenium.open("/components/index/org.apache.struts:struts-parent");
-
-    // configure is OFF
-    assertFalse(selenium.isElementPresent("set_default_treemap"));
-
-    // configure is ON
-    clickAndWait("configure-on");    
-    assertTrue(selenium.isElementPresent("set_default_treemap"));
-  }
-
-  @Test
-  public void notCustomizableByAnonymous() {
-    loginAsAnonymous();
-    selenium.open("/components/index/org.apache.struts:struts-parent");
-    assertFalse(selenium.isElementPresent("configure-on"));
-  }
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java
deleted file mode 100644 (file)
index dca4cb2..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import org.junit.Test;
-
-import static org.junit.Assert.assertTrue;
-
-public class DeployUIExtensionsTest extends SonarTestCase {
-
-  @Test
-  public void gwtPageIsDisplayedInHomeSidebar() throws Exception {
-    selenium.open("/");
-               assertTrue(selenium.getText("sidebar").contains("GWT sample"));
-               selenium.click("link=GWT sample");
-               selenium.waitForPageToLoad("30000");
-               assertTrue(selenium.isTextPresent("this is a GWT sample"));
-  }
-
-  @Test
-  public void displayHhtmlFooter() throws Exception {
-    selenium.open("/");
-               assertTrue(selenium.getText("ft").contains("Sample footer"));
-  }
-
-}
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/SonarTestCase.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/selenium/SonarTestCase.java
deleted file mode 100644 (file)
index fa56aac..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2009 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import com.thoughtworks.selenium.DefaultSelenium;
-import org.junit.After;
-import org.junit.Before;
-import org.sonar.tests.integration.ITUtils;
-
-/**
- * To execute selenium tests in IDE, you have to run the selenium server first :
- * mvn selenium:start-server   
- */
-public abstract class SonarTestCase {
-  protected DefaultSelenium selenium;
-
-  @Before
-  public void before() throws Exception {
-    // TODO the browser and the url must be configurable 
-    selenium = new DefaultSelenium("localhost", 4444, "*firefox", ITUtils.getSonarURL());
-    selenium.start();
-  }
-
-  @After
-  public void after() {
-    selenium.stop();
-  }
-
-  protected void login(String login, String password) {
-    logout();
-    selenium.open("/sessions/new");
-    selenium.type("login", login);
-    selenium.type("password", password);
-    selenium.click("commit");
-    selenium.waitForPageToLoad("30000");
-  }
-
-  protected void logout() {
-    selenium.open("/sessions/logout");
-  }
-
-  protected void loginAsAdministrator() {
-    login("admin", "admin");
-  }
-
-  protected void loginAsAnonymous() {
-    logout();  
-  }
-
-  protected void clickAndWait(String url) {
-    selenium.click(url);
-    selenium.waitForPageToLoad("30000");
-  }
-}
diff --git a/tests/integration/tests/src/it/selenium/SONAR-1032-ws-api.html b/tests/integration/tests/src/it/selenium/SONAR-1032-ws-api.html
deleted file mode 100644 (file)
index a403651..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1032-ws-api</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1032-ws-api</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/api/plugins/RubyWebService</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Rest method output</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/api/plugins/RubyWebService/custom_method</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Custom method output</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-1074-commented-code.html b/tests/integration/tests/src/it/selenium/SONAR-1074-commented-code.html
deleted file mode 100644 (file)
index 1838941..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
-  <title>Test Suite</title>
-</head>
-<body>
-<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
-<tr><td><b>Test Suite</b></td></tr>
-<tr><td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td></tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-1709-static-resources.html b/tests/integration/tests/src/it/selenium/SONAR-1709-static-resources.html
deleted file mode 100644 (file)
index b172c2a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1709-static-resources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1709-static-resources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/static/reference-plugin/file.html</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>//body</td>
-       <td>Text from static resource</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-1772-findbugs-violations.html b/tests/integration/tests/src/it/selenium/SONAR-1772-findbugs-violations.html
deleted file mode 100644 (file)
index 7326558..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1772-findbugs-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1772-findbugs-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:findbugs</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile SONAR-1772</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_critical_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_minor_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_info_violations</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-222_maven_extensions.html b/tests/integration/tests/src/it/selenium/SONAR-222_maven_extensions.html
deleted file mode 100644 (file)
index 9d3b8b6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-222_maven_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-222_maven_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:maven-extensions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>10</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*maven extensions*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:maven-extensions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Blocker*0*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-594-jee-sample.html b/tests/integration/tests/src/it/selenium/SONAR-594-jee-sample.html
deleted file mode 100644 (file)
index aa0b799..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>SONAR-594-jee-sample</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">SONAR-594-jee-sample</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>open</td>
-    <td>/dashboard/index/org.sonar.tests.jee:parent</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>m_ncloc</td>
-    <td>16</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/components/index/org.sonar.tests.jee:parent</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>treemap</td>
-    <td>glob:*java-module*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>treemap</td>
-    <td>glob:*ejb-module*</td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-594-no-violations.html b/tests/integration/tests/src/it/selenium/SONAR-594-no-violations.html
deleted file mode 100644 (file)
index 9a3641c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-594-no-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-594-no-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:SONAR-594-no-violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Blocker</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-684-encode-violation-messages.html b/tests/integration/tests/src/it/selenium/SONAR-684-encode-violation-messages.html
deleted file mode 100644 (file)
index 583b247..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-684-encode-violation-messages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-684-encode-violation-messages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=SONAR684EncodeViolationMessages</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*SONAR684EncodeViolationMessages*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Avoid Duplicate Literals*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*The String literal &quot;&lt;select&gt;&quot; appears*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-767-pmd-close-resource-rule.html b/tests/integration/tests/src/it/selenium/SONAR-767-pmd-close-resource-rule.html
deleted file mode 100644 (file)
index 737864f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>SONAR-767-pmd-close-resource-rule</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">SONAR-767-pmd-close-resource-rule</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>open</td>
-    <td>/drilldown/violations/org.sonar.tests:SONAR-767-pmd-close-resource-rule</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertTextPresent</td>
-    <td>SONAR-767-pmd-close-resource-rule</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_FIL</td>
-    <td>glob:*ConnectionIsNotClosed*1*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_FIL</td>
-    <td>glob:*ResourceIsNotClosed*1*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_DIR</td>
-    <td>glob:*org.sonar.tests*2*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_rules</td>
-    <td>glob:*Close Resource*2*</td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html b/tests/integration/tests/src/it/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html
deleted file mode 100644 (file)
index 62bf7a6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-787-checkstyle-SuppressionCommentFilter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-787-checkstyle-SuppressionCommentFilter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:SONAR-787-checkstyle-SuppressionCommentFilter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile SONAR-787-checkstyle-SuppressionCommentFilter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*IgnoreCheckstyleFalsePositives*1*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/SONAR-981-clover-skip.html b/tests/integration/tests/src/it/selenium/SONAR-981-clover-skip.html
deleted file mode 100644 (file)
index 594dcb6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-981-clover-skip</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-981-clover-skip</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover2skip:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/alerts/create_and_delete_alert_on_lines_of_code.html b/tests/integration/tests/src/it/selenium/alerts/create_and_delete_alert_on_lines_of_code.html
deleted file mode 100644 (file)
index d7a6be5..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_and_delete_alert_on_lines_of_code</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_and_delete_alert_on_lines_of_code</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Integration%20tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Alerts</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>alert_metric_id</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>waitForSelectedLabel</td>
-       <td>xpath=//div[@id='new_alert_form']//select[@id='alert_operator']</td>
-       <td>is greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>xpath=//div[@id='new_alert_form']//input[@id='alert_value_warning']</td>
-       <td>500</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Alert is created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>alerts</td>
-       <td>glob:*Lines of code*is greater than*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>delete_Lines%20of%20code</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Alert is deleted</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>alerts</td>
-       <td>Lines of code</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/alerts/should_validate_alert_on_creation.html b/tests/integration/tests/src/it/selenium/alerts/should_validate_alert_on_creation.html
deleted file mode 100644 (file)
index cd18726..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_alert_on_creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_alert_on_creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Integration%20tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Alerts</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//div[@class='error']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/all-tests.html b/tests/integration/tests/src/it/selenium/all-tests.html
deleted file mode 100644 (file)
index a005e7c..0000000
+++ /dev/null
@@ -1,636 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
-  <title>Test Suite</title>
-</head>
-<body>
-<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium">
-<tbody>
-<tr>
-  <td><b>Test Suite</b></td>
-</tr>
-
-
-
-<tr>
-  <td><a href="filters/anonymous-default-filters.html">filters/anonymous-default-filters</a></td>
-</tr>
-<tr>
-  <td><a href="filters/set-favourite-project.html">filters/set-favourite-project</a></td>
-</tr>
-<tr>
-  <td><a href="filters/treemap-filter.html">filters/treemap-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/create-and-delete-filter.html">filters/create-and-delete-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/create-advanced-filter.html">filters/create-advanced-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/default-filters-console.html">filters/default-filters-console</a></td>
-</tr>
-<tr>
-  <td><a href="filters/default-filters-console-for-admins-only.html">filters/default-filters-console-for-admins-only</a></td>
-</tr>
-<tr>
-  <td><a href="plugins/settings_on_core_plugins.html">plugins/settings_on_core_plugins</a></td>
-</tr>
-<tr>
-  <td><a href="ruby-api.html">ruby-api</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/no_results.html">dependencies/no_results</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/search_subprojects.html">dependencies/search_subprojects</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/standard_usage.html">dependencies/standard_usage</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/too_short_search.html">dependencies/too_short_search</a></td>
-</tr>
-
-<tr>
-  <td><a href="contextualized-breadcrumb.html">contextualized-breadcrumb</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-222_maven_extensions.html">SONAR-222_maven_extensions</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-594-no-violations.html">SONAR-594-no-violations</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-594-jee-sample.html">SONAR-594-jee-sample</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-767-pmd-close-resource-rule.html">SONAR-767-pmd-close-resource-rule</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-787-checkstyle-SuppressionCommentFilter.html">SONAR-787-checkstyle-SuppressionCommentFilter</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="SONAR-684-encode-violation-messages.html">SONAR-684-encode-violation-messages</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-981-clover-skip.html">SONAR-981-clover-skip</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1032-ws-api.html">SONAR-1032-ws-api</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1772-findbugs-violations.html">SONAR-1772-findbugs-violations</a></td>
-</tr>
-
-<tr>
-  <td><a href="many-source-dirs.html">many-source-dirs</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="alerts/create_and_delete_alert_on_lines_of_code.html">alerts/create_and_delete_alert_on_lines_of_code</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="alerts/should_validate_alert_on_creation.html">alerts/should_validate_alert_on_creation</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="profiles/SONAR-560_remove_a_rule_from_sonar_way.html">profiles/SONAR-560_remove_a_rule_from_sonar_way</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="duplicated-lines/drilldown-without-ratio.html">duplicated lines - drilldown without ratio</a></td>
-</tr>
-<tr>
-  <td><a href="footer-data.html">footer data</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/deprecated-url-format.html">dashboard/deprecated-url-format</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/SONAR-601-project-without-measures.html">dashboard/SONAR-601-project-without-measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="events/create_event_with_special_characters.html">events create_event_with_special_characters</a></td>
-</tr>
-<tr>
-  <td><a href="events/create_event_without_snapshot.html">events/create_event_without_snapshot</a></td>
-</tr>
-<tr>
-  <td><a href="events/no_events_widget_on_module_and_package.html">events/no_events_widget_on_module_and_package</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_create_category.html">event_categories should_create_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_delete_category.html">event_categories should_delete_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_edit_category.html">event_categories should_edit_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_validate_category.html">event_categories should_validate_category</a></td>
-</tr>
-
-<tr>
-  <td><a href="exclusions/SONAR-1115-do-not-exclude-unit-tests.html">exclusions/SONAR-1115-do-not-exclude-unit-tests</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/cobertura_exclusions.html">exclusions/cobertura_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/cpd_exclusions.html">exclusions/cpd_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/javancss_exclusions.html">exclusions/javancss_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/set_exclusions_from_project_settings_page.html">exclusions/set_exclusions_from_project_settings_page</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a
-      href="sourceviewers/SONAR-582-violations-without-lines.html">sourceviewers/SONAR-582-violations-without-lines</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-517_violations_drilldown.html">sourceviewers/SONAR-517_violations_drilldown</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-659-test_success_percentage.html">sourceviewers/SONAR-659-test_success_percentage</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-538-duplications_viewer.html">sourceviewers/SONAR-538-duplications_viewer</a></td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-300-tests_details.html">sourceviewers/SONAR-300-tests_details</a></td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-1007_violations_tab_when_no_violations.html">sourceviewers/SONAR-1007_violations_tab_when_no_violations</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="hotspots/function_complexity_hotspot.html">hotspots/function_complexity_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/no_measures.html">hotspots/no_measures</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/rules_violations_hotspot.html">hotspots/rules_violations_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/violations_hotspot.html">hotspots/violations_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/test_execution_time_hotspot.html">hotspots/test_execution_time_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/ccn_hotspot.html">hotspots/ccn_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/duplicated_lines_hotspot.html">hotspots/duplicated_lines_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/popup-on-rules.html">hotspots/popup-on-rules</a></td>
-</tr>
-
-<tr>
-  <td><a href="libraries/display_tests.html">libraries/display_tests</a></td>
-</tr>
-<tr>
-  <td><a href="libraries/keyword_filter.html">libraries/keyword_filter</a></td>
-</tr>
-<tr>
-  <td><a href="libraries/module_libraries.html">libraries/module_libraries</a></td>
-</tr>
-
-<tr>
-  <td><a href="i18n/default_locale_is_english.html">i18n/default_locale_is_english</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french-france.html">i18n/french-france</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french-switzerland.html">i18n/french-switzerland</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french.html">i18n/french</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/japanese_duplications.html">i18n/japanese_duplications</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/japanese_sources.html">i18n/japanese_sources</a></td>
-</tr>
-<tr>
-  <td><a href="branch.html">branch</a></td>
-</tr>
-<tr>
-  <td><a href="modules.html">modules</a></td>
-</tr>
-<tr>
-  <td><a href="do-not-import-sources.html">do-not-import-sources</a></td>
-</tr>
-<tr>
-  <td><a href="disabled-project.html">disabled-project</a></td>
-</tr>
-<tr>
-  <td><a href="clover/clover2.html">clover/clover2</a></td>
-</tr>
-<tr>
-  <td><a href="clover/clover3.html">clover/clover3</a></td>
-</tr>
-
-<tr>
-  <td><a href="rules-on-tests.html">rules-on-tests</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_successful.html">authentication/login_successful</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_wrong_password.html">authentication/login_wrong_password</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_cancel.html">authentication/login_cancel</a></td>
-</tr>
-
-<tr>
-  <td><a href="dashboard/basic-archetype-widget.html">dashboard/basic-archetype-widget</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/display_files_and_classes.html">dashboard/display_files_and_classes</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/reference.html">dashboard/reference</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/chidamber_kemerer_widget.html">dashboard/chidamber_kemerer_widget</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/file_widget_on_packages.html">dashboard/file_widget_on_packages</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/no_file_design_widget_on_projects.html">dashboard/no_file_design_widget_on_projects</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/no_package_design_widget_on_packages.html">dashboard/no_package_design_widget_on_packages</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/package_design_widget_on_projects.html">dashboard/package_design_widget_on_projects</a></td>
-</tr>
-
-<tr>
-  <td><a href="design/drilldown_on_lcom4.html">design/drilldown_on_lcom4</a></td>
-</tr>
-<tr>
-  <td><a href="design/drilldown_on_rfc.html">design/drilldown_on_rfc</a></td>
-</tr>
-<tr>
-  <td><a href="design/drilldown_to_dsm.html">design/drilldown_to_dsm</a></td>
-</tr>
-<tr>
-  <td><a href="design/lcom4_tab.html">design/lcom4_tab</a></td>
-</tr>
-<tr>
-  <td><a href="design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html">design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles</a></td>
-</tr>
-
-
-
-<tr>
-  <td><a href="unit_tests/some-test-failures.html">unit_tests/some-test-failures</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/no-test-failures.html">unit_tests/no-test-failures</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/zero-when-no-tests.html">unit_tests/zero-when-no-tests</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/no-tests-data-on-static-analysis.html">unit_tests/no-tests-data-on-static-analysis</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/skip-surefire-tests.html">skip-surefire-tests</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/reuse-clover-and-junit-reports.html">unit_tests/reuse-clover-and-junit-reports</a></td>
-</tr>
-<!--<tr>
-  <td><a href="unit_tests/reuse-cobertura-and-junit-reports.html">unit_tests/reuse-cobertura-and-junit-reports</a>
-  </td>
-</tr>-->
-<tr>
-  <td><a href="unit_tests/reuse-junit-reports-only.html">unit_tests/reuse-junit-reports-only</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/reuse-maven-coverage-reports.html">unit_tests/reuse-maven-coverage-reports</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/SONAR-1099-html-chars.html">unit_tests/SONAR-1099-html-chars</a></td>
-</tr>
-
-<tr>
-  <td><a href="measures_drilldown/SONAR-564_show_zero_measures.html">measures_drilldown/SONAR-564_show_zero_measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/dont-display-resources-without-violations.html">measures_drilldown/dont-display-resources-without-violations</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/show_from_modules_to_classes.html">measures_drilldown/show_from_modules_to_classes</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/SONAR-1016_file_level_resources_only.html">measures_drilldown/SONAR-1016_file_level_resources_only</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/create_java_profile.html">profiles/create_java_profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/backup-profile.html">profiles/backup-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/bulk-change.html">profiles/bulk-change</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-create-profile-with-existing-name.html">profiles/do-not-create-profile-with-existing-name</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/cancel-profile-creation.html">profiles/cancel-profile-creation</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/delete-profile.html">profiles/delete-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/activate-profile.html">profiles/activate-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/copy-profile.html">profiles/copy-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-copy-with-blank-name.html">profiles/do-not-copy-with-blank-name</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-copy-with-existing-name.html">profiles/do-not-copy-with-existing-name</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/read-only-mode-when-anonymous-user.html">profiles/read-only-mode-when-anonymous-user</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-delete-provided-profiles.html">profiles/do-not-delete-provided-profiles</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-checkstyle-configuration.html">profiles/permalink-to-checkstyle-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-default-checkstyle-configuration.html">profiles/permalink-to-default-checkstyle-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-pmd-configuration.html">profiles/permalink-to-pmd-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/display-permalinks-to-tools.html">profiles/display-permalinks-to-tools</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/link-profile-to-project.html">profiles/profile_to_project_link_unlink</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/should_import_checkstyle_findbugs_pmd.html">profiles/should_import_checkstyle_findbugs_pmd</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/dashboard_links_to_used_profile.html">profiles/dashboard_links_to_used_profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/profile-overriden-by-maven-parameter.html">profiles/profile-overriden-by-maven-parameter</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/violations_tab.html">rules/violations_tab</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="profiles/user-profiles-are-editable.html">profiles/user-profiles-are-editable</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/provided-profiles-are-not-editable.html">profiles/provided-profiles-are-not-editable</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/check_rules_extensions.html">rules/check_rules_extensions</a></td>
-</tr>
-<tr>
-  <td><a href="rules/pmd_xpath_rule_extension.html">rules/pmd_xpath_rule_extension</a></td>
-</tr>
-<tr>
-  <td><a href="rules/copy_a_provided_profile_and_modify_a_rule_param.html">rules/copy_a_provided_profile_and_modify_a_rule_param</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_plugin.html">rules/search_by_plugin</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_title.html">rules/search_by_rule_title</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_and_display_inactive_rules.html">rules/search_and_display_inactive_rules</a></td>
-</tr>
-<tr>
-  <td><a href="rules/rule_search_verify_form_values_on_first_call.html">rules/rule_search_verify_form_values_on_first_call</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_priority.html">rules/search_by_rule_priority</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_status.html">rules/search_by_rule_status</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_any_rules.html">rules/search_any_rules</a></td>
-</tr>
-<tr>
-  <td><a href="rules/copy_and_edit_rule_template.html">rules/copy_and_edit_rule_template</a></td>
-</tr>
-<tr>
-  <td><a href="rules/SONAR-1000_quality_profile_with_space_or_dot.html">rules/SONAR-1000_quality_profile_with_space_or_dot</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="reviews/create_then_edit_type.html">create then edit a review type</a></td>
-</tr>
-<tr>
-  <td><a href="reviews/insert_then_delete_review_measure.html">insert then delete review measure</a></td>
-</tr>
-<tr>
-  <td><a href="reviews/reviews_should_not_create_review_in_futur.html">reviews_should_not_create_review_in_futur</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="system_info/system_info.html">system_info/system_info</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="google_analytics_plugin/activate_google_analytics.html">google_analytics_plugin/activate google
-    analytics</a></td>
-</tr>
-<tr>
-  <td><a href="google_analytics_plugin/deactivate_google_analytics.html">google_analytics_plugin/deactivate google
-    analytics</a></td>
-</tr>
-
-<tr>
-  <td><a href="manual_metrics/predefined_metrics.html">manual_metrics/predefined_metrics</a></td>
-</tr>
-
-<tr>
-  <td><a href="timemachine/display-first-and-last-five-events.html">timemachine/display-first-and-last-five-events</a>
-  </td>
-</tr>
-<tr>
-  <td><a
-      href="timemachine/should-not-display-rows-without-data.html">timemachine/should-not-display-rows-without-data</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/SONAR-506_number_of_rules_violations_is_incorrect</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/violations-timemachine</a></td>
-</tr>
-<tr>
-  <td><a href="treemap/treemap_check_gradient_direction.html">treemap_check_gradient_direction</a></td>
-</tr>
-<tr>
-  <td><a href="treemap/treemap_file_drilldown_link.html">treemap_file_drilldown_link</a></td>
-</tr>
-
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_project_risk.html">coverage_clouds/coverage_clouds_project_risk</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_quick_wins.html">coverage_clouds/coverage_clouds_quick_wins</a></td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_source_tab.html">coverage_clouds/coverage_clouds_source_tab</a></td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/clouds_on_packages.html">coverage_clouds/clouds_on_packages</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="projects_columns/projects_columns_add_and_remove_column.html">projects_columns_add_and_remove_column</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_update_default_column_sort.html">projects_columns_update_default_column_sort</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_remove_default_column_sort.html">projects_columns_remove_default_column_sort</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_disable_and_enable_treemap.html">projects_columns_disable_and_enable_treemap</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_move_column_to_left_and_right.html">projects_columns_move_column_to_left_and_right</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a
-      href="violations_drilldown/SONAR-455_hide_zero_measures.html">violations_drilldown/SONAR-455_hide_zero_measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/check_violations_on_extensions.html">violations_drilldown/check_violations_on_extensions</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/select_resource.html">violations_drilldown/select_resource</a></td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/popup-on-rules.html">violations_drilldown/popup-on-rules</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="static-analysis/deprecated_light_mode.html">static-analysis/deprecated_light_mode</a></td>
-</tr>
-<tr>
-  <td><a href="static-analysis/static-analysis.html">static-analysis/static-analysis</a></td>
-</tr>
-
-
-<tr>
-  <td><a href="users/admin-has-default-groups.html">users/admin-has-default-groups</a></td>
-</tr>
-<tr>
-  <td><a href="users/accept-login-with-whitespace.html">users/accept-login-with-whitespace</a></td>
-</tr>
-<tr>
-  <td><a href="users/affect-new-user-to-default-group.html">users/affect-new-user-to-default-group</a></td>
-</tr>
-<tr>
-  <td><a href="users/authenticate-new-user.html">users/authenticate-new-user</a></td>
-</tr>
-<tr>
-  <td><a href="users/can-not-delete-myself.html">users/can-not-delete-myself</a></td>
-</tr>
-<tr>
-  <td><a href="users/change-username-without-changing-password.html">users/change-username-without-changing-password</a></td>
-</tr>
-<tr>
-  <td><a href="users/confirm-password-when-creating-user.html">users/confirm-password-when-creating-user</a></td>
-</tr>
-<tr>
-  <td><a href="users/create-and-delete-groups.html">users/create-and-delete-groups</a></td>
-</tr>
-<tr>
-  <td><a href="users/create-and-delete-users.html">users/create-and-delete-users</a></td>
-</tr>
-<tr>
-  <td><a href="users/my-profile-display-basic-data.html">users/my-profile-display-basic-data</a></td>
-</tr>
-<tr>
-  <td><a href="users/add-user-to-group.html">users/add-user-to-group</a></td>
-</tr>
-<tr>
-  <td><a href="users/affect-user-to-group.html">users/affect-user-to-group</a></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/authentication/login_cancel.html b/tests/integration/tests/src/it/selenium/authentication/login_cancel.html
deleted file mode 100644 (file)
index 4652916..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_cancel</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_cancel</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Cancel</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/authentication/login_successful.html b/tests/integration/tests/src/it/selenium/authentication/login_successful.html
deleted file mode 100644 (file)
index 4732f59..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_successful</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_successful</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/authentication/login_wrong_password.html b/tests/integration/tests/src/it/selenium/authentication/login_wrong_password.html
deleted file mode 100644 (file)
index 9ea4868..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_wrong_password</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_wrong_password</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>wrong</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Authentication failed</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/branch.html b/tests/integration/tests/src/it/selenium/branch.html
deleted file mode 100644 (file)
index 8df4c0e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>branch</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">branch</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/clover/clover2.html b/tests/integration/tests/src/it/selenium/clover/clover2.html
deleted file mode 100644 (file)
index c6f8372..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>clover2</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clover2</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover2:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>66.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/clover/clover3.html b/tests/integration/tests/src/it/selenium/clover/clover3.html
deleted file mode 100644 (file)
index 822d634..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>clover3</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clover3</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover3:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>66.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/contextualized-breadcrumb.html b/tests/integration/tests/src/it/selenium/contextualized-breadcrumb.html
deleted file mode 100644 (file)
index dcfce01..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>contextualized-breadcrumb</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">contextualized-breadcrumb</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests.modules:module_a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>crumbs</td>
-       <td>glob:*Sonar tests*Module A*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar tests - modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>crumbs</td>
-       <td>glob:*Module A*</td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*components/index/*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/coverage_clouds/clouds_on_packages.html b/tests/integration/tests/src/it/selenium/coverage_clouds/clouds_on_packages.html
deleted file mode 100644 (file)
index a447f70..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>clouds_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clouds_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples?page=org.sonar.plugins.core.clouds.GwtClouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>crumbs</td>
-       <td>glob:*org.sonar.samples*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>content</td>
-       <td>glob:*InnerClass*Utf8Characters*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_project_risk.html b/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_project_risk.html
deleted file mode 100644 (file)
index 03bb33a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>coverage_clouds_project_risk</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_project_risk</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Avg. complexity by method : 1.2, Coverage : 33.3%</td>
-       <td>class_tooltip</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>top_risk_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>top_risk_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>${class_name}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='top_risk_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_quick_wins.html b/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_quick_wins.html
deleted file mode 100644 (file)
index 359cbb0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>coverage_clouds_quick_wins</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_quick_wins</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Complexity : 15, Coverage : 33.3%</td>
-       <td>class_tooltip</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>quick_wins_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>quick_wins_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${class_name}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_source_tab.html b/tests/integration/tests/src/it/selenium/coverage_clouds/coverage_clouds_source_tab.html
deleted file mode 100644 (file)
index fe97fa7..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>coverage_clouds_source_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_source_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.clouds.GwtClouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>quick_wins_tab_content</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InnerClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Line coverage*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/custom-maven-type.html b/tests/integration/tests/src/it/selenium/custom-maven-type.html
deleted file mode 100644 (file)
index 2de4199..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>custom-maven-type</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">custom-maven-type</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:maven-custom-type</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*Maven custom type*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>9</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:maven-custom-type</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>col_categories</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/SONAR-601-project-without-measures.html b/tests/integration/tests/src/it/selenium/dashboard/SONAR-601-project-without-measures.html
deleted file mode 100644 (file)
index b5d8e7e..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-601-project-without-measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-601-project-without-measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>POM without modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>JAR without sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:jar-without-sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Version 1.0-SNAPSHOT</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Key : org.sonar.tests:jar-without-sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:pom-without-modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>POM without modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>org.sonar.tests:pom-without-modules</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/basic-archetype-widget.html b/tests/integration/tests/src/it/selenium/dashboard/basic-archetype-widget.html
deleted file mode 100644 (file)
index 7fbb622..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>basic-archetype-widget</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">basic-archetype-widget</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/new</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>dashboard</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configure widgets</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>def_sample</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>def_sample</td>
-       <td>glob:*Sample*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/chidamber_kemerer_widget.html b/tests/integration/tests/src/it/selenium/dashboard/chidamber_kemerer_widget.html
deleted file mode 100644 (file)
index 61200df..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>chidamber_kemerer_widget</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">chidamber_kemerer_widget</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_lcom4</td>
-       <td>glob:1.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_suspect_lcom4_density</td>
-       <td>glob:2*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_rfc</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>css=#dashboard .ckjm</td>
-       <td>glob:*LCOM4*RFC*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/deprecated-url-format.html b/tests/integration/tests/src/it/selenium/dashboard/deprecated-url-format.html
deleted file mode 100644 (file)
index ce97ebe..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>deprecated-url-format</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">deprecated-url-format</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/project/index/org.sonar.tests:reference?foo=bar</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*/dashboard/index/org.sonar.tests:reference?foo=bar</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/display_files_and_classes.html b/tests/integration/tests/src/it/selenium/dashboard/display_files_and_classes.html
deleted file mode 100644 (file)
index a130c97..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>metric_files</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">metric_files</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_files</td>
-       <td>494</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>518</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/file_widget_on_packages.html b/tests/integration/tests/src/it/selenium/dashboard/file_widget_on_packages.html
deleted file mode 100644 (file)
index e3bae07..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>file_widget_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">file_widget_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_tangle_index</td>
-       <td>glob:*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_cycles</td>
-       <td>glob:*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_feedback_edges</td>
-       <td>glob:*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/no_file_design_widget_on_projects.html b/tests/integration/tests/src/it/selenium/dashboard/no_file_design_widget_on_projects.html
deleted file mode 100644 (file)
index 72c6f77..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>no_file_design_widget_on_projects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_file_design_widget_on_projects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_file_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_file_tangles</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/no_package_design_widget_on_packages.html b/tests/integration/tests/src/it/selenium/dashboard/no_package_design_widget_on_packages.html
deleted file mode 100644 (file)
index a1eca98..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_package_design_widget_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_package_design_widget_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_package_tangles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_package_cycles</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/package_design_widget_on_projects.html b/tests/integration/tests/src/it/selenium/dashboard/package_design_widget_on_projects.html
deleted file mode 100644 (file)
index ee98448..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>package_design_widget_on_projects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">package_design_widget_on_projects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>css=#dashboard .package_design</td>
-       <td>glob:*Package*cycles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangle_index</td>
-       <td>glob:*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_cycles</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_feedback_edges</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangles</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dashboard/reference.html b/tests/integration/tests/src/it/selenium/dashboard/reference.html
deleted file mode 100644 (file)
index 0eaacf2..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reference</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reference</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>338</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>6</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>38</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_function_complexity</td>
-       <td>1.9</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_class_complexity</td>
-       <td>4.3</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_complexity</td>
-       <td>73</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>40.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations_density</td>
-       <td>68.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>36</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dependencies/no_results.html b/tests/integration/tests/src/it/selenium/dependencies/no_results.html
deleted file mode 100644 (file)
index 4a7c9af..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>no_results</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_results</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>unknown</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*No data*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>versions_col</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>results_col</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dependencies/search_subprojects.html b/tests/integration/tests/src/it/selenium/dependencies/search_subprojects.html
deleted file mode 100644 (file)
index 74afc39..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>search_subprojects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_subprojects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>struts</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*org.apache.struts:struts-parent*org.apache.struts:struts-core*org.apache.struts:struts-faces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dependencies/standard_usage.html b/tests/integration/tests/src/it/selenium/dependencies/standard_usage.html
deleted file mode 100644 (file)
index 87790d7..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>standard_usage</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">standard_usage</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>commons</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*commons-io*commons-logging*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=commons-io:commons-io</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>versions_col</td>
-       <td>glob:*1.1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results_col</td>
-       <td>glob:*Struts Core*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Struts Core</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*org.sonar.plugins.design.ui.libraries.LibrariesPage*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>keywordFilter</td>
-       <td>commons-io:commons-io</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/dependencies/too_short_search.html b/tests/integration/tests/src/it/selenium/dependencies/too_short_search.html
deleted file mode 100644 (file)
index 5ced0c3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>too_short_search</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">too_short_search</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>ab</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>info</td>
-       <td>glob:*Minimum search is 3 characters*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>artifacts_col</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/design/drilldown_on_lcom4.html b/tests/integration/tests/src/it/selenium/design/drilldown_on_lcom4.html
deleted file mode 100644 (file)
index d7239ee..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_on_lcom4</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_on_lcom4</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_lcom4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>LCOM4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Struts Scripting*Struts Tiles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/design/drilldown_on_rfc.html b/tests/integration/tests/src/it/selenium/design/drilldown_on_rfc.html
deleted file mode 100644 (file)
index 9279fd9..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_on_rfc</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_on_rfc</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_rfc</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>RFC</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Struts Scripting*Struts Tiles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/design/drilldown_to_dsm.html b/tests/integration/tests/src/it/selenium/design/drilldown_to_dsm.html
deleted file mode 100644 (file)
index 165725f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_to_dsm</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_to_dsm</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_package_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Struts Core</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td>glob:*org.apache.struts.chain*org.apache.struts.config*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/design/lcom4_tab.html b/tests/integration/tests/src/it/selenium/design/lcom4_tab.html
deleted file mode 100644 (file)
index e892ad5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>lcom4_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">lcom4_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=lcom4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=MockHttpServletRequest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>rvstitle</td>
-       <td>glob:*org.apache.struts.mock.MockHttpServletRequest*</td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
-       <td>glob:*1*2*3*4*5*6*7*8*9*10*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html b/tests/integration/tests/src/it/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html
deleted file mode 100644 (file)
index ffa9db6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>load_dsm_at_startup_when_drilldown_to_zero_package_tangles</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">load_dsm_at_startup_when_drilldown_to_zero_package_tangles</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-faces</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangle_index</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>m_package_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>rvstitle</td>
-       <td>glob:*Struts Faces*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td>glob:*org.apache.struts.faces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/disabled-project.html b/tests/integration/tests/src/it/selenium/disabled-project.html
deleted file mode 100644 (file)
index ed1b7e4..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>disabled-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">disabled-project</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/login</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>disabled project</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:disabled-project</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Delete project']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure you want to delete this project?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>disabled project</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/do-not-import-sources.html b/tests/integration/tests/src/it/selenium/do-not-import-sources.html
deleted file mode 100644 (file)
index 4f1edb3..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>do-not-import-sources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-import-sources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:do-not-import-sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Swiss</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>glob:*Coverage*Violations*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>public class Swiss</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/duplicated-lines/drilldown-without-ratio.html b/tests/integration/tests/src/it/selenium/duplicated-lines/drilldown-without-ratio.html
deleted file mode 100644 (file)
index 67f9029..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>drilldown-without-ratio</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown-without-ratio</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_duplicated_lines_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_duplicated_lines_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>40.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines</td>
-       <td>222 Duplicated lines</td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*org.sonar.samples.duplicated_lines_within_package*84*org.sonar.samples.duplicated_lines_within_same_class*60*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*DuplicatedLinesInSameClass*60*DuplicatedLinesInSamePackage2*42*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/event_categories/should_create_category.html b/tests/integration/tests/src/it/selenium/event_categories/should_create_category.html
deleted file mode 100644 (file)
index 0962cbb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_create_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_create_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/event_categories/should_delete_category.html b/tests/integration/tests/src/it/selenium/event_categories/should_delete_category.html
deleted file mode 100644 (file)
index 85f4e16..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_delete_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_delete_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${categName}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Info : events with this category will not be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category deleted</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>${categName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/event_categories/should_edit_category.html b/tests/integration/tests/src/it/selenium/event_categories/should_edit_category.html
deleted file mode 100644 (file)
index 90cb63a..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_edit_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_edit_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>OLD ${date}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit_${categName}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>NEW ${date}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>NEW DESC ${date}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>${categName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/event_categories/should_validate_category.html b/tests/integration/tests/src/it/selenium/event_categories/should_validate_category.html
deleted file mode 100644 (file)
index 563dad6..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Name is empty</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Description is empty</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/create_event_on_last_snapshot.html b/tests/integration/tests/src/it/selenium/events/create_event_on_last_snapshot.html
deleted file mode 100644 (file)
index 3f6c037..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_on_last_snapshot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_on_last_snapshot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>eventName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${eventName}</td>
-</tr>
-<tr>
-       <td>assertNotVisible</td>
-       <td>event_cat_desc_Version</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>event_cat_desc_Version</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*${eventName}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/create_event_with_special_characters.html b/tests/integration/tests/src/it/selenium/events/create_event_with_special_characters.html
deleted file mode 100644 (file)
index 17f6816..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_with_special_characters</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_with_special_characters</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds().toString() + &quot;à l'été&quot;}</td>
-       <td>eventName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${eventName}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*${eventName}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>edit_event_${eventName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/create_event_without_snapshot.html b/tests/integration/tests/src/it/selenium/events/create_event_without_snapshot.html
deleted file mode 100644 (file)
index 49bea06..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_without_snapshot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_without_snapshot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${date}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_1i</td>
-       <td>label=2006</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_2i</td>
-       <td>label=January</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_3i</td>
-       <td>label=31</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*2006-01-31*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>events</td>
-       <td>glob:*${date}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>snapshot_title</td>
-       <td>glob:*Version ${date}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/no_events_widget_on_module_and_package.html b/tests/integration/tests/src/it/selenium/events/no_events_widget_on_module_and_package.html
deleted file mode 100644 (file)
index 189ed9c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_events_widget_on_module_and_package</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_events_widget_on_module_and_package</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:module_a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:submodule_a1:org.codehaus.sonar.samples.samplewithmodules.submodulea1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/should_not_create_events_if_anonymous.html b/tests/integration/tests/src/it/selenium/events/should_not_create_events_if_anonymous.html
deleted file mode 100644 (file)
index 27d2412..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_not_create_events_if_anonymous</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_not_create_events_if_anonymous</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/events/should_validate_event_on_creation.html b/tests/integration/tests/src/it/selenium/events/should_validate_event_on_creation.html
deleted file mode 100644 (file)
index 9cba768..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_event_on_creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_event_on_creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_form_errors</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotText</td>
-       <td>events</td>
-       <td>glob:*${date}*</td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>event_form_errors</td>
-       <td>glob:*Name is too short*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html b/tests/integration/tests/src/it/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html
deleted file mode 100644 (file)
index b933ae6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1115-do-not-exclude-unit-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1115-do-not-exclude-unit-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassToExcludeTest*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/exclusions/cobertura_exclusions.html b/tests/integration/tests/src/it/selenium/exclusions/cobertura_exclusions.html
deleted file mode 100644 (file)
index 770b2fe..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>cobertura_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cobertura_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>75.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_line_coverage</td>
-       <td>13.3%</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_line_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassToExclude*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/exclusions/cpd_exclusions.html b/tests/integration/tests/src/it/selenium/exclusions/cpd_exclusions.html
deleted file mode 100644 (file)
index 9a24ea1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>cpd_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cpd_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_blocks</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_files</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/exclusions/javancss_exclusions.html b/tests/integration/tests/src/it/selenium/exclusions/javancss_exclusions.html
deleted file mode 100644 (file)
index e57babe..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>javancss_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">javancss_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>75</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>8</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/exclusions/set_exclusions_from_project_settings_page.html b/tests/integration/tests/src/it/selenium/exclusions/set_exclusions_from_project_settings_page.html
deleted file mode 100644 (file)
index d585b1f..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>set_exclusions_from_project_settings_page</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">set_exclusions_from_project_settings_page</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>exclusion_pattern_0</td>
-       <td>org/sonar/exclude/**</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>exclusion_pattern_1</td>
-       <td>**/*Bean.java</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_0</td>
-       <td>exact:org/sonar/exclude/**</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_1</td>
-       <td>exact:**/*Bean.java</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure you want to delete all exclusion filters ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_1</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/anonymous-default-filters.html b/tests/integration/tests/src/it/selenium/filters/anonymous-default-filters.html
deleted file mode 100644 (file)
index 845f037..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>anonymous-default-filters</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">anonymous-default-filters</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*Projects*Treemap*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>filter-tabs</td>
-       <td>glob:*favourites*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results_count</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results-head</td>
-       <td>glob:*Name*date*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/create-advanced-filter.html b/tests/integration/tests/src/it/selenium/filters/create-advanced-filter.html
deleted file mode 100644 (file)
index e435b19..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>create-advanced-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-advanced-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>name</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Add filter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${name}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-DIR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-TRK</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-0</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-0</td>
-       <td>label=Greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-0</td>
-       <td>100</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-1</td>
-       <td>label=Complexity /class</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-1</td>
-       <td>label=Less or equals</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-1</td>
-       <td>20</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Advanced search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>lang-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>key_regexp</td>
-       <td>org.apache.*</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>date_operator</td>
-       <td>label=During last</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>date_value</td>
-       <td>20</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Save &amp; Preview']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*org.apache.struts.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results-head</td>
-       <td>glob:*Lines of code*Complexity*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Delete</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Do you want to delete this filter ?</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/create-and-delete-filter.html b/tests/integration/tests/src/it/selenium/filters/create-and-delete-filter.html
deleted file mode 100644 (file)
index ba4efd1..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create-and-delete-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Add filter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>name</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${name}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>shared</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-DIR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-TRK</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-0</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-0</td>
-       <td>label=Greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-0</td>
-       <td>100</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Save &amp; Preview']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*org.apache.struts.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*${name}*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Delete</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Do you want to delete this filter ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Filter deleted</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/default-filters-console-for-admins-only.html b/tests/integration/tests/src/it/selenium/filters/default-filters-console-for-admins-only.html
deleted file mode 100644 (file)
index 1773385..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>default-filters-console-for-admins-only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default-filters-console-for-admins-only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/admin_filters/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>login_form</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/default-filters-console.html b/tests/integration/tests/src/it/selenium/filters/default-filters-console.html
deleted file mode 100644 (file)
index 2e70efc..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>default-filters-console</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default-filters-console</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/admin_filters/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>admin_console</td>
-       <td>glob:*Projects*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>admin_console</td>
-       <td>glob:*My favourites*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>shared</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/set-favourite-project.html b/tests/integration/tests/src/it/selenium/filters/set-favourite-project.html
deleted file mode 100644 (file)
index d3fa6b5..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>set-favourite-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">set-favourite-project</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/login</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*favourites*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=My favourites</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>results</td>
-       <td>glob:*Struts*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeAttribute</td>
-       <td>xpath=//div[@id='snapshot_title']//a[@class='notfav']/@id</td>
-       <td>favId</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>id=${favId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>css=#snapshot_title a.fav</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=My favourites</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*Struts*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>css=#snapshot_title a.fav</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>css=#snapshot_title a.notfav</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/filters/treemap-filter.html b/tests/integration/tests/src/it/selenium/filters/treemap-filter.html
deleted file mode 100644 (file)
index 43524e6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>treemap-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>treemap</td>
-       <td>glob:*Struts*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/footer-data.html b/tests/integration/tests/src/it/selenium/footer-data.html
deleted file mode 100644 (file)
index d036fe1..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>footer-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">footer-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*SonarSource*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*LGPL*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*v.2.*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/google_analytics_plugin/activate_google_analytics.html b/tests/integration/tests/src/it/selenium/google_analytics_plugin/activate_google_analytics.html
deleted file mode 100644 (file)
index 6ae5aaf..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>activate_google_analytics</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">activate_google_analytics</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>UA-1234567-8</td>
-       <td>ACCOUNT_ID</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>sonar.google-analytics.account</td>
-       <td>${ACCOUNT_ID}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${ACCOUNT_ID}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>ft</td>
-       <td>var pageTracker = _gat._getTracker(&quot;${ACCOUNT_ID}&quot;);</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/google_analytics_plugin/deactivate_google_analytics.html b/tests/integration/tests/src/it/selenium/google_analytics_plugin/deactivate_google_analytics.html
deleted file mode 100644 (file)
index d7956fe..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>desactive_google_analytics_and_test_javascript_is_not_present</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">desactive_google_analytics_and_test_javascript_is_not_present</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>sonar.google-analytics.account</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Parameters updated</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>var pageTracker = _gat._getTracker</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/ccn_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/ccn_hotspot.html
deleted file mode 100644 (file)
index 696531d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>ccn_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">ccn_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>complexity-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>complexity-hotspot</td>
-       <td>glob:*ValidWhenLexer*273*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>complexity-hotspot</td>
-       <td>glob:*RequestProcessor*163*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>more-complexity</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>content</td>
-       <td>glob:*Complexity*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/duplicated_lines_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/duplicated_lines_hotspot.html
deleted file mode 100644 (file)
index 9eda021..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>duplicated_lines_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">duplicated_lines_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots&amp;locale=en</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>duplicated_lines-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>duplicated_lines-hotspot</td>
-       <td>glob:*ELRadioTag*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>duplicated_lines-hotspot</td>
-       <td>glob:*ELCheckboxTag*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/function_complexity_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/function_complexity_hotspot.html
deleted file mode 100644 (file)
index 2d20582..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>function_complexity_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">function_complexity_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>function_complexity-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>function_complexity-hotspot</td>
-       <td>glob:*ELImgTagBeanInfo*45.0*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>function_complexity-hotspot</td>
-       <td>glob:*ELTextTagBeanInfo*39.0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/no_measures.html b/tests/integration/tests/src/it/selenium/hotspots/no_measures.html
deleted file mode 100644 (file)
index 16430de..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_with_other_package2?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*No measures*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/popup-on-rules.html b/tests/integration/tests/src/it/selenium/hotspots/popup-on-rules.html
deleted file mode 100644 (file)
index cd30494..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>popup-on-rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>rule0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Magic Number</td>
-       <td></td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/rules_violations_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/rules_violations_hotspot.html
deleted file mode 100644 (file)
index 3775c9b..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>rules_violations_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rules_violations_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>violated-files-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>violated-files-hotspot</td>
-       <td>glob:*Utf8Characters*0*0*9*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>css=#violated-files-hotspot a:contains('Utf8Characters')</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/test_execution_time_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/test_execution_time_hotspot.html
deleted file mode 100644 (file)
index 6e894e9..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>test_execution_time_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">test_execution_time_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>test_execution_time-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*ClassUnderTestTest*ms*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*InnerClassTest*ms*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ClassUnderTestTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Duration*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/hotspots/violations_hotspot.html b/tests/integration/tests/src/it/selenium/hotspots/violations_hotspot.html
deleted file mode 100644 (file)
index b867fe1..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>violations_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>rules-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>rules-hotspot</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Magic Number</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/default_locale_is_english.html b/tests/integration/tests/src/it/selenium/i18n/default_locale_is_english.html
deleted file mode 100644 (file)
index a9be6c4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>default_locale_is_english</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default_locale_is_english</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=foo</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*Jan.*|.*Feb.*|.*Mar.*|.*Apr.*|.*May.*|.*Jun.*|.*Jul.*|.*Aug.*|.*Sep.*|.*Oct.*|.*Nov.*|.*Dec.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/french-france.html b/tests/integration/tests/src/it/selenium/i18n/french-france.html
deleted file mode 100644 (file)
index 39531c0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>french-france</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french-france</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-FR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100,0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/french-switzerland.html b/tests/integration/tests/src/it/selenium/i18n/french-switzerland.html
deleted file mode 100644 (file)
index b8f9756..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>french-switzerland</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french-switzerland</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-CH</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/french.html b/tests/integration/tests/src/it/selenium/i18n/french.html
deleted file mode 100644 (file)
index 5c3e347..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>french</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100,0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/japanese_duplications.html b/tests/integration/tests/src/it/selenium/i18n/japanese_duplications.html
deleted file mode 100644 (file)
index 7b9e18c..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>japanese_duplications</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">japanese_duplications</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_files</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_duplicated_files</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=AppDuplication</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwt-DuplicationsPanel</td>
-       <td>glob:*expand*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>expand-source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td>glob:*証明書パス構築に失敗しました。*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/i18n/japanese_sources.html b/tests/integration/tests/src/it/selenium/i18n/japanese_sources.html
deleted file mode 100644 (file)
index d8aabd0..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>japanese_sources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">japanese_sources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=AppDuplication</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>sourcePanel</td>
-       <td>glob:*public class AppDuplication*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sourcePanel</td>
-       <td>glob:*証明書パス構築に失敗しました。*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/java-inner-classes/dashboard.html b/tests/integration/tests/src/it/selenium/java-inner-classes/dashboard.html
deleted file mode 100644 (file)
index 6e39b39..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>dashboard</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dashboard</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:java-inner-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>11</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>16</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/libraries/display_tests.html b/tests/integration/tests/src/it/selenium/libraries/display_tests.html
deleted file mode 100644 (file)
index 3b13b63..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display_tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display_tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*javax.servlet*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*junit*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//span[@id='testCb']/input</td>
-       <td>Display test libraries</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*javax.servlet*junit*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/libraries/keyword_filter.html b/tests/integration/tests/src/it/selenium/libraries/keyword_filter.html
deleted file mode 100644 (file)
index b25387b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>keyword_filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">keyword_filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*antlr*commons-io*</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>keywordFilter</td>
-       <td>commons</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*antlr*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*commons-io*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/libraries/module_libraries.html b/tests/integration/tests/src/it/selenium/libraries/module_libraries.html
deleted file mode 100644 (file)
index d2b1fdc..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>module_libraries</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">module_libraries</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-parent</td>
-       <td>glob:*Struts*1.3.9*No libraries*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*Struts Core*1.3.9*antlr:antlr*commons-io:commons-io*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>libs-org.apache.struts:struts-el</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/manual_metrics/predefined_metrics.html b/tests/integration/tests/src/it/selenium/manual_metrics/predefined_metrics.html
deleted file mode 100644 (file)
index 2309d1a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>predefined_metrics</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-    <tr>
-      <td rowspan="1" colspan="3">predefined_metrics</td>
-    </tr>
-  </thead>
-  <tbody>
-    <tr>
-      <td>open</td>
-      <td>/sessions/logout</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/sessions/login</td>
-      <td></td>
-    </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-    <tr>
-      <td>type</td>
-      <td>password</td>
-      <td>admin</td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>commit</td>
-      <td></td>
-    </tr>
-
-    <tr>
-      <td>open</td>
-      <td>/metrics</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Business value</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Team size</td>
-      <td></td>
-    </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/many-source-dirs.html b/tests/integration/tests/src/it/selenium/many-source-dirs.html
deleted file mode 100644 (file)
index 85e5052..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>many-source-dirs</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">many-source-dirs</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:many-source-dirs</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*FirstClass*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*SecondClass*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html b/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html
deleted file mode 100644 (file)
index 7590c90..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9001/" />
-<title>SONAR-1016_file_level_resources_only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1016_file_level_resources_only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:reference?metric=classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>InnerClass$InnerClassInside</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InnerClass</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-268.html b/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-268.html
deleted file mode 100644 (file)
index 62eaccd..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-268</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-268</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>338</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//div[@id='col_DIR']/table/tbody/tr[1]/td[1]/a[1]/img</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hdnav</td>
-       <td>glob:*org.sonar.samples*</td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Lines of code</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>121</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-564_show_zero_measures.html b/tests/integration/tests/src/it/selenium/measures_drilldown/SONAR-564_show_zero_measures.html
deleted file mode 100644 (file)
index 3092f17..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-564_show_zero_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-564_show_zero_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*[default]*0.0%*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassOnDefaultPackage*0.0%*InnerClass*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/measures_drilldown/dont-display-resources-without-violations.html b/tests/integration/tests/src/it/selenium/measures_drilldown/dont-display-resources-without-violations.html
deleted file mode 100644 (file)
index 0becf2e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>dont-display-resources-without-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dont-display-resources-without-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Blocker</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>No violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Avoid Enum As Identifier</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/measures_drilldown/show_from_modules_to_classes.html b/tests/integration/tests/src/it/selenium/measures_drilldown/show_from_modules_to_classes.html
deleted file mode 100644 (file)
index be826c9..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>show_from_modules_to_classes</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">show_from_modules_to_classes</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>39</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Module A*Sub-module A1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.codehaus.sonar.samples*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*HelloA1*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/modules.html b/tests/integration/tests/src/it/selenium/modules.html
deleted file mode 100644 (file)
index 72c70ca..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>modules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">modules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>39</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module B</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Module to skip</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>21</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Components</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sub-module A1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sub-module A1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>12</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/plugins/settings_on_core_plugins.html b/tests/integration/tests/src/it/selenium/plugins/settings_on_core_plugins.html
deleted file mode 100644 (file)
index 9a81624..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>settings_on_core_plugins</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">settings_on_core_plugins</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>plugins</td>
-       <td>glob:*Clover*Core*Design*Findbugs*Google analytics*Squid*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html b/tests/integration/tests/src/it/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html
deleted file mode 100644 (file)
index eec3f8c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-560_remove_a_rule_from_sonar_way</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-560_remove_a_rule_from_sonar_way</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>Need braces</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Need Braces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/activate-profile.html b/tests/integration/tests/src/it/selenium/profiles/activate-profile.html
deleted file mode 100644 (file)
index 454fb7b..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>activate_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">activate_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>activate_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to set the profile 'Sun checks' as default ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>is_active_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>activate_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to set the profile 'Sonar way' as default ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/backup-profile.html b/tests/integration/tests/src/it/selenium/profiles/backup-profile.html
deleted file mode 100644 (file)
index 88b7fca..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>backup-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">backup-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Integration%20tests</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>NUMBER_OF_RULES</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/api/rules.xml?categories=&amp;language=${LANGUAGE}&amp;plugins=&amp;priorities=&amp;profile=${PROFILE}&amp;status=ACTIVE</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertXpathCount</td>
-       <td>//rule</td>
-       <td>${NUMBER_OF_RULES}</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/bulk-change.html b/tests/integration/tests/src/it/selenium/profiles/bulk-change.html
deleted file mode 100644 (file)
index 42c28dc..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>bulk-change</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">bulk-change</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'copied_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_${LANGUAGE}_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>bulk_action</td>
-       <td>label=Deactivate all</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>unused</td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>bulk_action</td>
-       <td>label=Activate all</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/cancel-profile-creation.html b/tests/integration/tests/src/it/selenium/profiles/cancel-profile-creation.html
deleted file mode 100644 (file)
index f18e0fe..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>cancel-profile-creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cancel-profile-creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>canceled-profile</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Cancel</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//table[@id='profiles_java']/thead/tr/th[1]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*canceled-profile*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/copy-profile.html b/tests/integration/tests/src/it/selenium/profiles/copy-profile.html
deleted file mode 100644 (file)
index 5587260..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>copy-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">copy-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'copied_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeText</td>
-       <td>activated_rules_java_Sonar%20way</td>
-       <td>RULES_COUNT</td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>activated_rules_java_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_java_${PROFILE}</td>
-       <td>${RULES_COUNT}</td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_java_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/create_java_profile.html b/tests/integration/tests/src/it/selenium/profiles/create_java_profile.html
deleted file mode 100644 (file)
index c46324a..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_java_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_java_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Quality profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile '${PROFILE}' is deleted.</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/dashboard_links_to_used_profile.html b/tests/integration/tests/src/it/selenium/profiles/dashboard_links_to_used_profile.html
deleted file mode 100644 (file)
index 195e04b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>dashboard_links_to_used_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dashboard_links_to_used_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>glob:*Profile Integration tests*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Integration tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Quality profiles*Integration tests*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/delete-profile.html b/tests/integration/tests/src/it/selenium/profiles/delete-profile.html
deleted file mode 100644 (file)
index 35cce1e..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>delete-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">delete-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile '${PROFILE}' is deleted</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/display-permalinks-to-tools.html b/tests/integration/tests/src/it/selenium/profiles/display-permalinks-to-tools.html
deleted file mode 100644 (file)
index c9b4653..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display-permalinks-to-tools</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display-permalinks-to-tools</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Permalinks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>permalinks-table</td>
-       <td>glob:*Checkstyle*Findbugs*PMD*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-blank-name.html b/tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-blank-name.html
deleted file mode 100644 (file)
index 27d4a82..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>do-not-copy-with-blank-name</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-copy-with-blank-name</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotVisible</td>
-       <td>errormsg</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertPromptPresent</td>
-       <td>Name for the new profile</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>errormsg</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-existing-name.html b/tests/integration/tests/src/it/selenium/profiles/do-not-copy-with-existing-name.html
deleted file mode 100644 (file)
index f03cf49..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href=""/>
-  <title>profile_duplication_with_name_already_exists</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-    <tr>
-      <td rowspan="1" colspan="3">profile_duplication_with_name_already_exists</td>
-    </tr>
-  </thead>
-  <tbody>
-    <tr>
-      <td>open</td>
-      <td>/sessions/logout</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/sessions/login</td>
-      <td></td>
-    </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-    <tr>
-      <td>type</td>
-      <td>password</td>
-      <td>admin</td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>commit</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/profiles</td>
-      <td></td>
-    </tr>
-
-    <tr>
-      <td>answerOnNextPrompt</td>
-      <td>Sonar way</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>copy_java_Sonar%20way</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertPromptPresent</td>
-      <td>Name for the new profile</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Name has already been taken</td>
-      <td></td>
-    </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/do-not-create-profile-with-existing-name.html b/tests/integration/tests/src/it/selenium/profiles/do-not-create-profile-with-existing-name.html
deleted file mode 100644 (file)
index f476d88..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>do-not-create-profile-with-existing-name</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-create-profile-with-existing-name</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>Sonar way</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>errormsg</td>
-       <td>glob:*already exist*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/do-not-delete-provided-profiles.html b/tests/integration/tests/src/it/selenium/profiles/do-not-delete-provided-profiles.html
deleted file mode 100644 (file)
index cb3544f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>do-not-delete-provided-profiles</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-delete-provided-profiles</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>delete_java_Sonar%20way</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/link-profile-to-project.html b/tests/integration/tests/src/it/selenium/profiles/link-profile-to-project.html
deleted file mode 100644 (file)
index 7c92ed7..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>link-profile-to-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">link-profile-to-project</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Projects</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile 'Sonar way' associated to 1 projects</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectOptions</td>
-       <td>to</td>
-       <td>Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>to</td>
-       <td>label=Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_left</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectOptions</td>
-       <td>to</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/permalink-to-checkstyle-configuration.html b/tests/integration/tests/src/it/selenium/profiles/permalink-to-checkstyle-configuration.html
deleted file mode 100644 (file)
index 15f76b3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>permalink-to-checkstyle-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-checkstyle-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?format=checkstyle&amp;language=java&amp;name=Sonar%2520way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//module[@name='Checker']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//module[@name='Checker']/module[@name='TreeWalker']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/permalink-to-default-checkstyle-configuration.html b/tests/integration/tests/src/it/selenium/profiles/permalink-to-default-checkstyle-configuration.html
deleted file mode 100644 (file)
index bac5068..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>permalink-to-default-checkstyle-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-default-checkstyle-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?language=java&amp;format=checkstyle</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//module[@name='Checker']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/permalink-to-pmd-configuration.html b/tests/integration/tests/src/it/selenium/profiles/permalink-to-pmd-configuration.html
deleted file mode 100644 (file)
index 5e5882c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>permalink-to-pmd-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-pmd-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?format=pmd&amp;language=java&amp;name=Sonar%2520way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//ruleset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//ruleset/rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/profile-overriden-by-maven-parameter.html b/tests/integration/tests/src/it/selenium/profiles/profile-overriden-by-maven-parameter.html
deleted file mode 100644 (file)
index 3c09759..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>profile-overriden-by-maven-parameter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">profile-overriden-by-maven-parameter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Quality profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>single-classes</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/provided-profiles-are-not-editable.html b/tests/integration/tests/src/it/selenium/profiles/provided-profiles-are-not-editable.html
deleted file mode 100644 (file)
index f482849..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_provided_rules_profile_cant_be_modified</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_provided_rules_profile_cant_be_modified</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//table[@id='result_table']//form[1]/input[@disabled='disabled'][1]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/read-only-mode-when-anonymous-user.html b/tests/integration/tests/src/it/selenium/profiles/read-only-mode-when-anonymous-user.html
deleted file mode 100644 (file)
index e5bd248..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>read-only-mode-when-anonymous-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">read-only-mode-when-anonymous-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>activate_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>copy_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*Copy*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*Delete*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/should_import_checkstyle_findbugs_pmd.html b/tests/integration/tests/src/it/selenium/profiles/should_import_checkstyle_findbugs_pmd.html
deleted file mode 100644 (file)
index 31ead32..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>should_import_checkstyle_findbugs_pmd</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_import_checkstyle_findbugs_pmd</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>create-form-java</td>
-       <td>glob:*Checkstyle*Findbugs*PMD*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/profiles/user-profiles-are-editable.html b/tests/integration/tests/src/it/selenium/profiles/user-profiles-are-editable.html
deleted file mode 100644 (file)
index f5ab2fe..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>user-profiles-are-editable</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">user-profiles-are-editable</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>verifyElementNotPresent</td>
-       <td>//form[1]/input[@disabled='disabled'][1]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_add_and_remove_column.html b/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_add_and_remove_column.html
deleted file mode 100644 (file)
index c25039c..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_add_and_remove_column</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_add_and_remove_column</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html b/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html
deleted file mode 100644 (file)
index f73961c..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_disable_and_enable_treemap</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_disable_and_enable_treemap</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Disable treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>//div[@id='treemap']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Enable treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='treemap']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html b/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html
deleted file mode 100644 (file)
index dc1cee7..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_move_column_to_left_and_right</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_move_column_to_left_and_right</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>move_right_comment_lines</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_remove_default_column_sort.html b/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_remove_default_column_sort.html
deleted file mode 100644 (file)
index fe285d7..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_remove_default_column_sort</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_remove_default_column_sort</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_default_sorting</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectedValue</td>
-       <td>select_default_sorting</td>
-       <td>project</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_update_default_column_sort.html b/tests/integration/tests/src/it/selenium/projects_columns/projects_columns_update_default_column_sort.html
deleted file mode 100644 (file)
index cb21e85..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>projects_columns_update_default_column_sort</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_update_default_column_sort</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>default_sort_on_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_default_sorting</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertSelectedValue</td>
-       <td>select_default_sorting</td>
-       <td>${column_id}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/reviews/create_then_edit_type.html b/tests/integration/tests/src/it/selenium/reviews/create_then_edit_type.html
deleted file mode 100644 (file)
index 62c422e..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create_then_edit_type</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_then_edit_type</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>assertSelectedLabel</td>
-       <td>metric_val_type</td>
-       <td>Percent</td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : all the measures will be deleted.</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/reviews/insert_then_delete_review_measure.html b/tests/integration/tests/src/it/selenium/reviews/insert_then_delete_review_measure.html
deleted file mode 100644 (file)
index b5d1c9a..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>insert_then_delete_review_measure</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">insert_then_delete_review_measure</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Sonar tests - reference</td>
-       <td>PROJECT_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_KEY</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>add_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_metric_id</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_metric_id</td>
-       <td>label=${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>review_value</td>
-       <td>35.5</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_1i</td>
-       <td>label=2005</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_2i</td>
-       <td>label=January</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_3i</td>
-       <td>label=20</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_1i</td>
-       <td>REVIEW_YEAR</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_2i</td>
-       <td>REVIEW_MONTH</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_3i</td>
-       <td>REVIEW_DAY</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>save_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_value_${REVIEW_TYPE_NAME}</td>
-       <td>35.5%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_date_${REVIEW_TYPE_NAME}</td>
-       <td>${REVIEW_YEAR}-0${REVIEW_MONTH}-${REVIEW_DAY}</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : all the measures will be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/reviews/reviews_should_not_create_review_in_futur.html b/tests/integration/tests/src/it/selenium/reviews/reviews_should_not_create_review_in_futur.html
deleted file mode 100644 (file)
index 9fef8d4..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>reviews_should_not_create_review_in_futur</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reviews_should_not_create_review_in_futur</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_KEY</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Sonar tests - reference</td>
-       <td>PROJECT_NAME</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>add_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_metric_id</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_metric_id</td>
-       <td>label=${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>review_value</td>
-       <td>35.5</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_1i</td>
-       <td>label=2014</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>save_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>error</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/ruby-api.html b/tests/integration/tests/src/it/selenium/ruby-api.html
deleted file mode 100644 (file)
index eb82f02..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>ruby-api</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">ruby-api</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Ruby API tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sidebar</td>
-       <td>glob:*Ruby API tests*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Ruby API tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result</td>
-       <td>OK</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules-on-tests.html b/tests/integration/tests/src/it/selenium/rules-on-tests.html
deleted file mode 100644 (file)
index 7eaa72d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>rules-on-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rules-on-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:rulesOnTests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>6</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Major</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>HelloTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Hello</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html b/tests/integration/tests/src/it/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html
deleted file mode 100644 (file)
index d1d87c7..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1000_quality_profile_with_space_or_dot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1000_quality_profile_with_space_or_dot</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'space dot. '+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Quality profiles / java / ${PROFILE}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/check_rules_extensions.html b/tests/integration/tests/src/it/selenium/rules/check_rules_extensions.html
deleted file mode 100644 (file)
index 1a249a0..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>check_rules_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">check_rules_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>Methods Count Check</td>
-       <td>CHECKSTYLE_EXTENSION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Maximum Methods Count Check</td>
-       <td>PMD_EXTENSION_1</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Avoid if without using brace</td>
-       <td>PMD_EXTENSION_2</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${CHECKSTYLE_EXTENSION}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PMD_EXTENSION_1}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PMD_EXTENSION_2}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html b/tests/integration/tests/src/it/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html
deleted file mode 100644 (file)
index 2e863a4..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href=""/>
-  <title>copy_a_provided_profile_and_modify_a_rule_param</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">copy_a_provided_profile_and_modify_a_rule_param</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>store</td>
-    <td>javascript{'profile_'+(new Date()).getTime()}</td>
-    <td>PROFILE</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/sessions/logout</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/sessions/login</td>
-    <td></td>
-  </tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-  <tr>
-    <td>type</td>
-    <td>password</td>
-    <td>admin</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>commit</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/profiles</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>answerOnNextPrompt</td>
-    <td>${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>copy_java_Sonar%20way</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertPromptPresent</td>
-    <td>Name for the new profile</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>verifyTextPresent</td>
-    <td>${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertElementPresent</td>
-    <td>rules-java-${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>rules-java-${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>searchtext</td>
-    <td>Anon Inner Length</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>submit_search</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>link=Anon Inner Length</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>value</td>
-    <td>5</td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>//input[@name='commit' and @value='update']</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>searchtext</td>
-    <td>Anon Inner Length</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>submit_search</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>link=Anon Inner Length</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>waitForTextPresent</td>
-    <td></td>
-    <td>anonymous inner classes</td>
-  </tr>
-  <tr>
-    <td>assertValue</td>
-    <td>value</td>
-    <td>5</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/profiles</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>chooseOkOnNextConfirmation</td>
-    <td></td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>delete_java_${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertConfirmation</td>
-    <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-    <td></td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/copy_and_edit_rule_template.html b/tests/integration/tests/src/it/selenium/rules/copy_and_edit_rule_template.html
deleted file mode 100644 (file)
index 20a64f9..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>copy_and_edit_rule_template</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">copy_and_edit_rule_template</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>XPath rule template</td>
-       <td>RULE_PARENT</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'My new rule ' + (new Date()).getTime()}</td>
-       <td>RULE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>//FieldDeclaration</td>
-       <td>RULE_XPATH</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>//ClassDeclaration</td>
-       <td>RULE_XPATH_EDIT</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>That's too bad</td>
-       <td>RULE_MESSAGE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Empty%20profile</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>${RULE_PARENT}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=${RULE_PARENT}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy-pmd%3AXPathRule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule[name]</td>
-       <td>${RULE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[message]</td>
-       <td>${RULE_MESSAGE}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[xpath]</td>
-       <td>${RULE_XPATH}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Create']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>value</td>
-       <td>${RULE_XPATH}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Edit rule']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule[name]</td>
-       <td>Updated ${RULE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[xpath]</td>
-       <td>${RULE_XPATH_EDIT}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[message]</td>
-       <td>Another message</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Update']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Updated ${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>value</td>
-       <td>${RULE_XPATH_EDIT}</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/pmd_xpath_rule_extension.html b/tests/integration/tests/src/it/selenium/rules/pmd_xpath_rule_extension.html
deleted file mode 100644 (file)
index 9bb23ff..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>pmd_xpath_rule_extension</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">pmd_xpath_rule_extension</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>Methods Count Check</td>
-       <td>CHECKSTYLE_EXTENSION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_ID</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Prevent use of EmptyClass</td>
-       <td>RULE_TITLE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/${PROJECT_ID}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${RULE_TITLE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InterfaceWithConstants</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/rule_search.html b/tests/integration/tests/src/it/selenium/rules/rule_search.html
deleted file mode 100644 (file)
index 881d277..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_search</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_search</td></tr>
-</thead><tbody>
-
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Anon Inner Length</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/rule_search_verify_form_values_on_first_call.html b/tests/integration/tests/src/it/selenium/rules/rule_search_verify_form_values_on_first_call.html
deleted file mode 100644 (file)
index cd42140..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_search_verify_form_values_on_first_call</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_search_verify_form_values_on_first_call</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_plugin&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_status&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td>ACTIVE</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_priority&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//input[@id=&quot;searchtext&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//table[@id=&quot;result_table&quot;]//tr[100]</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_all_rules.html b/tests/integration/tests/src/it/selenium/rules/search_all_rules.html
deleted file mode 100644 (file)
index c73f70e..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_all_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_all_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_mandatory</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_optional</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_inactive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_and_display_inactive_rules.html b/tests/integration/tests/src/it/selenium/rules/search_and_display_inactive_rules.html
deleted file mode 100644 (file)
index 927b3bb..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_and_display_inactive_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_and_display_inactive_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>SW_SWING_METHODS_INVOKED_IN_SWING_THREAD </td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>0 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>+1 found in inactive rules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>inactive-rules-link</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_any_rules.html b/tests/integration/tests/src/it/selenium/rules/search_any_rules.html
deleted file mode 100644 (file)
index d7f6cc3..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_any_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_any_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_by_plugin.html b/tests/integration/tests/src/it/selenium/rules/search_by_plugin.html
deleted file mode 100644 (file)
index 74d183a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_plugin</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_plugin</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=PMD</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Checkstyle*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Pmd*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Findbugs*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Squid*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_by_rule_priority.html b/tests/integration/tests/src/it/selenium/rules/search_by_rule_priority.html
deleted file mode 100644 (file)
index 6ebb5a4..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_priority</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_priority</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Critical</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Equals Hash Code*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_by_rule_status.html b/tests/integration/tests/src/it/selenium/rules/search_by_rule_status.html
deleted file mode 100644 (file)
index 6d1d67a..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_status</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_status</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Critical</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_priority</td>
-       <td>label=Major</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Abstract Class Name*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Abstract Class Name *</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/search_by_rule_title.html b/tests/integration/tests/src/it/selenium/rules/search_by_rule_title.html
deleted file mode 100644 (file)
index a4085c8..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_title</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_title</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>Buffering</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Inefficient String Buffering*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/rules/violations_tab.html b/tests/integration/tests/src/it/selenium/rules/violations_tab.html
deleted file mode 100644 (file)
index 1dfe460..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>violations_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ValidWhenLexer</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class ValidWhenLexer*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused Imports*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ValidWhenParser</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class ValidWhenParser*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html
deleted file mode 100644 (file)
index a13f33b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1007_violations_tab_when_no_violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1007_violations_tab_when_no_violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/resource/index/org.sonar.tests:reference:org.sonar.samples.EmptyClass?metric=violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>org.sonar.samples.EmptyClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
-       <td>glob:*0*0*0*0*0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-300-tests_details.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-300-tests_details.html
deleted file mode 100644 (file)
index 9974348..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-300-tests_details</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-300-tests_details</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleB?metric=skipped_tests&amp;resource=org.sonar.tests.test-failures:moduleB:ch.hortis.sonar.samples.testFailures.moduleB.SkippedTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Unit test name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*SkippedTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*normalTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*skippedTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*1*+1 skipped*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*100%*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleA?metric=test_success_density&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Unit test name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*3*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*1/1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*33.3%*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=expand</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*junit.framework.AssertionFailedError*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=collapse</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*junit.framework.AssertionFailedError*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-517_violations_drilldown.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-517_violations_drilldown.html
deleted file mode 100644 (file)
index 931e40a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-517_violations_drilldown</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-517_violations_drilldown</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=InnerClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*InnerClass*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-538-duplications_viewer.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-538-duplications_viewer.html
deleted file mode 100644 (file)
index df116a6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-538-duplications_viewer</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-538-duplications_viewer</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=duplicated_blocks&amp;resource=org.apache.struts:struts-el:org.apache.strutsel.taglib.html.ELButtonTag</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
-       <td>glob:*Lines:*904*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
-       <td>glob:*733*37*org.apache.strutsel.taglib.html.ELSubmitTag*37*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//div[@id='expand-source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag']/a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag</td>
-       <td>glob:*public class ELButtonTag*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-582-violations-without-lines.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-582-violations-without-lines.html
deleted file mode 100644 (file)
index 88bf6d2..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-582-violations-without-lines</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-582-violations-without-lines</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=SONAR582ViolationsWithoutLines</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class SONAR582ViolationsWithoutLines*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*Newline At End Of File*package*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-659-test_success_percentage.html b/tests/integration/tests/src/it/selenium/sourceviewers/SONAR-659-test_success_percentage.html
deleted file mode 100644 (file)
index 9f36164..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-659-test_success_percentage</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-659-test_success_percentage</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.test-failures:moduleA</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*33.3%*</td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>testAWithFailure</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*33.3%*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/static-analysis/deprecated_light_mode.html b/tests/integration/tests/src/it/selenium/static-analysis/deprecated_light_mode.html
deleted file mode 100644 (file)
index 4210d84..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>deprecated_light_mode</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">deprecated_light_mode</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:deprecated-sonar-light</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*deprecated-sonar-light*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>22</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/static-analysis/static-analysis.html b/tests/integration/tests/src/it/selenium/static-analysis/static-analysis.html
deleted file mode 100644 (file)
index ca1849e..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>static-analysis</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">static-analysis</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>22</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_comment_lines_density</td>
-       <td>4.4%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_class_complexity</td>
-       <td>4.0</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/system_info/system_info.html b/tests/integration/tests/src/it/selenium/system_info/system_info.html
deleted file mode 100644 (file)
index a8ffc19..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>system_info</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">system_info</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/new</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-       
-<tr>
-       <td>open</td>
-       <td>/system/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>system_info</td>
-       <td>glob:*Apache Tomcat*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sonar</td>
-       <td>glob:*Version*2.?-SNAPSHOT*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>plugins</td>
-       <td>glob:*Duplications*Findbugs*My Sonar plugin*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>system_properties</td>
-       <td>glob:*java.class.path*java.specification.version*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html b/tests/integration/tests/src/it/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html
deleted file mode 100644 (file)
index 1584536..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-506_number_of_rules_violations_is_incorrect</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-506_number_of_rules_violations_is_incorrect</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Time machine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Rules compliance 0.0%*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html b/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html
deleted file mode 100644 (file)
index 13ad323..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display-first-and-last-five-events</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display-first-and-last-five-events</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.sonar.tests:timemachine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*2007-04-20*Version 0.5*2007-10-20*Version 0.6*2007-12-10*Version 0.7*2008-04-15*Version 0.8*2008-10-19*Version 0.9*Version 1.0-SNAPSHOT*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/should-not-display-rows-without-data.html b/tests/integration/tests/src/it/selenium/timemachine/should-not-display-rows-without-data.html
deleted file mode 100644 (file)
index 7d26f1e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should-not-display-rows-without-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should-not-display-rows-without-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Coverage*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Coverage*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/violations-timemachine.html b/tests/integration/tests/src/it/selenium/timemachine/violations-timemachine.html
deleted file mode 100644 (file)
index ecf1c13..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>violations-timemachine</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations-timemachine</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>http://localhost:9000/dashboard/index/org.sonar.tests:violations-timemachine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile violations-timemachine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>7</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_critical_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_minor_violations</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_info_violations</td>
-       <td>0</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/treemap/treemap_check_gradient_direction.html b/tests/integration/tests/src/it/selenium/treemap/treemap_check_gradient_direction.html
deleted file mode 100644 (file)
index 2cbabc1..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>treemap_check_gradient_direction</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap_check_gradient_direction</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>coverage</td>
-       <td>metric_direction_positive</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>duplicated_lines_density</td>
-       <td>metric_direction_negative</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_positive}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_positive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_negative}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_negative</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_positive}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_positive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_negative}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_negative</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/treemap/treemap_file_drilldown_link.html b/tests/integration/tests/src/it/selenium/treemap/treemap_file_drilldown_link.html
deleted file mode 100644 (file)
index 2e42f86..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>treemap_file_drilldown_link</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap_file_drilldown_link</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_within_package</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link_node-1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*Violations*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/SONAR-1099-html-chars.html b/tests/integration/tests/src/it/selenium/unit_tests/SONAR-1099-html-chars.html
deleted file mode 100644 (file)
index b912a44..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1099-html-chars</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1099-html-chars</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:parent?metric=test_failures&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>stack-paneltestAWithFailure</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=expand</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>stack-paneltestAWithFailure</td>
-       <td>glob:expected:&lt;true&gt; but was:&lt;false&gt;*expected:&lt;true&gt; but was:&lt;false&gt;*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/no-test-failures.html b/tests/integration/tests/src/it/selenium/unit_tests/no-test-failures.html
deleted file mode 100644 (file)
index b578b4a..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no-test-failures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no-test-failures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/no-tests-data-on-static-analysis.html b/tests/integration/tests/src/it/selenium/unit_tests/no-tests-data-on-static-analysis.html
deleted file mode 100644 (file)
index d098b88..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no-tests-data-on-static-analysis</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no-tests-data-on-static-analysis</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Version 1.0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/reuse-clover-and-junit-reports.html b/tests/integration/tests/src/it/selenium/unit_tests/reuse-clover-and-junit-reports.html
deleted file mode 100644 (file)
index ffc48b5..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-clover-and-junit-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-clover-and-junit-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-clover</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>93.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>23</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/reuse-cobertura-and-junit-reports.html b/tests/integration/tests/src/it/selenium/unit_tests/reuse-cobertura-and-junit-reports.html
deleted file mode 100644 (file)
index 35dca44..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-cobertura-and-junit-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-cobertura-and-junit-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-cobertura</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_line_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/reuse-junit-reports-only.html b/tests/integration/tests/src/it/selenium/unit_tests/reuse-junit-reports-only.html
deleted file mode 100644 (file)
index 952ebcc..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-junit-reports-only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-junit-reports-only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-junit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/reuse-maven-coverage-reports.html b/tests/integration/tests/src/it/selenium/unit_tests/reuse-maven-coverage-reports.html
deleted file mode 100644 (file)
index 648cd78..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-maven-coverage-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-maven-coverage-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reuse-coverage-reports</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>57.1%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/skip-surefire-tests.html b/tests/integration/tests/src/it/selenium/unit_tests/skip-surefire-tests.html
deleted file mode 100644 (file)
index c96c983..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>skip-surefire-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">skip-surefire-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:skip-surefire-tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Test success</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_errors</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/some-test-failures.html b/tests/integration/tests/src/it/selenium/unit_tests/some-test-failures.html
deleted file mode 100644 (file)
index 27f0c9f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>some-test-failures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">some-test-failures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.test-failures:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - test failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Unit test success*50.0%*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/unit_tests/zero-when-no-tests.html b/tests/integration/tests/src/it/selenium/unit_tests/zero-when-no-tests.html
deleted file mode 100644 (file)
index 8d7f7ac..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>zero-when-no-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">zero-when-no-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:no-tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>No tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>0.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/accept-login-with-whitespace.html b/tests/integration/tests/src/it/selenium/users/accept-login-with-whitespace.html
deleted file mode 100644 (file)
index 51cc7ce..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>accept-login-with-whitespace</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">accept-login-with-whitespace</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'user ' + new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Logged in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>nav</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/add-user-to-group.html b/tests/integration/tests/src/it/selenium/users/add-user-to-group.html
deleted file mode 100644 (file)
index ca96183..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>add-user-to-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">add-user-to-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Groups</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>groupId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_name</td>
-       <td>${groupId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_description</td>
-       <td>Description of ${groupId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>count-${groupId}</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>select-${groupId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=admin</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>count-${groupId}</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/admin-has-default-groups.html b/tests/integration/tests/src/it/selenium/users/admin-has-default-groups.html
deleted file mode 100644 (file)
index a6f3e41..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>admin-has-default-groups</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">admin-has-default-groups</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-admin</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-admin</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/affect-new-user-to-default-group.html b/tests/integration/tests/src/it/selenium/users/affect-new-user-to-default-group.html
deleted file mode 100644 (file)
index 84d88b7..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>affect-new-user-to-default-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">affect-new-user-to-default-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/affect-user-to-group.html b/tests/integration/tests/src/it/selenium/users/affect-user-to-group.html
deleted file mode 100644 (file)
index 656d03a..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>affect-user-to-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">affect-user-to-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>select-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=sonar-administrators</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>to</td>
-       <td>label=sonar-users</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_left</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/authenticate-new-user.html b/tests/integration/tests/src/it/selenium/users/authenticate-new-user.html
deleted file mode 100644 (file)
index 13f4ef6..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>authenticate-new-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">authenticate-new-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Logged in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>nav</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/can-not-delete-myself.html b/tests/integration/tests/src/it/selenium/users/can-not-delete-myself.html
deleted file mode 100644 (file)
index 564e87f..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>can-not-delete-myself</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">can-not-delete-myself</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-admin</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : are you sure to delete this user ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>user-admin</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>error</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/change-username-without-changing-password.html b/tests/integration/tests/src/it/selenium/users/change-username-without-changing-password.html
deleted file mode 100644 (file)
index b7c2bc3..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>change-username-without-changing-password</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">change-username-without-changing-password</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>New name of ${userId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*New name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/confirm-password-when-creating-user.html b/tests/integration/tests/src/it/selenium/users/confirm-password-when-creating-user.html
deleted file mode 100644 (file)
index 40ff5dd..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>confirm-password-when-creating-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">confirm-password-when-creating-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>wrong</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>error</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>user-${userId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/create-and-delete-groups.html b/tests/integration/tests/src/it/selenium/users/create-and-delete-groups.html
deleted file mode 100644 (file)
index cb95a8b..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create-and-delete-groups</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-groups</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Groups</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>groupId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_name</td>
-       <td>${groupId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_description</td>
-       <td>Description of ${groupId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>group-${groupId}</td>
-       <td>glob:*Description of ${groupId}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-${groupId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure to delete this group ? Members will not be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>group-${groupId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/create-and-delete-users.html b/tests/integration/tests/src/it/selenium/users/create-and-delete-users.html
deleted file mode 100644 (file)
index 2221c0a..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create-and-delete-users</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-users</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : are you sure to delete this user ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>user-${userId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/users/my-profile-display-basic-data.html b/tests/integration/tests/src/it/selenium/users/my-profile-display-basic-data.html
deleted file mode 100644 (file)
index b3951d0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>my-profile-display-basic-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">my-profile-display-basic-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Administrator</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>name</td>
-       <td>Administrator</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>groups</td>
-       <td>glob:*sonar-administrators*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html b/tests/integration/tests/src/it/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html
deleted file mode 100644 (file)
index 6fd6106..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-455_hide_zero_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-455_hide_zero_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*EmptyClass*0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/violations_drilldown/check_violations_on_extensions.html b/tests/integration/tests/src/it/selenium/violations_drilldown/check_violations_on_extensions.html
deleted file mode 100644 (file)
index b4765c3..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>check_violations_on_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">check_violations_on_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Maximum Methods Count Check</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Avoid if without using brace</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Methods Count Check</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/violations_drilldown/popup-on-rules.html b/tests/integration/tests/src/it/selenium/violations_drilldown/popup-on-rules.html
deleted file mode 100644 (file)
index f493332..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>popup-on-rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>rule1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Key:</td>
-       <td></td>
-</tr>
-
-<tr>
-       <td>close</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/violations_drilldown/select_resource.html b/tests/integration/tests/src/it/selenium/violations_drilldown/select_resource.html
deleted file mode 100644 (file)
index 9970a5e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>select_resource</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">select_resource</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference?filter=category</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_rules</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.sonar.samples*[default]*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*Utf8Characters*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=org.sonar.samples.duplicated_lines_within_package</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*Utf8Characters*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*DuplicatedLinesInSamePackage1*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionTest.java
new file mode 100644 (file)
index 0000000..841e7b5
--- /dev/null
@@ -0,0 +1,66 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpMethod;
+import org.apache.commons.httpclient.methods.GetMethod;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import java.io.IOException;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.*;
+
+public class GzipCompressionTest {
+
+  private HttpClient client;
+  private HttpMethod method;
+
+  @Before
+  public void before() {
+    client = new HttpClient();
+    method = new GetMethod(ITUtils.getSonarURL());
+  }
+
+  @After
+  public void after(){
+    method.releaseConnection();
+  }
+
+  @Test
+  public void responseShouldBeGzipped() throws IOException {
+    client.executeMethod(method);
+    int sizeWithoutGzip = method.getResponseBodyAsString().length();
+    assertThat(sizeWithoutGzip, greaterThan(0));
+    assertThat(method.getResponseHeader("Content-Encoding"), nullValue());
+        
+    method.setRequestHeader("Accept-Encoding", "gzip, deflate");
+    client.executeMethod(method);
+    int sizeWithGzip = method.getResponseBodyAsString().length();
+    assertThat(sizeWithGzip, greaterThan(0));
+    assertThat(method.getResponseHeader("Content-Encoding").getValue(), is("gzip"));
+
+    assertThat(sizeWithGzip, lessThan(sizeWithoutGzip));
+  }
+
+}
\ No newline at end of file
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java
new file mode 100644 (file)
index 0000000..e6d0ec7
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+import org.apache.commons.lang.StringUtils;
+import org.junit.Ignore;
+import org.sonar.wsclient.Sonar;
+
+@Ignore
+public final class ITUtils {
+
+  private ITUtils() {
+  }
+
+  public static Sonar createSonarWsClient() {
+    return Sonar.create(getSonarURL());
+  }
+
+  public static String getSonarURL() {
+    return StringUtils.defaultIfEmpty(System.getProperty("sonar.url"), "http://localhost:9000");
+  }
+
+
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerTest.java
new file mode 100644 (file)
index 0000000..80968f3
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+import org.junit.Test;
+import org.sonar.wsclient.Sonar;
+import org.sonar.wsclient.services.Server;
+import org.sonar.wsclient.services.ServerQuery;
+
+import static org.hamcrest.Matchers.endsWith;
+import static org.hamcrest.core.Is.is;
+import static org.junit.Assert.assertThat;
+
+public class ServerTest {
+
+  @Test
+  public void shouldGetVersion() {
+    Sonar sonar = ITUtils.createSonarWsClient();
+    assertThat(sonar.find(new ServerQuery()).getVersion(), endsWith("-SNAPSHOT"));
+  }
+
+  @Test
+  public void shouldGetStatus() {
+    Sonar sonar = ITUtils.createSonarWsClient();
+    assertThat(sonar.find(new ServerQuery()).getStatus(), is(Server.Status.UP));
+  }
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139Test.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139Test.java
new file mode 100644 (file)
index 0000000..aa6cc2e
--- /dev/null
@@ -0,0 +1,218 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.sonar.api.measures.CoreMetrics;
+import org.sonar.wsclient.Sonar;
+import org.sonar.wsclient.services.*;
+
+import java.util.Date;
+import java.util.List;
+
+import static junit.framework.Assert.assertTrue;
+import static org.hamcrest.core.Is.is;
+import static org.hamcrest.Matchers.nullValue;
+import static org.hamcrest.number.OrderingComparisons.greaterThan;
+import static org.hamcrest.number.IsCloseTo.closeTo;
+import static org.hamcrest.number.OrderingComparisons.greaterThanOrEqualTo;
+import static org.hamcrest.number.OrderingComparisons.lessThan;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertThat;
+
+/**
+ * To execute these unit tests, just check-out Struts 1.3.9 from subversion:
+ * http://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_9
+ * <p/>
+ * The quality profile to use is the default one configured in IT (see the file integration-tests-backup.xml).
+ */
+public class Struts139Test {
+
+  private static Sonar sonar;
+  private static final String PROJECT_STRUTS = "org.apache.struts:struts-parent";
+  private static final String MODULE_CORE = "org.apache.struts:struts-core";
+  private static final String PACKAGE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action";
+  private static final String FILE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action.Action";
+
+  @BeforeClass
+  public static void buildServer() {
+    sonar = ITUtils.createSonarWsClient();
+  }
+
+  @Test
+  public void shouldReturnAnalysisDate() {
+    Date date = sonar.find(new ResourceQuery(PROJECT_STRUTS)).getDate();
+    assertNotNull(date);
+    assertThat(date.getYear(), greaterThanOrEqualTo(110)); // 1900 + 110
+  }
+
+  @Test
+  public void strutsIsAnalyzed() {
+    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getName(), is("Struts"));
+    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getVersion(), is("1.3.9"));
+    assertThat(sonar.find(new ResourceQuery(MODULE_CORE)).getName(), is("Struts Core"));
+  }
+
+  @Test
+  public void testProjectViolationMeasures() {
+    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(7726.0, 500.0));
+    assertThat(getProjectMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
+    assertThat(getProjectMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
+    assertThat(getProjectMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(2889.0, 200.0));
+    assertThat(getProjectMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 200.0));
+    assertThat(getProjectMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(5157.0, 20.0));
+    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(84.6, 5.0));
+  }
+
+  @Test
+  public void testPackageViolationMeasures() {
+    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(292.0, 50.0));
+    assertThat(getPackageMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
+    assertThat(getPackageMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
+    assertThat(getPackageMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(111.0, 20.0));
+    assertThat(getPackageMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
+    assertThat(getPackageMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(181.0, 20.0));
+    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(87.8, 5.0));
+  }
+
+
+  @Test
+  public void sizeMetrics() {
+    assertThat(getProjectMeasure("lines").getIntValue(), is(114621));
+    assertThat(getProjectMeasure("ncloc").getIntValue(), is(50080));
+    assertThat(getProjectMeasure("functions").getIntValue(), is(4292));
+    assertThat(getProjectMeasure("accessors").getIntValue(), is(1133));
+    assertThat(getProjectMeasure("classes").getIntValue(), is(518));
+    assertThat(getProjectMeasure("packages").getIntValue(), is(49));
+    assertThat(getProjectMeasure("files").getIntValue(), is(494));
+    assertThat(getCoreModuleMeasure("files").getIntValue(), is(134));
+    assertThat(getPackageMeasure("files").getIntValue(), is(21));
+    assertThat(getFileMeasure("files").getIntValue(), is(1));
+  }
+
+  @Test
+  public void unitTestMetrics() {
+    assertThat(getProjectMeasure("coverage").getValue(), is(14.7));
+    assertThat(getProjectMeasure("line_coverage").getValue(), is(15.4));
+    assertThat(getProjectMeasure("branch_coverage").getValue(), is(12.8));
+    assertThat(getProjectMeasure("tests").getIntValue(), is(323));
+    assertThat(getProjectMeasure("test_execution_time").getIntValue(), greaterThan(1000));
+    assertThat(getProjectMeasure("test_errors").getIntValue(), is(0));
+    assertThat(getProjectMeasure("test_failures").getIntValue(), is(0));
+    assertThat(getProjectMeasure("skipped_tests").getIntValue(), is(0));
+    assertThat(getProjectMeasure("test_success_density").getValue(), is(100.0));
+
+  }
+
+  @Test
+  public void complexityMetrics() {
+    assertThat(getProjectMeasure("complexity").getIntValue(), is(11140));
+    assertThat(getProjectMeasure("statements").getIntValue(), is(21896));
+    assertThat(getProjectMeasure("class_complexity").getValue(), is(21.5));
+    assertThat(getProjectMeasure("function_complexity").getValue(), is(2.6));
+    assertThat(getProjectMeasure("class_complexity_distribution").getData(), is("0=172;5=90;10=86;20=55;30=69;60=34;90=17"));
+  }
+
+  @Test
+  public void lcom4() {
+    assertThat(getProjectMeasure("lcom4").getValue(), greaterThan(1.5));
+    assertThat(getProjectMeasure("lcom4").getValue(), lessThan(2.0));
+    assertThat(getFileMeasure("lcom4").getValue(), greaterThan(10.0));
+  }
+
+  @Test
+  public void rfc() {
+    assertThat(getProjectMeasure("rfc").getValue(), greaterThan(10.0));
+    assertThat(getProjectMeasure("rfc").getValue(), lessThan(30.0));
+  }
+
+  @Test
+  public void designMeaures() {
+    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), greaterThan(10));
+    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), lessThan(50));
+    
+    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), greaterThan(3));
+    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), lessThan(10));
+
+    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), greaterThan(10));
+    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), lessThan(50));
+
+    assertThat(sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, "dit", "noc")).getMeasures().size(), is(0));
+  }
+
+  @Test
+  public void shouldGetDetailsOfCoverageHits() {
+    Resource resource = sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.action.ActionForward", CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY));
+    Measure coverageData = resource.getMeasure(CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY);
+    assertNotNull(coverageData);
+    assertThat(coverageData.getData().length(), greaterThan(10));
+    assertTrue(coverageData.getData().matches("(\\d+=\\d+;{0,1})+"));
+  }
+
+  @Test
+  public void dependencyTree() {
+    List<DependencyTree> trees = sonar.findAll(DependencyTreeQuery.createForProject(PROJECT_STRUTS));
+    assertThat(trees.size(), is(0));
+
+    trees = sonar.findAll(DependencyTreeQuery.createForProject(MODULE_CORE));
+    assertThat(trees.size(), greaterThan(0));
+    assertThat(trees.get(0).getResourceName(), is("antlr:antlr"));
+  }
+
+  @Test
+  public void versionEvent() {
+    EventQuery query = new EventQuery(PROJECT_STRUTS);
+    query.setCategories(new String[]{"Version"});
+    List<Event> events = sonar.findAll(query);
+    assertThat(events.size(), is(1));
+
+    Event version = events.get(0);
+    assertThat(version.getName(), is("1.3.9"));
+    assertThat(version.getCategory(), is("Version"));
+  }
+
+  /**
+   * See http://jira.codehaus.org/browse/SONAR-2041
+   */
+  @Test
+  public void unknownMetric() {
+    assertThat(getProjectMeasure("notfound"), nullValue());
+    assertThat(getCoreModuleMeasure("notfound"), nullValue());
+    assertThat(getPackageMeasure("notfound"), nullValue());
+    assertThat(getFileMeasure("notfound"), nullValue());
+  }
+
+  private Measure getFileMeasure(String metricKey) {
+    return sonar.find(ResourceQuery.createForMetrics(FILE_ACTION, metricKey)).getMeasure(metricKey);
+  }
+
+  private Measure getCoreModuleMeasure(String metricKey) {
+    return sonar.find(ResourceQuery.createForMetrics(MODULE_CORE, metricKey)).getMeasure(metricKey);
+  }
+
+  private Measure getProjectMeasure(String metricKey) {
+    return sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, metricKey)).getMeasure(metricKey);
+  }
+
+  private Measure getPackageMeasure(String metricKey) {
+    return sonar.find(ResourceQuery.createForMetrics(PACKAGE_ACTION, metricKey)).getMeasure(metricKey);
+  }
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterTest.java
new file mode 100644 (file)
index 0000000..9ba4c33
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+import org.apache.commons.lang.StringUtils;
+import org.junit.Test;
+import org.sonar.wsclient.Sonar;
+import org.sonar.wsclient.services.Plugin;
+import org.sonar.wsclient.services.UpdateCenterQuery;
+
+import java.util.List;
+
+import static junit.framework.Assert.assertNotNull;
+import static org.hamcrest.Matchers.startsWith;
+import static org.hamcrest.core.Is.is;
+import static org.hamcrest.number.OrderingComparisons.greaterThan;
+import static org.junit.Assert.assertThat;
+
+public class UpdateCenterTest {
+
+  @Test
+  public void shouldGetInstalledPlugins() {
+    Sonar sonar = ITUtils.createSonarWsClient();
+    List<Plugin> plugins = sonar.findAll(UpdateCenterQuery.createForInstalledPlugins());
+    assertThat(plugins.size(), greaterThan(0));
+
+    Plugin referencePlugin = findReferencePlugin(plugins, "itreference");
+    assertNotNull(referencePlugin);
+    assertThat(referencePlugin.getName(), is("Sonar :: Integration Tests :: Reference Plugin"));
+    assertThat(referencePlugin.getVersion(), startsWith("2."));
+  }
+
+  private Plugin findReferencePlugin(List<Plugin> plugins, String pluginKey) {
+    for (Plugin plugin : plugins) {
+      if (StringUtils.equals(pluginKey, plugin.getKey())) {
+        return plugin;
+      }
+    }
+    return null;
+  }
+
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java
new file mode 100644 (file)
index 0000000..20307d6
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration;
+
+public class VariationsIT {
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimemachineTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimemachineTest.java
new file mode 100644 (file)
index 0000000..f834de0
--- /dev/null
@@ -0,0 +1,69 @@
+package org.sonar.tests.integration;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.sonar.api.measures.CoreMetrics;
+import org.sonar.wsclient.Sonar;
+import org.sonar.wsclient.services.*;
+
+import java.util.Arrays;
+import java.util.List;
+
+import static org.hamcrest.core.Is.is;
+import static org.junit.Assert.assertThat;
+
+public class ViolationsTimemachineTest {
+
+  private static Sonar sonar;
+  private static final String PROJECT = "org.sonar.tests:violations-timemachine";
+  private static final String FILE = "org.sonar.tests:violations-timemachine:org.sonar.tests.violationstimemachine.Hello";
+
+  @BeforeClass
+  public static void buildServer() {
+    sonar = ITUtils.createSonarWsClient();
+  }
+
+  @Test
+  public void projectIsAnalyzed() {
+    assertThat(sonar.find(new ResourceQuery(PROJECT)).getName(), is("Violations timemachine"));
+    assertThat(sonar.find(new ResourceQuery(PROJECT)).getVersion(), is("1.0-SNAPSHOT"));
+    assertThat(sonar.find(new ResourceQuery(PROJECT)).getDate().getMonth(), is(10)); // November
+  }
+
+  @Test
+  public void timemachine() {
+    TimeMachineQuery query = TimeMachineQuery.createForMetrics(PROJECT,
+        CoreMetrics.BLOCKER_VIOLATIONS_KEY,
+        CoreMetrics.CRITICAL_VIOLATIONS_KEY,
+        CoreMetrics.MAJOR_VIOLATIONS_KEY,
+        CoreMetrics.MINOR_VIOLATIONS_KEY,
+        CoreMetrics.INFO_VIOLATIONS_KEY);
+    List<TimeMachineData> snapshots = sonar.findAll(query);
+    assertThat(snapshots.size(), is(2));
+
+    TimeMachineData snapshot1 = snapshots.get(0);
+    TimeMachineData snapshot2 = snapshots.get(1);
+
+    assertThat(snapshot1.getDate().getMonth(), is(9));
+    assertThat(snapshot1.getValues(), is(Arrays.asList("0.0", "0.0", "3.0", "4.0", "0.0")));
+
+    assertThat(snapshot2.getDate().getMonth(), is(10));
+    assertThat(snapshot2.getValues(), is(Arrays.asList("0.0", "0.0", "4.0", "3.0", "0.0")));
+  }
+
+  @Test
+  public void correctLinesAndDates() {
+    ViolationQuery query = ViolationQuery.createForResource(FILE).setSeverities("MAJOR");
+    List<Violation> violations = sonar.findAll(query);
+
+    assertThat(violations.get(0).getLine(), is(8));
+    assertThat(violations.get(0).getCreatedAt().getMonth(), is(9)); // old violation
+
+    assertThat(violations.get(1).getLine(), is(13));
+    assertThat(violations.get(1).getCreatedAt().getMonth(), is(9)); // old violation
+
+    assertThat(violations.get(2).getLine(), is(18));
+    assertThat(violations.get(2).getCreatedAt().getMonth(), is(10)); // new violation
+  }
+
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageTest.java
new file mode 100644 (file)
index 0000000..5d6ecc6
--- /dev/null
@@ -0,0 +1,48 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration.selenium;
+
+import org.junit.Test;
+
+import static junit.framework.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
+public class CustomizeComponentsPageTest extends SonarTestCase {
+
+  @Test
+  public void defaultTreemapIsCustomizableByAdministrators() {
+    loginAsAdministrator();
+    selenium.open("/components/index/org.apache.struts:struts-parent");
+
+    // configure is OFF
+    assertFalse(selenium.isElementPresent("set_default_treemap"));
+
+    // configure is ON
+    clickAndWait("configure-on");    
+    assertTrue(selenium.isElementPresent("set_default_treemap"));
+  }
+
+  @Test
+  public void notCustomizableByAnonymous() {
+    loginAsAnonymous();
+    selenium.open("/components/index/org.apache.struts:struts-parent");
+    assertFalse(selenium.isElementPresent("configure-on"));
+  }
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsTest.java
new file mode 100644 (file)
index 0000000..dca4cb2
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration.selenium;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertTrue;
+
+public class DeployUIExtensionsTest extends SonarTestCase {
+
+  @Test
+  public void gwtPageIsDisplayedInHomeSidebar() throws Exception {
+    selenium.open("/");
+               assertTrue(selenium.getText("sidebar").contains("GWT sample"));
+               selenium.click("link=GWT sample");
+               selenium.waitForPageToLoad("30000");
+               assertTrue(selenium.isTextPresent("this is a GWT sample"));
+  }
+
+  @Test
+  public void displayHhtmlFooter() throws Exception {
+    selenium.open("/");
+               assertTrue(selenium.getText("ft").contains("Sample footer"));
+  }
+
+}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java
new file mode 100644 (file)
index 0000000..fa56aac
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * Sonar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+package org.sonar.tests.integration.selenium;
+
+import com.thoughtworks.selenium.DefaultSelenium;
+import org.junit.After;
+import org.junit.Before;
+import org.sonar.tests.integration.ITUtils;
+
+/**
+ * To execute selenium tests in IDE, you have to run the selenium server first :
+ * mvn selenium:start-server   
+ */
+public abstract class SonarTestCase {
+  protected DefaultSelenium selenium;
+
+  @Before
+  public void before() throws Exception {
+    // TODO the browser and the url must be configurable 
+    selenium = new DefaultSelenium("localhost", 4444, "*firefox", ITUtils.getSonarURL());
+    selenium.start();
+  }
+
+  @After
+  public void after() {
+    selenium.stop();
+  }
+
+  protected void login(String login, String password) {
+    logout();
+    selenium.open("/sessions/new");
+    selenium.type("login", login);
+    selenium.type("password", password);
+    selenium.click("commit");
+    selenium.waitForPageToLoad("30000");
+  }
+
+  protected void logout() {
+    selenium.open("/sessions/logout");
+  }
+
+  protected void loginAsAdministrator() {
+    login("admin", "admin");
+  }
+
+  protected void loginAsAnonymous() {
+    logout();  
+  }
+
+  protected void clickAndWait(String url) {
+    selenium.click(url);
+    selenium.waitForPageToLoad("30000");
+  }
+}
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html b/tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html
new file mode 100644 (file)
index 0000000..a403651
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-1032-ws-api</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1032-ws-api</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/api/plugins/RubyWebService</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Rest method output</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/api/plugins/RubyWebService/custom_method</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Custom method output</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html b/tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html
new file mode 100644 (file)
index 0000000..1838941
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+  <title>Test Suite</title>
+</head>
+<body>
+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
+<tr><td><b>Test Suite</b></td></tr>
+<tr><td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td></tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html b/tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html
new file mode 100644 (file)
index 0000000..b172c2a
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-1709-static-resources</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1709-static-resources</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/static/reference-plugin/file.html</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>//body</td>
+       <td>Text from static resource</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html b/tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html
new file mode 100644 (file)
index 0000000..7326558
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-1772-findbugs-violations</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1772-findbugs-violations</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:findbugs</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile SONAR-1772</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_critical_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_major_violations</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_minor_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_blocker_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_info_violations</td>
+       <td>0</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html b/tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html
new file mode 100644 (file)
index 0000000..9d3b8b6
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-222_maven_extensions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-222_maven_extensions</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:maven-extensions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>10</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>hd</td>
+       <td>glob:*maven extensions*</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:maven-extensions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:*Blocker*0*</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html b/tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html
new file mode 100644 (file)
index 0000000..aa0b799
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <link rel="selenium.base" href="http://localhost:9000/"/>
+  <title>SONAR-594-jee-sample</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+  <thead>
+  <tr>
+    <td rowspan="1" colspan="3">SONAR-594-jee-sample</td>
+  </tr>
+  </thead>
+  <tbody>
+  <tr>
+    <td>open</td>
+    <td>/dashboard/index/org.sonar.tests.jee:parent</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>m_ncloc</td>
+    <td>16</td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/components/index/org.sonar.tests.jee:parent</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>treemap</td>
+    <td>glob:*java-module*</td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>treemap</td>
+    <td>glob:*ejb-module*</td>
+  </tr>
+
+  </tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html b/tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html
new file mode 100644 (file)
index 0000000..9a3641c
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-594-no-violations</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-594-no-violations</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:SONAR-594-no-violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations_density</td>
+       <td>100.0%</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Blocker</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_blocker_violations</td>
+       <td>0</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html b/tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html
new file mode 100644 (file)
index 0000000..583b247
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-684-encode-violation-messages</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-684-encode-violation-messages</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:single-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=SONAR684EncodeViolationMessages</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*SONAR684EncodeViolationMessages*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Avoid Duplicate Literals*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>pageselector</td>
+       <td>glob:*The String literal &quot;&lt;select&gt;&quot; appears*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html b/tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html
new file mode 100644 (file)
index 0000000..737864f
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <link rel="selenium.base" href="http://localhost:9000/"/>
+  <title>SONAR-767-pmd-close-resource-rule</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+  <thead>
+  <tr>
+    <td rowspan="1" colspan="3">SONAR-767-pmd-close-resource-rule</td>
+  </tr>
+  </thead>
+  <tbody>
+  <tr>
+    <td>open</td>
+    <td>/drilldown/violations/org.sonar.tests:SONAR-767-pmd-close-resource-rule</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertTextPresent</td>
+    <td>SONAR-767-pmd-close-resource-rule</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>col_FIL</td>
+    <td>glob:*ConnectionIsNotClosed*1*</td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>col_FIL</td>
+    <td>glob:*ResourceIsNotClosed*1*</td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>col_DIR</td>
+    <td>glob:*org.sonar.tests*2*</td>
+  </tr>
+  <tr>
+    <td>assertText</td>
+    <td>col_rules</td>
+    <td>glob:*Close Resource*2*</td>
+  </tr>
+
+  </tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html b/tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html
new file mode 100644 (file)
index 0000000..62bf7a6
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-787-checkstyle-SuppressionCommentFilter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-787-checkstyle-SuppressionCommentFilter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:SONAR-787-checkstyle-SuppressionCommentFilter</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile SONAR-787-checkstyle-SuppressionCommentFilter</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*IgnoreCheckstyleFalsePositives*1*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html b/tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html
new file mode 100644 (file)
index 0000000..594dcb6
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-981-clover-skip</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-981-clover-skip</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.clover2skip:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>12</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html b/tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html
new file mode 100644 (file)
index 0000000..d7a6be5
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create_and_delete_alert_on_lines_of_code</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_and_delete_alert_on_lines_of_code</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Integration%20tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Alerts</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>alert_metric_id</td>
+       <td>label=Lines of code</td>
+</tr>
+<tr>
+       <td>waitForSelectedLabel</td>
+       <td>xpath=//div[@id='new_alert_form']//select[@id='alert_operator']</td>
+       <td>is greater than</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>xpath=//div[@id='new_alert_form']//input[@id='alert_value_warning']</td>
+       <td>500</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_create</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Alert is created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>alerts</td>
+       <td>glob:*Lines of code*is greater than*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>delete_Lines%20of%20code</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Alert is deleted</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>alerts</td>
+       <td>Lines of code</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html b/tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html
new file mode 100644 (file)
index 0000000..cd18726
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_validate_alert_on_creation</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_validate_alert_on_creation</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Integration%20tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Alerts</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_create</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//div[@class='error']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/all-tests.html b/tests/integration/tests/src/test/selenium/all-tests.html
new file mode 100644 (file)
index 0000000..a005e7c
--- /dev/null
@@ -0,0 +1,636 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
+  <title>Test Suite</title>
+</head>
+<body>
+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium">
+<tbody>
+<tr>
+  <td><b>Test Suite</b></td>
+</tr>
+
+
+
+<tr>
+  <td><a href="filters/anonymous-default-filters.html">filters/anonymous-default-filters</a></td>
+</tr>
+<tr>
+  <td><a href="filters/set-favourite-project.html">filters/set-favourite-project</a></td>
+</tr>
+<tr>
+  <td><a href="filters/treemap-filter.html">filters/treemap-filter</a></td>
+</tr>
+<tr>
+  <td><a href="filters/create-and-delete-filter.html">filters/create-and-delete-filter</a></td>
+</tr>
+<tr>
+  <td><a href="filters/create-advanced-filter.html">filters/create-advanced-filter</a></td>
+</tr>
+<tr>
+  <td><a href="filters/default-filters-console.html">filters/default-filters-console</a></td>
+</tr>
+<tr>
+  <td><a href="filters/default-filters-console-for-admins-only.html">filters/default-filters-console-for-admins-only</a></td>
+</tr>
+<tr>
+  <td><a href="plugins/settings_on_core_plugins.html">plugins/settings_on_core_plugins</a></td>
+</tr>
+<tr>
+  <td><a href="ruby-api.html">ruby-api</a></td>
+</tr>
+<tr>
+  <td><a href="dependencies/no_results.html">dependencies/no_results</a></td>
+</tr>
+<tr>
+  <td><a href="dependencies/search_subprojects.html">dependencies/search_subprojects</a></td>
+</tr>
+<tr>
+  <td><a href="dependencies/standard_usage.html">dependencies/standard_usage</a></td>
+</tr>
+<tr>
+  <td><a href="dependencies/too_short_search.html">dependencies/too_short_search</a></td>
+</tr>
+
+<tr>
+  <td><a href="contextualized-breadcrumb.html">contextualized-breadcrumb</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-222_maven_extensions.html">SONAR-222_maven_extensions</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-594-no-violations.html">SONAR-594-no-violations</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-594-jee-sample.html">SONAR-594-jee-sample</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-767-pmd-close-resource-rule.html">SONAR-767-pmd-close-resource-rule</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-787-checkstyle-SuppressionCommentFilter.html">SONAR-787-checkstyle-SuppressionCommentFilter</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="SONAR-684-encode-violation-messages.html">SONAR-684-encode-violation-messages</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-981-clover-skip.html">SONAR-981-clover-skip</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-1032-ws-api.html">SONAR-1032-ws-api</a></td>
+</tr>
+<tr>
+  <td><a href="SONAR-1772-findbugs-violations.html">SONAR-1772-findbugs-violations</a></td>
+</tr>
+
+<tr>
+  <td><a href="many-source-dirs.html">many-source-dirs</a></td>
+</tr>
+
+<tr>
+  <td><a
+      href="alerts/create_and_delete_alert_on_lines_of_code.html">alerts/create_and_delete_alert_on_lines_of_code</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="alerts/should_validate_alert_on_creation.html">alerts/should_validate_alert_on_creation</a></td>
+</tr>
+
+<tr>
+  <td><a
+      href="profiles/SONAR-560_remove_a_rule_from_sonar_way.html">profiles/SONAR-560_remove_a_rule_from_sonar_way</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a href="duplicated-lines/drilldown-without-ratio.html">duplicated lines - drilldown without ratio</a></td>
+</tr>
+<tr>
+  <td><a href="footer-data.html">footer data</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/deprecated-url-format.html">dashboard/deprecated-url-format</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/SONAR-601-project-without-measures.html">dashboard/SONAR-601-project-without-measures</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="events/create_event_with_special_characters.html">events create_event_with_special_characters</a></td>
+</tr>
+<tr>
+  <td><a href="events/create_event_without_snapshot.html">events/create_event_without_snapshot</a></td>
+</tr>
+<tr>
+  <td><a href="events/no_events_widget_on_module_and_package.html">events/no_events_widget_on_module_and_package</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="event_categories/should_create_category.html">event_categories should_create_category</a></td>
+</tr>
+<tr>
+  <td><a href="event_categories/should_delete_category.html">event_categories should_delete_category</a></td>
+</tr>
+<tr>
+  <td><a href="event_categories/should_edit_category.html">event_categories should_edit_category</a></td>
+</tr>
+<tr>
+  <td><a href="event_categories/should_validate_category.html">event_categories should_validate_category</a></td>
+</tr>
+
+<tr>
+  <td><a href="exclusions/SONAR-1115-do-not-exclude-unit-tests.html">exclusions/SONAR-1115-do-not-exclude-unit-tests</a></td>
+</tr>
+<tr>
+  <td><a href="exclusions/cobertura_exclusions.html">exclusions/cobertura_exclusions</a></td>
+</tr>
+<tr>
+  <td><a href="exclusions/cpd_exclusions.html">exclusions/cpd_exclusions</a></td>
+</tr>
+<tr>
+  <td><a href="exclusions/javancss_exclusions.html">exclusions/javancss_exclusions</a></td>
+</tr>
+<tr>
+  <td><a href="exclusions/set_exclusions_from_project_settings_page.html">exclusions/set_exclusions_from_project_settings_page</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a
+      href="sourceviewers/SONAR-582-violations-without-lines.html">sourceviewers/SONAR-582-violations-without-lines</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="sourceviewers/SONAR-517_violations_drilldown.html">sourceviewers/SONAR-517_violations_drilldown</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="sourceviewers/SONAR-659-test_success_percentage.html">sourceviewers/SONAR-659-test_success_percentage</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="sourceviewers/SONAR-538-duplications_viewer.html">sourceviewers/SONAR-538-duplications_viewer</a></td>
+</tr>
+<tr>
+  <td><a href="sourceviewers/SONAR-300-tests_details.html">sourceviewers/SONAR-300-tests_details</a></td>
+</tr>
+<tr>
+  <td><a href="sourceviewers/SONAR-1007_violations_tab_when_no_violations.html">sourceviewers/SONAR-1007_violations_tab_when_no_violations</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="hotspots/function_complexity_hotspot.html">hotspots/function_complexity_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/no_measures.html">hotspots/no_measures</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/rules_violations_hotspot.html">hotspots/rules_violations_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/violations_hotspot.html">hotspots/violations_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/test_execution_time_hotspot.html">hotspots/test_execution_time_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/ccn_hotspot.html">hotspots/ccn_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/duplicated_lines_hotspot.html">hotspots/duplicated_lines_hotspot</a></td>
+</tr>
+<tr>
+  <td><a href="hotspots/popup-on-rules.html">hotspots/popup-on-rules</a></td>
+</tr>
+
+<tr>
+  <td><a href="libraries/display_tests.html">libraries/display_tests</a></td>
+</tr>
+<tr>
+  <td><a href="libraries/keyword_filter.html">libraries/keyword_filter</a></td>
+</tr>
+<tr>
+  <td><a href="libraries/module_libraries.html">libraries/module_libraries</a></td>
+</tr>
+
+<tr>
+  <td><a href="i18n/default_locale_is_english.html">i18n/default_locale_is_english</a></td>
+</tr>
+<tr>
+  <td><a href="i18n/french-france.html">i18n/french-france</a></td>
+</tr>
+<tr>
+  <td><a href="i18n/french-switzerland.html">i18n/french-switzerland</a></td>
+</tr>
+<tr>
+  <td><a href="i18n/french.html">i18n/french</a></td>
+</tr>
+<tr>
+  <td><a href="i18n/japanese_duplications.html">i18n/japanese_duplications</a></td>
+</tr>
+<tr>
+  <td><a href="i18n/japanese_sources.html">i18n/japanese_sources</a></td>
+</tr>
+<tr>
+  <td><a href="branch.html">branch</a></td>
+</tr>
+<tr>
+  <td><a href="modules.html">modules</a></td>
+</tr>
+<tr>
+  <td><a href="do-not-import-sources.html">do-not-import-sources</a></td>
+</tr>
+<tr>
+  <td><a href="disabled-project.html">disabled-project</a></td>
+</tr>
+<tr>
+  <td><a href="clover/clover2.html">clover/clover2</a></td>
+</tr>
+<tr>
+  <td><a href="clover/clover3.html">clover/clover3</a></td>
+</tr>
+
+<tr>
+  <td><a href="rules-on-tests.html">rules-on-tests</a></td>
+</tr>
+<tr>
+  <td><a href="authentication/login_successful.html">authentication/login_successful</a></td>
+</tr>
+<tr>
+  <td><a href="authentication/login_wrong_password.html">authentication/login_wrong_password</a></td>
+</tr>
+<tr>
+  <td><a href="authentication/login_cancel.html">authentication/login_cancel</a></td>
+</tr>
+
+<tr>
+  <td><a href="dashboard/basic-archetype-widget.html">dashboard/basic-archetype-widget</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/display_files_and_classes.html">dashboard/display_files_and_classes</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/reference.html">dashboard/reference</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/chidamber_kemerer_widget.html">dashboard/chidamber_kemerer_widget</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/file_widget_on_packages.html">dashboard/file_widget_on_packages</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/no_file_design_widget_on_projects.html">dashboard/no_file_design_widget_on_projects</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/no_package_design_widget_on_packages.html">dashboard/no_package_design_widget_on_packages</a></td>
+</tr>
+<tr>
+  <td><a href="dashboard/package_design_widget_on_projects.html">dashboard/package_design_widget_on_projects</a></td>
+</tr>
+
+<tr>
+  <td><a href="design/drilldown_on_lcom4.html">design/drilldown_on_lcom4</a></td>
+</tr>
+<tr>
+  <td><a href="design/drilldown_on_rfc.html">design/drilldown_on_rfc</a></td>
+</tr>
+<tr>
+  <td><a href="design/drilldown_to_dsm.html">design/drilldown_to_dsm</a></td>
+</tr>
+<tr>
+  <td><a href="design/lcom4_tab.html">design/lcom4_tab</a></td>
+</tr>
+<tr>
+  <td><a href="design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html">design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles</a></td>
+</tr>
+
+
+
+<tr>
+  <td><a href="unit_tests/some-test-failures.html">unit_tests/some-test-failures</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/no-test-failures.html">unit_tests/no-test-failures</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/zero-when-no-tests.html">unit_tests/zero-when-no-tests</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/no-tests-data-on-static-analysis.html">unit_tests/no-tests-data-on-static-analysis</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/skip-surefire-tests.html">skip-surefire-tests</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/reuse-clover-and-junit-reports.html">unit_tests/reuse-clover-and-junit-reports</a></td>
+</tr>
+<!--<tr>
+  <td><a href="unit_tests/reuse-cobertura-and-junit-reports.html">unit_tests/reuse-cobertura-and-junit-reports</a>
+  </td>
+</tr>-->
+<tr>
+  <td><a href="unit_tests/reuse-junit-reports-only.html">unit_tests/reuse-junit-reports-only</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/reuse-maven-coverage-reports.html">unit_tests/reuse-maven-coverage-reports</a></td>
+</tr>
+<tr>
+  <td><a href="unit_tests/SONAR-1099-html-chars.html">unit_tests/SONAR-1099-html-chars</a></td>
+</tr>
+
+<tr>
+  <td><a href="measures_drilldown/SONAR-564_show_zero_measures.html">measures_drilldown/SONAR-564_show_zero_measures</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="measures_drilldown/dont-display-resources-without-violations.html">measures_drilldown/dont-display-resources-without-violations</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="measures_drilldown/show_from_modules_to_classes.html">measures_drilldown/show_from_modules_to_classes</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="measures_drilldown/SONAR-1016_file_level_resources_only.html">measures_drilldown/SONAR-1016_file_level_resources_only</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/create_java_profile.html">profiles/create_java_profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/backup-profile.html">profiles/backup-profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/bulk-change.html">profiles/bulk-change</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/do-not-create-profile-with-existing-name.html">profiles/do-not-create-profile-with-existing-name</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/cancel-profile-creation.html">profiles/cancel-profile-creation</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/delete-profile.html">profiles/delete-profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/activate-profile.html">profiles/activate-profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/copy-profile.html">profiles/copy-profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/do-not-copy-with-blank-name.html">profiles/do-not-copy-with-blank-name</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/do-not-copy-with-existing-name.html">profiles/do-not-copy-with-existing-name</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/read-only-mode-when-anonymous-user.html">profiles/read-only-mode-when-anonymous-user</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/do-not-delete-provided-profiles.html">profiles/do-not-delete-provided-profiles</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/permalink-to-checkstyle-configuration.html">profiles/permalink-to-checkstyle-configuration</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/permalink-to-default-checkstyle-configuration.html">profiles/permalink-to-default-checkstyle-configuration</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/permalink-to-pmd-configuration.html">profiles/permalink-to-pmd-configuration</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/display-permalinks-to-tools.html">profiles/display-permalinks-to-tools</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/link-profile-to-project.html">profiles/profile_to_project_link_unlink</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/should_import_checkstyle_findbugs_pmd.html">profiles/should_import_checkstyle_findbugs_pmd</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/dashboard_links_to_used_profile.html">profiles/dashboard_links_to_used_profile</a></td>
+</tr>
+<tr>
+  <td><a href="profiles/profile-overriden-by-maven-parameter.html">profiles/profile-overriden-by-maven-parameter</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="rules/violations_tab.html">rules/violations_tab</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a href="profiles/user-profiles-are-editable.html">profiles/user-profiles-are-editable</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="profiles/provided-profiles-are-not-editable.html">profiles/provided-profiles-are-not-editable</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="rules/check_rules_extensions.html">rules/check_rules_extensions</a></td>
+</tr>
+<tr>
+  <td><a href="rules/pmd_xpath_rule_extension.html">rules/pmd_xpath_rule_extension</a></td>
+</tr>
+<tr>
+  <td><a href="rules/copy_a_provided_profile_and_modify_a_rule_param.html">rules/copy_a_provided_profile_and_modify_a_rule_param</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="rules/search_by_plugin.html">rules/search_by_plugin</a></td>
+</tr>
+<tr>
+  <td><a href="rules/search_by_rule_title.html">rules/search_by_rule_title</a></td>
+</tr>
+<tr>
+  <td><a href="rules/search_and_display_inactive_rules.html">rules/search_and_display_inactive_rules</a></td>
+</tr>
+<tr>
+  <td><a href="rules/rule_search_verify_form_values_on_first_call.html">rules/rule_search_verify_form_values_on_first_call</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="rules/search_by_rule_priority.html">rules/search_by_rule_priority</a></td>
+</tr>
+<tr>
+  <td><a href="rules/search_by_rule_status.html">rules/search_by_rule_status</a></td>
+</tr>
+<tr>
+  <td><a href="rules/search_any_rules.html">rules/search_any_rules</a></td>
+</tr>
+<tr>
+  <td><a href="rules/copy_and_edit_rule_template.html">rules/copy_and_edit_rule_template</a></td>
+</tr>
+<tr>
+  <td><a href="rules/SONAR-1000_quality_profile_with_space_or_dot.html">rules/SONAR-1000_quality_profile_with_space_or_dot</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="reviews/create_then_edit_type.html">create then edit a review type</a></td>
+</tr>
+<tr>
+  <td><a href="reviews/insert_then_delete_review_measure.html">insert then delete review measure</a></td>
+</tr>
+<tr>
+  <td><a href="reviews/reviews_should_not_create_review_in_futur.html">reviews_should_not_create_review_in_futur</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a href="system_info/system_info.html">system_info/system_info</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a href="google_analytics_plugin/activate_google_analytics.html">google_analytics_plugin/activate google
+    analytics</a></td>
+</tr>
+<tr>
+  <td><a href="google_analytics_plugin/deactivate_google_analytics.html">google_analytics_plugin/deactivate google
+    analytics</a></td>
+</tr>
+
+<tr>
+  <td><a href="manual_metrics/predefined_metrics.html">manual_metrics/predefined_metrics</a></td>
+</tr>
+
+<tr>
+  <td><a href="timemachine/display-first-and-last-five-events.html">timemachine/display-first-and-last-five-events</a>
+  </td>
+</tr>
+<tr>
+  <td><a
+      href="timemachine/should-not-display-rows-without-data.html">timemachine/should-not-display-rows-without-data</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/SONAR-506_number_of_rules_violations_is_incorrect</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/violations-timemachine</a></td>
+</tr>
+<tr>
+  <td><a href="treemap/treemap_check_gradient_direction.html">treemap_check_gradient_direction</a></td>
+</tr>
+<tr>
+  <td><a href="treemap/treemap_file_drilldown_link.html">treemap_file_drilldown_link</a></td>
+</tr>
+
+<tr>
+  <td><a href="coverage_clouds/coverage_clouds_project_risk.html">coverage_clouds/coverage_clouds_project_risk</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="coverage_clouds/coverage_clouds_quick_wins.html">coverage_clouds/coverage_clouds_quick_wins</a></td>
+</tr>
+<tr>
+  <td><a href="coverage_clouds/coverage_clouds_source_tab.html">coverage_clouds/coverage_clouds_source_tab</a></td>
+</tr>
+<tr>
+  <td><a href="coverage_clouds/clouds_on_packages.html">coverage_clouds/clouds_on_packages</a></td>
+</tr>
+
+<tr>
+  <td><a
+      href="projects_columns/projects_columns_add_and_remove_column.html">projects_columns_add_and_remove_column</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="projects_columns/projects_columns_update_default_column_sort.html">projects_columns_update_default_column_sort</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="projects_columns/projects_columns_remove_default_column_sort.html">projects_columns_remove_default_column_sort</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="projects_columns/projects_columns_disable_and_enable_treemap.html">projects_columns_disable_and_enable_treemap</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="projects_columns/projects_columns_move_column_to_left_and_right.html">projects_columns_move_column_to_left_and_right</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a
+      href="violations_drilldown/SONAR-455_hide_zero_measures.html">violations_drilldown/SONAR-455_hide_zero_measures</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="violations_drilldown/check_violations_on_extensions.html">violations_drilldown/check_violations_on_extensions</a>
+  </td>
+</tr>
+<tr>
+  <td><a href="violations_drilldown/select_resource.html">violations_drilldown/select_resource</a></td>
+</tr>
+<tr>
+  <td><a href="violations_drilldown/popup-on-rules.html">violations_drilldown/popup-on-rules</a>
+  </td>
+</tr>
+
+<tr>
+  <td><a href="static-analysis/deprecated_light_mode.html">static-analysis/deprecated_light_mode</a></td>
+</tr>
+<tr>
+  <td><a href="static-analysis/static-analysis.html">static-analysis/static-analysis</a></td>
+</tr>
+
+
+<tr>
+  <td><a href="users/admin-has-default-groups.html">users/admin-has-default-groups</a></td>
+</tr>
+<tr>
+  <td><a href="users/accept-login-with-whitespace.html">users/accept-login-with-whitespace</a></td>
+</tr>
+<tr>
+  <td><a href="users/affect-new-user-to-default-group.html">users/affect-new-user-to-default-group</a></td>
+</tr>
+<tr>
+  <td><a href="users/authenticate-new-user.html">users/authenticate-new-user</a></td>
+</tr>
+<tr>
+  <td><a href="users/can-not-delete-myself.html">users/can-not-delete-myself</a></td>
+</tr>
+<tr>
+  <td><a href="users/change-username-without-changing-password.html">users/change-username-without-changing-password</a></td>
+</tr>
+<tr>
+  <td><a href="users/confirm-password-when-creating-user.html">users/confirm-password-when-creating-user</a></td>
+</tr>
+<tr>
+  <td><a href="users/create-and-delete-groups.html">users/create-and-delete-groups</a></td>
+</tr>
+<tr>
+  <td><a href="users/create-and-delete-users.html">users/create-and-delete-users</a></td>
+</tr>
+<tr>
+  <td><a href="users/my-profile-display-basic-data.html">users/my-profile-display-basic-data</a></td>
+</tr>
+<tr>
+  <td><a href="users/add-user-to-group.html">users/add-user-to-group</a></td>
+</tr>
+<tr>
+  <td><a href="users/affect-user-to-group.html">users/affect-user-to-group</a></td>
+</tr>
+</tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_cancel.html b/tests/integration/tests/src/test/selenium/authentication/login_cancel.html
new file mode 100644 (file)
index 0000000..4652916
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>login_cancel</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">login_cancel</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Cancel</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>link=Log in</td>
+       <td>Log in</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_successful.html b/tests/integration/tests/src/test/selenium/authentication/login_successful.html
new file mode 100644 (file)
index 0000000..4732f59
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>login_successful</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">login_successful</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>link=Log in</td>
+       <td>Log in</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>link=Log in</td>
+       <td>Log in</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html b/tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html
new file mode 100644 (file)
index 0000000..9ea4868
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>login_wrong_password</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">login_wrong_password</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>wrong</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Authentication failed</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/branch.html b/tests/integration/tests/src/test/selenium/branch.html
new file mode 100644 (file)
index 0000000..8df4c0e
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>branch</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">branch</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Sonar tests - reference BRANCH-0.9</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Sonar tests - reference BRANCH-0.9</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Sonar tests - reference BRANCH-0.9</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/clover/clover2.html b/tests/integration/tests/src/test/selenium/clover/clover2.html
new file mode 100644 (file)
index 0000000..c6f8372
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>clover2</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">clover2</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.clover2:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>66.7%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>40.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>12</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/clover/clover3.html b/tests/integration/tests/src/test/selenium/clover/clover3.html
new file mode 100644 (file)
index 0000000..822d634
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>clover3</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">clover3</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.clover3:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>66.7%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>40.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>12</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html b/tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html
new file mode 100644 (file)
index 0000000..dcfce01
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>contextualized-breadcrumb</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">contextualized-breadcrumb</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.sonar.tests.modules:module_a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>crumbs</td>
+       <td>glob:*Sonar tests*Module A*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Sonar tests - modules</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>crumbs</td>
+       <td>glob:*Module A*</td>
+</tr>
+<tr>
+       <td>assertLocation</td>
+       <td>glob:*components/index/*</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html b/tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html
new file mode 100644 (file)
index 0000000..a447f70
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>clouds_on_packages</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">clouds_on_packages</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples?page=org.sonar.plugins.core.clouds.GwtClouds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>crumbs</td>
+       <td>glob:*org.sonar.samples*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>content</td>
+       <td>glob:*InnerClass*Utf8Characters*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html
new file mode 100644 (file)
index 0000000..03bb33a
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>coverage_clouds_project_risk</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">coverage_clouds_project_risk</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>InnerClass</td>
+       <td>class_name</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Avg. complexity by method : 1.2, Coverage : 33.3%</td>
+       <td>class_tooltip</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Clouds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>top_risk_tab_title</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>top_risk_tab_title</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>${class_name}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//div[@id='top_risk_tab_content']//span[text()='${class_name}']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html
new file mode 100644 (file)
index 0000000..359cbb0
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>coverage_clouds_quick_wins</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">coverage_clouds_quick_wins</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>InnerClass</td>
+       <td>class_name</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Complexity : 15, Coverage : 33.3%</td>
+       <td>class_tooltip</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Clouds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>quick_wins_tab_title</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>quick_wins_tab_title</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${class_name}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html
new file mode 100644 (file)
index 0000000..fe97fa7
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>coverage_clouds_source_tab</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">coverage_clouds_source_tab</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>InnerClass</td>
+       <td>class_name</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.clouds.GwtClouds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Clouds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>quick_wins_tab_content</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForPopUp</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>InnerClass</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Line coverage*</td>
+</tr>
+<tr>
+       <td>close</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/custom-maven-type.html b/tests/integration/tests/src/test/selenium/custom-maven-type.html
new file mode 100644 (file)
index 0000000..2de4199
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>custom-maven-type</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">custom-maven-type</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:maven-custom-type</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>hd</td>
+       <td>glob:*Maven custom type*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>9</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:maven-custom-type</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>col_categories</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html b/tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html
new file mode 100644 (file)
index 0000000..b5d8e7e
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-601-project-without-measures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-601-project-without-measures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>POM without modules</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>JAR without sources</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:jar-without-sources</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Version 1.0-SNAPSHOT</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Key : org.sonar.tests:jar-without-sources</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:pom-without-modules</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>POM without modules</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>org.sonar.tests:pom-without-modules</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html b/tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html
new file mode 100644 (file)
index 0000000..7fbb622
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>basic-archetype-widget</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">basic-archetype-widget</td></tr>
+</thead><tbody>
+       <tr>
+               <td>open</td>
+               <td>/sessions/logout</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>open</td>
+               <td>/sessions/new</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>password</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>clickAndWait</td>
+               <td>commit</td>
+               <td></td>
+       </tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>dashboard</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configure widgets</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>def_sample</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>def_sample</td>
+       <td>glob:*Sample*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html b/tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html
new file mode 100644 (file)
index 0000000..61200df
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>chidamber_kemerer_widget</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">chidamber_kemerer_widget</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_lcom4</td>
+       <td>glob:1.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_suspect_lcom4_density</td>
+       <td>glob:2*%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_rfc</td>
+       <td>regexp:[0-9][0-9]</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>css=#dashboard .ckjm</td>
+       <td>glob:*LCOM4*RFC*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html b/tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html
new file mode 100644 (file)
index 0000000..ce97ebe
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>deprecated-url-format</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">deprecated-url-format</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/project/index/org.sonar.tests:reference?foo=bar</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertLocation</td>
+       <td>glob:*/dashboard/index/org.sonar.tests:reference?foo=bar</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Sonar tests - reference</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html b/tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html
new file mode 100644 (file)
index 0000000..a130c97
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>metric_files</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">metric_files</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_files</td>
+       <td>494</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>518</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html b/tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html
new file mode 100644 (file)
index 0000000..e3bae07
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>file_widget_on_packages</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">file_widget_on_packages</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_file_tangle_index</td>
+       <td>glob:*%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_file_cycles</td>
+       <td>glob:*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_file_feedback_edges</td>
+       <td>glob:*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html b/tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html
new file mode 100644 (file)
index 0000000..72c6f77
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>no_file_design_widget_on_projects</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no_file_design_widget_on_projects</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_file_tangle_index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_file_tangles</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html b/tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html
new file mode 100644 (file)
index 0000000..a1eca98
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>no_package_design_widget_on_packages</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no_package_design_widget_on_packages</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_package_tangles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_package_cycles</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html b/tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html
new file mode 100644 (file)
index 0000000..ee98448
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>package_design_widget_on_projects</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">package_design_widget_on_projects</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>css=#dashboard .package_design</td>
+       <td>glob:*Package*cycles*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_package_tangle_index</td>
+       <td>glob:*%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_package_cycles</td>
+       <td>regexp:[0-9][0-9]</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_package_feedback_edges</td>
+       <td>regexp:[0-9][0-9]</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_package_tangles</td>
+       <td>regexp:[0-9][0-9]</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/reference.html b/tests/integration/tests/src/test/selenium/dashboard/reference.html
new file mode 100644 (file)
index 0000000..0eaacf2
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>reference</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reference</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>338</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_packages</td>
+       <td>6</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_functions</td>
+       <td>38</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_function_complexity</td>
+       <td>1.9</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_class_complexity</td>
+       <td>4.3</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_complexity</td>
+       <td>73</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_lines_density</td>
+       <td>40.7%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations_density</td>
+       <td>68.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_major_violations</td>
+       <td>36</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/no_results.html b/tests/integration/tests/src/test/selenium/dependencies/no_results.html
new file mode 100644 (file)
index 0000000..4a7c9af
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>no_results</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no_results</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dependencies/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>search_input</td>
+       <td>unknown</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>search_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>artifacts_col</td>
+       <td>glob:*No data*</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>versions_col</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>results_col</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html b/tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html
new file mode 100644 (file)
index 0000000..74afc39
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>search_subprojects</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_subprojects</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dependencies/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>search_input</td>
+       <td>struts</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>search_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>artifacts_col</td>
+       <td>glob:*org.apache.struts:struts-parent*org.apache.struts:struts-core*org.apache.struts:struts-faces*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/standard_usage.html b/tests/integration/tests/src/test/selenium/dependencies/standard_usage.html
new file mode 100644 (file)
index 0000000..87790d7
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>standard_usage</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">standard_usage</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dependencies/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>search_input</td>
+       <td>commons</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>search_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>artifacts_col</td>
+       <td>glob:*commons-io*commons-logging*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=commons-io:commons-io</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>versions_col</td>
+       <td>glob:*1.1*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results_col</td>
+       <td>glob:*Struts Core*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Struts Core</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertLocation</td>
+       <td>glob:*org.sonar.plugins.design.ui.libraries.LibrariesPage*</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>keywordFilter</td>
+       <td>commons-io:commons-io</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/too_short_search.html b/tests/integration/tests/src/test/selenium/dependencies/too_short_search.html
new file mode 100644 (file)
index 0000000..5ced0c3
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>too_short_search</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">too_short_search</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dependencies/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>search_input</td>
+       <td>ab</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>search_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>info</td>
+       <td>glob:*Minimum search is 3 characters*</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>artifacts_col</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html b/tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html
new file mode 100644 (file)
index 0000000..d7239ee
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>drilldown_on_lcom4</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">drilldown_on_lcom4</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_lcom4</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>LCOM4</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_PRJ</td>
+       <td>glob:*Struts Scripting*Struts Tiles*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_DIR</td>
+       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html b/tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html
new file mode 100644 (file)
index 0000000..9279fd9
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>drilldown_on_rfc</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">drilldown_on_rfc</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_rfc</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>RFC</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_PRJ</td>
+       <td>glob:*Struts Scripting*Struts Tiles*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_DIR</td>
+       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html b/tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html
new file mode 100644 (file)
index 0000000..165725f
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>drilldown_to_dsm</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">drilldown_to_dsm</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_package_tangle_index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Struts Core</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
+       <td>glob:*org.apache.struts.chain*org.apache.struts.config*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/design/lcom4_tab.html b/tests/integration/tests/src/test/selenium/design/lcom4_tab.html
new file mode 100644 (file)
index 0000000..e892ad5
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>lcom4_tab</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">lcom4_tab</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=lcom4</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=MockHttpServletRequest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>rvstitle</td>
+       <td>glob:*org.apache.struts.mock.MockHttpServletRequest*</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
+       <td>glob:*1*2*3*4*5*6*7*8*9*10*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html b/tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html
new file mode 100644 (file)
index 0000000..ffa9db6
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>load_dsm_at_startup_when_drilldown_to_zero_package_tangles</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">load_dsm_at_startup_when_drilldown_to_zero_package_tangles</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-faces</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_package_tangle_index</td>
+       <td>0.0%</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>m_package_tangle_index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>rvstitle</td>
+       <td>glob:*Struts Faces*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
+       <td>glob:*org.apache.struts.faces*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/disabled-project.html b/tests/integration/tests/src/test/selenium/disabled-project.html
new file mode 100644 (file)
index 0000000..ed1b7e4
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>disabled-project</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">disabled-project</td></tr>
+</thead><tbody>
+       <tr>
+               <td>open</td>
+               <td>/sessions/logout</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>open</td>
+               <td>/sessions/login</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>password</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>clickAndWait</td>
+               <td>commit</td>
+               <td></td>
+       </tr>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>disabled project</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:disabled-project</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Settings</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Delete project']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure you want to delete this project?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>disabled project</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/do-not-import-sources.html b/tests/integration/tests/src/test/selenium/do-not-import-sources.html
new file mode 100644 (file)
index 0000000..4f1edb3
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>do-not-import-sources</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">do-not-import-sources</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests:do-not-import-sources</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Swiss</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>glob:*Coverage*Violations*</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>public class Swiss</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html b/tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html
new file mode 100644 (file)
index 0000000..67f9029
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>drilldown-without-ratio</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">drilldown-without-ratio</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>m_duplicated_lines_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_duplicated_lines_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_lines_density</td>
+       <td>40.7%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_lines</td>
+       <td>222 Duplicated lines</td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:*org.sonar.samples.duplicated_lines_within_package*84*org.sonar.samples.duplicated_lines_within_same_class*60*</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:*DuplicatedLinesInSameClass*60*DuplicatedLinesInSamePackage2*42*</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_create_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_create_category.html
new file mode 100644 (file)
index 0000000..0962cbb
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_create_category</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_create_category</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/event_categories</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>categName</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${categName}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>description</td>
+       <td>desc of ${categName}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Category saved</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>event_categories</td>
+       <td>glob:*${categName}*desc of ${categName}*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html
new file mode 100644 (file)
index 0000000..85f4e16
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_delete_category</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_delete_category</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/event_categories</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>categName</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${categName}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>description</td>
+       <td>desc of ${categName}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Category saved</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>event_categories</td>
+       <td>glob:*${categName}*desc of ${categName}*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_${categName}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Info : events with this category will not be deleted.</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Category deleted</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>${categName}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html
new file mode 100644 (file)
index 0000000..90cb63a
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_edit_category</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_edit_category</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/event_categories</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>date</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>OLD ${date}</td>
+       <td>categName</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${categName}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>description</td>
+       <td>desc of ${categName}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Category saved</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>event_categories</td>
+       <td>glob:*${categName}*desc of ${categName}*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>edit_${categName}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>name</td>
+       <td>${categName}</td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>description</td>
+       <td>desc of ${categName}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>NEW ${date}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>description</td>
+       <td>NEW DESC ${date}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Category saved</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>${categName}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html
new file mode 100644 (file)
index 0000000..563dad6
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_validate_category</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_validate_category</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/event_categories</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Name is empty</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Description is empty</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html b/tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html
new file mode 100644 (file)
index 0000000..3f6c037
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create_event_on_last_snapshot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_event_on_last_snapshot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getMilliseconds()}</td>
+       <td>eventName</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_name</td>
+       <td>${eventName}</td>
+</tr>
+<tr>
+       <td>assertNotVisible</td>
+       <td>event_cat_desc_Version</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_category</td>
+       <td>label=Version</td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>event_cat_desc_Version</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_description</td>
+       <td>the description</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>events</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>events</td>
+       <td>glob:*${eventName}*</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html b/tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html
new file mode 100644 (file)
index 0000000..17f6816
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create_event_with_special_characters</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_event_with_special_characters</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getMilliseconds().toString() + &quot;à l'été&quot;}</td>
+       <td>eventName</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_name</td>
+       <td>${eventName}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_category</td>
+       <td>label=Version</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_description</td>
+       <td>the description</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>widget_events</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>events</td>
+       <td>glob:*${eventName}*</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>edit_event_${eventName}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html b/tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html
new file mode 100644 (file)
index 0000000..49bea06
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create_event_without_snapshot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_event_without_snapshot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getMilliseconds()}</td>
+       <td>date</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_name</td>
+       <td>${date}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_category</td>
+       <td>label=Version</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_event_date_1i</td>
+       <td>label=2006</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_description</td>
+       <td>the description</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_event_date_2i</td>
+       <td>label=January</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>event_event_date_3i</td>
+       <td>label=31</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>events</td>
+       <td>glob:*2006-01-31*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>events</td>
+       <td>glob:*${date}*</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>snapshot_title</td>
+       <td>glob:*Version ${date}*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html b/tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html
new file mode 100644 (file)
index 0000000..189ed9c
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>no_events_widget_on_module_and_package</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no_events_widget_on_module_and_package</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>widget_events</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.modules:module_a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>widget_events</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.modules:submodule_a1:org.codehaus.sonar.samples.samplewithmodules.submodulea1</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>widget_events</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html b/tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html
new file mode 100644 (file)
index 0000000..27d2412
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_not_create_events_if_anonymous</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_not_create_events_if_anonymous</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>link=Add an event</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html b/tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html
new file mode 100644 (file)
index 0000000..9cba768
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should_validate_event_on_creation</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_validate_event_on_creation</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Add an event</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getMilliseconds()}</td>
+       <td>date</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>event_description</td>
+       <td>the description</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>event_form_errors</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotText</td>
+       <td>events</td>
+       <td>glob:*${date}*</td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>event_submit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>event_form_errors</td>
+       <td>glob:*Name is too short*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html b/tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html
new file mode 100644 (file)
index 0000000..b933ae6
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-1115-do-not-exclude-unit-tests</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1115-do-not-exclude-unit-tests</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*ClassToExcludeTest*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html
new file mode 100644 (file)
index 0000000..770b2fe
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>cobertura_exclusions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">cobertura_exclusions</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>75.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_line_coverage</td>
+       <td>13.3%</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_line_coverage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>col_FIL</td>
+       <td>glob:*ClassToExclude*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html
new file mode 100644 (file)
index 0000000..9a24ea1
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>cpd_exclusions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">cpd_exclusions</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_lines_density</td>
+       <td>0.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_lines</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_blocks</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_files</td>
+       <td>0</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html
new file mode 100644 (file)
index 0000000..e57babe
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>javancss_exclusions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">javancss_exclusions</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>75</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_packages</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_functions</td>
+       <td>8</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html b/tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html
new file mode 100644 (file)
index 0000000..d585b1f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>set_exclusions_from_project_settings_page</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">set_exclusions_from_project_settings_page</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/metrics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Settings</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>exclusion_pattern_0</td>
+       <td>org/sonar/exclude/**</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>exclusion_pattern_1</td>
+       <td>**/*Bean.java</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>exclusion_pattern_0</td>
+       <td>exact:org/sonar/exclude/**</td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>exclusion_pattern_1</td>
+       <td>exact:**/*Bean.java</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_exclusions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure you want to delete all exclusion filters ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>exclusion_pattern_0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>exclusion_pattern_1</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html b/tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html
new file mode 100644 (file)
index 0000000..845f037
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>anonymous-default-filters</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">anonymous-default-filters</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>filter-tabs</td>
+       <td>glob:*Projects*Treemap*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>filter-tabs</td>
+       <td>glob:*favourites*</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>results_count</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results-head</td>
+       <td>glob:*Name*date*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html b/tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html
new file mode 100644 (file)
index 0000000..e435b19
--- /dev/null
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>create-advanced-filter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create-advanced-filter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>name</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Add filter</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${name}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>q-DIR</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>q-TRK</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric-0</td>
+       <td>label=Lines of code</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>op-0</td>
+       <td>label=Greater than</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>val-0</td>
+       <td>100</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric-1</td>
+       <td>label=Complexity /class</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>op-1</td>
+       <td>label=Less or equals</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>val-1</td>
+       <td>20</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Advanced search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>lang-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>key_regexp</td>
+       <td>org.apache.*</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>date_operator</td>
+       <td>label=During last</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>date_value</td>
+       <td>20</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Save &amp; Preview']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results</td>
+       <td>glob:*org.apache.struts.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results-head</td>
+       <td>glob:*Lines of code*Complexity*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Do you want to delete this filter ?</td>
+       <td></td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html b/tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html
new file mode 100644 (file)
index 0000000..ba4efd1
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create-and-delete-filter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create-and-delete-filter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Add filter</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>name</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${name}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>shared</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>q-DIR</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>q-TRK</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric-0</td>
+       <td>label=Lines of code</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>op-0</td>
+       <td>label=Greater than</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>val-0</td>
+       <td>100</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Save &amp; Preview']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results</td>
+       <td>glob:*org.apache.struts.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>filter-tabs</td>
+       <td>glob:*${name}*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Do you want to delete this filter ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Filter deleted</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html b/tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html
new file mode 100644 (file)
index 0000000..1773385
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>default-filters-console-for-admins-only</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">default-filters-console-for-admins-only</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/admin_filters/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>login_form</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/default-filters-console.html b/tests/integration/tests/src/test/selenium/filters/default-filters-console.html
new file mode 100644 (file)
index 0000000..2e70efc
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>default-filters-console</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">default-filters-console</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/admin_filters/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>admin_console</td>
+       <td>glob:*Projects*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>admin_console</td>
+       <td>glob:*My favourites*</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>shared</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/set-favourite-project.html b/tests/integration/tests/src/test/selenium/filters/set-favourite-project.html
new file mode 100644 (file)
index 0000000..d3fa6b5
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>set-favourite-project</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">set-favourite-project</td></tr>
+</thead><tbody>
+       <tr>
+               <td>open</td>
+               <td>/sessions/logout</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>open</td>
+               <td>/sessions/login</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>password</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>clickAndWait</td>
+               <td>commit</td>
+               <td></td>
+       </tr>
+
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>filter-tabs</td>
+       <td>glob:*favourites*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=My favourites</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>results</td>
+       <td>glob:*Struts*</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>storeAttribute</td>
+       <td>xpath=//div[@id='snapshot_title']//a[@class='notfav']/@id</td>
+       <td>favId</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>id=${favId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=#snapshot_title a.fav</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=My favourites</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>results</td>
+       <td>glob:*Struts*</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>css=#snapshot_title a.fav</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>css=#snapshot_title a.notfav</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/treemap-filter.html b/tests/integration/tests/src/test/selenium/filters/treemap-filter.html
new file mode 100644 (file)
index 0000000..43524e6
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>treemap-filter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">treemap-filter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>treemap</td>
+       <td>glob:*Struts*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/footer-data.html b/tests/integration/tests/src/test/selenium/footer-data.html
new file mode 100644 (file)
index 0000000..d036fe1
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>footer-data</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">footer-data</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>ftlinks</td>
+       <td>glob:*SonarSource*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>ftlinks</td>
+       <td>glob:*LGPL*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>ftlinks</td>
+       <td>glob:*v.2.*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html b/tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html
new file mode 100644 (file)
index 0000000..6ae5aaf
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>activate_google_analytics</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">activate_google_analytics</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>UA-1234567-8</td>
+       <td>ACCOUNT_ID</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Settings</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Google analytics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Account key</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>sonar.google-analytics.account</td>
+       <td>${ACCOUNT_ID}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Google analytics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Account key</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${ACCOUNT_ID}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>ft</td>
+       <td>var pageTracker = _gat._getTracker(&quot;${ACCOUNT_ID}&quot;);</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html b/tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html
new file mode 100644 (file)
index 0000000..d7956fe
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>desactive_google_analytics_and_test_javascript_is_not_present</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">desactive_google_analytics_and_test_javascript_is_not_present</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Settings</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Google analytics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Account key</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>sonar.google-analytics.account</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Parameters updated</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>var pageTracker = _gat._getTracker</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html
new file mode 100644 (file)
index 0000000..696531d
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>ccn_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">ccn_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>complexity-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>complexity-hotspot</td>
+       <td>glob:*ValidWhenLexer*273*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>complexity-hotspot</td>
+       <td>glob:*RequestProcessor*163*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>more-complexity</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>content</td>
+       <td>glob:*Complexity*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html
new file mode 100644 (file)
index 0000000..9eda021
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>duplicated_lines_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">duplicated_lines_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots&amp;locale=en</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>duplicated_lines-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>duplicated_lines-hotspot</td>
+       <td>glob:*ELRadioTag*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>duplicated_lines-hotspot</td>
+       <td>glob:*ELCheckboxTag*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html
new file mode 100644 (file)
index 0000000..2d20582
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>function_complexity_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">function_complexity_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>function_complexity-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>function_complexity-hotspot</td>
+       <td>glob:*ELImgTagBeanInfo*45.0*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>function_complexity-hotspot</td>
+       <td>glob:*ELTextTagBeanInfo*39.0*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/no_measures.html b/tests/integration/tests/src/test/selenium/hotspots/no_measures.html
new file mode 100644 (file)
index 0000000..16430de
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>no_measures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no_measures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_with_other_package2?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>test_execution_time-hotspot</td>
+       <td>glob:*No measures*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html b/tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html
new file mode 100644 (file)
index 0000000..cd30494
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>popup-on-rules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>rule0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForPopUp</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertLocation</td>
+       <td>glob:*checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck*</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Magic Number</td>
+       <td></td>
+</tr>
+<tr>
+       <td>close</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html
new file mode 100644 (file)
index 0000000..3775c9b
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>rules_violations_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">rules_violations_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>violated-files-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>violated-files-hotspot</td>
+       <td>glob:*Utf8Characters*0*0*9*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>css=#violated-files-hotspot a:contains('Utf8Characters')</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Unused local variable*</td>
+</tr>
+<tr>
+       <td>close</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html
new file mode 100644 (file)
index 0000000..6e894e9
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>test_execution_time_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">test_execution_time_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>test_execution_time-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>test_execution_time-hotspot</td>
+       <td>glob:*ClassUnderTestTest*ms*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>test_execution_time-hotspot</td>
+       <td>glob:*InnerClassTest*ms*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=ClassUnderTestTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Duration*</td>
+</tr>
+<tr>
+       <td>close</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html
new file mode 100644 (file)
index 0000000..b867fe1
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>violations_hotspot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">violations_hotspot</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>rules-hotspot</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>rules-hotspot</td>
+       <td>glob:*Unused local variable*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Magic Number</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Rule</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html b/tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html
new file mode 100644 (file)
index 0000000..a9be6c4
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>default_locale_is_english</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">default_locale_is_english</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference?locale=foo</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>snapshot_title</td>
+       <td>regexp:.*Jan.*|.*Feb.*|.*Mar.*|.*Apr.*|.*May.*|.*Jun.*|.*Jul.*|.*Aug.*|.*Sep.*|.*Oct.*|.*Nov.*|.*Dec.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french-france.html b/tests/integration/tests/src/test/selenium/i18n/french-france.html
new file mode 100644 (file)
index 0000000..39531c0
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>french-france</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">french-france</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-FR</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>snapshot_title</td>
+       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100,0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french-switzerland.html b/tests/integration/tests/src/test/selenium/i18n/french-switzerland.html
new file mode 100644 (file)
index 0000000..b8f9756
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>french-switzerland</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">french-switzerland</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-CH</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>snapshot_title</td>
+       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french.html b/tests/integration/tests/src/test/selenium/i18n/french.html
new file mode 100644 (file)
index 0000000..5c3e347
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>french</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">french</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference?locale=fr</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>snapshot_title</td>
+       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100,0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html b/tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html
new file mode 100644 (file)
index 0000000..7b9e18c
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>japanese_duplications</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">japanese_duplications</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_duplicated_files</td>
+       <td>3</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_duplicated_files</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=AppDuplication</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwt-DuplicationsPanel</td>
+       <td>glob:*expand*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>expand-source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
+       <td>glob:*証明書パス構築に失敗しました。*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/japanese_sources.html b/tests/integration/tests/src/test/selenium/i18n/japanese_sources.html
new file mode 100644 (file)
index 0000000..d8aabd0
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>japanese_sources</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">japanese_sources</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>3</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=AppDuplication</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>sourcePanel</td>
+       <td>glob:*public class AppDuplication*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>sourcePanel</td>
+       <td>glob:*証明書パス構築に失敗しました。*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html b/tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html
new file mode 100644 (file)
index 0000000..6e39b39
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>dashboard</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">dashboard</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:java-inner-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>11</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_packages</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_functions</td>
+       <td>16</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/display_tests.html b/tests/integration/tests/src/test/selenium/libraries/display_tests.html
new file mode 100644 (file)
index 0000000..3b13b63
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>display_tests</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">display_tests</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>libs-org.apache.struts:struts-extras</td>
+       <td>glob:*javax.servlet*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>libs-org.apache.struts:struts-extras</td>
+       <td>glob:*junit*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>//span[@id='testCb']/input</td>
+       <td>Display test libraries</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>libs-org.apache.struts:struts-extras</td>
+       <td>glob:*javax.servlet*junit*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/keyword_filter.html b/tests/integration/tests/src/test/selenium/libraries/keyword_filter.html
new file mode 100644 (file)
index 0000000..b25387b
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>keyword_filter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">keyword_filter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>libs-org.apache.struts:struts-core</td>
+       <td>glob:*antlr*commons-io*</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>keywordFilter</td>
+       <td>commons</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>libs-org.apache.struts:struts-core</td>
+       <td>glob:*antlr*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>libs-org.apache.struts:struts-core</td>
+       <td>glob:*commons-io*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/module_libraries.html b/tests/integration/tests/src/test/selenium/libraries/module_libraries.html
new file mode 100644 (file)
index 0000000..d2b1fdc
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>module_libraries</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">module_libraries</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>libs-org.apache.struts:struts-parent</td>
+       <td>glob:*Struts*1.3.9*No libraries*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>libs-org.apache.struts:struts-core</td>
+       <td>glob:*Struts Core*1.3.9*antlr:antlr*commons-io:commons-io*</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>libs-org.apache.struts:struts-el</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html b/tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html
new file mode 100644 (file)
index 0000000..2309d1a
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <link rel="selenium.base" href="http://localhost:9000/"/>
+  <title>predefined_metrics</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+  <thead>
+    <tr>
+      <td rowspan="1" colspan="3">predefined_metrics</td>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td>open</td>
+      <td>/sessions/logout</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>open</td>
+      <td>/sessions/login</td>
+      <td></td>
+    </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+    <tr>
+      <td>type</td>
+      <td>password</td>
+      <td>admin</td>
+    </tr>
+    <tr>
+      <td>clickAndWait</td>
+      <td>commit</td>
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>open</td>
+      <td>/metrics</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>assertTextPresent</td>
+      <td>Business value</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>assertTextPresent</td>
+      <td>Team size</td>
+      <td></td>
+    </tr>
+
+  </tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/many-source-dirs.html b/tests/integration/tests/src/test/selenium/many-source-dirs.html
new file mode 100644 (file)
index 0000000..85e5052
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>many-source-dirs</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">many-source-dirs</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:many-source-dirs</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_functions</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*FirstClass*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*SecondClass*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html
new file mode 100644 (file)
index 0000000..7590c90
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9001/" />
+<title>SONAR-1016_file_level_resources_only</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1016_file_level_resources_only</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests:reference?metric=classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>InnerClass$InnerClassInside</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>InnerClass</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html
new file mode 100644 (file)
index 0000000..62eaccd
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-268</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-268</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>338</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//div[@id='col_DIR']/table/tbody/tr[1]/td[1]/a[1]/img</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>hdnav</td>
+       <td>glob:*org.sonar.samples*</td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Lines of code</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>121</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html
new file mode 100644 (file)
index 0000000..3092f17
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-564_show_zero_measures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-564_show_zero_measures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_coverage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_DIR</td>
+       <td>glob:*[default]*0.0%*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*ClassOnDefaultPackage*0.0%*InnerClass*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html b/tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html
new file mode 100644 (file)
index 0000000..0becf2e
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>dont-display-resources-without-violations</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">dont-display-resources-without-violations</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Blocker</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>No violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>Avoid Enum As Identifier</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html b/tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html
new file mode 100644 (file)
index 0000000..be826c9
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>show_from_modules_to_classes</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">show_from_modules_to_classes</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests.modules:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>39</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_PRJ</td>
+       <td>glob:*Module A*Sub-module A1*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_DIR</td>
+       <td>glob:*org.codehaus.sonar.samples*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*HelloA1*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/modules.html b/tests/integration/tests/src/test/selenium/modules.html
new file mode 100644 (file)
index 0000000..72c70ca
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>modules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">modules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_packages</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>39</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.sonar.tests.modules:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Module A</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Module B</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>Module to skip</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Module A</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Module A</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>21</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Components</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Sub-module A1</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Sub-module A1</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>12</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_classes</td>
+       <td>1</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html b/tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html
new file mode 100644 (file)
index 0000000..9a81624
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>settings_on_core_plugins</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">settings_on_core_plugins</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>link=Log in</td>
+       <td>Log in</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/settings</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>plugins</td>
+       <td>glob:*Clover*Core*Design*Findbugs*Google analytics*Squid*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html b/tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html
new file mode 100644 (file)
index 0000000..eec3f8c
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-560_remove_a_rule_from_sonar_way</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-560_remove_a_rule_from_sonar_way</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Sonar way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_plugin</td>
+       <td>label=Checkstyle</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>searchtext</td>
+       <td>Need braces</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Need Braces*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/activate-profile.html b/tests/integration/tests/src/test/selenium/profiles/activate-profile.html
new file mode 100644 (file)
index 0000000..454fb7b
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>activate_profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">activate_profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>activate_java_Sun%20checks</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to set the profile 'Sun checks' as default ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>is_active_java_Sun%20checks</td>
+       <td></td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>activate_java_Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to set the profile 'Sonar way' as default ?</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/backup-profile.html b/tests/integration/tests/src/test/selenium/profiles/backup-profile.html
new file mode 100644 (file)
index 0000000..88b7fca
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>backup-profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">backup-profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>java</td>
+       <td>LANGUAGE</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Integration%20tests</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>storeText</td>
+       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
+       <td>NUMBER_OF_RULES</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/api/rules.xml?categories=&amp;language=${LANGUAGE}&amp;plugins=&amp;priorities=&amp;profile=${PROFILE}&amp;status=ACTIVE</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertXpathCount</td>
+       <td>//rule</td>
+       <td>${NUMBER_OF_RULES}</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/bulk-change.html b/tests/integration/tests/src/test/selenium/profiles/bulk-change.html
new file mode 100644 (file)
index 0000000..42c28dc
--- /dev/null
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>bulk-change</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">bulk-change</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>java</td>
+       <td>LANGUAGE</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'copied_'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>answerOnNextPrompt</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>copy_${LANGUAGE}_Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>answerOnNextPrompt</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-${LANGUAGE}-${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>bulk_action</td>
+       <td>label=Deactivate all</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-${LANGUAGE}-${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>searchtext</td>
+       <td>unused</td>
+</tr>
+<tr>
+       <td>removeSelection</td>
+       <td>search_plugin</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>search_plugin</td>
+       <td>label=Checkstyle</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>bulk_action</td>
+       <td>label=Activate all</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
+       <td>1</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html b/tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html
new file mode 100644 (file)
index 0000000..f18e0fe
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>cancel-profile-creation</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">cancel-profile-creation</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>canceled-profile</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Cancel</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>//table[@id='profiles_java']/thead/tr/th[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>profiles_java</td>
+       <td>glob:*canceled-profile*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/copy-profile.html b/tests/integration/tests/src/test/selenium/profiles/copy-profile.html
new file mode 100644 (file)
index 0000000..5587260
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>copy-profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">copy-profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>javascript{'copied_'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>storeText</td>
+       <td>activated_rules_java_Sonar%20way</td>
+       <td>RULES_COUNT</td>
+</tr>
+<tr>
+       <td>answerOnNextPrompt</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>copy_java_Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>answerOnNextPrompt</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>activated_rules_java_${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>activated_rules_java_${PROFILE}</td>
+       <td>${RULES_COUNT}</td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_java_${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/create_java_profile.html b/tests/integration/tests/src/test/selenium/profiles/create_java_profile.html
new file mode 100644 (file)
index 0000000..c46324a
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>create_java_profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_java_profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>java</td>
+       <td>LANGUAGE</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForValue</td>
+       <td>name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${PROFILE}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>create-submit-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Quality profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_${LANGUAGE}_${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile '${PROFILE}' is deleted.</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html b/tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html
new file mode 100644 (file)
index 0000000..195e04b
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>dashboard_links_to_used_profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">dashboard_links_to_used_profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>snapshot_title</td>
+       <td>glob:*Profile Integration tests*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Integration tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:*Quality profiles*Integration tests*</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/delete-profile.html b/tests/integration/tests/src/test/selenium/profiles/delete-profile.html
new file mode 100644 (file)
index 0000000..35cce1e
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>delete-profile</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">delete-profile</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>java</td>
+       <td>LANGUAGE</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForValue</td>
+       <td>name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${PROFILE}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>create-submit-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_${LANGUAGE}_${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile '${PROFILE}' is deleted</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html b/tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html
new file mode 100644 (file)
index 0000000..c9b4653
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>display-permalinks-to-tools</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">display-permalinks-to-tools</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Sonar way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Permalinks</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>permalinks-table</td>
+       <td>glob:*Checkstyle*Findbugs*PMD*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html
new file mode 100644 (file)
index 0000000..27d4a82
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>do-not-copy-with-blank-name</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">do-not-copy-with-blank-name</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>answerOnNextPrompt</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotVisible</td>
+       <td>errormsg</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>copy_java_Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertPromptPresent</td>
+       <td>Name for the new profile</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>errormsg</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html
new file mode 100644 (file)
index 0000000..f03cf49
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <link rel="selenium.base" href=""/>
+  <title>profile_duplication_with_name_already_exists</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+  <thead>
+    <tr>
+      <td rowspan="1" colspan="3">profile_duplication_with_name_already_exists</td>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td>open</td>
+      <td>/sessions/logout</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>open</td>
+      <td>/sessions/login</td>
+      <td></td>
+    </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+    <tr>
+      <td>type</td>
+      <td>password</td>
+      <td>admin</td>
+    </tr>
+    <tr>
+      <td>clickAndWait</td>
+      <td>commit</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>open</td>
+      <td>/profiles</td>
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>answerOnNextPrompt</td>
+      <td>Sonar way</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>clickAndWait</td>
+      <td>copy_java_Sonar%20way</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>assertPromptPresent</td>
+      <td>Name for the new profile</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>assertTextPresent</td>
+      <td>Name has already been taken</td>
+      <td></td>
+    </tr>
+
+  </tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html
new file mode 100644 (file)
index 0000000..f476d88
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>do-not-create-profile-with-existing-name</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">do-not-create-profile-with-existing-name</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>Sonar way</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>create-submit-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>errormsg</td>
+       <td>glob:*already exist*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html b/tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html
new file mode 100644 (file)
index 0000000..cb3544f
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>do-not-delete-provided-profiles</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">do-not-delete-provided-profiles</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>delete_java_Sonar%20way</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html b/tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html
new file mode 100644 (file)
index 0000000..7c92ed7
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>link-profile-to-project</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">link-profile-to-project</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Projects</td>
+       <td></td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>from</td>
+       <td>label=Sonar tests - reference</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>select_right</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>save</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile 'Sonar way' associated to 1 projects</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertSelectOptions</td>
+       <td>to</td>
+       <td>Sonar tests - reference</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>to</td>
+       <td>label=Sonar tests - reference</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>select_left</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>save</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertSelectOptions</td>
+       <td>to</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html
new file mode 100644 (file)
index 0000000..15f76b3
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>permalink-to-checkstyle-configuration</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">permalink-to-checkstyle-configuration</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles/export?format=checkstyle&amp;language=java&amp;name=Sonar%2520way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//module[@name='Checker']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//module[@name='Checker']/module[@name='TreeWalker']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html
new file mode 100644 (file)
index 0000000..bac5068
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>permalink-to-default-checkstyle-configuration</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">permalink-to-default-checkstyle-configuration</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles/export?language=java&amp;format=checkstyle</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//module[@name='Checker']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html
new file mode 100644 (file)
index 0000000..5e5882c
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>permalink-to-pmd-configuration</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">permalink-to-pmd-configuration</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles/export?format=pmd&amp;language=java&amp;name=Sonar%2520way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>//ruleset</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//ruleset/rule</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html b/tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html
new file mode 100644 (file)
index 0000000..3c09759
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>profile-overriden-by-maven-parameter</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">profile-overriden-by-maven-parameter</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:single-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile single-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=single-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Quality profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>single-classes</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html b/tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html
new file mode 100644 (file)
index 0000000..f482849
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>rule_provided_rules_profile_cant_be_modified</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">rule_provided_rules_profile_cant_be_modified</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//table[@id='result_table']//form[1]/input[@disabled='disabled'][1]</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html b/tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html
new file mode 100644 (file)
index 0000000..e5bd248
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>read-only-mode-when-anonymous-user</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">read-only-mode-when-anonymous-user</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>activate_java_Sun%20checks</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>copy_java_Sun%20checks</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>Create</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>profiles_java</td>
+       <td>glob:*Copy*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>profiles_java</td>
+       <td>glob:*Delete*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html b/tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html
new file mode 100644 (file)
index 0000000..31ead32
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>should_import_checkstyle_findbugs_pmd</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should_import_checkstyle_findbugs_pmd</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForValue</td>
+       <td>name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>create-form-java</td>
+       <td>glob:*Checkstyle*Findbugs*PMD*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html b/tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html
new file mode 100644 (file)
index 0000000..f5ab2fe
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>user-profiles-are-editable</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">user-profiles-are-editable</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>java</td>
+       <td>LANGUAGE</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForValue</td>
+       <td>name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${PROFILE}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>create-submit-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-${LANGUAGE}-${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementNotPresent</td>
+       <td>//form[1]/input[@disabled='disabled'][1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>delete_${LANGUAGE}_${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html
new file mode 100644 (file)
index 0000000..c25039c
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>projects_columns_add_and_remove_column</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">projects_columns_add_and_remove_column</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>comment_lines</td>
+       <td>column_id</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>configure-on</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>select_add_column</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_add_column</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>remove_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html
new file mode 100644 (file)
index 0000000..f73961c
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>projects_columns_disable_and_enable_treemap</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">projects_columns_disable_and_enable_treemap</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>comment_lines</td>
+       <td>column_id</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>configure-on</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Disable treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>//div[@id='treemap']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Enable treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//div[@id='treemap']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html
new file mode 100644 (file)
index 0000000..dc1cee7
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>projects_columns_move_column_to_left_and_right</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">projects_columns_move_column_to_left_and_right</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>comment_lines</td>
+       <td>column_id</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>configure-on</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>select_add_column</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_add_column</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>move_right_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>move_left_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>move_left_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>move_right_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>move_left_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>move_right_comment_lines</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>move_right_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>move_left_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>remove_${column_id}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html
new file mode 100644 (file)
index 0000000..fe285d7
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>projects_columns_remove_default_column_sort</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">projects_columns_remove_default_column_sort</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>comment_lines</td>
+       <td>column_id</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>configure-on</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>select_add_column</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_add_column</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_default_sorting</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>remove_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertSelectedValue</td>
+       <td>select_default_sorting</td>
+       <td>project</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html
new file mode 100644 (file)
index 0000000..cb21e85
--- /dev/null
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>projects_columns_update_default_column_sort</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">projects_columns_update_default_column_sort</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>comment_lines</td>
+       <td>column_id</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>configure-on</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>select_add_column</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_add_column</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>default_sort_on_${column_id}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectAndWait</td>
+       <td>select_default_sorting</td>
+       <td>value=${column_id}</td>
+</tr>
+<tr>
+       <td>assertSelectedValue</td>
+       <td>select_default_sorting</td>
+       <td>${column_id}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>remove_${column_id}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html b/tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html
new file mode 100644 (file)
index 0000000..62c422e
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>create_then_edit_type</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create_then_edit_type</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/metrics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'type_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_NAME</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'description_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_DESCRIPTION</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_short_name</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_description</td>
+       <td>${REVIEW_TYPE_DESCRIPTION}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric_val_type</td>
+       <td>label=Percent</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${REVIEW_TYPE_DESCRIPTION}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>edit_${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>metric_short_name</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>metric_description</td>
+       <td>${REVIEW_TYPE_DESCRIPTION}</td>
+</tr>
+<tr>
+       <td>assertSelectedLabel</td>
+       <td>metric_val_type</td>
+       <td>Percent</td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Warning : all the measures will be deleted.</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html b/tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html
new file mode 100644 (file)
index 0000000..b5d1c9a
--- /dev/null
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>insert_then_delete_review_measure</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">insert_then_delete_review_measure</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>javascript{'type_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_NAME</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'description_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_DESCRIPTION</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Sonar tests - reference</td>
+       <td>PROJECT_NAME</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>org.sonar.tests:reference</td>
+       <td>PROJECT_KEY</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/metrics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_short_name</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_description</td>
+       <td>${REVIEW_TYPE_DESCRIPTION}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric_val_type</td>
+       <td>label=Percent</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/${PROJECT_KEY}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>add_review</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>review_metric_id</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_metric_id</td>
+       <td>label=${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>review_value</td>
+       <td>35.5</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_measure_date_1i</td>
+       <td>label=2005</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_measure_date_2i</td>
+       <td>label=January</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_measure_date_3i</td>
+       <td>label=20</td>
+</tr>
+<tr>
+       <td>storeValue</td>
+       <td>review_measure_date_1i</td>
+       <td>REVIEW_YEAR</td>
+</tr>
+<tr>
+       <td>storeValue</td>
+       <td>review_measure_date_2i</td>
+       <td>REVIEW_MONTH</td>
+</tr>
+<tr>
+       <td>storeValue</td>
+       <td>review_measure_date_3i</td>
+       <td>REVIEW_DAY</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>save_review</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>review_name_${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>review_name_${REVIEW_TYPE_NAME}</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>review_value_${REVIEW_TYPE_NAME}</td>
+       <td>35.5%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>review_date_${REVIEW_TYPE_NAME}</td>
+       <td>${REVIEW_YEAR}-0${REVIEW_MONTH}-${REVIEW_DAY}</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/metrics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>chooseOkOnNextConfirmation</td>
+       <td></td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete_${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Warning : all the measures will be deleted.</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/${PROJECT_KEY}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>review_name_${REVIEW_TYPE_NAME}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html b/tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html
new file mode 100644 (file)
index 0000000..9fef8d4
--- /dev/null
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>reviews_should_not_create_review_in_futur</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reviews_should_not_create_review_in_futur</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>javascript{'type_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_NAME</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'description_'+(new Date()).getTime()}</td>
+       <td>REVIEW_TYPE_DESCRIPTION</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>org.sonar.tests:reference</td>
+       <td>PROJECT_KEY</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Sonar tests - reference</td>
+       <td>PROJECT_NAME</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/metrics</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_short_name</td>
+       <td>${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>metric_description</td>
+       <td>${REVIEW_TYPE_DESCRIPTION}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>metric_val_type</td>
+       <td>label=Percent</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/${PROJECT_KEY}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>add_review</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>review_metric_id</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_metric_id</td>
+       <td>label=${REVIEW_TYPE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>review_value</td>
+       <td>35.5</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>review_measure_date_1i</td>
+       <td>label=2014</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>save_review</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>error</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/ruby-api.html b/tests/integration/tests/src/test/selenium/ruby-api.html
new file mode 100644 (file)
index 0000000..eb82f02
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>ruby-api</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">ruby-api</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Ruby API tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>sidebar</td>
+       <td>glob:*Ruby API tests*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Ruby API tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result</td>
+       <td>OK</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules-on-tests.html b/tests/integration/tests/src/test/selenium/rules-on-tests.html
new file mode 100644 (file)
index 0000000..7eaa72d
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>rules-on-tests</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">rules-on-tests</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:rulesOnTests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_major_violations</td>
+       <td>6</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Major</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>HelloTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Hello</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html b/tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html
new file mode 100644 (file)
index 0000000..d1d87c7
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-1000_quality_profile_with_space_or_dot</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1000_quality_profile_with_space_or_dot</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>javascript{'space dot. '+(new Date()).getTime()}</td>
+       <td>PROFILE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>create-link-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForValue</td>
+       <td>name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>name</td>
+       <td>${PROFILE}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>create-submit-java</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=${PROFILE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Quality profiles / java / ${PROFILE}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html b/tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html
new file mode 100644 (file)
index 0000000..1a249a0
--- /dev/null
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>check_rules_extensions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">check_rules_extensions</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>Methods Count Check</td>
+       <td>CHECKSTYLE_EXTENSION</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Maximum Methods Count Check</td>
+       <td>PMD_EXTENSION_1</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Avoid if without using brace</td>
+       <td>PMD_EXTENSION_2</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${CHECKSTYLE_EXTENSION}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${PMD_EXTENSION_1}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${PMD_EXTENSION_2}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html b/tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html
new file mode 100644 (file)
index 0000000..2e863a4
--- /dev/null
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <link rel="selenium.base" href=""/>
+  <title>copy_a_provided_profile_and_modify_a_rule_param</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+  <thead>
+  <tr>
+    <td rowspan="1" colspan="3">copy_a_provided_profile_and_modify_a_rule_param</td>
+  </tr>
+  </thead>
+  <tbody>
+  <tr>
+    <td>store</td>
+    <td>javascript{'profile_'+(new Date()).getTime()}</td>
+    <td>PROFILE</td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/sessions/logout</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/sessions/login</td>
+    <td></td>
+  </tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+  <tr>
+    <td>type</td>
+    <td>password</td>
+    <td>admin</td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>commit</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/profiles</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>answerOnNextPrompt</td>
+    <td>${PROFILE}</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>copy_java_Sonar%20way</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertPromptPresent</td>
+    <td>Name for the new profile</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>verifyTextPresent</td>
+    <td>${PROFILE}</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertElementPresent</td>
+    <td>rules-java-${PROFILE}</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>rules-java-${PROFILE}</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>type</td>
+    <td>searchtext</td>
+    <td>Anon Inner Length</td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>submit_search</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>click</td>
+    <td>link=Anon Inner Length</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>type</td>
+    <td>value</td>
+    <td>5</td>
+  </tr>
+  <tr>
+    <td>click</td>
+    <td>//input[@name='commit' and @value='update']</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>type</td>
+    <td>searchtext</td>
+    <td>Anon Inner Length</td>
+  </tr>
+  <tr>
+    <td>clickAndWait</td>
+    <td>submit_search</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>click</td>
+    <td>link=Anon Inner Length</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>waitForTextPresent</td>
+    <td></td>
+    <td>anonymous inner classes</td>
+  </tr>
+  <tr>
+    <td>assertValue</td>
+    <td>value</td>
+    <td>5</td>
+  </tr>
+  <tr>
+    <td>open</td>
+    <td>/profiles</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>chooseOkOnNextConfirmation</td>
+    <td></td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>click</td>
+    <td>delete_java_${PROFILE}</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>assertConfirmation</td>
+    <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
+    <td></td>
+  </tr>
+
+  </tbody>
+</table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html b/tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html
new file mode 100644 (file)
index 0000000..20a64f9
--- /dev/null
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>copy_and_edit_rule_template</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">copy_and_edit_rule_template</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>XPath rule template</td>
+       <td>RULE_PARENT</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'My new rule ' + (new Date()).getTime()}</td>
+       <td>RULE_NAME</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>//FieldDeclaration</td>
+       <td>RULE_XPATH</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>//ClassDeclaration</td>
+       <td>RULE_XPATH_EDIT</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>That's too bad</td>
+       <td>RULE_MESSAGE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Empty%20profile</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>searchtext</td>
+       <td>${RULE_PARENT}</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=${RULE_PARENT}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>copy-pmd%3AXPathRule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule[name]</td>
+       <td>${RULE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule_param[message]</td>
+       <td>${RULE_MESSAGE}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule_param[xpath]</td>
+       <td>${RULE_XPATH}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Create']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>1 results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${RULE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=${RULE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>value</td>
+       <td>${RULE_XPATH}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Edit rule']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule[name]</td>
+       <td>Updated ${RULE_NAME}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule_param[xpath]</td>
+       <td>${RULE_XPATH_EDIT}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>rule_param[message]</td>
+       <td>Another message</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//input[@value='Update']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>${RULE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Updated ${RULE_NAME}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>value</td>
+       <td>${RULE_XPATH_EDIT}</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html b/tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html
new file mode 100644 (file)
index 0000000..9bb23ff
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>pmd_xpath_rule_extension</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">pmd_xpath_rule_extension</td></tr>
+</thead><tbody>
+<tr>
+       <td>store</td>
+       <td>Methods Count Check</td>
+       <td>CHECKSTYLE_EXTENSION</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>org.sonar.tests:reference</td>
+       <td>PROJECT_ID</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>Prevent use of EmptyClass</td>
+       <td>RULE_TITLE</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/${PROJECT_ID}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=${RULE_TITLE}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>InterfaceWithConstants</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/rule_search.html b/tests/integration/tests/src/test/selenium/rules/rule_search.html
new file mode 100644 (file)
index 0000000..881d277
--- /dev/null
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>rule_search</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">rule_search</td></tr>
+</thead><tbody>
+
+<tr>
+       <td>open</td>
+       <td>/sessions/logout</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/sessions/login</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Anon Inner Length</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html b/tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html
new file mode 100644 (file)
index 0000000..cd42140
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>rule_search_verify_form_values_on_first_call</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">rule_search_verify_form_values_on_first_call</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>//select[@id=&quot;search_plugin&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>//select[@id=&quot;search_status&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
+       <td>ACTIVE</td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>//select[@id=&quot;search_priority&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertValue</td>
+       <td>//input[@id=&quot;searchtext&quot;]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//table[@id=&quot;result_table&quot;]//tr[100]</td>
+       <td></td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_all_rules.html b/tests/integration/tests/src/test/selenium/rules/search_all_rules.html
new file mode 100644 (file)
index 0000000..c73f70e
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_all_rules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_all_rules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>check</td>
+       <td>search_mandatory</td>
+       <td></td>
+</tr>
+<tr>
+       <td>check</td>
+       <td>search_optional</td>
+       <td></td>
+</tr>
+<tr>
+       <td>check</td>
+       <td>search_inactive</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>xpath=(//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;])[10]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>xpath=(//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;])[10]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>xpath=(//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;])[10]</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html b/tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html
new file mode 100644 (file)
index 0000000..927b3bb
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_and_display_inactive_rules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_and_display_inactive_rules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>searchtext</td>
+       <td>SW_SWING_METHODS_INVOKED_IN_SWING_THREAD </td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>0 results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>+1 found in inactive rules</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>inactive-rules-link</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>1 results</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_any_rules.html b/tests/integration/tests/src/test/selenium/rules/search_any_rules.html
new file mode 100644 (file)
index 0000000..d7f6cc3
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_any_rules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_any_rules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_plugin</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_priority</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>result_table</td>
+       <td></td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_plugin.html b/tests/integration/tests/src/test/selenium/rules/search_by_plugin.html
new file mode 100644 (file)
index 0000000..74d183a
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_by_plugin</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_by_plugin</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_plugin</td>
+       <td>label=PMD</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>search_plugin</td>
+       <td>label=Checkstyle</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Checkstyle*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Pmd*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>result_table</td>
+       <td>glob:*Findbugs*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>result_table</td>
+       <td>glob:*Squid*</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html
new file mode 100644 (file)
index 0000000..6ebb5a4
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_by_rule_priority</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_by_rule_priority</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>removeSelection</td>
+       <td>search_plugin</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>search_plugin</td>
+       <td>label=Checkstyle</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_priority</td>
+       <td>label=Critical</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Equals Hash Code*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>result_table</td>
+       <td>glob:*Anon Inner Length *</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html
new file mode 100644 (file)
index 0000000..6d1d67a
--- /dev/null
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_by_rule_status</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_by_rule_status</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>removeSelection</td>
+       <td>search_plugin</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>search_plugin</td>
+       <td>label=Checkstyle</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_priority</td>
+       <td>label=Critical</td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>search_priority</td>
+       <td>label=Major</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Any</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>result_table</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Abstract Class Name*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Anon Inner Length *</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>search_status</td>
+       <td>label=Inactive</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>result_table</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Abstract Class Name *</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>result_table</td>
+       <td>glob:*Anon Inner Length *</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html
new file mode 100644 (file)
index 0000000..a4085c8
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>search_by_rule_title</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">search_by_rule_title</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/profiles</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>rules-java-Sonar%20way</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>searchtext</td>
+       <td>Buffering</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>submit_search</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>1 results</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>result_table</td>
+       <td>glob:*Inefficient String Buffering*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/violations_tab.html b/tests/integration/tests/src/test/selenium/rules/violations_tab.html
new file mode 100644 (file)
index 0000000..1dfe460
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>violations_tab</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">violations_tab</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=ValidWhenLexer</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*public class ValidWhenLexer*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Unused Imports*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=ValidWhenParser</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*public class ValidWhenParser*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html
new file mode 100644 (file)
index 0000000..a13f33b
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-1007_violations_tab_when_no_violations</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1007_violations_tab_when_no_violations</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/resource/index/org.sonar.tests:reference:org.sonar.samples.EmptyClass?metric=violations</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>org.sonar.samples.EmptyClass</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
+       <td>glob:*0*0*0*0*0*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html
new file mode 100644 (file)
index 0000000..9974348
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-300-tests_details</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-300-tests_details</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleB?metric=skipped_tests&amp;resource=org.sonar.tests.test-failures:moduleB:ch.hortis.sonar.samples.testFailures.moduleB.SkippedTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Unit test name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>pageselector</td>
+       <td>glob:*SkippedTest*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*normalTest*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*skippedTest*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*1*+1 skipped*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*100%*</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleA?metric=test_success_density&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>Unit test name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*3*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*1/1*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*33.3%*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=expand</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*junit.framework.AssertionFailedError*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=collapse</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
+       <td>glob:*junit.framework.AssertionFailedError*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html
new file mode 100644 (file)
index 0000000..931e40a
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-517_violations_drilldown</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-517_violations_drilldown</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=InnerClass</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>pageselector</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*InnerClass*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*Unused local variable*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html
new file mode 100644 (file)
index 0000000..df116a6
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-538-duplications_viewer</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-538-duplications_viewer</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=duplicated_blocks&amp;resource=org.apache.struts:struts-el:org.apache.strutsel.taglib.html.ELButtonTag</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
+       <td>glob:*Lines:*904*</td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
+       <td>glob:*733*37*org.apache.strutsel.taglib.html.ELSubmitTag*37*</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>//div[@id='expand-source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag']/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag</td>
+       <td>glob:*public class ELButtonTag*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html
new file mode 100644 (file)
index 0000000..88bf6d2
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-582-violations-without-lines</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-582-violations-without-lines</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:single-classes</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Violations drilldown</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=SONAR582ViolationsWithoutLines</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForText</td>
+       <td>pageselector</td>
+       <td>glob:*public class SONAR582ViolationsWithoutLines*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>pageselector</td>
+       <td>glob:*Newline At End Of File*package*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html
new file mode 100644 (file)
index 0000000..9f36164
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>SONAR-659-test_success_percentage</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-659-test_success_percentage</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.test-failures:moduleA</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=FailTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*33.3%*</td>
+</tr>
+<tr>
+       <td>waitForTextPresent</td>
+       <td>testAWithFailure</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>pageselector</td>
+       <td>glob:*33.3%*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html b/tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html
new file mode 100644 (file)
index 0000000..4210d84
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>deprecated_light_mode</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">deprecated_light_mode</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:deprecated-sonar-light</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>hd</td>
+       <td>glob:*deprecated-sonar-light*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>22</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_coverage</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html b/tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html
new file mode 100644 (file)
index 0000000..ca1849e
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>static-analysis</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">static-analysis</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-static</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_ncloc</td>
+       <td>22</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_comment_lines_density</td>
+       <td>4.4%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_class_complexity</td>
+       <td>4.0</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_coverage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_tests</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/system_info/system_info.html b/tests/integration/tests/src/test/selenium/system_info/system_info.html
new file mode 100644 (file)
index 0000000..a8ffc19
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>system_info</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">system_info</td></tr>
+</thead><tbody>
+       <tr>
+               <td>open</td>
+               <td>/sessions/logout</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>open</td>
+               <td>/sessions/new</td>
+               <td></td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>login</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>type</td>
+               <td>password</td>
+               <td>admin</td>
+       </tr>
+       <tr>
+               <td>clickAndWait</td>
+               <td>commit</td>
+               <td></td>
+       </tr>
+       
+<tr>
+       <td>open</td>
+       <td>/system/index</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>system_info</td>
+       <td>glob:*Apache Tomcat*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>sonar</td>
+       <td>glob:*Version*2.?-SNAPSHOT*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>plugins</td>
+       <td>glob:*Duplications*Findbugs*My Sonar plugin*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>system_properties</td>
+       <td>glob:*java.class.path*java.specification.version*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html b/tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html
new file mode 100644 (file)
index 0000000..1584536
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-506_number_of_rules_violations_is_incorrect</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-506_number_of_rules_violations_is_incorrect</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-static</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Time machine</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>timemachine_matrix</td>
+       <td>glob:*Rules compliance 0.0%*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html b/tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html
new file mode 100644 (file)
index 0000000..13ad323
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>display-first-and-last-five-events</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">display-first-and-last-five-events</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/timemachine/index/org.sonar.tests:timemachine</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>timemachine_matrix</td>
+       <td>glob:*2007-04-20*Version 0.5*2007-10-20*Version 0.6*2007-12-10*Version 0.7*2008-04-15*Version 0.8*2008-10-19*Version 0.9*Version 1.0-SNAPSHOT*</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html b/tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html
new file mode 100644 (file)
index 0000000..7d26f1e
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>should-not-display-rows-without-data</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">should-not-display-rows-without-data</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/timemachine/index/org.sonar.tests:ant-static</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>timemachine_matrix</td>
+       <td>glob:*Coverage*</td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/timemachine/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>timemachine_matrix</td>
+       <td>glob:*Coverage*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html b/tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html
new file mode 100644 (file)
index 0000000..ecf1c13
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>violations-timemachine</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">violations-timemachine</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>http://localhost:9000/dashboard/index/org.sonar.tests:violations-timemachine</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Profile violations-timemachine</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_violations</td>
+       <td>7</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_critical_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_major_violations</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_minor_violations</td>
+       <td>3</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_blocker_violations</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_info_violations</td>
+       <td>0</td>
+</tr>
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html b/tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html
new file mode 100644 (file)
index 0000000..2cbabc1
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>treemap_check_gradient_direction</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">treemap_check_gradient_direction</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.apache.struts:struts-parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>coverage</td>
+       <td>metric_direction_positive</td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>duplicated_lines_density</td>
+       <td>metric_direction_negative</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>select_color_metric</td>
+       <td>value=${metric_direction_positive}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotVisible</td>
+       <td>tm_loading</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>treemap_gradient_direction_positive</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>select_color_metric</td>
+       <td>value=${metric_direction_negative}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotVisible</td>
+       <td>tm_loading</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>treemap_gradient_direction_negative</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>select_color_metric</td>
+       <td>value=${metric_direction_positive}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotVisible</td>
+       <td>tm_loading</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>treemap_gradient_direction_positive</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>select_color_metric</td>
+       <td>value=${metric_direction_negative}</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>submit_treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForNotVisible</td>
+       <td>tm_loading</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>treemap_gradient_direction_negative</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html b/tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html
new file mode 100644 (file)
index 0000000..2e42f86
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>treemap_file_drilldown_link</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">treemap_file_drilldown_link</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/components/index/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_within_package</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>treemap</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link_node-1</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForPopUp</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>pageselector</td>
+       <td>glob:*Violations*</td>
+</tr>
+<tr>
+       <td>close</td>
+       <td>resource</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html b/tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html
new file mode 100644 (file)
index 0000000..b912a44
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-1099-html-chars</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-1099-html-chars</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/measures/org.sonar.tests.test-failures:parent?metric=test_failures&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForElementPresent</td>
+       <td>stack-paneltestAWithFailure</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=expand</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>stack-paneltestAWithFailure</td>
+       <td>glob:expected:&lt;true&gt; but was:&lt;false&gt;*expected:&lt;true&gt; but was:&lt;false&gt;*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html b/tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html
new file mode 100644 (file)
index 0000000..b578b4a
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>no-test-failures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no-test-failures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html b/tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html
new file mode 100644 (file)
index 0000000..d098b88
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>no-tests-data-on-static-analysis</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">no-tests-data-on-static-analysis</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-static</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Version 1.0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_coverage</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_tests</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html
new file mode 100644 (file)
index 0000000..ffc48b5
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>reuse-clover-and-junit-reports</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reuse-clover-and-junit-reports</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-dynamic-clover</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>93.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>23</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>m_test_execution_time</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>0</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html
new file mode 100644 (file)
index 0000000..35dca44
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>reuse-cobertura-and-junit-reports</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reuse-cobertura-and-junit-reports</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-dynamic-cobertura</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>40.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_line_coverage</td>
+       <td>40.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>m_test_execution_time</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>50.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>0</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html
new file mode 100644 (file)
index 0000000..952ebcc
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>reuse-junit-reports-only</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reuse-junit-reports-only</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:ant-dynamic-junit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>4</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>m_test_execution_time</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>50.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_coverage</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html
new file mode 100644 (file)
index 0000000..648cd78
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>reuse-maven-coverage-reports</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">reuse-maven-coverage-reports</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reuse-coverage-reports</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>m_test_execution_time</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>100.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>57.1%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html b/tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html
new file mode 100644 (file)
index 0000000..c96c983
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>skip-surefire-tests</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">skip-surefire-tests</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:skip-surefire-tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>0.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>Test success</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_failures</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_errors</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html b/tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html
new file mode 100644 (file)
index 0000000..27f0c9f
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>some-test-failures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">some-test-failures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests.test-failures:parent</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Sonar tests - test failures</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_success_density</td>
+       <td>50.0%</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_failures</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_test_errors</td>
+       <td>2</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:*Unit test success*50.0%*</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html b/tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html
new file mode 100644 (file)
index 0000000..8d7f7ac
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>zero-when-no-tests</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">zero-when-no-tests</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:no-tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>No tests</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_success_density</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>m_test_failures</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_tests</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>m_coverage</td>
+       <td>0.0%</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html b/tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html
new file mode 100644 (file)
index 0000000..51cc7ce
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>accept-login-with-whitespace</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">accept-login-with-whitespace</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>open</td>
+       <td>/users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{'user ' + new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:User*created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Logged in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>nav</td>
+       <td>glob:*Name of ${userId}*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/add-user-to-group.html b/tests/integration/tests/src/test/selenium/users/add-user-to-group.html
new file mode 100644 (file)
index 0000000..ca96183
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>add-user-to-group</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">add-user-to-group</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Groups</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>groupId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>group_name</td>
+       <td>${groupId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>group_description</td>
+       <td>Description of ${groupId}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>count-${groupId}</td>
+       <td>0</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>select-${groupId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>from</td>
+       <td>label=admin</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>select_right</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>save</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>count-${groupId}</td>
+       <td>1</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html b/tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html
new file mode 100644 (file)
index 0000000..a6f3e41
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>admin-has-default-groups</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">admin-has-default-groups</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-admin</td>
+       <td>glob:*sonar-administrators*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-admin</td>
+       <td>glob:*sonar-users*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html b/tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html
new file mode 100644 (file)
index 0000000..84d88b7
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>affect-new-user-to-default-group</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">affect-new-user-to-default-group</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:User*created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*Name of ${userId}*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-users*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-administrators*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/affect-user-to-group.html b/tests/integration/tests/src/test/selenium/users/affect-user-to-group.html
new file mode 100644 (file)
index 0000000..656d03a
--- /dev/null
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>affect-user-to-group</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">affect-user-to-group</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:User*created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*Name of ${userId}*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-users*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-administrators*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>select-${userId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>from</td>
+       <td>label=sonar-administrators</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>select_right</td>
+       <td></td>
+</tr>
+<tr>
+       <td>addSelection</td>
+       <td>to</td>
+       <td>label=sonar-users</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>select_left</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>save</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-administrators*</td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>user-${userId}</td>
+       <td>glob:*sonar-users*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/authenticate-new-user.html b/tests/integration/tests/src/test/selenium/users/authenticate-new-user.html
new file mode 100644 (file)
index 0000000..13f4ef6
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>authenticate-new-user</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">authenticate-new-user</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:User*created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Logged in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>nav</td>
+       <td>glob:*Name of ${userId}*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html b/tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html
new file mode 100644 (file)
index 0000000..564e87f
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>can-not-delete-myself</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">can-not-delete-myself</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete-admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Warning : are you sure to delete this user ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementPresent</td>
+       <td>user-admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>error</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html b/tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html
new file mode 100644 (file)
index 0000000..b7c2bc3
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>change-username-without-changing-password</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">change-username-without-changing-password</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>glob:User*created</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>edit-${userId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>New name of ${userId}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>info</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>user-${userId}</td>
+       <td>glob:*New name of ${userId}*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html b/tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html
new file mode 100644 (file)
index 0000000..40ff5dd
--- /dev/null
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>confirm-password-when-creating-user</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">confirm-password-when-creating-user</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>wrong</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>error</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>user-${userId}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html b/tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html
new file mode 100644 (file)
index 0000000..cb95a8b
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>create-and-delete-groups</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create-and-delete-groups</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Groups</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>groupId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>group_name</td>
+       <td>${groupId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>group_description</td>
+       <td>Description of ${groupId}</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>info</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>group-${groupId}</td>
+       <td>glob:*Description of ${groupId}*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete-${groupId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Are you sure to delete this group ? Members will not be deleted.</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>info</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertElementNotPresent</td>
+       <td>group-${groupId}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/create-and-delete-users.html b/tests/integration/tests/src/test/selenium/users/create-and-delete-users.html
new file mode 100644 (file)
index 0000000..2221c0a
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>create-and-delete-users</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">create-and-delete-users</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Configuration</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Users</td>
+       <td></td>
+</tr>
+<tr>
+       <td>store</td>
+       <td>javascript{new Date().getTime()}</td>
+       <td>userId</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_login</td>
+       <td>${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_name</td>
+       <td>Name of ${userId}</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>user_password_confirmation</td>
+       <td>password</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>delete-${userId}</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>Warning : are you sure to delete this user ?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertVisible</td>
+       <td>info</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextNotPresent</td>
+       <td>user-${userId}</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html b/tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html
new file mode 100644 (file)
index 0000000..b3951d0
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>my-profile-display-basic-data</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">my-profile-display-basic-data</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/sessions/new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>commit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Administrator</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>login</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>name</td>
+       <td>Administrator</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>groups</td>
+       <td>glob:*sonar-administrators*sonar-users*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html b/tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html
new file mode 100644 (file)
index 0000000..6fd6106
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SONAR-455_hide_zero_measures</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SONAR-455_hide_zero_measures</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Violations drilldown</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>col_FIL</td>
+       <td>glob:*EmptyClass*0*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html b/tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html
new file mode 100644 (file)
index 0000000..b4765c3
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>check_violations_on_extensions</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">check_violations_on_extensions</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/dashboard/index/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Violations drilldown</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Maximum Methods Count Check</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Avoid if without using brace</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Methods Count Check</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html b/tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html
new file mode 100644 (file)
index 0000000..f493332
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:9000/" />
+<title>popup-on-rules</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:reference</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>rule1</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForPopUp</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>waitForPopUp</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>selectWindow</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertTextPresent</td>
+       <td>Key:</td>
+       <td></td>
+</tr>
+
+<tr>
+       <td>close</td>
+       <td>rule</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html b/tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html
new file mode 100644 (file)
index 0000000..9970a5e
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>select_resource</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">select_resource</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/drilldown/violations/org.sonar.tests:reference?filter=category</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_rules</td>
+       <td>glob:*Unused local variable*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_DIR</td>
+       <td>glob:*org.sonar.samples*[default]*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*Utf8Characters*</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=org.sonar.samples.duplicated_lines_within_package</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertNotText</td>
+       <td>col_FIL</td>
+       <td>glob:*Utf8Characters*</td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>col_FIL</td>
+       <td>glob:*DuplicatedLinesInSamePackage1*</td>
+</tr>
+</tbody></table>
+</body>
+</html>