busser-robot 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.cane +0 -0
- data/.gitignore +17 -0
- data/.tailor +4 -0
- data/.travis.yml +11 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +3 -0
- data/LICENSE +15 -0
- data/README.md +41 -0
- data/Rakefile +68 -0
- data/busser-robot.gemspec +30 -0
- data/features/plugin_install_command.feature +11 -0
- data/features/plugin_list_command.feature +8 -0
- data/features/support/env.rb +13 -0
- data/features/test_command.feature +31 -0
- data/lib/busser/robot/version.rb +26 -0
- data/lib/busser/runner_plugin/robot.rb +37 -0
- data/vendor/robot/.gitignore +19 -0
- data/vendor/robot/AUTHORS.txt +76 -0
- data/vendor/robot/BUILD.rst +212 -0
- data/vendor/robot/CONTRIBUTING.rst +309 -0
- data/vendor/robot/COPYRIGHT.txt +14 -0
- data/vendor/robot/INSTALL.rst +726 -0
- data/vendor/robot/LICENSE.txt +202 -0
- data/vendor/robot/MANIFEST.in +4 -0
- data/vendor/robot/README.rst +150 -0
- data/vendor/robot/atest/README.rst +235 -0
- data/vendor/robot/atest/genrunner.py +52 -0
- data/vendor/robot/atest/interpreter.py +217 -0
- data/vendor/robot/atest/requirements.txt +12 -0
- data/vendor/robot/atest/resources/TestCheckerLibrary.py +258 -0
- data/vendor/robot/atest/resources/TestHelper.py +31 -0
- data/vendor/robot/atest/resources/atest_resource.robot +335 -0
- data/vendor/robot/atest/resources/atest_variables.py +10 -0
- data/vendor/robot/atest/resources/read_interpreter.py +27 -0
- data/vendor/robot/atest/resources/rebot_resource.robot +25 -0
- data/vendor/robot/atest/resources/unicode_vars.py +15 -0
- data/vendor/robot/atest/robot/cli/console/colors_and_width.robot +66 -0
- data/vendor/robot/atest/robot/cli/console/console_resource.robot +24 -0
- data/vendor/robot/atest/robot/cli/console/console_type.robot +54 -0
- data/vendor/robot/atest/robot/cli/console/encoding_from_env_vars.robot +31 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/ExpectedOutputLibrary.py +27 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/dotted_fatal_error.txt +14 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/empty.txt +0 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stderr.txt +6 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout.txt +14 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout_dotted.txt +11 -0
- data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout_dotted_10.txt +19 -0
- data/vendor/robot/atest/robot/cli/console/markers.robot +81 -0
- data/vendor/robot/atest/robot/cli/console/non_ascii.robot +15 -0
- data/vendor/robot/atest/robot/cli/console/verbose_layout.robot +50 -0
- data/vendor/robot/atest/robot/cli/dryrun/args.robot +22 -0
- data/vendor/robot/atest/robot/cli/dryrun/dryrun.robot +149 -0
- data/vendor/robot/atest/robot/cli/dryrun/executed_builtin_keywords.robot +15 -0
- data/vendor/robot/atest/robot/cli/dryrun/java_arguments.robot +62 -0
- data/vendor/robot/atest/robot/cli/dryrun/kwargs.robot +16 -0
- data/vendor/robot/atest/robot/cli/dryrun/run_keyword_variants.robot +101 -0
- data/vendor/robot/atest/robot/cli/dryrun/run_keyword_variants_in_suite_teardown.robot +10 -0
- data/vendor/robot/atest/robot/cli/model_modifiers/ModelModifier.py +18 -0
- data/vendor/robot/atest/robot/cli/model_modifiers/modifier_resource.robot +38 -0
- data/vendor/robot/atest/robot/cli/model_modifiers/pre_rebot.robot +64 -0
- data/vendor/robot/atest/robot/cli/model_modifiers/pre_rebot_when_running.robot +59 -0
- data/vendor/robot/atest/robot/cli/model_modifiers/pre_run.robot +57 -0
- data/vendor/robot/atest/robot/cli/rebot/REBOT_OPTIONS.robot +22 -0
- data/vendor/robot/atest/robot/cli/rebot/__init__.robot +3 -0
- data/vendor/robot/atest/robot/cli/rebot/argumentfile.robot +28 -0
- data/vendor/robot/atest/robot/cli/rebot/help_and_version.robot +26 -0
- data/vendor/robot/atest/robot/cli/rebot/invalid_usage.robot +55 -0
- data/vendor/robot/atest/robot/cli/rebot/log_level.robot +48 -0
- data/vendor/robot/atest/robot/cli/rebot/output_files.robot +56 -0
- data/vendor/robot/atest/robot/cli/rebot/process_empty_suite.robot +38 -0
- data/vendor/robot/atest/robot/cli/rebot/rebot_cli_resource.robot +24 -0
- data/vendor/robot/atest/robot/cli/rebot/remove_keywords/all_passed_tag_and_name.robot +159 -0
- data/vendor/robot/atest/robot/cli/rebot/remove_keywords/combinations.robot +43 -0
- data/vendor/robot/atest/robot/cli/rebot/remove_keywords/for_loop_keywords.robot +51 -0
- data/vendor/robot/atest/robot/cli/rebot/remove_keywords/remove_keywords_resource.robot +25 -0
- data/vendor/robot/atest/robot/cli/rebot/remove_keywords/wait_until_keyword_succeeds.robot +37 -0
- data/vendor/robot/atest/robot/cli/rebot/status_rc.robot +53 -0
- data/vendor/robot/atest/robot/cli/rebot/suite_name_doc_and_metadata.robot +39 -0
- data/vendor/robot/atest/robot/cli/rebot/syslog.robot +46 -0
- data/vendor/robot/atest/robot/cli/rebot/timestamp_outputs.robot +16 -0
- data/vendor/robot/atest/robot/cli/runner/ROBOT_OPTIONS.robot +17 -0
- data/vendor/robot/atest/robot/cli/runner/argumentfile.robot +111 -0
- data/vendor/robot/atest/robot/cli/runner/cli_resource.robot +44 -0
- data/vendor/robot/atest/robot/cli/runner/debugfile.robot +75 -0
- data/vendor/robot/atest/robot/cli/runner/exit_on_error.robot +67 -0
- data/vendor/robot/atest/robot/cli/runner/exit_on_failure.robot +71 -0
- data/vendor/robot/atest/robot/cli/runner/extension.robot +25 -0
- data/vendor/robot/atest/robot/cli/runner/help_and_version.robot +33 -0
- data/vendor/robot/atest/robot/cli/runner/invalid_usage.robot +34 -0
- data/vendor/robot/atest/robot/cli/runner/log_level.robot +88 -0
- data/vendor/robot/atest/robot/cli/runner/multisource.robot +57 -0
- data/vendor/robot/atest/robot/cli/runner/output_files.robot +75 -0
- data/vendor/robot/atest/robot/cli/runner/pythonpath.robot +31 -0
- data/vendor/robot/atest/robot/cli/runner/randomize.robot +112 -0
- data/vendor/robot/atest/robot/cli/runner/remove_keywords.robot +147 -0
- data/vendor/robot/atest/robot/cli/runner/report_background.robot +26 -0
- data/vendor/robot/atest/robot/cli/runner/rerunfailed.robot +50 -0
- data/vendor/robot/atest/robot/cli/runner/rerunfailed_corners.robot +44 -0
- data/vendor/robot/atest/robot/cli/runner/rerunfailedsuites.robot +44 -0
- data/vendor/robot/atest/robot/cli/runner/rerunfailedsuites_corners.robot +44 -0
- data/vendor/robot/atest/robot/cli/runner/run_empty_suite.robot +36 -0
- data/vendor/robot/atest/robot/cli/runner/status_rc.robot +39 -0
- data/vendor/robot/atest/robot/cli/runner/suite_name_doc_and_metadata.robot +40 -0
- data/vendor/robot/atest/robot/cli/runner/syslog.robot +56 -0
- data/vendor/robot/atest/robot/cli/runner/timestamp_outputs.robot +25 -0
- data/vendor/robot/atest/robot/core/binary_data.robot +54 -0
- data/vendor/robot/atest/robot/core/empty_tc_and_uk.robot +35 -0
- data/vendor/robot/atest/robot/core/filter_by_names.robot +191 -0
- data/vendor/robot/atest/robot/core/keyword_teardown.robot +69 -0
- data/vendor/robot/atest/robot/core/overriding_default_settings_with_none.robot +48 -0
- data/vendor/robot/atest/robot/core/resource_and_variable_imports.robot +164 -0
- data/vendor/robot/atest/robot/core/same_test_multiple_times_in_suite.robot +30 -0
- data/vendor/robot/atest/robot/core/suite_execution_order.robot +10 -0
- data/vendor/robot/atest/robot/core/suite_setup_and_teardown.robot +183 -0
- data/vendor/robot/atest/robot/core/test_case_status.robot +52 -0
- data/vendor/robot/atest/robot/core/test_suite_dir.robot +55 -0
- data/vendor/robot/atest/robot/core/test_suite_init_file.robot +111 -0
- data/vendor/robot/atest/robot/core/timeouts.robot +153 -0
- data/vendor/robot/atest/robot/core/timeouts_with_custom_messages.robot +69 -0
- data/vendor/robot/atest/robot/core/unicode.robot +46 -0
- data/vendor/robot/atest/robot/core/unicode_with_java_libs.robot +21 -0
- data/vendor/robot/atest/robot/external/unit_tests.robot +15 -0
- data/vendor/robot/atest/robot/keywords/dots_in_keyword_name.robot +48 -0
- data/vendor/robot/atest/robot/keywords/duplicate_dynamic_keywords.robot +26 -0
- data/vendor/robot/atest/robot/keywords/duplicate_hybrid_keywords.robot +26 -0
- data/vendor/robot/atest/robot/keywords/duplicate_static_keywords.robot +31 -0
- data/vendor/robot/atest/robot/keywords/duplicate_user_keywords.robot +37 -0
- data/vendor/robot/atest/robot/keywords/embedded_arguments.robot +153 -0
- data/vendor/robot/atest/robot/keywords/embedded_arguments_library_keywords.robot +97 -0
- data/vendor/robot/atest/robot/keywords/java_argument_type_coercion.robot +23 -0
- data/vendor/robot/atest/robot/keywords/java_arguments.robot +98 -0
- data/vendor/robot/atest/robot/keywords/keyword_names.robot +138 -0
- data/vendor/robot/atest/robot/keywords/keyword_namespaces.robot +67 -0
- data/vendor/robot/atest/robot/keywords/keyword_not_found.robot +25 -0
- data/vendor/robot/atest/robot/keywords/keyword_recommendations.robot +145 -0
- data/vendor/robot/atest/robot/keywords/keyword_tags.robot +48 -0
- data/vendor/robot/atest/robot/keywords/named_args/variables_in_names.robot +34 -0
- data/vendor/robot/atest/robot/keywords/named_args/with_dynamic_keywords.robot +55 -0
- data/vendor/robot/atest/robot/keywords/named_args/with_dynamic_kwargs_support.robot +79 -0
- data/vendor/robot/atest/robot/keywords/named_args/with_python_keywords.robot +95 -0
- data/vendor/robot/atest/robot/keywords/named_args/with_user_keywords.robot +58 -0
- data/vendor/robot/atest/robot/keywords/optional_given_when_then.robot +48 -0
- data/vendor/robot/atest/robot/keywords/python_arguments.robot +42 -0
- data/vendor/robot/atest/robot/keywords/trace_log_keyword_arguments.robot +104 -0
- data/vendor/robot/atest/robot/keywords/trace_log_return_value.robot +60 -0
- data/vendor/robot/atest/robot/keywords/user_keyword_arguments.robot +98 -0
- data/vendor/robot/atest/robot/keywords/user_keyword_kwargs.robot +62 -0
- data/vendor/robot/atest/robot/keywords/user_keyword_return_values.robot +34 -0
- data/vendor/robot/atest/robot/libdoc/LibDocLib.py +49 -0
- data/vendor/robot/atest/robot/libdoc/__init__.robot +4 -0
- data/vendor/robot/atest/robot/libdoc/cli.robot +58 -0
- data/vendor/robot/atest/robot/libdoc/console_viewer.robot +97 -0
- data/vendor/robot/atest/robot/libdoc/doc_format.robot +72 -0
- data/vendor/robot/atest/robot/libdoc/dynamic_library.robot +67 -0
- data/vendor/robot/atest/robot/libdoc/dynamic_library_without_get_kw_args_and_doc.robot +38 -0
- data/vendor/robot/atest/robot/libdoc/internal_linking.robot +83 -0
- data/vendor/robot/atest/robot/libdoc/invalid_library_keywords.robot +30 -0
- data/vendor/robot/atest/robot/libdoc/invalid_usage.robot +61 -0
- data/vendor/robot/atest/robot/libdoc/invalid_user_keywords.robot +29 -0
- data/vendor/robot/atest/robot/libdoc/java_library.robot +80 -0
- data/vendor/robot/atest/robot/libdoc/libdoc_resource.robot +141 -0
- data/vendor/robot/atest/robot/libdoc/library_version.robot +31 -0
- data/vendor/robot/atest/robot/libdoc/module_library.robot +60 -0
- data/vendor/robot/atest/robot/libdoc/no_inits.robot +29 -0
- data/vendor/robot/atest/robot/libdoc/python_library.robot +68 -0
- data/vendor/robot/atest/robot/libdoc/resource_file.robot +81 -0
- data/vendor/robot/atest/robot/libdoc/spec_library.robot +64 -0
- data/vendor/robot/atest/robot/output/flatten_keyword.robot +106 -0
- data/vendor/robot/atest/robot/output/html_output_stats.py +41 -0
- data/vendor/robot/atest/robot/output/js_model.robot +49 -0
- data/vendor/robot/atest/robot/output/listener_interface/importing_listeners.robot +84 -0
- data/vendor/robot/atest/robot/output/listener_interface/listener_failing.robot +61 -0
- data/vendor/robot/atest/robot/output/listener_interface/listener_logging.robot +99 -0
- data/vendor/robot/atest/robot/output/listener_interface/listener_methods.robot +169 -0
- data/vendor/robot/atest/robot/output/listener_interface/listener_resource.robot +50 -0
- data/vendor/robot/atest/robot/output/listener_interface/listener_v3.robot +68 -0
- data/vendor/robot/atest/robot/output/listener_interface/listening_imports.robot +53 -0
- data/vendor/robot/atest/robot/output/listener_interface/log_levels.robot +39 -0
- data/vendor/robot/atest/robot/output/listener_interface/output_files.robot +42 -0
- data/vendor/robot/atest/robot/output/listener_interface/unsupported_listener_version.robot +34 -0
- data/vendor/robot/atest/robot/output/names_needing_escaping.robot +37 -0
- data/vendor/robot/atest/robot/output/outputs_have_correct_line_separators.robot +32 -0
- data/vendor/robot/atest/robot/output/processing_output.robot +118 -0
- data/vendor/robot/atest/robot/output/statistics.robot +90 -0
- data/vendor/robot/atest/robot/output/statistics_in_log_and_report.robot +79 -0
- data/vendor/robot/atest/robot/output/statistics_with_rebot.robot +70 -0
- data/vendor/robot/atest/robot/output/suite_and_test_id_in_output.robot +23 -0
- data/vendor/robot/atest/robot/output/test_criticality.robot +22 -0
- data/vendor/robot/atest/robot/output/timeouts.robot +27 -0
- data/vendor/robot/atest/robot/output/xunit.robot +84 -0
- data/vendor/robot/atest/robot/parsing/caching_libs_and_resources.robot +59 -0
- data/vendor/robot/atest/robot/parsing/data_formats/formats_resource.robot +71 -0
- data/vendor/robot/atest/robot/parsing/data_formats/html.robot +19 -0
- data/vendor/robot/atest/robot/parsing/data_formats/mixed.robot +99 -0
- data/vendor/robot/atest/robot/parsing/data_formats/rest.robot +22 -0
- data/vendor/robot/atest/robot/parsing/data_formats/rest_directives.robot +8 -0
- data/vendor/robot/atest/robot/parsing/data_formats/robot.robot +18 -0
- data/vendor/robot/atest/robot/parsing/data_formats/tsv.robot +18 -0
- data/vendor/robot/atest/robot/parsing/data_formats/txt.robot +18 -0
- data/vendor/robot/atest/robot/parsing/data_formats/txt_special_cases.robot +49 -0
- data/vendor/robot/atest/robot/parsing/deprecated_settings.robot +66 -0
- data/vendor/robot/atest/robot/parsing/escaping.robot +87 -0
- data/vendor/robot/atest/robot/parsing/failing_init.robot +12 -0
- data/vendor/robot/atest/robot/parsing/html_entityrefs.robot +22 -0
- data/vendor/robot/atest/robot/parsing/ignore_bom.robot +21 -0
- data/vendor/robot/atest/robot/parsing/invalid.robot +57 -0
- data/vendor/robot/atest/robot/parsing/multirow.robot +63 -0
- data/vendor/robot/atest/robot/parsing/non_ascii_paths.robot +54 -0
- data/vendor/robot/atest/robot/parsing/non_breaking_space.robot +19 -0
- data/vendor/robot/atest/robot/parsing/paths_are_not_case_normalized.robot +14 -0
- data/vendor/robot/atest/robot/parsing/same_setting_multiple_times.robot +127 -0
- data/vendor/robot/atest/robot/parsing/suite_metadata.robot +32 -0
- data/vendor/robot/atest/robot/parsing/suite_settings.robot +61 -0
- data/vendor/robot/atest/robot/parsing/table_names.robot +55 -0
- data/vendor/robot/atest/robot/parsing/test_case_settings.robot +162 -0
- data/vendor/robot/atest/robot/parsing/test_suite_names.robot +47 -0
- data/vendor/robot/atest/robot/parsing/user_keyword_settings.robot +103 -0
- data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_html.robot +25 -0
- data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_html5.robot +25 -0
- data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_tsv.robot +25 -0
- data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_txt.robot +25 -0
- data/vendor/robot/atest/robot/rebot/combine.robot +208 -0
- data/vendor/robot/atest/robot/rebot/filter_by_names.robot +160 -0
- data/vendor/robot/atest/robot/rebot/merge.robot +237 -0
- data/vendor/robot/atest/robot/rebot/output_file.robot +23 -0
- data/vendor/robot/atest/robot/rebot/start_and_endtime_from_cli.robot +75 -0
- data/vendor/robot/atest/robot/rebot/xunit.robot +61 -0
- data/vendor/robot/atest/robot/running/ProcessManager.py +73 -0
- data/vendor/robot/atest/robot/running/continue_for_loop.robot +54 -0
- data/vendor/robot/atest/robot/running/continue_on_failure.robot +106 -0
- data/vendor/robot/atest/robot/running/dynamic_teardown.robot +7 -0
- data/vendor/robot/atest/robot/running/empty_and_none_setup_and_teardown_are_ignored.robot +31 -0
- data/vendor/robot/atest/robot/running/exit_for_loop.robot +57 -0
- data/vendor/robot/atest/robot/running/failures_in_teardown.robot +60 -0
- data/vendor/robot/atest/robot/running/fatal_exception.robot +72 -0
- data/vendor/robot/atest/robot/running/for.robot +437 -0
- data/vendor/robot/atest/robot/running/html_error_message.robot +57 -0
- data/vendor/robot/atest/robot/running/long_error_messages.robot +65 -0
- data/vendor/robot/atest/robot/running/non_ascii_bytes.robot +33 -0
- data/vendor/robot/atest/robot/running/pass_execution.robot +162 -0
- data/vendor/robot/atest/robot/running/prevent_recursion.robot +22 -0
- data/vendor/robot/atest/robot/running/return_from_keyword.robot +60 -0
- data/vendor/robot/atest/robot/running/stopping_with_signal.robot +128 -0
- data/vendor/robot/atest/robot/running/test_template.robot +86 -0
- data/vendor/robot/atest/robot/running/test_template_with_embeded_args.robot +47 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/builtin_resource.robot +16 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/call_method.robot +34 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/convert_to_bytes.robot +88 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/converter.robot +72 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/count.robot +42 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/create_dictionary.robot +70 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/evaluate.robot +66 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/exit_on_failure.robot +24 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/fail.robot +49 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/fatal_error.robot +15 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/get_library_instance.robot +42 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/get_time.robot +38 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/get_variable_value.robot +26 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/get_variables.robot +47 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/import_library.robot +39 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/import_resource.robot +29 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/import_variables.robot +31 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/imports_without_path_set.robot +20 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/keyword_should_exist.robot +48 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/length.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/listener_printing_start_end_kw.py +14 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/listener_using_builtin.py +9 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/log.robot +165 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/log_variables.robot +180 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/misc.robot +19 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/reload_library.robot +39 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/reload_with_name.robot +14 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/repeat_keyword.robot +96 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/replace_variables.robot +22 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword.robot +84 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_continue_on_failure.robot +40 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_return.robot +56 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_return_status.robot +12 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_based_on_suite_stats.robot +51 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.robot +81 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_timeout_occurred.robot +37 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_unless.robot +127 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_registering.robot +23 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_variable_handling.robot +54 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_with_escaping_control_arguments.robot +36 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_with_errors.robot +148 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keywords.robot +58 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/run_keywords_with_arguments.robot +56 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_documentation.robot +39 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_library_search_order.robot +41 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_log_level.robot +30 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_resource_search_order.robot +40 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_suite_metadata.robot +63 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_test_message.robot +70 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/set_variable_if.robot +48 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/setting_variables.robot +140 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_equal.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_equal_as_xxx.robot +50 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_true.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_contain.robot +22 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_contain_any.robot +34 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_match.robot +36 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/should_xxx_with.robot +34 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/sleep.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/tags.robot +89 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/used_in_custom_libs_and_listeners.robot +20 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/variable_should_exist.robot +82 -0
- data/vendor/robot/atest/robot/standard_libraries/builtin/wait_until_keyword_succeeds.robot +96 -0
- data/vendor/robot/atest/robot/standard_libraries/collections/dictionary.robot +159 -0
- data/vendor/robot/atest/robot/standard_libraries/collections/list.robot +318 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/add_time_to_date.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/convert_date_input_format.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/convert_date_result_format.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/convert_time_input_format.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/convert_time_result_format.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/date_ranges.robot +22 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/get_current_date.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/subtract_date_from_date.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/subtract_time_from_date.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/datetime/time_calculations.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/dialogs/dialogs.robot +55 -0
- data/vendor/robot/atest/robot/standard_libraries/easter.robot +14 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/create_and_remove_dir.robot +37 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/create_file.robot +40 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/env_vars.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/file_and_dir_empty_or_not.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/file_and_dir_existence.robot +82 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/get_file.robot +113 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/get_file_size.robot +21 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/list_dir.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/modified_time.robot +56 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_directory.robot +34 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_file.robot +93 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_files.robot +76 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/path.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/path_expansion.robot +11 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/remove_file.robot +33 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/run.robot +44 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/special_names.robot +32 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/touch.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/operating_system/wait_until_removed_created.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/process/active_process.robot +22 -0
- data/vendor/robot/atest/robot/standard_libraries/process/commandline.robot +25 -0
- data/vendor/robot/atest/robot/standard_libraries/process/env_config.robot +25 -0
- data/vendor/robot/atest/robot/standard_libraries/process/get_process_result.robot +25 -0
- data/vendor/robot/atest/robot/standard_libraries/process/is_process_alive.robot +13 -0
- data/vendor/robot/atest/robot/standard_libraries/process/newlines.robot +13 -0
- data/vendor/robot/atest/robot/standard_libraries/process/no_active_process.robot +13 -0
- data/vendor/robot/atest/robot/standard_libraries/process/output_encoding.robot +19 -0
- data/vendor/robot/atest/robot/standard_libraries/process/passing_arguments.robot +68 -0
- data/vendor/robot/atest/robot/standard_libraries/process/process_library.robot +27 -0
- data/vendor/robot/atest/robot/standard_libraries/process/run_process_with_timeout.robot +38 -0
- data/vendor/robot/atest/robot/standard_libraries/process/sending_signal.robot +48 -0
- data/vendor/robot/atest/robot/standard_libraries/process/stdout_and_stderr.robot +43 -0
- data/vendor/robot/atest/robot/standard_libraries/process/terminate_process.robot +51 -0
- data/vendor/robot/atest/robot/standard_libraries/process/wait_for_process.robot +32 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/argument_coersion.robot +97 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/arguments.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/binary_result.robot +27 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/dict_result.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/documentation.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/invalid.robot +20 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/keyword_tags.robot +29 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/remote_resource.robot +30 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/simple_server.robot +42 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/special_errors.robot +19 -0
- data/vendor/robot/atest/robot/standard_libraries/remote/timeouts.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/reserved.robot +20 -0
- data/vendor/robot/atest/robot/standard_libraries/screenshot/set_screenshot_directory.robot +8 -0
- data/vendor/robot/atest/robot/standard_libraries/screenshot/take_screenshot.robot +42 -0
- data/vendor/robot/atest/robot/standard_libraries/string/convert_to.robot +10 -0
- data/vendor/robot/atest/robot/standard_libraries/string/encode_decode.robot +36 -0
- data/vendor/robot/atest/robot/standard_libraries/string/generate_random_string.robot +29 -0
- data/vendor/robot/atest/robot/standard_libraries/string/get_matching_lines.robot +90 -0
- data/vendor/robot/atest/robot/standard_libraries/string/get_regexp_matches.robot +28 -0
- data/vendor/robot/atest/robot/standard_libraries/string/remove_from_string.robot +25 -0
- data/vendor/robot/atest/robot/standard_libraries/string/replace_string.robot +32 -0
- data/vendor/robot/atest/robot/standard_libraries/string/should_be.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/string/split_string.robot +65 -0
- data/vendor/robot/atest/robot/standard_libraries/string/string.robot +71 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/__init__.robot +2 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/configuration.robot +108 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/connections.robot +22 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/login.robot +40 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/read_and_write.robot +101 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/telnet_resource.robot +3 -0
- data/vendor/robot/atest/robot/standard_libraries/telnet/terminal_emulation.robot +68 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/add_and_remove_elements.robot +75 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/add_and_remove_elements_with_lxml.robot +74 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/clear_element.robot +17 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/clear_element_with_lxml.robot +17 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/copy_element.robot +17 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/copy_element_with_lxml.robot +17 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_attribute.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_attribute_with_lxml.robot +51 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_should_exist.robot +39 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_should_exist_with_lxml.robot +39 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_text.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/element_text_with_lxml.robot +53 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_be_equal.robot +40 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_be_equal_with_lxml.robot +41 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_match.robot +38 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_match_with_lxml.robot +38 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/etree_namespaces.robot +23 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/etree_namespaces_with_lxml.robot +23 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/get_elements.robot +44 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/get_elements_with_lxml.robot +44 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/namespaces.robot +26 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/namespaces_with_lxml.robot +26 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/parsing.robot +25 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/parsing_with_lxml.robot +26 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/save_xml.robot +52 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/save_xml_with_lxml.robot +47 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/set_element_information.robot +64 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/set_element_information_with_lxml.robot +65 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/strip_namespaces.robot +19 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/strip_namespaces_with_lxml.robot +20 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/to_string.robot +23 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/to_string_with_lxml.robot +24 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/xml_resource.robot +6 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/xpath.robot +69 -0
- data/vendor/robot/atest/robot/standard_libraries/xml/xpath_with_lxml.robot +59 -0
- data/vendor/robot/atest/robot/tags/critical_tags.robot +58 -0
- data/vendor/robot/atest/robot/tags/critical_tags_with_rebot.robot +64 -0
- data/vendor/robot/atest/robot/tags/default_and_force_tags.robot +13 -0
- data/vendor/robot/atest/robot/tags/default_tags.robot +13 -0
- data/vendor/robot/atest/robot/tags/force_tags.robot +13 -0
- data/vendor/robot/atest/robot/tags/include_and_exclude.robot +122 -0
- data/vendor/robot/atest/robot/tags/include_and_exclude_with_rebot.robot +171 -0
- data/vendor/robot/atest/robot/tags/no_force_nor_default_tags.robot +13 -0
- data/vendor/robot/atest/robot/tags/set_tag.robot +33 -0
- data/vendor/robot/atest/robot/tags/set_tag_with_rebot.robot +38 -0
- data/vendor/robot/atest/robot/tags/tag_doc.robot +40 -0
- data/vendor/robot/atest/robot/tags/tag_doc_with_rebot.robot +43 -0
- data/vendor/robot/atest/robot/tags/tag_stat_include_and_exclude.robot +73 -0
- data/vendor/robot/atest/robot/tags/tag_stat_include_and_exclude_with_rebot.robot +77 -0
- data/vendor/robot/atest/robot/tags/tag_stat_link.robot +42 -0
- data/vendor/robot/atest/robot/tags/tag_stat_link_with_rebot.robot +44 -0
- data/vendor/robot/atest/robot/tags/tags_are_not_normalized.robot +37 -0
- data/vendor/robot/atest/robot/test_libraries/as_listener.robot +87 -0
- data/vendor/robot/atest/robot/test_libraries/as_listener_in_java.robot +26 -0
- data/vendor/robot/atest/robot/test_libraries/as_listener_with_empty_library.robot +13 -0
- data/vendor/robot/atest/robot/test_libraries/as_listener_with_import_library.robot +10 -0
- data/vendor/robot/atest/robot/test_libraries/as_listener_with_log_level.robot +15 -0
- data/vendor/robot/atest/robot/test_libraries/as_listenerv3.robot +41 -0
- data/vendor/robot/atest/robot/test_libraries/avoid_properties_when_creating_libraries.robot +18 -0
- data/vendor/robot/atest/robot/test_libraries/deprecated_keywords.robot +45 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_kwargs_support_java.robot +26 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_kwargs_support_python.robot +44 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_libraries_with_invalid_argspec.robot +48 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_library_args_and_docs.robot +92 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_library_java.robot +19 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_library_python.robot +60 -0
- data/vendor/robot/atest/robot/test_libraries/dynamic_library_tags.robot +25 -0
- data/vendor/robot/atest/robot/test_libraries/error_msg_and_details.robot +130 -0
- data/vendor/robot/atest/robot/test_libraries/hybrid_library.robot +49 -0
- data/vendor/robot/atest/robot/test_libraries/import_and_init_logging.robot +57 -0
- data/vendor/robot/atest/robot/test_libraries/internal_modules_not_importable.robot +28 -0
- data/vendor/robot/atest/robot/test_libraries/invalid_java_libraries.robot +42 -0
- data/vendor/robot/atest/robot/test_libraries/java_libraries.robot +89 -0
- data/vendor/robot/atest/robot/test_libraries/java_library_imports_with_args.robot +48 -0
- data/vendor/robot/atest/robot/test_libraries/libraries_extending_existing_classes.robot +45 -0
- data/vendor/robot/atest/robot/test_libraries/library_import_by_path.robot +60 -0
- data/vendor/robot/atest/robot/test_libraries/library_import_failing.robot +58 -0
- data/vendor/robot/atest/robot/test_libraries/library_import_from_archive.robot +19 -0
- data/vendor/robot/atest/robot/test_libraries/library_imports.robot +70 -0
- data/vendor/robot/atest/robot/test_libraries/library_imports_with_args.robot +49 -0
- data/vendor/robot/atest/robot/test_libraries/library_scope.robot +18 -0
- data/vendor/robot/atest/robot/test_libraries/library_version.robot +21 -0
- data/vendor/robot/atest/robot/test_libraries/logging_api.robot +58 -0
- data/vendor/robot/atest/robot/test_libraries/logging_with_logging.robot +66 -0
- data/vendor/robot/atest/robot/test_libraries/module_library.robot +76 -0
- data/vendor/robot/atest/robot/test_libraries/named_args_in_imports.robot +20 -0
- data/vendor/robot/atest/robot/test_libraries/new_style_classes.robot +18 -0
- data/vendor/robot/atest/robot/test_libraries/non_main_threads_logging.robot +16 -0
- data/vendor/robot/atest/robot/test_libraries/package_library.robot +58 -0
- data/vendor/robot/atest/robot/test_libraries/print_logging.robot +77 -0
- data/vendor/robot/atest/robot/test_libraries/print_logging_java.robot +45 -0
- data/vendor/robot/atest/robot/test_libraries/resource_for_importing_libs_with_args.robot +15 -0
- data/vendor/robot/atest/robot/test_libraries/timestamps_for_stdout_messages.robot +33 -0
- data/vendor/robot/atest/robot/test_libraries/with_name.robot +159 -0
- data/vendor/robot/atest/robot/testdoc/testdoc.robot +92 -0
- data/vendor/robot/atest/robot/tidy/TidyLib.py +86 -0
- data/vendor/robot/atest/robot/tidy/empty_tables.robot +12 -0
- data/vendor/robot/atest/robot/tidy/format_documentation.robot +21 -0
- data/vendor/robot/atest/robot/tidy/inplace.robot +24 -0
- data/vendor/robot/atest/robot/tidy/line_separator.robot +33 -0
- data/vendor/robot/atest/robot/tidy/tidy.robot +71 -0
- data/vendor/robot/atest/robot/tidy/tidy_resource.robot +31 -0
- data/vendor/robot/atest/robot/variables/automatic_variables.robot +69 -0
- data/vendor/robot/atest/robot/variables/builtin_variables.robot +67 -0
- data/vendor/robot/atest/robot/variables/catenate_scalars_in_variable_table.robot +59 -0
- data/vendor/robot/atest/robot/variables/commandline_variable_files.robot +64 -0
- data/vendor/robot/atest/robot/variables/commandline_variables.robot +27 -0
- data/vendor/robot/atest/robot/variables/dict_variable_in_variable_table.robot +65 -0
- data/vendor/robot/atest/robot/variables/dict_variable_items.robot +34 -0
- data/vendor/robot/atest/robot/variables/environment_variables.robot +58 -0
- data/vendor/robot/atest/robot/variables/extended_assign.robot +38 -0
- data/vendor/robot/atest/robot/variables/extended_variables.robot +76 -0
- data/vendor/robot/atest/robot/variables/getting_vars_from_dynamic_var_file.robot +23 -0
- data/vendor/robot/atest/robot/variables/keyword_status_and_message.robot +40 -0
- data/vendor/robot/atest/robot/variables/list_and_dict_from_variable_file.robot +64 -0
- data/vendor/robot/atest/robot/variables/list_as_scalar.robot +19 -0
- data/vendor/robot/atest/robot/variables/list_variable_items.robot +32 -0
- data/vendor/robot/atest/robot/variables/non_string_variables.robot +18 -0
- data/vendor/robot/atest/robot/variables/outputfile_variables.robot +26 -0
- data/vendor/robot/atest/robot/variables/recursive_definition.robot +67 -0
- data/vendor/robot/atest/robot/variables/reserved_syntax.robot +22 -0
- data/vendor/robot/atest/robot/variables/return_values.robot +213 -0
- data/vendor/robot/atest/robot/variables/return_values_java.robot +71 -0
- data/vendor/robot/atest/robot/variables/same_variable_file_names.robot +16 -0
- data/vendor/robot/atest/robot/variables/scalar_as_list.robot +25 -0
- data/vendor/robot/atest/robot/variables/shared_scope.robot +13 -0
- data/vendor/robot/atest/robot/variables/suite_source.robot +16 -0
- data/vendor/robot/atest/robot/variables/using_dict_variables.robot +62 -0
- data/vendor/robot/atest/robot/variables/variable_file_implemented_as_class.robot +37 -0
- data/vendor/robot/atest/robot/variables/variable_priorities.robot +36 -0
- data/vendor/robot/atest/robot/variables/variable_recommendations.robot +82 -0
- data/vendor/robot/atest/robot/variables/variable_scopes.robot +17 -0
- data/vendor/robot/atest/robot/variables/variable_table.robot +94 -0
- data/vendor/robot/atest/robot/variables/variable_table_in_resource_file.robot +88 -0
- data/vendor/robot/atest/robot/variables/variables_from_resource_files.robot +61 -0
- data/vendor/robot/atest/robot/variables/variables_from_variable_files.robot +52 -0
- data/vendor/robot/atest/robot/variables/variables_in_import_settings.robot +14 -0
- data/vendor/robot/atest/robot/variables/variables_inside_variables.robot +26 -0
- data/vendor/robot/atest/robot/variables/yaml_variable_file.robot +62 -0
- data/vendor/robot/atest/run.py +135 -0
- data/vendor/robot/atest/testdata/cli/console/markers.robot +64 -0
- data/vendor/robot/atest/testdata/cli/dryrun/EmbeddedArgs.py +7 -0
- data/vendor/robot/atest/testdata/cli/dryrun/Library.py +22 -0
- data/vendor/robot/atest/testdata/cli/dryrun/args.robot +50 -0
- data/vendor/robot/atest/testdata/cli/dryrun/dryrun.robot +172 -0
- data/vendor/robot/atest/testdata/cli/dryrun/executed_builtin_keywords.robot +20 -0
- data/vendor/robot/atest/testdata/cli/dryrun/kwargs.robot +27 -0
- data/vendor/robot/atest/testdata/cli/dryrun/more_tests.robot +9 -0
- data/vendor/robot/atest/testdata/cli/dryrun/resource.robot +17 -0
- data/vendor/robot/atest/testdata/cli/dryrun/run_keyword_variants.robot +226 -0
- data/vendor/robot/atest/testdata/cli/dryrun/run_keyword_variants_in_suite_teardown.robot +24 -0
- data/vendor/robot/atest/testdata/cli/dryrun/vars.py +1 -0
- data/vendor/robot/atest/testdata/cli/error/import_error.robot +8 -0
- data/vendor/robot/atest/testdata/cli/error/parsing_error.robot +8 -0
- data/vendor/robot/atest/testdata/cli/error/resource_error.robot +8 -0
- data/vendor/robot/atest/testdata/cli/error/resource_with_error.robot +6 -0
- data/vendor/robot/atest/testdata/cli/error/runtime_error.robot +14 -0
- data/vendor/robot/atest/testdata/cli/remove_keywords/all_combinations.robot +147 -0
- data/vendor/robot/atest/testdata/cli/remove_keywords/wait_until_keyword_succeeds.robot +39 -0
- data/vendor/robot/atest/testdata/cli/runfailed/onlypassing/passing.robot +3 -0
- data/vendor/robot/atest/testdata/cli/runfailed/runfailed1.robot +11 -0
- data/vendor/robot/atest/testdata/cli/runfailed/runfailed2.robot +8 -0
- data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_failed.robot +7 -0
- data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_failed_with_excluded_tag.robot +8 -0
- data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_succeed.robot +4 -0
- data/vendor/robot/atest/testdata/cli/runfailed/suite/suite_teardown_failing.robot +7 -0
- data/vendor/robot/atest/testdata/core/binary_data.robot +20 -0
- data/vendor/robot/atest/testdata/core/empty_testcase_and_uk.robot +68 -0
- data/vendor/robot/atest/testdata/core/erroring_suite_setup.robot +19 -0
- data/vendor/robot/atest/testdata/core/erroring_suite_teardown.robot +22 -0
- data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/__init__.robot +2 -0
- data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/suite1.robot +14 -0
- data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/suite2.robot +5 -0
- data/vendor/robot/atest/testdata/core/failing_suite_setup.robot +12 -0
- data/vendor/robot/atest/testdata/core/failing_suite_setup_and_teardown.robot +24 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown.robot +29 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_2.robot +41 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/__init__.robot +2 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown.robot +23 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/__init__.robot +2 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/ftd_failing_teardown.robot +29 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/ftd_passing_teardown.robot +20 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown.robot +14 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown_dir/ptd_failing_teardown.robot +23 -0
- data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown_dir/ptd_passing_teardown.robot +14 -0
- data/vendor/robot/atest/testdata/core/keyword_teardown.robot +109 -0
- data/vendor/robot/atest/testdata/core/long_suite_setup_and_teardown_errors.robot +21 -0
- data/vendor/robot/atest/testdata/core/overriding_default_settings_with_none.robot +60 -0
- data/vendor/robot/atest/testdata/core/passing_suite_setup.robot +6 -0
- data/vendor/robot/atest/testdata/core/passing_suite_setup_and_teardown.robot +26 -0
- data/vendor/robot/atest/testdata/core/passing_suite_teardown.robot +11 -0
- data/vendor/robot/atest/testdata/core/resource_and_variable_imports.robot +130 -0
- data/vendor/robot/atest/testdata/core/resources.robot +8 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/dynamicVariables.py +6 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/dynamic_variables.py +20 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/empty_resource.robot +1 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/invalid_list_variable.py +2 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/invalid_variable_file.py +1 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/resource_with_testcase_table.robot +4 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/resources.robot +17 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/resources2.robot +7 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/resources_imported_by_resource.robot +7 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/variables.py +6 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/variables2.py +1 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/variables_imported_by_resource.py +1 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/vars_from_cli.py +5 -0
- data/vendor/robot/atest/testdata/core/resources_and_variables/vars_from_cli2.py +11 -0
- data/vendor/robot/atest/testdata/core/same_test_multiple_times_in_suite.robot +27 -0
- data/vendor/robot/atest/testdata/core/test_case_status.robot +81 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/_ignore_this_dir/ignore_this_file.robot +3 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/_ignore_this_file.robot +3 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/no_extension +2 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/no_tests_dir_1/some.txt +1 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/no_tests_file_1.robot +7 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/no_tests_dir_2/no_tests_file_3.robot +7 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/no_tests_file_2.robot +7 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/test_dir_2/test_dir_3/test_file_3.robot +3 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/test_file_2.robot +3 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir/test_file_1.robot +3 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/__init__.robot +31 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/__INIT__.robot +23 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/test_cases_1.robot +26 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/test_cases_2.robot +16 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_without_init_file/test_cases_1.robot +26 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_without_init_file/test_cases_2.robot +16 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/test_cases_1.robot +26 -0
- data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/test_cases_2.robot +16 -0
- data/vendor/robot/atest/testdata/core/timeouts.robot +329 -0
- data/vendor/robot/atest/testdata/core/timeouts_with_custom_messages.robot +61 -0
- data/vendor/robot/atest/testdata/core/unicode_failure_in_suite_setup_and_teardown.robot +13 -0
- data/vendor/robot/atest/testdata/core/unicode_with_java_libs.robot +14 -0
- data/vendor/robot/atest/testdata/core/variables.py +3 -0
- data/vendor/robot/atest/testdata/keywords/DupeDynamicKeywords.py +10 -0
- data/vendor/robot/atest/testdata/keywords/DupeHybridKeywords.py +12 -0
- data/vendor/robot/atest/testdata/keywords/DupeKeywords.py +26 -0
- data/vendor/robot/atest/testdata/keywords/DynamicLibraryWithKeywordTags.py +10 -0
- data/vendor/robot/atest/testdata/keywords/LibraryWithKeywordTags.py +32 -0
- data/vendor/robot/atest/testdata/keywords/TraceLogArgsLibrary.py +42 -0
- data/vendor/robot/atest/testdata/keywords/dots_in_keyword_name.robot +85 -0
- data/vendor/robot/atest/testdata/keywords/dupe_keywords.robot +12 -0
- data/vendor/robot/atest/testdata/keywords/duplicate_dynamic_keywords.robot +20 -0
- data/vendor/robot/atest/testdata/keywords/duplicate_hybrid_keywords.robot +20 -0
- data/vendor/robot/atest/testdata/keywords/duplicate_static_keywords.robot +28 -0
- data/vendor/robot/atest/testdata/keywords/duplicate_user_keywords.robot +61 -0
- data/vendor/robot/atest/testdata/keywords/embedded_arguments.robot +274 -0
- data/vendor/robot/atest/testdata/keywords/embedded_arguments_library_keywords.robot +152 -0
- data/vendor/robot/atest/testdata/keywords/embedded_arguments_match_all.robot +14 -0
- data/vendor/robot/atest/testdata/keywords/java_argument_type_coercion.robot +41 -0
- data/vendor/robot/atest/testdata/keywords/java_arguments.robot +276 -0
- data/vendor/robot/atest/testdata/keywords/keyword_names.robot +127 -0
- data/vendor/robot/atest/testdata/keywords/keyword_namespaces.robot +106 -0
- data/vendor/robot/atest/testdata/keywords/keyword_not_found.robot +38 -0
- data/vendor/robot/atest/testdata/keywords/keyword_recommendations.robot +315 -0
- data/vendor/robot/atest/testdata/keywords/keyword_tags.robot +67 -0
- data/vendor/robot/atest/testdata/keywords/library/__init__.py +0 -0
- data/vendor/robot/atest/testdata/keywords/library/with/__init__.py +0 -0
- data/vendor/robot/atest/testdata/keywords/library/with/dots/__init__.py +8 -0
- data/vendor/robot/atest/testdata/keywords/library/with/dots/in/__init__.py +0 -0
- data/vendor/robot/atest/testdata/keywords/library/with/dots/in/name/__init__.py +12 -0
- data/vendor/robot/atest/testdata/keywords/library_with_keywords_with_dots_in_name.py +9 -0
- data/vendor/robot/atest/testdata/keywords/named_args/DynamicLibrary.py +40 -0
- data/vendor/robot/atest/testdata/keywords/named_args/DynamicLibraryWithKwargsSupport.py +15 -0
- data/vendor/robot/atest/testdata/keywords/named_args/KwargsLibrary.py +16 -0
- data/vendor/robot/atest/testdata/keywords/named_args/helper.py +21 -0
- data/vendor/robot/atest/testdata/keywords/named_args/python_library.py +19 -0
- data/vendor/robot/atest/testdata/keywords/named_args/variables_in_names.robot +63 -0
- data/vendor/robot/atest/testdata/keywords/named_args/with_dynamic_keywords.robot +131 -0
- data/vendor/robot/atest/testdata/keywords/named_args/with_dynamic_kwargs_support.robot +94 -0
- data/vendor/robot/atest/testdata/keywords/named_args/with_python_keywords.robot +250 -0
- data/vendor/robot/atest/testdata/keywords/named_args/with_user_keywords.robot +172 -0
- data/vendor/robot/atest/testdata/keywords/optional_given_when_then.robot +71 -0
- data/vendor/robot/atest/testdata/keywords/python_arguments.robot +95 -0
- data/vendor/robot/atest/testdata/keywords/resource.with.dots.in.name.robot +12 -0
- data/vendor/robot/atest/testdata/keywords/resource_with_keywords_with_dots_in_name.robot +9 -0
- data/vendor/robot/atest/testdata/keywords/resources/MyLibrary1.py +78 -0
- data/vendor/robot/atest/testdata/keywords/resources/MyLibrary2.py +34 -0
- data/vendor/robot/atest/testdata/keywords/resources/RecLibrary1.py +82 -0
- data/vendor/robot/atest/testdata/keywords/resources/RecLibrary2.py +21 -0
- data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_lk_1.py +118 -0
- data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_lk_2.py +7 -0
- data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_uk_1.robot +10 -0
- data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_uk_2.robot +4 -0
- data/vendor/robot/atest/testdata/keywords/resources/my_resource_1.robot +42 -0
- data/vendor/robot/atest/testdata/keywords/resources/my_resource_2.robot +15 -0
- data/vendor/robot/atest/testdata/keywords/resources/optional_given_when_then.robot +10 -0
- data/vendor/robot/atest/testdata/keywords/resources/recommendation_resource_1.robot +18 -0
- data/vendor/robot/atest/testdata/keywords/resources/recommendation_resource_2.robot +15 -0
- data/vendor/robot/atest/testdata/keywords/trace_log_keyword_arguments.robot +115 -0
- data/vendor/robot/atest/testdata/keywords/trace_log_return_value.robot +36 -0
- data/vendor/robot/atest/testdata/keywords/user_keyword_arguments.robot +306 -0
- data/vendor/robot/atest/testdata/keywords/user_keyword_kwargs.robot +186 -0
- data/vendor/robot/atest/testdata/keywords/user_keyword_return_values.robot +84 -0
- data/vendor/robot/atest/testdata/libdoc/DocFormat.py +39 -0
- data/vendor/robot/atest/testdata/libdoc/DocFormatHtml.java +20 -0
- data/vendor/robot/atest/testdata/libdoc/DocFormatHtml.py +8 -0
- data/vendor/robot/atest/testdata/libdoc/DocFormatInvalid.py +8 -0
- data/vendor/robot/atest/testdata/libdoc/DocSetInInit.py +4 -0
- data/vendor/robot/atest/testdata/libdoc/DynamicLibrary.py +48 -0
- data/vendor/robot/atest/testdata/libdoc/DynamicLibraryWithoutGetKwArgsAndDoc.py +13 -0
- data/vendor/robot/atest/testdata/libdoc/Example.java +113 -0
- data/vendor/robot/atest/testdata/libdoc/ExampleSpec.xml +56 -0
- data/vendor/robot/atest/testdata/libdoc/InternalLinking.py +68 -0
- data/vendor/robot/atest/testdata/libdoc/InvalidKeywords.py +23 -0
- data/vendor/robot/atest/testdata/libdoc/NewStyleNoInit.py +5 -0
- data/vendor/robot/atest/testdata/libdoc/NoArgConstructor.java +17 -0
- data/vendor/robot/atest/testdata/libdoc/NoConstructor.java +5 -0
- data/vendor/robot/atest/testdata/libdoc/invalid_user_keywords.robot +13 -0
- data/vendor/robot/atest/testdata/libdoc/module.py +54 -0
- data/vendor/robot/atest/testdata/libdoc/no_arg_init.py +8 -0
- data/vendor/robot/atest/testdata/libdoc/resource.robot +62 -0
- data/vendor/robot/atest/testdata/misc/dummy_lib_test.robot +6 -0
- data/vendor/robot/atest/testdata/misc/for_loops.robot +12 -0
- data/vendor/robot/atest/testdata/misc/formatting_and_escaping.robot +26 -0
- data/vendor/robot/atest/testdata/misc/many_tests.robot +24 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/01__suite_first.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/02__sub.suite.1/first__suite4.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/02__sub.suite.1/second__.Sui.te.2..robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/03__suite3.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/04__suite4.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/05__suite5.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/10__suite10.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/SUite7.robot +39 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/suiTe_8.robot +36 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/suite 6.robot +39 -0
- data/vendor/robot/atest/testdata/misc/multiple_suites/suite_9_name.robot +36 -0
- data/vendor/robot/atest/testdata/misc/normal.robot +24 -0
- data/vendor/robot/atest/testdata/misc/pass_and_fail.robot +28 -0
- data/vendor/robot/atest/testdata/misc/setups_and_teardowns.robot +61 -0
- data/vendor/robot/atest/testdata/misc/suites/__init__.robot +7 -0
- data/vendor/robot/atest/testdata/misc/suites/fourth.robot +15 -0
- data/vendor/robot/atest/testdata/misc/suites/subsuites/sub1.robot +20 -0
- data/vendor/robot/atest/testdata/misc/suites/subsuites/sub2.robot +14 -0
- data/vendor/robot/atest/testdata/misc/suites/subsuites2/sub.suite.4.robot +3 -0
- data/vendor/robot/atest/testdata/misc/suites/subsuites2/subsuite3.robot +15 -0
- data/vendor/robot/atest/testdata/misc/suites/tsuite1.robot +18 -0
- data/vendor/robot/atest/testdata/misc/suites/tsuite2.robot +11 -0
- data/vendor/robot/atest/testdata/misc/suites/tsuite3.robot +12 -0
- data/vendor/robot/atest/testdata/misc/timeouts.robot +26 -0
- data/vendor/robot/atest/testdata/misc/unicode.robot +38 -0
- data/vendor/robot/atest/testdata/misc/warnings_and_errors.robot +29 -0
- data/vendor/robot/atest/testdata/output/flatten_keywords.robot +45 -0
- data/vendor/robot/atest/testdata/output/js_model.robot +22 -0
- data/vendor/robot/atest/testdata/output/listeners/LibraryWithFailingListener.py +4 -0
- data/vendor/robot/atest/testdata/output/listeners/RunKeywordWithNonStringArguments.py +5 -0
- data/vendor/robot/atest/testdata/output/listeners/failing_library_listener.robot +10 -0
- data/vendor/robot/atest/testdata/output/listeners/failing_listener.py +19 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/another_resource.robot +3 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/dynamically_imported_resource.robot +3 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/imports.robot +29 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/local_lib.py +7 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/resource_with_imports.robot +7 -0
- data/vendor/robot/atest/testdata/output/listeners/imports/vars.py +2 -0
- data/vendor/robot/atest/testdata/output/listeners/keyword_argument_types.robot +16 -0
- data/vendor/robot/atest/testdata/output/listeners/logging_listener.py +23 -0
- data/vendor/robot/atest/testdata/output/listeners/test_template.robot +22 -0
- data/vendor/robot/atest/testdata/output/listeners/v3.py +103 -0
- data/vendor/robot/atest/testdata/output/listeners/verify_template_listener.py +12 -0
- data/vendor/robot/atest/testdata/output/names_needing_escaping.robot +46 -0
- data/vendor/robot/atest/testdata/parsing/bom.robot +9 -0
- data/vendor/robot/atest/testdata/parsing/bom.tsv +10 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/empty.html +0 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/invalid.html +1 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/malformed.html +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/not_a_picture.jpg +1 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/sample.html +787 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/__init__.html +303 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/sub_suite1.html +291 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/sub_suite2.html +397 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/HTML.html +309 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/REST.rest +71 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/TSV.tsv +30 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/TXT.txt +30 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/html_resource.html +226 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/html_resource2.html +213 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/rest_resource.rst +23 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/rest_resource2.rest +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/robot_resource.robot +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/robot_resource2.robot +6 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/tsv_resource.tsv +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/tsv_resource2.tsv +6 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/txt_resource.txt +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/txt_resource2.txt +6 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/resources/variables.py +4 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/empty.rest +0 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/include.rst +9 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/invalid.rest +5 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/sample.rst +240 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/__init__.rest +24 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/sub_suite1.rst +5 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/sub_suite2.rst +16 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest_directives/include.rst +9 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/rest_directives/sample.rst +150 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/empty.robot +0 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/invalid.robot +5 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/sample.robot +116 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/__init__.robot +9 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/sub_suite1.robot +23 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/sub_suite2.robot +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/empty.tsv +0 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/invalid.tsv +5 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/sample.tsv +113 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/__init__.tsv +9 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/sub_suite1.tsv +23 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/sub_suite2.tsv +10 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/empty.txt +0 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/invalid.txt +5 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/sample.txt +117 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/__init__.txt +9 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/sub_suite1.txt +23 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/sub_suite2.txt +11 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/escaping.txt +12 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/pipes.txt +73 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/spaces.txt +31 -0
- data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/txt_with_tabs.txt +10 -0
- data/vendor/robot/atest/testdata/parsing/deprecated_settings.robot +22 -0
- data/vendor/robot/atest/testdata/parsing/empty_testcase_table.robot +1 -0
- data/vendor/robot/atest/testdata/parsing/escaping.robot +185 -0
- data/vendor/robot/atest/testdata/parsing/escaping_variables.py +15 -0
- data/vendor/robot/atest/testdata/parsing/failing_init/__init__.robot +6 -0
- data/vendor/robot/atest/testdata/parsing/failing_init/failing_init.robot +3 -0
- data/vendor/robot/atest/testdata/parsing/html_entityrefs.html +223 -0
- data/vendor/robot/atest/testdata/parsing/html_entityrefs_variables.py +3 -0
- data/vendor/robot/atest/testdata/parsing/invalid_table_names.html +47 -0
- data/vendor/robot/atest/testdata/parsing/invalid_table_names.robot +21 -0
- data/vendor/robot/atest/testdata/parsing/invalid_tables_resource.html +40 -0
- data/vendor/robot/atest/testdata/parsing/invalid_tables_resource.robot +15 -0
- data/vendor/robot/atest/testdata/parsing/library_caching/file1.robot +11 -0
- data/vendor/robot/atest/testdata/parsing/library_caching/file2.robot +11 -0
- data/vendor/robot/atest/testdata/parsing/library_caching/resource.robot +6 -0
- data/vendor/robot/atest/testdata/parsing/multirow.robot +208 -0
- data/vendor/robot/atest/testdata/parsing/nbsp.html +22 -0
- data/vendor/robot/atest/testdata/parsing/nbsp.robot +6 -0
- data/vendor/robot/atest/testdata/parsing/nbsp.tsv +3 -0
- data/vendor/robot/atest/testdata/parsing/non_ascii_paths/Ty-ouml/sect-test-sect.robot +3 -0
- data/vendor/robot/atest/testdata/parsing/non_ascii_paths/Ty-ouml/tyhj-auml.robot +0 -0
- data/vendor/robot/atest/testdata/parsing/non_ascii_paths/test-auml-ouml.robot +3 -0
- data/vendor/robot/atest/testdata/parsing/notests/empty.tsv +0 -0
- data/vendor/robot/atest/testdata/parsing/notests/no_tests.txt +1 -0
- data/vendor/robot/atest/testdata/parsing/notests/subdir/content +1 -0
- data/vendor/robot/atest/testdata/parsing/resource_parsing/01_tests.robot +7 -0
- data/vendor/robot/atest/testdata/parsing/resource_parsing/02_resource.robot +6 -0
- data/vendor/robot/atest/testdata/parsing/resource_parsing/03_resource.robot +11 -0
- data/vendor/robot/atest/testdata/parsing/resource_parsing/04_tests.robot +12 -0
- data/vendor/robot/atest/testdata/parsing/same_setting_multiple_times.robot +67 -0
- data/vendor/robot/atest/testdata/parsing/suite_metadata.robot +20 -0
- data/vendor/robot/atest/testdata/parsing/suite_settings.robot +28 -0
- data/vendor/robot/atest/testdata/parsing/table_names.robot +41 -0
- data/vendor/robot/atest/testdata/parsing/test_case_settings.robot +167 -0
- data/vendor/robot/atest/testdata/parsing/unsupported.log +1 -0
- data/vendor/robot/atest/testdata/parsing/user_keyword_settings.robot +183 -0
- data/vendor/robot/atest/testdata/parsing/utf8_data.html +342 -0
- data/vendor/robot/atest/testdata/parsing/utf8_data.robot +38 -0
- data/vendor/robot/atest/testdata/parsing/utf8_data.tsv +40 -0
- data/vendor/robot/atest/testdata/parsing/utf8_data_in_html5.html +341 -0
- data/vendor/robot/atest/testdata/rebot/created_normal.xml +23 -0
- data/vendor/robot/atest/testdata/rebot/times.xml +77 -0
- data/vendor/robot/atest/testdata/running/NonAsciiByteLibrary.py +11 -0
- data/vendor/robot/atest/testdata/running/binary_list.py +2 -0
- data/vendor/robot/atest/testdata/running/continue_for_loop.robot +146 -0
- data/vendor/robot/atest/testdata/running/continue_on_failure.robot +221 -0
- data/vendor/robot/atest/testdata/running/continue_on_failure_in_suite_setup.robot +14 -0
- data/vendor/robot/atest/testdata/running/dynamic_teardown.robot +8 -0
- data/vendor/robot/atest/testdata/running/empty_setup_and_teardown_are_ignored.robot +15 -0
- data/vendor/robot/atest/testdata/running/exit_for_loop.robot +128 -0
- data/vendor/robot/atest/testdata/running/expbytevalues.py +41 -0
- data/vendor/robot/atest/testdata/running/failures_in_teardown.robot +158 -0
- data/vendor/robot/atest/testdata/running/fatal_error_in_suite_teardown.robot +12 -0
- data/vendor/robot/atest/testdata/running/fatal_exception/01__python_library_kw.robot +14 -0
- data/vendor/robot/atest/testdata/running/fatal_exception/02__irrelevant.robot +16 -0
- data/vendor/robot/atest/testdata/running/fatal_exception/03__java_library_kw.robot +12 -0
- data/vendor/robot/atest/testdata/running/fatal_exception_suite_setup/01__suite_setup.robot +9 -0
- data/vendor/robot/atest/testdata/running/fatal_exception_suite_setup/02__irrelevant.robot +14 -0
- data/vendor/robot/atest/testdata/running/for.robot +552 -0
- data/vendor/robot/atest/testdata/running/html_error_message.robot +67 -0
- data/vendor/robot/atest/testdata/running/long_error_messages.robot +64 -0
- data/vendor/robot/atest/testdata/running/non_ascii_bytes.robot +30 -0
- data/vendor/robot/atest/testdata/running/none_setup_and_teardown_are_ignored.robot +15 -0
- data/vendor/robot/atest/testdata/running/pass_execution.robot +253 -0
- data/vendor/robot/atest/testdata/running/pass_execution_in_suite_setup_and_teardown.robot +15 -0
- data/vendor/robot/atest/testdata/running/pass_execution_in_suite_teardown_invalid.robot +12 -0
- data/vendor/robot/atest/testdata/running/pass_execution_library.py +10 -0
- data/vendor/robot/atest/testdata/running/prevent_recursion.robot +66 -0
- data/vendor/robot/atest/testdata/running/return_from_keyword.robot +173 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/Library.py +15 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/keyword_timeout.robot +21 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/run_keyword.robot +15 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/swallow_exception.robot +15 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/test_timeout.robot +16 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/with_teardown.robot +21 -0
- data/vendor/robot/atest/testdata/running/stopping_with_signal/without_any_timeout.robot +15 -0
- data/vendor/robot/atest/testdata/running/test_template.robot +305 -0
- data/vendor/robot/atest/testdata/running/test_template_with_embeded_args.robot +47 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/DynamicRegisteredLibrary.py +14 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/FailUntilSucceeds.py +14 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/NotRegisteringLibrary.py +5 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/RegisteredClass.py +12 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/RegisteringLibrary.py +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/UseBuiltIn.py +17 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/call_method.robot +60 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/convert_to_bytes.robot +170 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/converter.robot +220 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/count.robot +74 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/create_dictionary.robot +120 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/documentation/__init__.robot +4 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/documentation/set_documentation.robot +39 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/evaluate.robot +147 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/exit_on_failure.robot +20 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/fail.robot +40 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/fatal_error.robot +21 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/get_library_instance.robot +111 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/get_time.robot +73 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/get_user_dict.py +8 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/get_variable_value.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/get_variables.robot +92 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_library.robot +55 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource.robot +89 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_1.robot +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_2.robot +12 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_3.robot +10 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_resource.robot +14 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_vars.py +2 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/import_variables.robot +95 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist.robot +83 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist_resource_1.robot +6 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist_resource_2.robot +3 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/length.robot +114 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/length_variables.py +44 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/log.robot +115 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/log_variables.robot +37 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/misc.robot +46 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/numbers_to_convert.py +33 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/objects_for_call_method.py +32 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/Reloadable.py +34 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/StaticLibrary.py +11 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/module_library.py +6 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/reload_library.robot +66 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/reload_with_name.robot +24 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/repeat_keyword.robot +97 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/replace_variables.robot +56 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/resource_for_get_variables.robot +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword.robot +95 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_continue_on_failure.robot +92 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_return.robot +176 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_return_status.robot +9 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_all_critical_tests_passed_when_critical_fails.robot +8 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_all_critical_tests_passed_when_criticals_pass.robot +21 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_all_tests_passed_when_all_pass.robot +18 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_all_tests_passed_when_test_fails.robot +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_any_critical_tests_failed_when_critical_fails.robot +14 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_any_critical_tests_failed_when_criticals_pass.robot +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_any_tests_failed_when_all_pass.robot +6 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_keyword_if_any_tests_failed_when_test_fails.robot +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_kw_variants_used_outside_suite_teardown.robot +16 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_failed_in_suite_fixtures.robot +12 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.robot +138 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_in_suite_fixtures.robot +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_timeout_occurred.robot +86 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_unless.robot +183 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_registering.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_variable_handling.robot +56 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_with_escaping_control_arguments.robot +55 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_with_errors.robot +236 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keywords.robot +123 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keywords_with_arguments.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/TestLibrary.py +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/setting_library_order.robot +71 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/setting_library_order_does_not_affect_next_suite.robot +11 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_log_level.robot +41 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/resource1.robot +3 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/resource2.robot +3 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/setting_resource_order.robot +68 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/setting_resource_order_does_not_affect_next_suite.robot +11 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_suite_metadata.robot +49 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_test_message.robot +102 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_test_message_in_suite_level.robot +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/set_variable_if.robot +148 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/__init__.robot +31 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/variables.robot +611 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/variables2.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_equal.robot +101 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_equal_as_xxx.robot +107 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_true.robot +48 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_contain.robot +62 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_contain_any.robot +100 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_match.robot +72 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/should_xxx_with.robot +66 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/sleep.robot +29 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/__init__.robot +8 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/sub1.robot +95 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/sub2.robot +37 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/template.txt +2 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/times.py +8 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/used_in_custom_libs_and_listeners.robot +17 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/variable.py +9 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/variable_should_exist.robot +142 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_import_1.py +2 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_import_2.py +4 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_verify.py +62 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/vars_for_get_variables.py +1 -0
- data/vendor/robot/atest/testdata/standard_libraries/builtin/wait_until_keyword_succeeds.robot +131 -0
- data/vendor/robot/atest/testdata/standard_libraries/collections/CollectionsHelperLibrary.py +9 -0
- data/vendor/robot/atest/testdata/standard_libraries/collections/collections_resources.robot +8 -0
- data/vendor/robot/atest/testdata/standard_libraries/collections/dictionary.robot +250 -0
- data/vendor/robot/atest/testdata/standard_libraries/collections/list.robot +598 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/add_time_to_date.robot +27 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_date_input_format.robot +74 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_date_result_format.robot +101 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_time_input_format.robot +80 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_time_result_format.robot +72 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/date_ranges.robot +48 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/datesandtimes.py +28 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/get_current_date.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/subtract_date_from_date.robot +30 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/subtract_time_from_date.robot +25 -0
- data/vendor/robot/atest/testdata/standard_libraries/datetime/time_calculations.robot +27 -0
- data/vendor/robot/atest/testdata/standard_libraries/dialogs/dialogs.robot +76 -0
- data/vendor/robot/atest/testdata/standard_libraries/easter.robot +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/create_and_remove_dir.robot +66 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/create_file.robot +95 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/env_vars.robot +134 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/file_and_dir_empty_or_not.robot +101 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/file_and_dir_existence.robot +178 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/HelperLib.py +7 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/ascii.txt +1 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/latin-1.txt +1 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/latin-1_multiple_rows.txt +5 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/prog.py +14 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16BE.txt +0 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16BEBOM.txt +0 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16LE.txt +0 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16LEBOM.txt +0 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8.txt +1 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8_multiple_rows.txt +5 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8_windows_line_endings.txt +5 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/writable_prog.py +5 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/get_file.robot +185 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/get_file_size.robot +26 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/list_dir.robot +105 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/modified_time.robot +109 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_directory.robot +88 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_file.robot +169 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_files.robot +220 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/os_resource.robot +31 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/path.robot +121 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/path_expansion.robot +28 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/remove_file.robot +63 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/run.robot +91 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/special_names.robot +87 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/touch.robot +42 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/wait_until_library.py +23 -0
- data/vendor/robot/atest/testdata/standard_libraries/operating_system/wait_until_removed_created.robot +112 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/CustomLib.py +4 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/PlatformLib.py +10 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/active_process.robot +48 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/commandline.robot +99 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/env_config.robot +51 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/files/countdown.py +22 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/files/encoding.py +25 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/files/non_terminable.py +31 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/files/script.py +11 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/files/timeout.py +12 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/get_process_result.robot +67 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/is_process_alive.robot +24 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/newlines.robot +20 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/no_active_process.robot +16 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/output_encoding.robot +51 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/passing_arguments.robot +51 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/process_library.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/process_resource.robot +122 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/run_process_with_timeout.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/sending_signal.robot +71 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/stdout_and_stderr.robot +93 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/terminate_process.robot +107 -0
- data/vendor/robot/atest/testdata/standard_libraries/process/wait_for_process.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/Conflict.py +2 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/Helper.py +4 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/argument_coersion.robot +143 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/arguments.py +88 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/arguments.robot +133 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/binary_result.robot +70 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/binaryresult.py +44 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/dict_result.robot +35 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/dictresult.py +19 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/documentation.py +40 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/documentation.robot +20 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/invalid.py +24 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/invalid.robot +27 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/keyword_tags.robot +25 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/keywordtags.py +38 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/remoteserver.py +77 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/simple_server.robot +47 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/simpleserver.py +41 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/special_errors.robot +26 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/specialerrors.py +20 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/timeouts.py +13 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/timeouts.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/remote/variables.py +28 -0
- data/vendor/robot/atest/testdata/standard_libraries/reserved.robot +25 -0
- data/vendor/robot/atest/testdata/standard_libraries/screenshot/screenshot_resource.robot +22 -0
- data/vendor/robot/atest/testdata/standard_libraries/screenshot/set_screenshot_directory.robot +33 -0
- data/vendor/robot/atest/testdata/standard_libraries/screenshot/take_screenshot.robot +49 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/convert_to.robot +31 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/encode_decode.robot +72 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/generate_random_string.robot +49 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/get_matching_lines.robot +115 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/get_regexp_matches.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/remove_from_string.robot +33 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/replace_string.robot +43 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/should_be.robot +79 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/split_string.robot +95 -0
- data/vendor/robot/atest/testdata/standard_libraries/string/string.robot +112 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/README.rst +15 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/configuration.robot +272 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/connections.robot +53 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/login.robot +38 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/read_and_write.robot +173 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/telnet_resource.robot +24 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/telnet_variables.py +10 -0
- data/vendor/robot/atest/testdata/standard_libraries/telnet/terminal_emulation.robot +159 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/add_and_remove_elements.robot +118 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/add_and_remove_elements_with_lxml.robot +120 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/clear_element.robot +27 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/clear_element_with_lxml.robot +28 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/copy_element.robot +35 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/copy_element_with_lxml.robot +36 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_attribute.robot +81 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_attribute_with_lxml.robot +82 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_should_exist.robot +47 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_should_exist_with_lxml.robot +48 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_text.robot +89 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/element_text_with_lxml.robot +90 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_be_equal.robot +91 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_be_equal_with_lxml.robot +92 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_match.robot +87 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_match_with_lxml.robot +88 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/etree_namespaces.robot +97 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/etree_namespaces_with_lxml.robot +54 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/get_elements.robot +71 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/get_elements_with_lxml.robot +72 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces.robot +76 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces.xml +17 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces_with_lxml.robot +60 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/parsing.robot +39 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/parsing_with_lxml.robot +40 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/save_xml.robot +83 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/save_xml_with_lxml.robot +81 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/set_element_information.robot +125 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/set_element_information_with_lxml.robot +126 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/strip_namespaces.robot +63 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/strip_namespaces_with_lxml.robot +63 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/test.xml +24 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/to_string.robot +36 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/to_string_with_lxml.robot +38 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/xml_resource.robot +88 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/xpath.robot +102 -0
- data/vendor/robot/atest/testdata/standard_libraries/xml/xpath_with_lxml.robot +127 -0
- data/vendor/robot/atest/testdata/tags/default_and_force_tags.robot +19 -0
- data/vendor/robot/atest/testdata/tags/default_tags.robot +14 -0
- data/vendor/robot/atest/testdata/tags/force_tags.robot +14 -0
- data/vendor/robot/atest/testdata/tags/include_and_exclude.robot +28 -0
- data/vendor/robot/atest/testdata/tags/no_force_no_default_tags.robot +11 -0
- data/vendor/robot/atest/testdata/tags/tags_are_not_normalized.robot +55 -0
- data/vendor/robot/atest/testdata/test_libraries/AbstractJavaLibrary.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/AbstractJavaLibrary.java +2 -0
- data/vendor/robot/atest/testdata/test_libraries/ConstructorLogging.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/ConstructorLogging.java +12 -0
- data/vendor/robot/atest/testdata/test_libraries/DeprecatedKeywords.py +34 -0
- data/vendor/robot/atest/testdata/test_libraries/DynamicLibraryTags.py +26 -0
- data/vendor/robot/atest/testdata/test_libraries/ImportLogging.py +10 -0
- data/vendor/robot/atest/testdata/test_libraries/ImportRobotModuleTestLibrary.py +24 -0
- data/vendor/robot/atest/testdata/test_libraries/InitImportingAndIniting.py +31 -0
- data/vendor/robot/atest/testdata/test_libraries/InitLogging.py +17 -0
- data/vendor/robot/atest/testdata/test_libraries/InitializationFailJavaLibrary.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/InitializationFailJavaLibrary.java +7 -0
- data/vendor/robot/atest/testdata/test_libraries/InitializationFailLibrary.py +4 -0
- data/vendor/robot/atest/testdata/test_libraries/JavaLibUsingTimestamps.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/JavaLibUsingTimestamps.java +16 -0
- data/vendor/robot/atest/testdata/test_libraries/JavaLibraryWithoutPublicConstructor.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/JavaLibraryWithoutPublicConstructor.java +3 -0
- data/vendor/robot/atest/testdata/test_libraries/LibUsingLoggingApi.py +41 -0
- data/vendor/robot/atest/testdata/test_libraries/LibUsingPyLogging.py +67 -0
- data/vendor/robot/atest/testdata/test_libraries/MyInvalidLibFile.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/MyJavaLib.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/MyJavaLib.java +6 -0
- data/vendor/robot/atest/testdata/test_libraries/MyJavaLib2.class +0 -0
- data/vendor/robot/atest/testdata/test_libraries/MyJavaLib2.java +6 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/ClassLib.py +4 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubModuleLib.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/ClassLib.py +4 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/SubModuleLib.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/__init__.py +4 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage2/__init__.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibDir/__init__.py +9 -0
- data/vendor/robot/atest/testdata/test_libraries/MyLibFile.py +7 -0
- data/vendor/robot/atest/testdata/test_libraries/NamedArgsImportLibrary.py +11 -0
- data/vendor/robot/atest/testdata/test_libraries/PrintLib.py +23 -0
- data/vendor/robot/atest/testdata/test_libraries/PythonLibUsingTimestamps.py +19 -0
- data/vendor/robot/atest/testdata/test_libraries/ThreadLoggingLib.py +23 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/LogLevels.py +15 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/empty_library.robot +6 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/empty_listenerlibrary.py +26 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/global_listenerlibrary.py +5 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/global_scope.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/global_scope_2.robot +55 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/import_library.robot +42 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/listener_library3.robot +9 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/listenerlibrary.py +55 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/listenerlibrary3.py +52 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/log_levels.robot +31 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/module_v1_listenerlibrary.py +12 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/module_v1_listenerlibrary.robot +7 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listenerlibrary.py +24 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listeners.robot +11 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listeners_java.robot +7 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/01__no_listener.robot +3 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/02__yes_listener.robot +141 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/03__no_listener.robot +3 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/__init__.robot +92 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_listenerlibrary.py +5 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope_2.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope_java.robot +25 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/test_scope.robot +29 -0
- data/vendor/robot/atest/testdata/test_libraries/as_listener/test_scope_2.robot +17 -0
- data/vendor/robot/atest/testdata/test_libraries/avoid_properties_when_creating_libraries.robot +16 -0
- data/vendor/robot/atest/testdata/test_libraries/deprecated_keywords.robot +52 -0
- data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/MyLibDir2/__init__.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/MyLibFile2.py +4 -0
- data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/lib1/Lib.py +7 -0
- data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/lib2/Lib.py +5 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_kwargs_support_java.robot +26 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_kwargs_support_python.robot +33 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/DynamicLibraryWithKwargsSupportWithoutArgspec.py +12 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/DynamicLibraryWithoutArgspec.py +19 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/EmbeddedArgs.py +8 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/InvalidArgSpecs.py +20 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/InvalidKeywordNames.py +8 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/NonAsciiKeywordNames.py +17 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries_with_invalid_argspec.robot +36 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_library_args_and_docs.robot +54 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_library_java.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_library_python.robot +72 -0
- data/vendor/robot/atest/testdata/test_libraries/dynamic_library_tags.robot +17 -0
- data/vendor/robot/atest/testdata/test_libraries/error_msg_and_details.robot +89 -0
- data/vendor/robot/atest/testdata/test_libraries/hybrid_library.robot +41 -0
- data/vendor/robot/atest/testdata/test_libraries/import_and_init_logging.robot +21 -0
- data/vendor/robot/atest/testdata/test_libraries/internal_modules_not_importable.robot +21 -0
- data/vendor/robot/atest/testdata/test_libraries/invalid_java_libraries.robot +10 -0
- data/vendor/robot/atest/testdata/test_libraries/java_libraries.robot +113 -0
- data/vendor/robot/atest/testdata/test_libraries/java_library_imports_with_args.robot +42 -0
- data/vendor/robot/atest/testdata/test_libraries/java_vars_for_imports.py +6 -0
- data/vendor/robot/atest/testdata/test_libraries/libraries_extending_existing_classes.robot +39 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_by_path.robot +52 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_failing.robot +24 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_from_archive.robot +11 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_normal.robot +28 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_with_variable.robot +18 -0
- data/vendor/robot/atest/testdata/test_libraries/library_import_with_variable_from_resource.robot +14 -0
- data/vendor/robot/atest/testdata/test_libraries/library_imports_with_args.robot +76 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope/01_tests.robot +33 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope/02_tests.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope/__init__.robot +19 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope/resource.robot +26 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope_java/01_tests.robot +33 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope_java/02_tests.robot +35 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope_java/__init__.robot +19 -0
- data/vendor/robot/atest/testdata/test_libraries/library_scope_java/resource.robot +32 -0
- data/vendor/robot/atest/testdata/test_libraries/library_version.robot +11 -0
- data/vendor/robot/atest/testdata/test_libraries/library_with_0_parameters.robot +9 -0
- data/vendor/robot/atest/testdata/test_libraries/library_with_1_parameters.robot +10 -0
- data/vendor/robot/atest/testdata/test_libraries/library_with_2_parameters.robot +10 -0
- data/vendor/robot/atest/testdata/test_libraries/logging_api.robot +33 -0
- data/vendor/robot/atest/testdata/test_libraries/logging_with_logging.robot +36 -0
- data/vendor/robot/atest/testdata/test_libraries/module_lib_with_all.py +15 -0
- data/vendor/robot/atest/testdata/test_libraries/module_library.robot +105 -0
- data/vendor/robot/atest/testdata/test_libraries/named_args_in_imports.robot +30 -0
- data/vendor/robot/atest/testdata/test_libraries/new_style_classes.robot +20 -0
- data/vendor/robot/atest/testdata/test_libraries/non_main_threads_logging.robot +10 -0
- data/vendor/robot/atest/testdata/test_libraries/package_library.robot +50 -0
- data/vendor/robot/atest/testdata/test_libraries/print_logging.robot +48 -0
- data/vendor/robot/atest/testdata/test_libraries/print_logging_java.robot +28 -0
- data/vendor/robot/atest/testdata/test_libraries/spaces in path/SpacePathLib.py +2 -0
- data/vendor/robot/atest/testdata/test_libraries/timestamps_for_stdout_messages.robot +15 -0
- data/vendor/robot/atest/testdata/test_libraries/variables_for_library_import.robot +4 -0
- data/vendor/robot/atest/testdata/test_libraries/with_name_1.robot +48 -0
- data/vendor/robot/atest/testdata/test_libraries/with_name_2.robot +124 -0
- data/vendor/robot/atest/testdata/test_libraries/with_name_3.robot +28 -0
- data/vendor/robot/atest/testdata/test_libraries/with_name_4.robot +23 -0
- data/vendor/robot/atest/testdata/testdoc/testdoc.robot +13 -0
- data/vendor/robot/atest/testdata/tidy/__init__.robot +10 -0
- data/vendor/robot/atest/testdata/tidy/documentation.robot +31 -0
- data/vendor/robot/atest/testdata/tidy/documentation_expected.html +195 -0
- data/vendor/robot/atest/testdata/tidy/documentation_expected.robot +39 -0
- data/vendor/robot/atest/testdata/tidy/documentation_expected.tsv +32 -0
- data/vendor/robot/atest/testdata/tidy/documentation_expected.txt +39 -0
- data/vendor/robot/atest/testdata/tidy/else_tidy.robot +83 -0
- data/vendor/robot/atest/testdata/tidy/else_untidy.robot +51 -0
- data/vendor/robot/atest/testdata/tidy/golden.html +358 -0
- data/vendor/robot/atest/testdata/tidy/golden.robot +37 -0
- data/vendor/robot/atest/testdata/tidy/golden.tsv +34 -0
- data/vendor/robot/atest/testdata/tidy/golden_pipes.robot +37 -0
- data/vendor/robot/atest/testdata/tidy/golden_pipes_resource.robot +24 -0
- data/vendor/robot/atest/testdata/tidy/golden_resource.html +278 -0
- data/vendor/robot/atest/testdata/tidy/golden_resource.robot +24 -0
- data/vendor/robot/atest/testdata/tidy/golden_resource.tsv +23 -0
- data/vendor/robot/atest/testdata/tidy/golden_two_spaces.robot +37 -0
- data/vendor/robot/atest/testdata/tidy/golden_with_headers.robot +12 -0
- data/vendor/robot/atest/testdata/tidy/resource_with_empty_tables.robot +5 -0
- data/vendor/robot/atest/testdata/tidy/tests/__init__.robot +2 -0
- data/vendor/robot/atest/testdata/tidy/tests/sub/sub1.robot +4 -0
- data/vendor/robot/atest/testdata/tidy/tests/suite1.robot +15 -0
- data/vendor/robot/atest/testdata/tidy/testsuite_with_empty_tables.robot +7 -0
- data/vendor/robot/atest/testdata/variables/DynamicJavaClass.class +0 -0
- data/vendor/robot/atest/testdata/variables/DynamicJavaClass.java +13 -0
- data/vendor/robot/atest/testdata/variables/DynamicPythonClass.py +5 -0
- data/vendor/robot/atest/testdata/variables/InvalidClass.py +4 -0
- data/vendor/robot/atest/testdata/variables/JavaClass.class +0 -0
- data/vendor/robot/atest/testdata/variables/JavaClass.java +21 -0
- data/vendor/robot/atest/testdata/variables/PythonClass.py +14 -0
- data/vendor/robot/atest/testdata/variables/automatic_variables/HelperLib.py +23 -0
- data/vendor/robot/atest/testdata/variables/automatic_variables/__init__.robot +6 -0
- data/vendor/robot/atest/testdata/variables/automatic_variables/auto1.robot +108 -0
- data/vendor/robot/atest/testdata/variables/automatic_variables/auto2.robot +18 -0
- data/vendor/robot/atest/testdata/variables/automatic_variables/resource.robot +49 -0
- data/vendor/robot/atest/testdata/variables/builtin_variables.robot +168 -0
- data/vendor/robot/atest/testdata/variables/catenate_scalars_in_variable_table.robot +107 -0
- data/vendor/robot/atest/testdata/variables/commandline_variable_files.robot +27 -0
- data/vendor/robot/atest/testdata/variables/commandline_variables.robot +10 -0
- data/vendor/robot/atest/testdata/variables/dict_variable_in_variable_table.robot +140 -0
- data/vendor/robot/atest/testdata/variables/dict_variable_items.robot +55 -0
- data/vendor/robot/atest/testdata/variables/dict_vars.py +17 -0
- data/vendor/robot/atest/testdata/variables/dynamic_variable_files/dyn_vars.py +63 -0
- data/vendor/robot/atest/testdata/variables/dynamic_variable_files/getting_vars_from_dynamic_var_file.robot +32 -0
- data/vendor/robot/atest/testdata/variables/environment_variables.robot +94 -0
- data/vendor/robot/atest/testdata/variables/extended_assign.robot +78 -0
- data/vendor/robot/atest/testdata/variables/extended_assign_vars.py +30 -0
- data/vendor/robot/atest/testdata/variables/extended_variables.py +20 -0
- data/vendor/robot/atest/testdata/variables/extended_variables.robot +132 -0
- data/vendor/robot/atest/testdata/variables/get_file_lib.py +2 -0
- data/vendor/robot/atest/testdata/variables/invalid.YAML +1 -0
- data/vendor/robot/atest/testdata/variables/invalid_encoding.yaml +3 -0
- data/vendor/robot/atest/testdata/variables/keyword_status_and_message.robot +142 -0
- data/vendor/robot/atest/testdata/variables/list_and_dict_from_variable_file.robot +89 -0
- data/vendor/robot/atest/testdata/variables/list_and_dict_variable_file.py +37 -0
- data/vendor/robot/atest/testdata/variables/list_as_scalar.robot +37 -0
- data/vendor/robot/atest/testdata/variables/list_variable_items.robot +47 -0
- data/vendor/robot/atest/testdata/variables/non_dict.yaml +2 -0
- data/vendor/robot/atest/testdata/variables/non_string_variables.py +36 -0
- data/vendor/robot/atest/testdata/variables/non_string_variables.robot +27 -0
- data/vendor/robot/atest/testdata/variables/outputfile_variables/subdir/sub_level_tests.robot +4 -0
- data/vendor/robot/atest/testdata/variables/outputfile_variables/top_level_tests.robot +4 -0
- data/vendor/robot/atest/testdata/variables/recursive_definition.robot +37 -0
- data/vendor/robot/atest/testdata/variables/reserved_syntax.robot +9 -0
- data/vendor/robot/atest/testdata/variables/resource_for_variable_table_in_resource_file.robot +33 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/cli_vars.py +6 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/cli_vars_2.py +10 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/pythonpath_dir/pythonpath_varfile.py +3 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/resource.robot +31 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/resource_2.robot +6 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/resource_3.robot +13 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/variables.py +34 -0
- data/vendor/robot/atest/testdata/variables/resvarfiles/variables_2.py +2 -0
- data/vendor/robot/atest/testdata/variables/return_values.robot +347 -0
- data/vendor/robot/atest/testdata/variables/return_values_java.robot +66 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/subsuite1/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/subsuite1/variable.py +1 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/variable.py +2 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite2/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite2/variable.py +1 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite1/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite1/variable.py +1 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite2/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite2/variable.py +1 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/testcase.robot +13 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/variable.py +1 -0
- data/vendor/robot/atest/testdata/variables/same_variable_file_names/same_file.robot +22 -0
- data/vendor/robot/atest/testdata/variables/scalar_as_list.robot +41 -0
- data/vendor/robot/atest/testdata/variables/scalar_lists.py +17 -0
- data/vendor/robot/atest/testdata/variables/shared_scope.robot +23 -0
- data/vendor/robot/atest/testdata/variables/suite_source/__init__.robot +10 -0
- data/vendor/robot/atest/testdata/variables/suite_source/resource.robot +7 -0
- data/vendor/robot/atest/testdata/variables/suite_source/suite_source_in_file_suite.robot +25 -0
- data/vendor/robot/atest/testdata/variables/using_dict_variables.robot +149 -0
- data/vendor/robot/atest/testdata/variables/valid.yaml +16 -0
- data/vendor/robot/atest/testdata/variables/valid2.yaml +1 -0
- data/vendor/robot/atest/testdata/variables/variable_file_implemented_as_class.robot +41 -0
- data/vendor/robot/atest/testdata/variables/variable_priorities.robot +61 -0
- data/vendor/robot/atest/testdata/variables/variable_recommendation_vars.py +6 -0
- data/vendor/robot/atest/testdata/variables/variable_recommendations.robot +174 -0
- data/vendor/robot/atest/testdata/variables/variable_scopes.robot +73 -0
- data/vendor/robot/atest/testdata/variables/variable_table.robot +133 -0
- data/vendor/robot/atest/testdata/variables/variable_table_in_resource_file.robot +93 -0
- data/vendor/robot/atest/testdata/variables/variables_from_resource_files.robot +120 -0
- data/vendor/robot/atest/testdata/variables/variables_from_variable_files.robot +104 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/common_resource.robot +3 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/resource1.robot +4 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/resource2.robot +4 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/test_cases1.robot +9 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/test_cases2.robot +9 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/variables1.py +1 -0
- data/vendor/robot/atest/testdata/variables/variables_in_import_settings/variables2.py +1 -0
- data/vendor/robot/atest/testdata/variables/variables_inside_variables.robot +57 -0
- data/vendor/robot/atest/testdata/variables/yaml_variable_file.robot +42 -0
- data/vendor/robot/atest/testresources/compile_java.sh +9 -0
- data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener$1.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener.java +94 -0
- data/vendor/robot/atest/testresources/listeners/JavaListener.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaListener.java +119 -0
- data/vendor/robot/atest/testresources/listeners/JavaListenerWithArgs.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaListenerWithArgs.java +14 -0
- data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener$1.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener.java +37 -0
- data/vendor/robot/atest/testresources/listeners/JavaTempDir.class +0 -0
- data/vendor/robot/atest/testresources/listeners/JavaTempDir.java +5 -0
- data/vendor/robot/atest/testresources/listeners/ListenAll.py +84 -0
- data/vendor/robot/atest/testresources/listeners/ListenImports.py +40 -0
- data/vendor/robot/atest/testresources/listeners/OldJavaListener.class +0 -0
- data/vendor/robot/atest/testresources/listeners/OldJavaListener.java +10 -0
- data/vendor/robot/atest/testresources/listeners/attributeverifyinglistener.py +108 -0
- data/vendor/robot/atest/testresources/listeners/listeners.py +139 -0
- data/vendor/robot/atest/testresources/listeners/module_listener.py +67 -0
- data/vendor/robot/atest/testresources/listeners/unsupported_listeners.py +19 -0
- data/vendor/robot/atest/testresources/res_and_var_files/cli.yaml +1 -0
- data/vendor/robot/atest/testresources/res_and_var_files/different_variables.py +3 -0
- data/vendor/robot/atest/testresources/res_and_var_files/pythonpath.yaml +1 -0
- data/vendor/robot/atest/testresources/res_and_var_files/resource_in_pythonpath.robot +8 -0
- data/vendor/robot/atest/testresources/res_and_var_files/resvar_subdir/resource_in_pythonpath_2.robot +8 -0
- data/vendor/robot/atest/testresources/res_and_var_files/resvar_subdir/variables_in_pythonpath_2.py +3 -0
- data/vendor/robot/atest/testresources/res_and_var_files/variables_in_pythonpath.py +1 -0
- data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibrary.java +61 -0
- data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibraryWithKwargsSupport.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibraryWithKwargsSupport.java +26 -0
- data/vendor/robot/atest/testresources/testlibs/ArgTypeCoercion.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ArgTypeCoercion.java +73 -0
- data/vendor/robot/atest/testresources/testlibs/ArgumentTypes.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ArgumentTypes.java +202 -0
- data/vendor/robot/atest/testresources/testlibs/ArgumentsJava.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ArgumentsJava.java +118 -0
- data/vendor/robot/atest/testresources/testlibs/ArgumentsPython.py +35 -0
- data/vendor/robot/atest/testresources/testlibs/BinaryDataLibrary.py +18 -0
- data/vendor/robot/atest/testresources/testlibs/DefaultArgs.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/DefaultArgs.java +19 -0
- data/vendor/robot/atest/testresources/testlibs/DynamicJavaLibraryWithLists.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/DynamicJavaLibraryWithLists.java +22 -0
- data/vendor/robot/atest/testresources/testlibs/DynamicLibraryWithKwargsAndOnlyOneRunKeyword.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/DynamicLibraryWithKwargsAndOnlyOneRunKeyword.java +26 -0
- data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary$1.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary$MyJavaException.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary.java +164 -0
- data/vendor/robot/atest/testresources/testlibs/ExampleLibrary.py +180 -0
- data/vendor/robot/atest/testresources/testlibs/Exceptions.py +11 -0
- data/vendor/robot/atest/testresources/testlibs/ExtendPythonLib.py +12 -0
- data/vendor/robot/atest/testresources/testlibs/Extended.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/Extended.java +10 -0
- data/vendor/robot/atest/testresources/testlibs/FatalCatastrophyException.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/FatalCatastrophyException.java +3 -0
- data/vendor/robot/atest/testresources/testlibs/GetKeywordNamesLibrary.py +54 -0
- data/vendor/robot/atest/testresources/testlibs/InvalidAttributeArgDocDynamicJavaLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/InvalidAttributeArgDocDynamicJavaLibrary.java +15 -0
- data/vendor/robot/atest/testresources/testlibs/InvalidSignatureArgDocDynamicJavaLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/InvalidSignatureArgDocDynamicJavaLibrary.java +18 -0
- data/vendor/robot/atest/testresources/testlibs/JarLib.jar +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaExceptions.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaExceptions.java +48 -0
- data/vendor/robot/atest/testresources/testlibs/JavaListenerLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaListenerLibrary.java +58 -0
- data/vendor/robot/atest/testresources/testlibs/JavaMultipleListenerLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaMultipleListenerLibrary.java +18 -0
- data/vendor/robot/atest/testresources/testlibs/JavaObject.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaObject.java +36 -0
- data/vendor/robot/atest/testresources/testlibs/JavaVersionLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/JavaVersionLibrary.java +9 -0
- data/vendor/robot/atest/testresources/testlibs/ListArgumentsJava.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ListArgumentsJava.java +24 -0
- data/vendor/robot/atest/testresources/testlibs/MandatoryArgs.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/MandatoryArgs.java +12 -0
- data/vendor/robot/atest/testresources/testlibs/MultipleArguments.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/MultipleArguments.java +17 -0
- data/vendor/robot/atest/testresources/testlibs/MultipleSignatures.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/MultipleSignatures.java +42 -0
- data/vendor/robot/atest/testresources/testlibs/NamespaceUsingLibrary.py +13 -0
- data/vendor/robot/atest/testresources/testlibs/NoHandlers.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/NoHandlers.java +9 -0
- data/vendor/robot/atest/testresources/testlibs/OverrideGetName.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/OverrideGetName.java +11 -0
- data/vendor/robot/atest/testresources/testlibs/ParameterLibrary.py +23 -0
- data/vendor/robot/atest/testresources/testlibs/PythonVarArgsConstructor.py +9 -0
- data/vendor/robot/atest/testresources/testlibs/ReturnTypes.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/ReturnTypes.java +64 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordButNoGetKeywordNamesLibraryJava.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordButNoGetKeywordNamesLibraryJava.java +16 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordLibrary.py +41 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJava.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJava.java +44 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJavaWithKwargsSupport.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJavaWithKwargsSupport.java +16 -0
- data/vendor/robot/atest/testresources/testlibs/SameNamesAsInBuiltIn.py +4 -0
- data/vendor/robot/atest/testresources/testlibs/UnicodeJavaLibrary.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/UnicodeJavaLibrary.java +44 -0
- data/vendor/robot/atest/testresources/testlibs/UnicodeLibrary.py +38 -0
- data/vendor/robot/atest/testresources/testlibs/archive_src/ZipLib.py +5 -0
- data/vendor/robot/atest/testresources/testlibs/archive_src/org/robotframework/JarLib.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/archive_src/org/robotframework/JarLib.java +8 -0
- data/vendor/robot/atest/testresources/testlibs/classes.py +186 -0
- data/vendor/robot/atest/testresources/testlibs/dynlibs.py +41 -0
- data/vendor/robot/atest/testresources/testlibs/extendingjava.py +37 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/BaseLib.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/BaseLib.java +26 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Global.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Global.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidEmpty.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidEmpty.java +5 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidMethod.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidMethod.java +9 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidNull.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidNull.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidPrivate.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidPrivate.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidProtected.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidProtected.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidValue.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidValue.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Suite.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Suite.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Test.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Test.java +7 -0
- data/vendor/robot/atest/testresources/testlibs/javapkg/JavaPackageExample.class +0 -0
- data/vendor/robot/atest/testresources/testlibs/javapkg/JavaPackageExample.java +26 -0
- data/vendor/robot/atest/testresources/testlibs/libmodule.py +11 -0
- data/vendor/robot/atest/testresources/testlibs/libraryscope.py +51 -0
- data/vendor/robot/atest/testresources/testlibs/libswithargs.py +32 -0
- data/vendor/robot/atest/testresources/testlibs/module_library.py +54 -0
- data/vendor/robot/atest/testresources/testlibs/newstyleclasses.py +27 -0
- data/vendor/robot/atest/testresources/testlibs/newstyleclasses2.py +15 -0
- data/vendor/robot/atest/testresources/testlibs/newstyleclasses3.py +14 -0
- data/vendor/robot/atest/testresources/testlibs/objecttoreturn.py +14 -0
- data/vendor/robot/atest/testresources/testlibs/pythonmodule/__init__.py +8 -0
- data/vendor/robot/atest/testresources/testlibs/pythonmodule/library.py +5 -0
- data/vendor/robot/atest/testresources/testlibs/pythonmodule/submodule/__init__.py +1 -0
- data/vendor/robot/atest/testresources/testlibs/pythonmodule/submodule/sublib.py +9 -0
- data/vendor/robot/atest/testresources/testlibs/ziplib.zip +0 -0
- data/vendor/robot/pom.xml +34 -0
- data/vendor/robot/rundevel.py +58 -0
- data/vendor/robot/setup.py +100 -0
- data/vendor/robot/src/bin/ipybot +6 -0
- data/vendor/robot/src/bin/ipybot.bat +2 -0
- data/vendor/robot/src/bin/ipyrebot +6 -0
- data/vendor/robot/src/bin/ipyrebot.bat +2 -0
- data/vendor/robot/src/bin/jybot +6 -0
- data/vendor/robot/src/bin/jybot.bat +2 -0
- data/vendor/robot/src/bin/jyrebot +6 -0
- data/vendor/robot/src/bin/jyrebot.bat +2 -0
- data/vendor/robot/src/bin/pybot +6 -0
- data/vendor/robot/src/bin/pybot.bat +2 -0
- data/vendor/robot/src/bin/rebot +9 -0
- data/vendor/robot/src/bin/rebot.bat +2 -0
- data/vendor/robot/src/bin/robot +9 -0
- data/vendor/robot/src/bin/robot.bat +2 -0
- data/vendor/robot/src/java/org/robotframework/RobotFramework.java +64 -0
- data/vendor/robot/src/java/org/robotframework/RobotPythonRunner.java +27 -0
- data/vendor/robot/src/java/org/robotframework/RobotRunner.java +83 -0
- data/vendor/robot/src/robot/__init__.py +47 -0
- data/vendor/robot/src/robot/__main__.py +28 -0
- data/vendor/robot/src/robot/api/__init__.py +74 -0
- data/vendor/robot/src/robot/api/deco.py +54 -0
- data/vendor/robot/src/robot/api/logger.py +144 -0
- data/vendor/robot/src/robot/conf/__init__.py +27 -0
- data/vendor/robot/src/robot/conf/gatherfailed.py +76 -0
- data/vendor/robot/src/robot/conf/settings.py +588 -0
- data/vendor/robot/src/robot/errors.py +296 -0
- data/vendor/robot/src/robot/htmldata/__init__.py +27 -0
- data/vendor/robot/src/robot/htmldata/common/doc_formatting.css +49 -0
- data/vendor/robot/src/robot/htmldata/common/js_disabled.css +21 -0
- data/vendor/robot/src/robot/htmldata/common/storage.js +24 -0
- data/vendor/robot/src/robot/htmldata/htmlfilewriter.py +115 -0
- data/vendor/robot/src/robot/htmldata/jartemplate.py +46 -0
- data/vendor/robot/src/robot/htmldata/jsonwriter.py +146 -0
- data/vendor/robot/src/robot/htmldata/lib/jquery.highlight.min.js +11 -0
- data/vendor/robot/src/robot/htmldata/lib/jquery.min.js +2 -0
- data/vendor/robot/src/robot/htmldata/lib/jquery.tablesorter.min.js +5 -0
- data/vendor/robot/src/robot/htmldata/lib/jquery.tmpl.min.js +10 -0
- data/vendor/robot/src/robot/htmldata/lib/jsxcompressor.min.js +19 -0
- data/vendor/robot/src/robot/htmldata/lib/versions.txt +29 -0
- data/vendor/robot/src/robot/htmldata/libdoc/libdoc.css +148 -0
- data/vendor/robot/src/robot/htmldata/libdoc/libdoc.html +379 -0
- data/vendor/robot/src/robot/htmldata/libdoc/print.css +11 -0
- data/vendor/robot/src/robot/htmldata/libdoc/pygments.css +69 -0
- data/vendor/robot/src/robot/htmldata/normaltemplate.py +29 -0
- data/vendor/robot/src/robot/htmldata/rebot/common.css +222 -0
- data/vendor/robot/src/robot/htmldata/rebot/fileloading.js +44 -0
- data/vendor/robot/src/robot/htmldata/rebot/log.css +183 -0
- data/vendor/robot/src/robot/htmldata/rebot/log.html +389 -0
- data/vendor/robot/src/robot/htmldata/rebot/log.js +213 -0
- data/vendor/robot/src/robot/htmldata/rebot/model.js +309 -0
- data/vendor/robot/src/robot/htmldata/rebot/print.css +38 -0
- data/vendor/robot/src/robot/htmldata/rebot/report.css +189 -0
- data/vendor/robot/src/robot/htmldata/rebot/report.html +841 -0
- data/vendor/robot/src/robot/htmldata/rebot/testdata.js +297 -0
- data/vendor/robot/src/robot/htmldata/rebot/util.js +224 -0
- data/vendor/robot/src/robot/htmldata/rebot/view.js +182 -0
- data/vendor/robot/src/robot/htmldata/template.py +19 -0
- data/vendor/robot/src/robot/htmldata/testdata/create_jsdata.py +64 -0
- data/vendor/robot/src/robot/htmldata/testdata/create_libdoc_data.py +22 -0
- data/vendor/robot/src/robot/htmldata/testdata/create_testdoc_data.py +25 -0
- data/vendor/robot/src/robot/htmldata/testdata/data.js +10 -0
- data/vendor/robot/src/robot/htmldata/testdata/dir.suite/__init__.txt +38 -0
- data/vendor/robot/src/robot/htmldata/testdata/dir.suite/test.suite.1.txt +22 -0
- data/vendor/robot/src/robot/htmldata/testdata/dir.suite/test.suite.2.txt +22 -0
- data/vendor/robot/src/robot/htmldata/testdata/dir.suite/tests.txt +119 -0
- data/vendor/robot/src/robot/htmldata/testdata/libdoc.js +1 -0
- data/vendor/robot/src/robot/htmldata/testdata/libdoc.txt +165 -0
- data/vendor/robot/src/robot/htmldata/testdata/testdoc.js +1 -0
- data/vendor/robot/src/robot/htmldata/testdoc/testdoc.css +9 -0
- data/vendor/robot/src/robot/htmldata/testdoc/testdoc.html +259 -0
- data/vendor/robot/src/robot/jarrunner.py +69 -0
- data/vendor/robot/src/robot/libdoc.py +228 -0
- data/vendor/robot/src/robot/libdocpkg/__init__.py +47 -0
- data/vendor/robot/src/robot/libdocpkg/builder.py +39 -0
- data/vendor/robot/src/robot/libdocpkg/consoleviewer.py +109 -0
- data/vendor/robot/src/robot/libdocpkg/htmlwriter.py +167 -0
- data/vendor/robot/src/robot/libdocpkg/javabuilder.py +129 -0
- data/vendor/robot/src/robot/libdocpkg/model.py +70 -0
- data/vendor/robot/src/robot/libdocpkg/output.py +38 -0
- data/vendor/robot/src/robot/libdocpkg/robotbuilder.py +121 -0
- data/vendor/robot/src/robot/libdocpkg/specbuilder.py +61 -0
- data/vendor/robot/src/robot/libdocpkg/writer.py +28 -0
- data/vendor/robot/src/robot/libdocpkg/xmlwriter.py +47 -0
- data/vendor/robot/src/robot/libraries/BuiltIn.py +3469 -0
- data/vendor/robot/src/robot/libraries/Collections.py +940 -0
- data/vendor/robot/src/robot/libraries/DateTime.py +678 -0
- data/vendor/robot/src/robot/libraries/Dialogs.py +115 -0
- data/vendor/robot/src/robot/libraries/Easter.py +27 -0
- data/vendor/robot/src/robot/libraries/OperatingSystem.py +1468 -0
- data/vendor/robot/src/robot/libraries/Process.py +952 -0
- data/vendor/robot/src/robot/libraries/Remote.py +286 -0
- data/vendor/robot/src/robot/libraries/Reserved.py +31 -0
- data/vendor/robot/src/robot/libraries/Screenshot.py +382 -0
- data/vendor/robot/src/robot/libraries/String.py +684 -0
- data/vendor/robot/src/robot/libraries/Telnet.py +1273 -0
- data/vendor/robot/src/robot/libraries/XML.py +1514 -0
- data/vendor/robot/src/robot/libraries/__init__.py +31 -0
- data/vendor/robot/src/robot/libraries/dialogs_ipy.py +201 -0
- data/vendor/robot/src/robot/libraries/dialogs_jy.py +113 -0
- data/vendor/robot/src/robot/libraries/dialogs_py.py +179 -0
- data/vendor/robot/src/robot/model/__init__.py +41 -0
- data/vendor/robot/src/robot/model/configurer.py +88 -0
- data/vendor/robot/src/robot/model/criticality.py +43 -0
- data/vendor/robot/src/robot/model/filter.py +102 -0
- data/vendor/robot/src/robot/model/imports.py +62 -0
- data/vendor/robot/src/robot/model/itemlist.py +102 -0
- data/vendor/robot/src/robot/model/keyword.py +182 -0
- data/vendor/robot/src/robot/model/message.py +75 -0
- data/vendor/robot/src/robot/model/metadata.py +33 -0
- data/vendor/robot/src/robot/model/modelobject.py +85 -0
- data/vendor/robot/src/robot/model/modifier.py +52 -0
- data/vendor/robot/src/robot/model/namepatterns.py +54 -0
- data/vendor/robot/src/robot/model/statistics.py +67 -0
- data/vendor/robot/src/robot/model/stats.py +196 -0
- data/vendor/robot/src/robot/model/suitestatistics.py +71 -0
- data/vendor/robot/src/robot/model/tags.py +180 -0
- data/vendor/robot/src/robot/model/tagsetter.py +39 -0
- data/vendor/robot/src/robot/model/tagstatistics.py +178 -0
- data/vendor/robot/src/robot/model/testcase.py +88 -0
- data/vendor/robot/src/robot/model/testsuite.py +168 -0
- data/vendor/robot/src/robot/model/totalstatistics.py +71 -0
- data/vendor/robot/src/robot/model/visitor.py +163 -0
- data/vendor/robot/src/robot/output/__init__.py +25 -0
- data/vendor/robot/src/robot/output/console/__init__.py +35 -0
- data/vendor/robot/src/robot/output/console/dotted.py +87 -0
- data/vendor/robot/src/robot/output/console/highlighting.py +190 -0
- data/vendor/robot/src/robot/output/console/quiet.py +32 -0
- data/vendor/robot/src/robot/output/console/verbose.py +175 -0
- data/vendor/robot/src/robot/output/debugfile.py +112 -0
- data/vendor/robot/src/robot/output/filelogger.py +62 -0
- data/vendor/robot/src/robot/output/librarylogger.py +75 -0
- data/vendor/robot/src/robot/output/listenerarguments.py +141 -0
- data/vendor/robot/src/robot/output/listenermethods.py +109 -0
- data/vendor/robot/src/robot/output/listeners.py +168 -0
- data/vendor/robot/src/robot/output/logger.py +220 -0
- data/vendor/robot/src/robot/output/loggerhelper.py +150 -0
- data/vendor/robot/src/robot/output/output.py +74 -0
- data/vendor/robot/src/robot/output/pyloggingconf.py +84 -0
- data/vendor/robot/src/robot/output/stdoutlogsplitter.py +58 -0
- data/vendor/robot/src/robot/output/xmllogger.py +161 -0
- data/vendor/robot/src/robot/parsing/__init__.py +66 -0
- data/vendor/robot/src/robot/parsing/comments.py +63 -0
- data/vendor/robot/src/robot/parsing/datarow.py +97 -0
- data/vendor/robot/src/robot/parsing/htmlreader.py +205 -0
- data/vendor/robot/src/robot/parsing/model.py +717 -0
- data/vendor/robot/src/robot/parsing/populators.py +215 -0
- data/vendor/robot/src/robot/parsing/restreader.py +52 -0
- data/vendor/robot/src/robot/parsing/restsupport.py +55 -0
- data/vendor/robot/src/robot/parsing/settings.py +393 -0
- data/vendor/robot/src/robot/parsing/tablepopulators.py +335 -0
- data/vendor/robot/src/robot/parsing/tsvreader.py +48 -0
- data/vendor/robot/src/robot/parsing/txtreader.py +36 -0
- data/vendor/robot/src/robot/pythonpathsetter.py +41 -0
- data/vendor/robot/src/robot/rebot.py +412 -0
- data/vendor/robot/src/robot/reporting/__init__.py +29 -0
- data/vendor/robot/src/robot/reporting/jsbuildingcontext.py +97 -0
- data/vendor/robot/src/robot/reporting/jsexecutionresult.py +105 -0
- data/vendor/robot/src/robot/reporting/jsmodelbuilders.py +189 -0
- data/vendor/robot/src/robot/reporting/jswriter.py +108 -0
- data/vendor/robot/src/robot/reporting/logreportwriters.py +70 -0
- data/vendor/robot/src/robot/reporting/outputwriter.py +38 -0
- data/vendor/robot/src/robot/reporting/resultwriter.py +142 -0
- data/vendor/robot/src/robot/reporting/stringcache.py +52 -0
- data/vendor/robot/src/robot/reporting/xunitwriter.py +100 -0
- data/vendor/robot/src/robot/result/__init__.py +47 -0
- data/vendor/robot/src/robot/result/configurer.py +76 -0
- data/vendor/robot/src/robot/result/executionerrors.py +51 -0
- data/vendor/robot/src/robot/result/executionresult.py +136 -0
- data/vendor/robot/src/robot/result/flattenkeywordmatcher.py +77 -0
- data/vendor/robot/src/robot/result/keywordremover.py +164 -0
- data/vendor/robot/src/robot/result/merger.py +87 -0
- data/vendor/robot/src/robot/result/messagefilter.py +28 -0
- data/vendor/robot/src/robot/result/model.py +295 -0
- data/vendor/robot/src/robot/result/resultbuilder.py +195 -0
- data/vendor/robot/src/robot/result/suiteteardownfailed.py +47 -0
- data/vendor/robot/src/robot/result/visitor.py +124 -0
- data/vendor/robot/src/robot/result/xmlelementhandlers.py +258 -0
- data/vendor/robot/src/robot/run.py +550 -0
- data/vendor/robot/src/robot/running/__init__.py +109 -0
- data/vendor/robot/src/robot/running/arguments/__init__.py +26 -0
- data/vendor/robot/src/robot/running/arguments/argumentmapper.py +73 -0
- data/vendor/robot/src/robot/running/arguments/argumentparser.py +192 -0
- data/vendor/robot/src/robot/running/arguments/argumentresolver.py +134 -0
- data/vendor/robot/src/robot/running/arguments/argumentspec.py +50 -0
- data/vendor/robot/src/robot/running/arguments/argumentvalidator.py +68 -0
- data/vendor/robot/src/robot/running/arguments/embedded.py +88 -0
- data/vendor/robot/src/robot/running/arguments/javaargumentcoercer.py +146 -0
- data/vendor/robot/src/robot/running/builder.py +231 -0
- data/vendor/robot/src/robot/running/context.py +198 -0
- data/vendor/robot/src/robot/running/defaults.py +43 -0
- data/vendor/robot/src/robot/running/dynamicmethods.py +145 -0
- data/vendor/robot/src/robot/running/handlers.py +269 -0
- data/vendor/robot/src/robot/running/handlerstore.py +85 -0
- data/vendor/robot/src/robot/running/importer.py +149 -0
- data/vendor/robot/src/robot/running/librarykeywordrunner.py +224 -0
- data/vendor/robot/src/robot/running/libraryscopes.py +101 -0
- data/vendor/robot/src/robot/running/model.py +319 -0
- data/vendor/robot/src/robot/running/namespace.py +440 -0
- data/vendor/robot/src/robot/running/outputcapture.py +137 -0
- data/vendor/robot/src/robot/running/randomizer.py +53 -0
- data/vendor/robot/src/robot/running/runkwregister.py +65 -0
- data/vendor/robot/src/robot/running/runner.py +220 -0
- data/vendor/robot/src/robot/running/signalhandler.py +89 -0
- data/vendor/robot/src/robot/running/status.py +234 -0
- data/vendor/robot/src/robot/running/statusreporter.py +74 -0
- data/vendor/robot/src/robot/running/steprunner.py +272 -0
- data/vendor/robot/src/robot/running/testlibraries.py +411 -0
- data/vendor/robot/src/robot/running/timeouts/__init__.py +133 -0
- data/vendor/robot/src/robot/running/timeouts/ironpython.py +56 -0
- data/vendor/robot/src/robot/running/timeouts/jython.py +55 -0
- data/vendor/robot/src/robot/running/timeouts/posix.py +40 -0
- data/vendor/robot/src/robot/running/timeouts/windows.py +71 -0
- data/vendor/robot/src/robot/running/usererrorhandler.py +66 -0
- data/vendor/robot/src/robot/running/userkeyword.py +114 -0
- data/vendor/robot/src/robot/running/userkeywordrunner.py +236 -0
- data/vendor/robot/src/robot/testdoc.py +303 -0
- data/vendor/robot/src/robot/tidy.py +330 -0
- data/vendor/robot/src/robot/utils/__init__.py +76 -0
- data/vendor/robot/src/robot/utils/application.py +130 -0
- data/vendor/robot/src/robot/utils/argumentparser.py +476 -0
- data/vendor/robot/src/robot/utils/asserts.py +239 -0
- data/vendor/robot/src/robot/utils/charwidth.py +139 -0
- data/vendor/robot/src/robot/utils/compat.py +76 -0
- data/vendor/robot/src/robot/utils/compress.py +54 -0
- data/vendor/robot/src/robot/utils/connectioncache.py +178 -0
- data/vendor/robot/src/robot/utils/dotdict.py +65 -0
- data/vendor/robot/src/robot/utils/encoding.py +104 -0
- data/vendor/robot/src/robot/utils/encodingsniffer.py +109 -0
- data/vendor/robot/src/robot/utils/error.py +206 -0
- data/vendor/robot/src/robot/utils/escaping.py +145 -0
- data/vendor/robot/src/robot/utils/etreewrapper.py +88 -0
- data/vendor/robot/src/robot/utils/frange.py +63 -0
- data/vendor/robot/src/robot/utils/htmlformatters.py +303 -0
- data/vendor/robot/src/robot/utils/importer.py +274 -0
- data/vendor/robot/src/robot/utils/markuputils.py +49 -0
- data/vendor/robot/src/robot/utils/markupwriters.py +108 -0
- data/vendor/robot/src/robot/utils/match.py +103 -0
- data/vendor/robot/src/robot/utils/misc.py +128 -0
- data/vendor/robot/src/robot/utils/normalizing.py +124 -0
- data/vendor/robot/src/robot/utils/ordereddict.py +127 -0
- data/vendor/robot/src/robot/utils/platform.py +32 -0
- data/vendor/robot/src/robot/utils/recommendations.py +75 -0
- data/vendor/robot/src/robot/utils/robotenv.py +44 -0
- data/vendor/robot/src/robot/utils/robotinspect.py +36 -0
- data/vendor/robot/src/robot/utils/robotio.py +43 -0
- data/vendor/robot/src/robot/utils/robotpath.py +174 -0
- data/vendor/robot/src/robot/utils/robottime.py +431 -0
- data/vendor/robot/src/robot/utils/robottypes.py +35 -0
- data/vendor/robot/src/robot/utils/robottypes2.py +74 -0
- data/vendor/robot/src/robot/utils/robottypes3.py +65 -0
- data/vendor/robot/src/robot/utils/setter.py +46 -0
- data/vendor/robot/src/robot/utils/sortable.py +53 -0
- data/vendor/robot/src/robot/utils/text.py +151 -0
- data/vendor/robot/src/robot/utils/unic.py +89 -0
- data/vendor/robot/src/robot/utils/utf8reader.py +52 -0
- data/vendor/robot/src/robot/variables/__init__.py +27 -0
- data/vendor/robot/src/robot/variables/assigner.py +252 -0
- data/vendor/robot/src/robot/variables/filesetter.py +144 -0
- data/vendor/robot/src/robot/variables/finders.py +150 -0
- data/vendor/robot/src/robot/variables/isvar.py +52 -0
- data/vendor/robot/src/robot/variables/notfound.py +46 -0
- data/vendor/robot/src/robot/variables/replacer.py +177 -0
- data/vendor/robot/src/robot/variables/scopes.py +256 -0
- data/vendor/robot/src/robot/variables/splitter.py +187 -0
- data/vendor/robot/src/robot/variables/store.py +116 -0
- data/vendor/robot/src/robot/variables/tablesetter.py +150 -0
- data/vendor/robot/src/robot/variables/variables.py +81 -0
- data/vendor/robot/src/robot/version.py +46 -0
- data/vendor/robot/src/robot/writer/__init__.py +26 -0
- data/vendor/robot/src/robot/writer/aligners.py +64 -0
- data/vendor/robot/src/robot/writer/dataextractor.py +57 -0
- data/vendor/robot/src/robot/writer/datafilewriter.py +126 -0
- data/vendor/robot/src/robot/writer/filewriters.py +149 -0
- data/vendor/robot/src/robot/writer/formatters.py +150 -0
- data/vendor/robot/src/robot/writer/htmlformatter.py +131 -0
- data/vendor/robot/src/robot/writer/htmltemplate.py +71 -0
- data/vendor/robot/src/robot/writer/rowsplitter.py +108 -0
- data/vendor/robot/tasks.py +265 -0
- data/vendor/robot/templates/README.rst +24 -0
- data/vendor/robot/templates/atdd_template.html +130 -0
- data/vendor/robot/templates/resource_template.html +154 -0
- data/vendor/robot/templates/resource_template.tsv +9 -0
- data/vendor/robot/templates/testcase_template.html +173 -0
- data/vendor/robot/templates/testcase_template.tsv +13 -0
- data/vendor/robot/utest/README.rst +55 -0
- data/vendor/robot/utest/__init__.py +0 -0
- data/vendor/robot/utest/api/import_test.robot +7 -0
- data/vendor/robot/utest/api/test_deco.py +32 -0
- data/vendor/robot/utest/api/test_exposed_api.py +71 -0
- data/vendor/robot/utest/api/test_logging_api.py +90 -0
- data/vendor/robot/utest/api/test_run_and_rebot.py +352 -0
- data/vendor/robot/utest/api/test_using_libraries.py +37 -0
- data/vendor/robot/utest/conf/test_settings.py +102 -0
- data/vendor/robot/utest/envjs.bootstrap.js +6 -0
- data/vendor/robot/utest/htmldata/test_htmltemplate.py +24 -0
- data/vendor/robot/utest/htmldata/test_jsonwriter.py +99 -0
- data/vendor/robot/utest/model/test_filter.py +168 -0
- data/vendor/robot/utest/model/test_itemlist.py +195 -0
- data/vendor/robot/utest/model/test_keyword.py +209 -0
- data/vendor/robot/utest/model/test_message.py +51 -0
- data/vendor/robot/utest/model/test_metadata.py +51 -0
- data/vendor/robot/utest/model/test_statistics.py +231 -0
- data/vendor/robot/utest/model/test_tags.py +364 -0
- data/vendor/robot/utest/model/test_tagstatistics.py +371 -0
- data/vendor/robot/utest/model/test_testcase.py +124 -0
- data/vendor/robot/utest/model/test_testsuite.py +127 -0
- data/vendor/robot/utest/output/NewStyleJavaListener.class +0 -0
- data/vendor/robot/utest/output/NewStyleJavaListener.java +79 -0
- data/vendor/robot/utest/output/test_console.py +123 -0
- data/vendor/robot/utest/output/test_filelogger.py +58 -0
- data/vendor/robot/utest/output/test_listeners.py +202 -0
- data/vendor/robot/utest/output/test_logger.py +202 -0
- data/vendor/robot/utest/output/test_loggerhelper.py +25 -0
- data/vendor/robot/utest/output/test_stdout_splitter.py +86 -0
- data/vendor/robot/utest/parsing/test_htmlreader.py +188 -0
- data/vendor/robot/utest/parsing/test_model.py +449 -0
- data/vendor/robot/utest/parsing/test_populator.py +609 -0
- data/vendor/robot/utest/parsing/test_tsvreader.py +81 -0
- data/vendor/robot/utest/parsing/test_txtreader.py +23 -0
- data/vendor/robot/utest/reporting/test_jsbuildingcontext.py +82 -0
- data/vendor/robot/utest/reporting/test_jsexecutionresult.py +94 -0
- data/vendor/robot/utest/reporting/test_jsmodelbuilders.py +430 -0
- data/vendor/robot/utest/reporting/test_jswriter.py +104 -0
- data/vendor/robot/utest/reporting/test_logreportwriters.py +39 -0
- data/vendor/robot/utest/reporting/test_reporting.py +175 -0
- data/vendor/robot/utest/reporting/test_stringcache.py +76 -0
- data/vendor/robot/utest/resources/Listener.py +26 -0
- data/vendor/robot/utest/resources/__init__.py +7 -0
- data/vendor/robot/utest/resources/golden_suite/__init__.txt +5 -0
- data/vendor/robot/utest/resources/golden_suite/all_settings.txt +27 -0
- data/vendor/robot/utest/resources/golden_suite/expected.js +3 -0
- data/vendor/robot/utest/resources/golden_suite/failing_suite.txt +15 -0
- data/vendor/robot/utest/resources/golden_suite/output.xml +206 -0
- data/vendor/robot/utest/resources/golden_suite/output2.xml +206 -0
- data/vendor/robot/utest/resources/runningtestcase.py +71 -0
- data/vendor/robot/utest/resources/test_resource.txt +4 -0
- data/vendor/robot/utest/resources/variables_file.py +1 -0
- data/vendor/robot/utest/result/golden.xml +61 -0
- data/vendor/robot/utest/result/goldenTwice.xml +110 -0
- data/vendor/robot/utest/result/suite_teardown_failed.xml +81 -0
- data/vendor/robot/utest/result/test_configurer.py +263 -0
- data/vendor/robot/utest/result/test_resultbuilder.py +248 -0
- data/vendor/robot/utest/result/test_resultmodel.py +209 -0
- data/vendor/robot/utest/result/test_resultserializer.py +63 -0
- data/vendor/robot/utest/result/test_visitor.py +72 -0
- data/vendor/robot/utest/run.py +100 -0
- data/vendor/robot/utest/run_jasmine.py +53 -0
- data/vendor/robot/utest/running/test_builder.py +132 -0
- data/vendor/robot/utest/running/test_handlers.py +309 -0
- data/vendor/robot/utest/running/test_importer.py +73 -0
- data/vendor/robot/utest/running/test_imports.py +75 -0
- data/vendor/robot/utest/running/test_namespace.py +16 -0
- data/vendor/robot/utest/running/test_randomizer.py +87 -0
- data/vendor/robot/utest/running/test_run_model.py +94 -0
- data/vendor/robot/utest/running/test_runkwregister.py +114 -0
- data/vendor/robot/utest/running/test_running.py +284 -0
- data/vendor/robot/utest/running/test_signalhandler.py +115 -0
- data/vendor/robot/utest/running/test_testlibrary.py +638 -0
- data/vendor/robot/utest/running/test_timeouts.py +193 -0
- data/vendor/robot/utest/running/test_userhandlers.py +165 -0
- data/vendor/robot/utest/running/test_userlibrary.py +128 -0
- data/vendor/robot/utest/running/thread_resources.py +27 -0
- data/vendor/robot/utest/testdoc/test_jsonconverter.py +225 -0
- data/vendor/robot/utest/tidy/test_argument_validation.py +106 -0
- data/vendor/robot/utest/utils/ImportByPath.class +0 -0
- data/vendor/robot/utest/utils/ImportByPath.java +6 -0
- data/vendor/robot/utest/utils/test_argumentparser.py +438 -0
- data/vendor/robot/utest/utils/test_asserts.py +148 -0
- data/vendor/robot/utest/utils/test_compat.py +36 -0
- data/vendor/robot/utest/utils/test_compress.py +28 -0
- data/vendor/robot/utest/utils/test_connectioncache.py +239 -0
- data/vendor/robot/utest/utils/test_dotdict.py +101 -0
- data/vendor/robot/utest/utils/test_encoding.py +34 -0
- data/vendor/robot/utest/utils/test_encodingsniffer.py +49 -0
- data/vendor/robot/utest/utils/test_error.py +123 -0
- data/vendor/robot/utest/utils/test_escaping.py +188 -0
- data/vendor/robot/utest/utils/test_etreesource.py +58 -0
- data/vendor/robot/utest/utils/test_frange.py +66 -0
- data/vendor/robot/utest/utils/test_htmlwriter.py +119 -0
- data/vendor/robot/utest/utils/test_importer_util.py +493 -0
- data/vendor/robot/utest/utils/test_markuputils.py +803 -0
- data/vendor/robot/utest/utils/test_match.py +170 -0
- data/vendor/robot/utest/utils/test_misc.py +183 -0
- data/vendor/robot/utest/utils/test_normalizing.py +318 -0
- data/vendor/robot/utest/utils/test_robotenv.py +61 -0
- data/vendor/robot/utest/utils/test_robotpath.py +215 -0
- data/vendor/robot/utest/utils/test_robottime.py +355 -0
- data/vendor/robot/utest/utils/test_robottypes.py +160 -0
- data/vendor/robot/utest/utils/test_setter.py +66 -0
- data/vendor/robot/utest/utils/test_sortable.py +54 -0
- data/vendor/robot/utest/utils/test_text.py +279 -0
- data/vendor/robot/utest/utils/test_timestampcache.py +56 -0
- data/vendor/robot/utest/utils/test_unic.py +224 -0
- data/vendor/robot/utest/utils/test_utf8reader.py +66 -0
- data/vendor/robot/utest/utils/test_xmlwriter.py +143 -0
- data/vendor/robot/utest/variables/test_isvar.py +36 -0
- data/vendor/robot/utest/variables/test_variableassigner.py +54 -0
- data/vendor/robot/utest/variables/test_variables.py +261 -0
- data/vendor/robot/utest/variables/test_variablesplitter.py +235 -0
- data/vendor/robot/utest/webcontent/SpecRunner.html +52 -0
- data/vendor/robot/utest/webcontent/jasmine-1.0.2/MIT.LICENSE +20 -0
- data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine-html.js +188 -0
- data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine.css +166 -0
- data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine.js +2421 -0
- data/vendor/robot/utest/webcontent/spec/ContainsTag.js +106 -0
- data/vendor/robot/utest/webcontent/spec/LogLevelSpec.js +19 -0
- data/vendor/robot/utest/webcontent/spec/ParsingSpec.js +579 -0
- data/vendor/robot/utest/webcontent/spec/StatisticsSpec.js +172 -0
- data/vendor/robot/utest/webcontent/spec/UtilSpec.js +86 -0
- data/vendor/robot/utest/webcontent/spec/data/Messages.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/Messages.txt +10 -0
- data/vendor/robot/utest/webcontent/spec/data/PassingFailing.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/SetupsAndTeardowns.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/SetupsAndTeardowns.txt +15 -0
- data/vendor/robot/utest/webcontent/spec/data/Suite.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/Suite.txt +18 -0
- data/vendor/robot/utest/webcontent/spec/data/TeardownFailure.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/TestsAndKeywords.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/TestsAndKeywords.txt +22 -0
- data/vendor/robot/utest/webcontent/spec/data/allData.js +20 -0
- data/vendor/robot/utest/webcontent/spec/data/create_jsdata_for_specs.py +57 -0
- data/vendor/robot/utest/webcontent/spec/data/splitting.js +44 -0
- data/vendor/robot/utest/webcontent/spec/data/teardownFailure/PassingFailing.txt +5 -0
- data/vendor/robot/utest/webcontent/spec/data/teardownFailure/__init__.txt +2 -0
- data/vendor/robot/utest/writer/test_aligners.py +16 -0
- data/vendor/robot/utest/writer/test_extractor.py +55 -0
- data/vendor/robot/utest/writer/test_filewriters.py +82 -0
- data/vendor/robot/utest/writer/test_formatters.py +188 -0
- data/vendor/robot/utest/writer/test_rowsplitter.py +130 -0
- data/vendor/robot/utest/writer/test_write_configuration.py +40 -0
- metadata +2112 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
# Copyright 2008-2015 Nokia Networks
|
2
|
+
# Copyright 2016- Robot Framework Foundation
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
"""A test library providing dialogs for interacting with users.
|
17
|
+
|
18
|
+
``Dialogs`` is Robot Framework's standard library that provides means
|
19
|
+
for pausing the test execution and getting input from users. The
|
20
|
+
dialogs are slightly different depending on whether tests are run on
|
21
|
+
Python, IronPython or Jython but they provide the same functionality.
|
22
|
+
|
23
|
+
Long lines in the provided messages are wrapped automatically since
|
24
|
+
Robot Framework 2.8. If you want to wrap lines manually, you can add
|
25
|
+
newlines using the ``\\n`` character sequence.
|
26
|
+
|
27
|
+
The library has a known limitation that it cannot be used with timeouts
|
28
|
+
on Python. Support for IronPython was added in Robot Framework 2.9.2.
|
29
|
+
"""
|
30
|
+
|
31
|
+
from robot.version import get_version
|
32
|
+
from robot.utils import IRONPYTHON, JYTHON, is_truthy
|
33
|
+
|
34
|
+
if JYTHON:
|
35
|
+
from .dialogs_jy import MessageDialog, PassFailDialog, InputDialog, SelectionDialog
|
36
|
+
elif IRONPYTHON:
|
37
|
+
from .dialogs_ipy import MessageDialog, PassFailDialog, InputDialog, SelectionDialog
|
38
|
+
else:
|
39
|
+
from .dialogs_py import MessageDialog, PassFailDialog, InputDialog, SelectionDialog
|
40
|
+
|
41
|
+
|
42
|
+
__version__ = get_version()
|
43
|
+
__all__ = ['execute_manual_step', 'get_value_from_user',
|
44
|
+
'get_selection_from_user', 'pause_execution']
|
45
|
+
|
46
|
+
|
47
|
+
def pause_execution(message='Test execution paused. Press OK to continue.'):
|
48
|
+
"""Pauses test execution until user clicks ``Ok`` button.
|
49
|
+
|
50
|
+
``message`` is the message shown in the dialog.
|
51
|
+
"""
|
52
|
+
MessageDialog(message).show()
|
53
|
+
|
54
|
+
|
55
|
+
def execute_manual_step(message, default_error=''):
|
56
|
+
"""Pauses test execution until user sets the keyword status.
|
57
|
+
|
58
|
+
User can press either ``PASS`` or ``FAIL`` button. In the latter case execution
|
59
|
+
fails and an additional dialog is opened for defining the error message.
|
60
|
+
|
61
|
+
``message`` is the instruction shown in the initial dialog and
|
62
|
+
``default_error`` is the default value shown in the possible error message
|
63
|
+
dialog.
|
64
|
+
"""
|
65
|
+
if not _validate_user_input(PassFailDialog(message)):
|
66
|
+
msg = get_value_from_user('Give error message:', default_error)
|
67
|
+
raise AssertionError(msg)
|
68
|
+
|
69
|
+
|
70
|
+
def get_value_from_user(message, default_value='', hidden=False):
|
71
|
+
"""Pauses test execution and asks user to input a value.
|
72
|
+
|
73
|
+
Value typed by the user, or the possible default value, is returned.
|
74
|
+
Returning an empty value is fine, but pressing ``Cancel`` fails the keyword.
|
75
|
+
|
76
|
+
``message`` is the instruction shown in the dialog and ``default_value`` is
|
77
|
+
the possible default value shown in the input field.
|
78
|
+
|
79
|
+
If ``hidden`` is given a true value, the value typed by the user is hidden.
|
80
|
+
``hidden`` is considered true if it is a non-empty string not equal to
|
81
|
+
``false`` or ``no``, case-insensitively. If it is not a string, its truth
|
82
|
+
value is got directly using same
|
83
|
+
[http://docs.python.org/2/library/stdtypes.html#truth-value-testing|rules
|
84
|
+
as in Python].
|
85
|
+
|
86
|
+
Example:
|
87
|
+
| ${username} = | Get Value From User | Input user name | default |
|
88
|
+
| ${password} = | Get Value From User | Input password | hidden=yes |
|
89
|
+
|
90
|
+
Possibility to hide the typed in value is new in Robot Framework 2.8.4.
|
91
|
+
Considering strings ``false`` and ``no`` to be false is new in 2.9.
|
92
|
+
"""
|
93
|
+
return _validate_user_input(InputDialog(message, default_value,
|
94
|
+
is_truthy(hidden)))
|
95
|
+
|
96
|
+
|
97
|
+
def get_selection_from_user(message, *values):
|
98
|
+
"""Pauses test execution and asks user to select a value.
|
99
|
+
|
100
|
+
The selected value is returned. Pressing ``Cancel`` fails the keyword.
|
101
|
+
|
102
|
+
``message`` is the instruction shown in the dialog and ``values`` are
|
103
|
+
the options given to the user.
|
104
|
+
|
105
|
+
Example:
|
106
|
+
| ${username} = | Get Selection From User | Select user name | user1 | user2 | admin |
|
107
|
+
"""
|
108
|
+
return _validate_user_input(SelectionDialog(message, values))
|
109
|
+
|
110
|
+
|
111
|
+
def _validate_user_input(dialog):
|
112
|
+
value = dialog.show()
|
113
|
+
if value is None:
|
114
|
+
raise RuntimeError('No value provided by user.')
|
115
|
+
return value
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright 2008-2015 Nokia Networks
|
2
|
+
# Copyright 2016- Robot Framework Foundation
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from robot.api import logger
|
17
|
+
|
18
|
+
|
19
|
+
def none_shall_pass(who):
|
20
|
+
if who is not None:
|
21
|
+
raise AssertionError('None shall pass!')
|
22
|
+
logger.info('<object width="480" height="385">'
|
23
|
+
'<param name="movie" value="http://www.youtube.com/v/dhRUe-gz690&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00"></param>'
|
24
|
+
'<param name="allowFullScreen" value="true"></param>'
|
25
|
+
'<param name="allowscriptaccess" value="always"></param>'
|
26
|
+
'<embed src="http://www.youtube.com/v/dhRUe-gz690&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>'
|
27
|
+
'</object>', html=True)
|
@@ -0,0 +1,1468 @@
|
|
1
|
+
# Copyright 2008-2015 Nokia Networks
|
2
|
+
# Copyright 2016- Robot Framework Foundation
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import fnmatch
|
17
|
+
import glob
|
18
|
+
import io
|
19
|
+
import os
|
20
|
+
import shutil
|
21
|
+
import sys
|
22
|
+
import tempfile
|
23
|
+
import time
|
24
|
+
|
25
|
+
from robot.version import get_version
|
26
|
+
from robot.api import logger
|
27
|
+
from robot.utils import (abspath, ConnectionCache, console_decode, del_env_var,
|
28
|
+
get_env_var, get_env_vars, get_time, is_truthy,
|
29
|
+
is_unicode, normpath, parse_time, plural_or_not,
|
30
|
+
secs_to_timestamp, secs_to_timestr, seq2str,
|
31
|
+
set_env_var, timestr_to_secs, unic, CONSOLE_ENCODING,
|
32
|
+
IRONPYTHON, JYTHON, PY2, SYSTEM_ENCODING, WINDOWS)
|
33
|
+
|
34
|
+
__version__ = get_version()
|
35
|
+
PROCESSES = ConnectionCache('No active processes.')
|
36
|
+
|
37
|
+
|
38
|
+
class OperatingSystem(object):
|
39
|
+
"""A test library providing keywords for OS related tasks.
|
40
|
+
|
41
|
+
``OperatingSystem`` is Robot Framework's standard library that
|
42
|
+
enables various operating system related tasks to be performed in
|
43
|
+
the system where Robot Framework is running. It can, among other
|
44
|
+
things, execute commands (e.g. `Run`), create and remove files and
|
45
|
+
directories (e.g. `Create File`, `Remove Directory`), check
|
46
|
+
whether files or directories exists or contain something
|
47
|
+
(e.g. `File Should Exist`, `Directory Should Be Empty`) and
|
48
|
+
manipulate environment variables (e.g. `Set Environment Variable`).
|
49
|
+
|
50
|
+
== Table of contents ==
|
51
|
+
|
52
|
+
- `Path separators`
|
53
|
+
- `Pattern matching`
|
54
|
+
- `Tilde expansion`
|
55
|
+
- `Boolean arguments`
|
56
|
+
- `Example`
|
57
|
+
- `Shortcuts`
|
58
|
+
- `Keywords`
|
59
|
+
|
60
|
+
= Path separators =
|
61
|
+
|
62
|
+
Because Robot Framework uses the backslash (``\\``) as an escape character
|
63
|
+
in the test data, using a literal backslash requires duplicating it like
|
64
|
+
in ``c:\\\\path\\\\file.txt``. That can be inconvenient especially with
|
65
|
+
longer Windows paths, and thus all keywords expecting paths as arguments
|
66
|
+
convert forward slashes to backslashes automatically on Windows. This also
|
67
|
+
means that paths like ``${CURDIR}/path/file.txt`` are operating system
|
68
|
+
independent.
|
69
|
+
|
70
|
+
Notice that the automatic path separator conversion does not work if
|
71
|
+
the path is only a part of an argument like with `Run` and `Start Process`
|
72
|
+
keywords. In these cases the built-in variable ``${/}`` that contains
|
73
|
+
``\\`` or ``/``, depending on the operating system, can be used instead.
|
74
|
+
|
75
|
+
= Pattern matching =
|
76
|
+
|
77
|
+
Some keywords allow their arguments to be specified as _glob patterns_
|
78
|
+
where:
|
79
|
+
| ``*`` | matches anything, even an empty string |
|
80
|
+
| ``?`` | matches any single character |
|
81
|
+
| ``[chars]`` | matches any character inside square brackets (e.g. ``[abc]`` matches either ``a``, ``b`` or ``c``) |
|
82
|
+
| ``[!chars]`` | matches any character not inside square brackets |
|
83
|
+
|
84
|
+
Unless otherwise noted, matching is case-insensitive on
|
85
|
+
case-insensitive operating systems such as Windows. Pattern
|
86
|
+
matching is implemented using
|
87
|
+
[http://docs.python.org/library/fnmatch.html|fnmatch module].
|
88
|
+
|
89
|
+
Starting from Robot Framework 2.9.1, globbing is not done if the given path
|
90
|
+
matches an existing file even if it would contain a glob pattern.
|
91
|
+
|
92
|
+
= Tilde expansion =
|
93
|
+
|
94
|
+
Paths beginning with ``~`` or ``~username`` are expanded to the current or
|
95
|
+
specified user's home directory, respectively. The resulting path is
|
96
|
+
operating system dependent, but typically e.g. ``~/robot`` is expanded to
|
97
|
+
``C:\\Users\\<user>\\robot`` on Windows and ``/home/<user>/robot`` on
|
98
|
+
Unixes.
|
99
|
+
|
100
|
+
Tilde expansion is a new feature in Robot Framework 2.8. The ``~username``
|
101
|
+
form does not work on Jython
|
102
|
+
|
103
|
+
= Boolean arguments =
|
104
|
+
|
105
|
+
Some keywords accept arguments that are handled as Boolean values true or
|
106
|
+
false. If such an argument is given as a string, it is considered false if
|
107
|
+
it is either empty or case-insensitively equal to ``false`` or ``no``.
|
108
|
+
Other strings are considered true regardless their value, and other
|
109
|
+
argument types are tested using same
|
110
|
+
[http://docs.python.org/2/library/stdtypes.html#truth-value-testing|rules
|
111
|
+
as in Python].
|
112
|
+
|
113
|
+
True examples:
|
114
|
+
| `Remove Directory` | ${path} | recursive=True | # Strings are generally true. |
|
115
|
+
| `Remove Directory` | ${path} | recursive=yes | # Same as the above. |
|
116
|
+
| `Remove Directory` | ${path} | recursive=${TRUE} | # Python ``True`` is true. |
|
117
|
+
| `Remove Directory` | ${path} | recursive=${42} | # Numbers other than 0 are true. |
|
118
|
+
|
119
|
+
False examples:
|
120
|
+
| `Remove Directory` | ${path} | recursive=False | # String ``false`` is false. |
|
121
|
+
| `Remove Directory` | ${path} | recursive=no | # Also string ``no`` is false. |
|
122
|
+
| `Remove Directory` | ${path} | recursive=${EMPTY} | # Empty string is false. |
|
123
|
+
| `Remove Directory` | ${path} | recursive=${FALSE} | # Python ``False`` is false. |
|
124
|
+
|
125
|
+
Note that prior to Robot Framework 2.9, all non-empty strings, including
|
126
|
+
``false`` and ``no``, were considered true.
|
127
|
+
|
128
|
+
= Example =
|
129
|
+
|
130
|
+
| =Setting= | =Value= |
|
131
|
+
| Library | OperatingSystem |
|
132
|
+
|
133
|
+
| =Variable= | =Value= |
|
134
|
+
| ${PATH} | ${CURDIR}/example.txt |
|
135
|
+
|
136
|
+
| =Test Case= | =Action= | =Argument= | =Argument= |
|
137
|
+
| Example | Create File | ${PATH} | Some text |
|
138
|
+
| | File Should Exist | ${PATH} | |
|
139
|
+
| | Copy File | ${PATH} | ~/file.txt |
|
140
|
+
| | ${output} = | Run | ${TEMPDIR}${/}script.py arg |
|
141
|
+
"""
|
142
|
+
ROBOT_LIBRARY_SCOPE = 'GLOBAL'
|
143
|
+
ROBOT_LIBRARY_VERSION = __version__
|
144
|
+
|
145
|
+
def run(self, command):
|
146
|
+
"""Runs the given command in the system and returns the output.
|
147
|
+
|
148
|
+
The execution status of the command *is not checked* by this
|
149
|
+
keyword, and it must be done separately based on the returned
|
150
|
+
output. If the execution return code is needed, either `Run
|
151
|
+
And Return RC` or `Run And Return RC And Output` can be used.
|
152
|
+
|
153
|
+
The standard error stream is automatically redirected to the standard
|
154
|
+
output stream by adding ``2>&1`` after the executed command. This
|
155
|
+
automatic redirection is done only when the executed command does not
|
156
|
+
contain additional output redirections. You can thus freely forward
|
157
|
+
the standard error somewhere else, for example, like
|
158
|
+
``my_command 2>stderr.txt``.
|
159
|
+
|
160
|
+
The returned output contains everything written into the standard
|
161
|
+
output or error streams by the command (unless either of them
|
162
|
+
is redirected explicitly). Many commands add an extra newline
|
163
|
+
(``\\n``) after the output to make it easier to read in the
|
164
|
+
console. To ease processing the returned output, this possible
|
165
|
+
trailing newline is stripped by this keyword.
|
166
|
+
|
167
|
+
Examples:
|
168
|
+
| ${output} = | Run | ls -lhF /tmp |
|
169
|
+
| Log | ${output} |
|
170
|
+
| ${result} = | Run | ${CURDIR}${/}tester.py arg1 arg2 |
|
171
|
+
| Should Not Contain | ${result} | FAIL |
|
172
|
+
| ${stdout} = | Run | /opt/script.sh 2>/tmp/stderr.txt |
|
173
|
+
| Should Be Equal | ${stdout} | TEST PASSED |
|
174
|
+
| File Should Be Empty | /tmp/stderr.txt |
|
175
|
+
|
176
|
+
*TIP:* `Run Process` keyword provided by the
|
177
|
+
[http://robotframework.org/robotframework/latest/libraries/Process.html|
|
178
|
+
Process library] supports better process configuration and is generally
|
179
|
+
recommended as a replacement for this keyword.
|
180
|
+
"""
|
181
|
+
return self._run(command)[1]
|
182
|
+
|
183
|
+
def run_and_return_rc(self, command):
|
184
|
+
"""Runs the given command in the system and returns the return code.
|
185
|
+
|
186
|
+
The return code (RC) is returned as a positive integer in
|
187
|
+
range from 0 to 255 as returned by the executed command. On
|
188
|
+
some operating systems (notable Windows) original return codes
|
189
|
+
can be something else, but this keyword always maps them to
|
190
|
+
the 0-255 range. Since the RC is an integer, it must be
|
191
|
+
checked e.g. with the keyword `Should Be Equal As Integers`
|
192
|
+
instead of `Should Be Equal` (both are built-in keywords).
|
193
|
+
|
194
|
+
Examples:
|
195
|
+
| ${rc} = | Run and Return RC | ${CURDIR}${/}script.py arg |
|
196
|
+
| Should Be Equal As Integers | ${rc} | 0 |
|
197
|
+
| ${rc} = | Run and Return RC | /path/to/example.rb arg1 arg2 |
|
198
|
+
| Should Be True | 0 < ${rc} < 42 |
|
199
|
+
|
200
|
+
See `Run` and `Run And Return RC And Output` if you need to get the
|
201
|
+
output of the executed command.
|
202
|
+
|
203
|
+
*TIP:* `Run Process` keyword provided by the
|
204
|
+
[http://robotframework.org/robotframework/latest/libraries/Process.html|
|
205
|
+
Process library] supports better process configuration and is generally
|
206
|
+
recommended as a replacement for this keyword.
|
207
|
+
"""
|
208
|
+
return self._run(command)[0]
|
209
|
+
|
210
|
+
def run_and_return_rc_and_output(self, command):
|
211
|
+
"""Runs the given command in the system and returns the RC and output.
|
212
|
+
|
213
|
+
The return code (RC) is returned similarly as with `Run And Return RC`
|
214
|
+
and the output similarly as with `Run`.
|
215
|
+
|
216
|
+
Examples:
|
217
|
+
| ${rc} | ${output} = | Run and Return RC and Output | ${CURDIR}${/}mytool |
|
218
|
+
| Should Be Equal As Integers | ${rc} | 0 |
|
219
|
+
| Should Not Contain | ${output} | FAIL |
|
220
|
+
| ${rc} | ${stdout} = | Run and Return RC and Output | /opt/script.sh 2>/tmp/stderr.txt |
|
221
|
+
| Should Be True | ${rc} > 42 |
|
222
|
+
| Should Be Equal | ${stdout} | TEST PASSED |
|
223
|
+
| File Should Be Empty | /tmp/stderr.txt |
|
224
|
+
|
225
|
+
*TIP:* `Run Process` keyword provided by the
|
226
|
+
[http://robotframework.org/robotframework/latest/libraries/Process.html|
|
227
|
+
Process library] supports better process configuration and is generally
|
228
|
+
recommended as a replacement for this keyword.
|
229
|
+
"""
|
230
|
+
return self._run(command)
|
231
|
+
|
232
|
+
def _run(self, command):
|
233
|
+
process = _Process(command)
|
234
|
+
self._info("Running command '%s'." % process)
|
235
|
+
stdout = process.read()
|
236
|
+
rc = process.close()
|
237
|
+
return rc, stdout
|
238
|
+
|
239
|
+
def get_file(self, path, encoding='UTF-8', encoding_errors='strict'):
|
240
|
+
"""Returns the contents of a specified file.
|
241
|
+
|
242
|
+
This keyword reads the specified file and returns the contents.
|
243
|
+
Line breaks in content are converted to platform independent form.
|
244
|
+
See also `Get Binary File`.
|
245
|
+
|
246
|
+
``encoding`` defines the encoding of the file. The default value is
|
247
|
+
``UTF-8``, which means that UTF-8 and ASCII encoded files are read
|
248
|
+
correctly. In addition to the encodings supported by the underlying
|
249
|
+
Python implementation, the following special encoding values can be
|
250
|
+
used:
|
251
|
+
|
252
|
+
- ``SYSTEM``: Use the default system encoding.
|
253
|
+
- ``CONSOLE``: Use the console encoding. Outside Windows this is same
|
254
|
+
as the system encoding.
|
255
|
+
|
256
|
+
``encoding_errors`` argument controls what to do if decoding some bytes
|
257
|
+
fails. All values accepted by ``decode`` method in Python are valid, but
|
258
|
+
in practice the following values are most useful:
|
259
|
+
|
260
|
+
- ``strict``: Fail if characters cannot be decoded (default).
|
261
|
+
- ``ignore``: Ignore characters that cannot be decoded.
|
262
|
+
- ``replace``: Replace characters that cannot be decoded with
|
263
|
+
a replacement character.
|
264
|
+
|
265
|
+
``encoding_errors`` argument was added in Robot Framework 2.8.5 and the
|
266
|
+
support for ``SYSTEM`` and ``CONSOLE`` encodings in Robot Framework 3.0.
|
267
|
+
"""
|
268
|
+
path = self._absnorm(path)
|
269
|
+
self._link("Getting file '%s'.", path)
|
270
|
+
encoding = self._map_encoding(encoding)
|
271
|
+
if IRONPYTHON:
|
272
|
+
# https://github.com/IronLanguages/main/issues/1233
|
273
|
+
with open(path) as f:
|
274
|
+
content = f.read().decode(encoding, encoding_errors)
|
275
|
+
else:
|
276
|
+
with io.open(path, encoding=encoding, errors=encoding_errors,
|
277
|
+
newline='') as f:
|
278
|
+
content = f.read()
|
279
|
+
return content.replace('\r\n', '\n')
|
280
|
+
|
281
|
+
def _map_encoding(self, encoding):
|
282
|
+
return {'SYSTEM': SYSTEM_ENCODING,
|
283
|
+
'CONSOLE': CONSOLE_ENCODING}.get(encoding.upper(), encoding)
|
284
|
+
|
285
|
+
def get_binary_file(self, path):
|
286
|
+
"""Returns the contents of a specified file.
|
287
|
+
|
288
|
+
This keyword reads the specified file and returns the contents as is.
|
289
|
+
See also `Get File`.
|
290
|
+
"""
|
291
|
+
path = self._absnorm(path)
|
292
|
+
self._link("Getting file '%s'.", path)
|
293
|
+
with open(path, 'rb') as f:
|
294
|
+
return bytes(f.read())
|
295
|
+
|
296
|
+
def grep_file(self, path, pattern, encoding='UTF-8', encoding_errors='strict'):
|
297
|
+
"""Returns the lines of the specified file that match the ``pattern``.
|
298
|
+
|
299
|
+
This keyword reads a file from the file system using the defined
|
300
|
+
``path``, ``encoding`` and ``encoding_errors`` similarly as `Get File`.
|
301
|
+
A difference is that only the lines that match the given ``pattern`` are
|
302
|
+
returned. Lines are returned as a single string catenated back together
|
303
|
+
with newlines and the number of matched lines is automatically logged.
|
304
|
+
Possible trailing newline is never returned.
|
305
|
+
|
306
|
+
A line matches if it contains the ``pattern`` anywhere in it and
|
307
|
+
it *does not need to match the pattern fully*. The pattern
|
308
|
+
matching syntax is explained in `introduction`, and in this
|
309
|
+
case matching is case-sensitive.
|
310
|
+
|
311
|
+
Examples:
|
312
|
+
| ${errors} = | Grep File | /var/log/myapp.log | ERROR |
|
313
|
+
| ${ret} = | Grep File | ${CURDIR}/file.txt | [Ww]ildc??d ex*ple |
|
314
|
+
|
315
|
+
If more complex pattern matching is needed, it is possible to use
|
316
|
+
`Get File` in combination with String library keywords like `Get
|
317
|
+
Lines Matching Regexp`.
|
318
|
+
|
319
|
+
``encoding_errors`` argument is new in Robot Framework 2.8.5.
|
320
|
+
"""
|
321
|
+
pattern = '*%s*' % pattern
|
322
|
+
path = self._absnorm(path)
|
323
|
+
lines = []
|
324
|
+
total_lines = 0
|
325
|
+
self._link("Reading file '%s'.", path)
|
326
|
+
with io.open(path, encoding=encoding, errors=encoding_errors) as f:
|
327
|
+
for line in f.readlines():
|
328
|
+
total_lines += 1
|
329
|
+
line = line.rstrip('\r\n')
|
330
|
+
if fnmatch.fnmatchcase(line, pattern):
|
331
|
+
lines.append(line)
|
332
|
+
self._info('%d out of %d lines matched' % (len(lines), total_lines))
|
333
|
+
return '\n'.join(lines)
|
334
|
+
|
335
|
+
def log_file(self, path, encoding='UTF-8', encoding_errors='strict'):
|
336
|
+
"""Wrapper for `Get File` that also logs the returned file.
|
337
|
+
|
338
|
+
The file is logged with the INFO level. If you want something else,
|
339
|
+
just use `Get File` and the built-in keyword `Log` with the desired
|
340
|
+
level.
|
341
|
+
|
342
|
+
See `Get File` for more information about ``encoding`` and
|
343
|
+
``encoding_errors`` arguments.
|
344
|
+
|
345
|
+
``encoding_errors`` argument is new in Robot Framework 2.8.5.
|
346
|
+
"""
|
347
|
+
content = self.get_file(path, encoding, encoding_errors)
|
348
|
+
self._info(content)
|
349
|
+
return content
|
350
|
+
|
351
|
+
# File and directory existence
|
352
|
+
|
353
|
+
def should_exist(self, path, msg=None):
|
354
|
+
"""Fails unless the given path (file or directory) exists.
|
355
|
+
|
356
|
+
The path can be given as an exact path or as a glob pattern.
|
357
|
+
The pattern matching syntax is explained in `introduction`.
|
358
|
+
The default error message can be overridden with the ``msg`` argument.
|
359
|
+
"""
|
360
|
+
path = self._absnorm(path)
|
361
|
+
if not self._glob(path):
|
362
|
+
self._fail(msg, "Path '%s' does not exist." % path)
|
363
|
+
self._link("Path '%s' exists.", path)
|
364
|
+
|
365
|
+
def should_not_exist(self, path, msg=None):
|
366
|
+
"""Fails if the given path (file or directory) exists.
|
367
|
+
|
368
|
+
The path can be given as an exact path or as a glob pattern.
|
369
|
+
The pattern matching syntax is explained in `introduction`.
|
370
|
+
The default error message can be overridden with the ``msg`` argument.
|
371
|
+
"""
|
372
|
+
path = self._absnorm(path)
|
373
|
+
matches = self._glob(path)
|
374
|
+
if matches:
|
375
|
+
self._fail(msg, self._get_matches_error('Path', path, matches))
|
376
|
+
self._link("Path '%s' does not exist.", path)
|
377
|
+
|
378
|
+
def _glob(self, path):
|
379
|
+
return glob.glob(path) if not os.path.exists(path) else [path]
|
380
|
+
|
381
|
+
def _get_matches_error(self, what, path, matches):
|
382
|
+
if not self._is_glob_path(path):
|
383
|
+
return "%s '%s' exists." % (what, path)
|
384
|
+
return "%s '%s' matches %s." % (what, path, seq2str(sorted(matches)))
|
385
|
+
|
386
|
+
def _is_glob_path(self, path):
|
387
|
+
return '*' in path or '?' in path or ('[' in path and ']' in path)
|
388
|
+
|
389
|
+
def file_should_exist(self, path, msg=None):
|
390
|
+
"""Fails unless the given ``path`` points to an existing file.
|
391
|
+
|
392
|
+
The path can be given as an exact path or as a glob pattern.
|
393
|
+
The pattern matching syntax is explained in `introduction`.
|
394
|
+
The default error message can be overridden with the ``msg`` argument.
|
395
|
+
"""
|
396
|
+
path = self._absnorm(path)
|
397
|
+
matches = [p for p in self._glob(path) if os.path.isfile(p)]
|
398
|
+
if not matches:
|
399
|
+
self._fail(msg, "File '%s' does not exist." % path)
|
400
|
+
self._link("File '%s' exists.", path)
|
401
|
+
|
402
|
+
def file_should_not_exist(self, path, msg=None):
|
403
|
+
"""Fails if the given path points to an existing file.
|
404
|
+
|
405
|
+
The path can be given as an exact path or as a glob pattern.
|
406
|
+
The pattern matching syntax is explained in `introduction`.
|
407
|
+
The default error message can be overridden with the ``msg`` argument.
|
408
|
+
"""
|
409
|
+
path = self._absnorm(path)
|
410
|
+
matches = [p for p in self._glob(path) if os.path.isfile(p)]
|
411
|
+
if matches:
|
412
|
+
self._fail(msg, self._get_matches_error('File', path, matches))
|
413
|
+
self._link("File '%s' does not exist.", path)
|
414
|
+
|
415
|
+
def directory_should_exist(self, path, msg=None):
|
416
|
+
"""Fails unless the given path points to an existing directory.
|
417
|
+
|
418
|
+
The path can be given as an exact path or as a glob pattern.
|
419
|
+
The pattern matching syntax is explained in `introduction`.
|
420
|
+
The default error message can be overridden with the ``msg`` argument.
|
421
|
+
"""
|
422
|
+
path = self._absnorm(path)
|
423
|
+
matches = [p for p in self._glob(path) if os.path.isdir(p)]
|
424
|
+
if not matches:
|
425
|
+
self._fail(msg, "Directory '%s' does not exist." % path)
|
426
|
+
self._link("Directory '%s' exists.", path)
|
427
|
+
|
428
|
+
def directory_should_not_exist(self, path, msg=None):
|
429
|
+
"""Fails if the given path points to an existing file.
|
430
|
+
|
431
|
+
The path can be given as an exact path or as a glob pattern.
|
432
|
+
The pattern matching syntax is explained in `introduction`.
|
433
|
+
The default error message can be overridden with the ``msg`` argument.
|
434
|
+
"""
|
435
|
+
path = self._absnorm(path)
|
436
|
+
matches = [p for p in self._glob(path) if os.path.isdir(p)]
|
437
|
+
if matches:
|
438
|
+
self._fail(msg, self._get_matches_error('Directory', path, matches))
|
439
|
+
self._link("Directory '%s' does not exist.", path)
|
440
|
+
|
441
|
+
# Waiting file/dir to appear/disappear
|
442
|
+
|
443
|
+
def wait_until_removed(self, path, timeout='1 minute'):
|
444
|
+
"""Waits until the given file or directory is removed.
|
445
|
+
|
446
|
+
The path can be given as an exact path or as a glob pattern.
|
447
|
+
The pattern matching syntax is explained in `introduction`.
|
448
|
+
If the path is a pattern, the keyword waits until all matching
|
449
|
+
items are removed.
|
450
|
+
|
451
|
+
The optional ``timeout`` can be used to control the maximum time of
|
452
|
+
waiting. The timeout is given as a timeout string, e.g. in a format
|
453
|
+
``15 seconds``, ``1min 10s`` or just ``10``. The time string format is
|
454
|
+
described in an appendix of Robot Framework User Guide.
|
455
|
+
|
456
|
+
If the timeout is negative, the keyword is never timed-out. The keyword
|
457
|
+
returns immediately, if the path does not exist in the first place.
|
458
|
+
"""
|
459
|
+
path = self._absnorm(path)
|
460
|
+
timeout = timestr_to_secs(timeout)
|
461
|
+
maxtime = time.time() + timeout
|
462
|
+
while self._glob(path):
|
463
|
+
if timeout >= 0 and time.time() > maxtime:
|
464
|
+
self._fail("'%s' was not removed in %s."
|
465
|
+
% (path, secs_to_timestr(timeout)))
|
466
|
+
time.sleep(0.1)
|
467
|
+
self._link("'%s' was removed.", path)
|
468
|
+
|
469
|
+
def wait_until_created(self, path, timeout='1 minute'):
|
470
|
+
"""Waits until the given file or directory is created.
|
471
|
+
|
472
|
+
The path can be given as an exact path or as a glob pattern.
|
473
|
+
The pattern matching syntax is explained in `introduction`.
|
474
|
+
If the path is a pattern, the keyword returns when an item matching
|
475
|
+
it is created.
|
476
|
+
|
477
|
+
The optional ``timeout`` can be used to control the maximum time of
|
478
|
+
waiting. The timeout is given as a timeout string, e.g. in a format
|
479
|
+
``15 seconds``, ``1min 10s`` or just ``10``. The time string format is
|
480
|
+
described in an appendix of Robot Framework User Guide.
|
481
|
+
|
482
|
+
If the timeout is negative, the keyword is never timed-out. The keyword
|
483
|
+
returns immediately, if the path already exists.
|
484
|
+
"""
|
485
|
+
path = self._absnorm(path)
|
486
|
+
timeout = timestr_to_secs(timeout)
|
487
|
+
maxtime = time.time() + timeout
|
488
|
+
while not self._glob(path):
|
489
|
+
if timeout >= 0 and time.time() > maxtime:
|
490
|
+
self._fail("'%s' was not created in %s."
|
491
|
+
% (path, secs_to_timestr(timeout)))
|
492
|
+
time.sleep(0.1)
|
493
|
+
self._link("'%s' was created.", path)
|
494
|
+
|
495
|
+
# Dir/file empty
|
496
|
+
|
497
|
+
def directory_should_be_empty(self, path, msg=None):
|
498
|
+
"""Fails unless the specified directory is empty.
|
499
|
+
|
500
|
+
The default error message can be overridden with the ``msg`` argument.
|
501
|
+
"""
|
502
|
+
path = self._absnorm(path)
|
503
|
+
items = self._list_dir(path)
|
504
|
+
if items:
|
505
|
+
self._fail(msg, "Directory '%s' is not empty. Contents: %s."
|
506
|
+
% (path, seq2str(items, lastsep=', ')))
|
507
|
+
self._link("Directory '%s' is empty.", path)
|
508
|
+
|
509
|
+
def directory_should_not_be_empty(self, path, msg=None):
|
510
|
+
"""Fails if the specified directory is empty.
|
511
|
+
|
512
|
+
The default error message can be overridden with the ``msg`` argument.
|
513
|
+
"""
|
514
|
+
path = self._absnorm(path)
|
515
|
+
items = self._list_dir(path)
|
516
|
+
if not items:
|
517
|
+
self._fail(msg, "Directory '%s' is empty." % path)
|
518
|
+
self._link("Directory '%%s' contains %d item%s."
|
519
|
+
% (len(items), plural_or_not(items)), path)
|
520
|
+
|
521
|
+
def file_should_be_empty(self, path, msg=None):
|
522
|
+
"""Fails unless the specified file is empty.
|
523
|
+
|
524
|
+
The default error message can be overridden with the ``msg`` argument.
|
525
|
+
"""
|
526
|
+
path = self._absnorm(path)
|
527
|
+
if not os.path.isfile(path):
|
528
|
+
self._error("File '%s' does not exist." % path)
|
529
|
+
size = os.stat(path).st_size
|
530
|
+
if size > 0:
|
531
|
+
self._fail(msg,
|
532
|
+
"File '%s' is not empty. Size: %d bytes." % (path, size))
|
533
|
+
self._link("File '%s' is empty.", path)
|
534
|
+
|
535
|
+
def file_should_not_be_empty(self, path, msg=None):
|
536
|
+
"""Fails if the specified directory is empty.
|
537
|
+
|
538
|
+
The default error message can be overridden with the ``msg`` argument.
|
539
|
+
"""
|
540
|
+
path = self._absnorm(path)
|
541
|
+
if not os.path.isfile(path):
|
542
|
+
self._error("File '%s' does not exist." % path)
|
543
|
+
size = os.stat(path).st_size
|
544
|
+
if size == 0:
|
545
|
+
self._fail(msg, "File '%s' is empty." % path)
|
546
|
+
self._link("File '%%s' contains %d bytes." % size, path)
|
547
|
+
|
548
|
+
# Creating and removing files and directory
|
549
|
+
|
550
|
+
def create_file(self, path, content='', encoding='UTF-8'):
|
551
|
+
"""Creates a file with the given content and encoding.
|
552
|
+
|
553
|
+
If the directory for the file does not exist, it is created, along
|
554
|
+
with missing intermediate directories.
|
555
|
+
|
556
|
+
See `Get File` for more information about possible ``encoding`` values,
|
557
|
+
including special values ``SYSTEM`` and ``CONSOLE``.
|
558
|
+
|
559
|
+
Examples:
|
560
|
+
| Create File | ${dir}/example.txt | Hello, world! | |
|
561
|
+
| Create File | ${path} | Hyv\\xe4 esimerkki | Latin-1 |
|
562
|
+
| Create File | /tmp/foo.txt | ${content} | SYSTEM |
|
563
|
+
|
564
|
+
Use `Append To File` if you want to append to an existing file
|
565
|
+
and `Create Binary File` if you need to write bytes without encoding.
|
566
|
+
`File Should Not Exist` can be used to avoid overwriting existing
|
567
|
+
files.
|
568
|
+
|
569
|
+
The support for ``SYSTEM`` and ``CONSOLE`` encodings is new in Robot
|
570
|
+
Framework 3.0.
|
571
|
+
"""
|
572
|
+
path = self._write_to_file(path, content, self._map_encoding(encoding))
|
573
|
+
self._link("Created file '%s'.", path)
|
574
|
+
|
575
|
+
def _write_to_file(self, path, content, encoding=None, mode='w'):
|
576
|
+
path = self._absnorm(path)
|
577
|
+
parent = os.path.dirname(path)
|
578
|
+
if not os.path.exists(parent):
|
579
|
+
os.makedirs(parent)
|
580
|
+
if encoding:
|
581
|
+
content = content.encode(encoding)
|
582
|
+
with open(path, mode+'b') as f:
|
583
|
+
f.write(content)
|
584
|
+
return path
|
585
|
+
|
586
|
+
def create_binary_file(self, path, content):
|
587
|
+
"""Creates a binary file with the given content.
|
588
|
+
|
589
|
+
If content is given as a Unicode string, it is first converted to bytes
|
590
|
+
character by character. All characters with ordinal below 256 can be
|
591
|
+
used and are converted to bytes with same values. Using characters
|
592
|
+
with higher ordinal is an error.
|
593
|
+
|
594
|
+
Byte strings, and possible other types, are written to the file as is.
|
595
|
+
|
596
|
+
If the directory for the file does not exist, it is created, along
|
597
|
+
with missing intermediate directories.
|
598
|
+
|
599
|
+
Examples:
|
600
|
+
| Create Binary File | ${dir}/example.png | ${image content} |
|
601
|
+
| Create Binary File | ${path} | \\x01\\x00\\xe4\\x00 |
|
602
|
+
|
603
|
+
Use `Create File` if you want to create a text file using a certain
|
604
|
+
encoding. `File Should Not Exist` can be used to avoid overwriting
|
605
|
+
existing files.
|
606
|
+
|
607
|
+
New in Robot Framework 2.8.5.
|
608
|
+
"""
|
609
|
+
if is_unicode(content):
|
610
|
+
content = bytes(bytearray(ord(c) for c in content))
|
611
|
+
path = self._write_to_file(path, content)
|
612
|
+
self._link("Created binary file '%s'.", path)
|
613
|
+
|
614
|
+
def append_to_file(self, path, content, encoding='UTF-8'):
|
615
|
+
"""Appends the given content to the specified file.
|
616
|
+
|
617
|
+
If the file does not exists, this keyword works exactly the same
|
618
|
+
way as `Create File`.
|
619
|
+
"""
|
620
|
+
path = self._write_to_file(path, content, encoding, mode='a')
|
621
|
+
self._link("Appended to file '%s'.", path)
|
622
|
+
|
623
|
+
def remove_file(self, path):
|
624
|
+
"""Removes a file with the given path.
|
625
|
+
|
626
|
+
Passes if the file does not exist, but fails if the path does
|
627
|
+
not point to a regular file (e.g. it points to a directory).
|
628
|
+
|
629
|
+
The path can be given as an exact path or as a glob pattern.
|
630
|
+
The pattern matching syntax is explained in `introduction`.
|
631
|
+
If the path is a pattern, all files matching it are removed.
|
632
|
+
"""
|
633
|
+
path = self._absnorm(path)
|
634
|
+
matches = self._glob(path)
|
635
|
+
if not matches:
|
636
|
+
self._link("File '%s' does not exist.", path)
|
637
|
+
for match in matches:
|
638
|
+
if not os.path.isfile(match):
|
639
|
+
self._error("Path '%s' is not a file." % match)
|
640
|
+
os.remove(match)
|
641
|
+
self._link("Removed file '%s'.", match)
|
642
|
+
|
643
|
+
def remove_files(self, *paths):
|
644
|
+
"""Uses `Remove File` to remove multiple files one-by-one.
|
645
|
+
|
646
|
+
Example:
|
647
|
+
| Remove Files | ${TEMPDIR}${/}foo.txt | ${TEMPDIR}${/}bar.txt | ${TEMPDIR}${/}zap.txt |
|
648
|
+
"""
|
649
|
+
for path in paths:
|
650
|
+
self.remove_file(path)
|
651
|
+
|
652
|
+
def empty_directory(self, path):
|
653
|
+
"""Deletes all the content from the given directory.
|
654
|
+
|
655
|
+
Deletes both files and sub-directories, but the specified directory
|
656
|
+
itself if not removed. Use `Remove Directory` if you want to remove
|
657
|
+
the whole directory.
|
658
|
+
"""
|
659
|
+
path = self._absnorm(path)
|
660
|
+
for item in self._list_dir(path, absolute=True):
|
661
|
+
if os.path.isdir(item):
|
662
|
+
shutil.rmtree(item)
|
663
|
+
else:
|
664
|
+
os.remove(item)
|
665
|
+
self._link("Emptied directory '%s'.", path)
|
666
|
+
|
667
|
+
def create_directory(self, path):
|
668
|
+
"""Creates the specified directory.
|
669
|
+
|
670
|
+
Also possible intermediate directories are created. Passes if the
|
671
|
+
directory already exists, but fails if the path exists and is not
|
672
|
+
a directory.
|
673
|
+
"""
|
674
|
+
path = self._absnorm(path)
|
675
|
+
if os.path.isdir(path):
|
676
|
+
self._link("Directory '%s' already exists.", path )
|
677
|
+
elif os.path.exists(path):
|
678
|
+
self._error("Path '%s' is not a directory." % path)
|
679
|
+
else:
|
680
|
+
os.makedirs(path)
|
681
|
+
self._link("Created directory '%s'.", path)
|
682
|
+
|
683
|
+
def remove_directory(self, path, recursive=False):
|
684
|
+
"""Removes the directory pointed to by the given ``path``.
|
685
|
+
|
686
|
+
If the second argument ``recursive`` is given a true value (see
|
687
|
+
`Boolean arguments`), the directory is removed recursively. Otherwise
|
688
|
+
removing fails if the directory is not empty.
|
689
|
+
|
690
|
+
If the directory pointed to by the ``path`` does not exist, the keyword
|
691
|
+
passes, but it fails, if the ``path`` points to a file.
|
692
|
+
"""
|
693
|
+
path = self._absnorm(path)
|
694
|
+
if not os.path.exists(path):
|
695
|
+
self._link("Directory '%s' does not exist.", path)
|
696
|
+
elif not os.path.isdir(path):
|
697
|
+
self._error("Path '%s' is not a directory." % path)
|
698
|
+
else:
|
699
|
+
if is_truthy(recursive):
|
700
|
+
shutil.rmtree(path)
|
701
|
+
else:
|
702
|
+
self.directory_should_be_empty(
|
703
|
+
path, "Directory '%s' is not empty." % path)
|
704
|
+
os.rmdir(path)
|
705
|
+
self._link("Removed directory '%s'.", path)
|
706
|
+
|
707
|
+
# Moving and copying files and directories
|
708
|
+
|
709
|
+
def copy_file(self, source, destination):
|
710
|
+
"""Copies the source file into the destination.
|
711
|
+
|
712
|
+
Source must be an existing file. Starting from Robot Framework 2.8.4,
|
713
|
+
it can be given as a glob pattern (see `Pattern matching`) that matches
|
714
|
+
exactly one file. How the destination is interpreted is explained below.
|
715
|
+
|
716
|
+
1) If the destination is an existing file, the source file is copied
|
717
|
+
over it.
|
718
|
+
|
719
|
+
2) If the destination is an existing directory, the source file is
|
720
|
+
copied into it. A possible file with the same name as the source is
|
721
|
+
overwritten.
|
722
|
+
|
723
|
+
3) If the destination does not exist and it ends with a path
|
724
|
+
separator (``/`` or ``\\``), it is considered a directory. That
|
725
|
+
directory is created and a source file copied into it.
|
726
|
+
Possible missing intermediate directories are also created.
|
727
|
+
|
728
|
+
4) If the destination does not exist and it does not end with a path
|
729
|
+
separator, it is considered a file. If the path to the file does not
|
730
|
+
exist, it is created.
|
731
|
+
|
732
|
+
The resulting destination path is returned since Robot Framework 2.9.2.
|
733
|
+
|
734
|
+
See also `Copy Files`, `Move File`, and `Move Files`.
|
735
|
+
"""
|
736
|
+
source, destination = \
|
737
|
+
self._prepare_copy_and_move_file(source, destination)
|
738
|
+
if not self._are_source_and_destination_same_file(source, destination):
|
739
|
+
source, destination = self._atomic_copy(source, destination)
|
740
|
+
self._link("Copied file from '%s' to '%s'.", source, destination)
|
741
|
+
return destination
|
742
|
+
|
743
|
+
def _prepare_copy_and_move_file(self, source, destination):
|
744
|
+
source = self._normalize_copy_and_move_source(source)
|
745
|
+
destination = self._normalize_copy_and_move_destination(destination)
|
746
|
+
if os.path.isdir(destination):
|
747
|
+
destination = os.path.join(destination, os.path.basename(source))
|
748
|
+
return source, destination
|
749
|
+
|
750
|
+
def _normalize_copy_and_move_source(self, source):
|
751
|
+
source = self._absnorm(source)
|
752
|
+
sources = self._glob(source)
|
753
|
+
if len(sources) > 1:
|
754
|
+
self._error("Multiple matches with source pattern '%s'." % source)
|
755
|
+
if sources:
|
756
|
+
source = sources[0]
|
757
|
+
if not os.path.exists(source):
|
758
|
+
self._error("Source file '%s' does not exist." % source)
|
759
|
+
if not os.path.isfile(source):
|
760
|
+
self._error("Source file '%s' is not a regular file." % source)
|
761
|
+
return source
|
762
|
+
|
763
|
+
def _normalize_copy_and_move_destination(self, destination):
|
764
|
+
is_dir = os.path.isdir(destination) or destination.endswith(('/', '\\'))
|
765
|
+
destination = self._absnorm(destination)
|
766
|
+
directory = destination if is_dir else os.path.dirname(destination)
|
767
|
+
self._ensure_destination_directory_exists(directory)
|
768
|
+
return destination
|
769
|
+
|
770
|
+
def _ensure_destination_directory_exists(self, path):
|
771
|
+
if not os.path.exists(path):
|
772
|
+
os.makedirs(path)
|
773
|
+
elif not os.path.isdir(path):
|
774
|
+
self._error("Destination '%s' exists and is not a directory." % path)
|
775
|
+
|
776
|
+
def _are_source_and_destination_same_file(self, source, destination):
|
777
|
+
if self._force_normalize(source) == self._force_normalize(destination):
|
778
|
+
self._link("Source '%s' and destination '%s' point to the same "
|
779
|
+
"file.", source, destination)
|
780
|
+
return True
|
781
|
+
return False
|
782
|
+
|
783
|
+
def _force_normalize(self, path):
|
784
|
+
# TODO: Should normalize_path also support case and link normalization?
|
785
|
+
# TODO: Should we handle dos paths like 'exampl~1.txt'?
|
786
|
+
return os.path.realpath(normpath(path, case_normalize=True))
|
787
|
+
|
788
|
+
def _atomic_copy(self, source, destination):
|
789
|
+
"""Copy file atomically (or at least try to).
|
790
|
+
|
791
|
+
This method tries to ensure that a file copy operation will not fail
|
792
|
+
if the destination file is removed during copy operation. The problem
|
793
|
+
is that copying a file is typically not an atomic operation.
|
794
|
+
|
795
|
+
Luckily moving files is atomic in almost every platform, assuming files
|
796
|
+
are on the same filesystem, and we can use that as a workaround:
|
797
|
+
- First move the source to a temporary directory that is ensured to
|
798
|
+
be on the same filesystem as the destination.
|
799
|
+
- Move the temporary file over the real destination.
|
800
|
+
|
801
|
+
See also https://github.com/robotframework/robotframework/issues/1502
|
802
|
+
"""
|
803
|
+
temp_directory = tempfile.mkdtemp(dir=os.path.dirname(destination))
|
804
|
+
temp_file = os.path.join(temp_directory, os.path.basename(source))
|
805
|
+
try:
|
806
|
+
shutil.copy(source, temp_file)
|
807
|
+
if os.path.exists(destination):
|
808
|
+
os.remove(destination)
|
809
|
+
shutil.move(temp_file, destination)
|
810
|
+
finally:
|
811
|
+
shutil.rmtree(temp_directory)
|
812
|
+
return source, destination
|
813
|
+
|
814
|
+
def move_file(self, source, destination):
|
815
|
+
"""Moves the source file into the destination.
|
816
|
+
|
817
|
+
Arguments have exactly same semantics as with `Copy File` keyword.
|
818
|
+
Destination file path is returned since Robot Framework 2.9.2.
|
819
|
+
|
820
|
+
If the source and destination are on the same filesystem, rename
|
821
|
+
operation is used. Otherwise file is copied to the destination
|
822
|
+
filesystem and then removed from the original filesystem.
|
823
|
+
|
824
|
+
See also `Move Files`, `Copy File`, and `Copy Files`.
|
825
|
+
"""
|
826
|
+
source, destination = \
|
827
|
+
self._prepare_copy_and_move_file(source, destination)
|
828
|
+
if not self._are_source_and_destination_same_file(destination, source):
|
829
|
+
shutil.move(source, destination)
|
830
|
+
self._link("Moved file from '%s' to '%s'.", source, destination)
|
831
|
+
return destination
|
832
|
+
|
833
|
+
def copy_files(self, *sources_and_destination):
|
834
|
+
"""Copies specified files to the target directory.
|
835
|
+
|
836
|
+
Source files can be given as exact paths and as glob patterns (see
|
837
|
+
`Pattern matching`). At least one source must be given, but it is
|
838
|
+
not an error if it is a pattern that does not match anything.
|
839
|
+
|
840
|
+
Last argument must be the destination directory. If the destination
|
841
|
+
does not exist, it will be created.
|
842
|
+
|
843
|
+
Examples:
|
844
|
+
| Copy Files | ${dir}/file1.txt | ${dir}/file2.txt | ${dir2} |
|
845
|
+
| Copy Files | ${dir}/file-*.txt | ${dir2} | |
|
846
|
+
|
847
|
+
See also `Copy File`, `Move File`, and `Move Files`.
|
848
|
+
|
849
|
+
New in Robot Framework 2.8.4.
|
850
|
+
"""
|
851
|
+
sources, destination \
|
852
|
+
= self._prepare_copy_and_move_files(sources_and_destination)
|
853
|
+
for source in sources:
|
854
|
+
self.copy_file(source, destination)
|
855
|
+
|
856
|
+
def _prepare_copy_and_move_files(self, items):
|
857
|
+
if len(items) < 2:
|
858
|
+
self._error('Must contain destination and at least one source.')
|
859
|
+
sources = self._glob_files(items[:-1])
|
860
|
+
destination = self._absnorm(items[-1])
|
861
|
+
self._ensure_destination_directory_exists(destination)
|
862
|
+
return sources, destination
|
863
|
+
|
864
|
+
def _glob_files(self, patterns):
|
865
|
+
files = []
|
866
|
+
for pattern in patterns:
|
867
|
+
files.extend(self._glob(self._absnorm(pattern)))
|
868
|
+
return files
|
869
|
+
|
870
|
+
def move_files(self, *sources_and_destination):
|
871
|
+
"""Moves specified files to the target directory.
|
872
|
+
|
873
|
+
Arguments have exactly same semantics as with `Copy Files` keyword.
|
874
|
+
|
875
|
+
See also `Move File`, `Copy File`, and `Copy Files`.
|
876
|
+
|
877
|
+
New in Robot Framework 2.8.4.
|
878
|
+
"""
|
879
|
+
sources, destination \
|
880
|
+
= self._prepare_copy_and_move_files(sources_and_destination)
|
881
|
+
for source in sources:
|
882
|
+
self.move_file(source, destination)
|
883
|
+
|
884
|
+
def copy_directory(self, source, destination):
|
885
|
+
"""Copies the source directory into the destination.
|
886
|
+
|
887
|
+
If the destination exists, the source is copied under it. Otherwise
|
888
|
+
the destination directory and the possible missing intermediate
|
889
|
+
directories are created.
|
890
|
+
"""
|
891
|
+
source, destination \
|
892
|
+
= self._prepare_copy_and_move_directory(source, destination)
|
893
|
+
try:
|
894
|
+
shutil.copytree(source, destination)
|
895
|
+
except shutil.Error:
|
896
|
+
# https://github.com/robotframework/robotframework/issues/2321
|
897
|
+
if not (WINDOWS and JYTHON):
|
898
|
+
raise
|
899
|
+
self._link("Copied directory from '%s' to '%s'.", source, destination)
|
900
|
+
|
901
|
+
def _prepare_copy_and_move_directory(self, source, destination):
|
902
|
+
source = self._absnorm(source)
|
903
|
+
destination = self._absnorm(destination)
|
904
|
+
if not os.path.exists(source):
|
905
|
+
self._error("Source '%s' does not exist." % source)
|
906
|
+
if not os.path.isdir(source):
|
907
|
+
self._error("Source '%s' is not a directory." % source)
|
908
|
+
if os.path.exists(destination) and not os.path.isdir(destination):
|
909
|
+
self._error("Destination '%s' is not a directory." % destination)
|
910
|
+
if os.path.exists(destination):
|
911
|
+
base = os.path.basename(source)
|
912
|
+
destination = os.path.join(destination, base)
|
913
|
+
else:
|
914
|
+
parent = os.path.dirname(destination)
|
915
|
+
if not os.path.exists(parent):
|
916
|
+
os.makedirs(parent)
|
917
|
+
return source, destination
|
918
|
+
|
919
|
+
def move_directory(self, source, destination):
|
920
|
+
"""Moves the source directory into a destination.
|
921
|
+
|
922
|
+
Uses `Copy Directory` keyword internally, and ``source`` and
|
923
|
+
``destination`` arguments have exactly same semantics as with
|
924
|
+
that keyword.
|
925
|
+
"""
|
926
|
+
source, destination \
|
927
|
+
= self._prepare_copy_and_move_directory(source, destination)
|
928
|
+
shutil.move(source, destination)
|
929
|
+
self._link("Moved directory from '%s' to '%s'.", source, destination)
|
930
|
+
|
931
|
+
# Environment Variables
|
932
|
+
|
933
|
+
def get_environment_variable(self, name, default=None):
|
934
|
+
"""Returns the value of an environment variable with the given name.
|
935
|
+
|
936
|
+
If no such environment variable is set, returns the default value, if
|
937
|
+
given. Otherwise fails the test case.
|
938
|
+
|
939
|
+
Starting from Robot Framework 2.7, returned variables are automatically
|
940
|
+
decoded to Unicode using the system encoding.
|
941
|
+
|
942
|
+
Note that you can also access environment variables directly using
|
943
|
+
the variable syntax ``%{ENV_VAR_NAME}``.
|
944
|
+
"""
|
945
|
+
value = get_env_var(name, default)
|
946
|
+
if value is None:
|
947
|
+
self._error("Environment variable '%s' does not exist." % name)
|
948
|
+
return value
|
949
|
+
|
950
|
+
def set_environment_variable(self, name, value):
|
951
|
+
"""Sets an environment variable to a specified value.
|
952
|
+
|
953
|
+
Values are converted to strings automatically. Starting from Robot
|
954
|
+
Framework 2.7, set variables are automatically encoded using the system
|
955
|
+
encoding.
|
956
|
+
"""
|
957
|
+
set_env_var(name, value)
|
958
|
+
self._info("Environment variable '%s' set to value '%s'."
|
959
|
+
% (name, value))
|
960
|
+
|
961
|
+
def append_to_environment_variable(self, name, *values, **config):
|
962
|
+
"""Appends given ``values`` to environment variable ``name``.
|
963
|
+
|
964
|
+
If the environment variable already exists, values are added after it,
|
965
|
+
and otherwise a new environment variable is created.
|
966
|
+
|
967
|
+
Values are, by default, joined together using the operating system
|
968
|
+
path separator (``;`` on Windows, ``:`` elsewhere). This can be changed
|
969
|
+
by giving a separator after the values like ``separator=value``. No
|
970
|
+
other configuration parameters are accepted.
|
971
|
+
|
972
|
+
Examples (assuming ``NAME`` and ``NAME2`` do not exist initially):
|
973
|
+
| Append To Environment Variable | NAME | first | |
|
974
|
+
| Should Be Equal | %{NAME} | first | |
|
975
|
+
| Append To Environment Variable | NAME | second | third |
|
976
|
+
| Should Be Equal | %{NAME} | first${:}second${:}third |
|
977
|
+
| Append To Environment Variable | NAME2 | first | separator=- |
|
978
|
+
| Should Be Equal | %{NAME2} | first | |
|
979
|
+
| Append To Environment Variable | NAME2 | second | separator=- |
|
980
|
+
| Should Be Equal | %{NAME2} | first-second |
|
981
|
+
|
982
|
+
New in Robot Framework 2.8.4.
|
983
|
+
"""
|
984
|
+
sentinel = object()
|
985
|
+
initial = self.get_environment_variable(name, sentinel)
|
986
|
+
if initial is not sentinel:
|
987
|
+
values = (initial,) + values
|
988
|
+
separator = config.pop('separator', os.pathsep)
|
989
|
+
if config:
|
990
|
+
config = ['='.join(i) for i in sorted(config.items())]
|
991
|
+
self._error('Configuration %s not accepted.'
|
992
|
+
% seq2str(config, lastsep=' or '))
|
993
|
+
self.set_environment_variable(name, separator.join(values))
|
994
|
+
|
995
|
+
def remove_environment_variable(self, *names):
|
996
|
+
"""Deletes the specified environment variable.
|
997
|
+
|
998
|
+
Does nothing if the environment variable is not set.
|
999
|
+
|
1000
|
+
Starting from Robot Framework 2.7, it is possible to remove multiple
|
1001
|
+
variables by passing them to this keyword as separate arguments.
|
1002
|
+
"""
|
1003
|
+
for name in names:
|
1004
|
+
value = del_env_var(name)
|
1005
|
+
if value:
|
1006
|
+
self._info("Environment variable '%s' deleted." % name)
|
1007
|
+
else:
|
1008
|
+
self._info("Environment variable '%s' does not exist." % name)
|
1009
|
+
|
1010
|
+
def environment_variable_should_be_set(self, name, msg=None):
|
1011
|
+
"""Fails if the specified environment variable is not set.
|
1012
|
+
|
1013
|
+
The default error message can be overridden with the ``msg`` argument.
|
1014
|
+
"""
|
1015
|
+
value = get_env_var(name)
|
1016
|
+
if not value:
|
1017
|
+
self._fail(msg, "Environment variable '%s' is not set." % name)
|
1018
|
+
self._info("Environment variable '%s' is set to '%s'." % (name, value))
|
1019
|
+
|
1020
|
+
def environment_variable_should_not_be_set(self, name, msg=None):
|
1021
|
+
"""Fails if the specified environment variable is set.
|
1022
|
+
|
1023
|
+
The default error message can be overridden with the ``msg`` argument.
|
1024
|
+
"""
|
1025
|
+
value = get_env_var(name)
|
1026
|
+
if value:
|
1027
|
+
self._fail(msg, "Environment variable '%s' is set to '%s'."
|
1028
|
+
% (name, value))
|
1029
|
+
self._info("Environment variable '%s' is not set." % name)
|
1030
|
+
|
1031
|
+
def get_environment_variables(self):
|
1032
|
+
"""Returns currently available environment variables as a dictionary.
|
1033
|
+
|
1034
|
+
Both keys and values are decoded to Unicode using the system encoding.
|
1035
|
+
Altering the returned dictionary has no effect on the actual environment
|
1036
|
+
variables.
|
1037
|
+
|
1038
|
+
New in Robot Framework 2.7.
|
1039
|
+
"""
|
1040
|
+
return get_env_vars()
|
1041
|
+
|
1042
|
+
def log_environment_variables(self, level='INFO'):
|
1043
|
+
"""Logs all environment variables using the given log level.
|
1044
|
+
|
1045
|
+
Environment variables are also returned the same way as with
|
1046
|
+
`Get Environment Variables` keyword.
|
1047
|
+
|
1048
|
+
New in Robot Framework 2.7.
|
1049
|
+
"""
|
1050
|
+
variables = get_env_vars()
|
1051
|
+
for name in sorted(variables, key=lambda item: item.lower()):
|
1052
|
+
self._log('%s = %s' % (name, variables[name]), level)
|
1053
|
+
return variables
|
1054
|
+
|
1055
|
+
# Path
|
1056
|
+
|
1057
|
+
def join_path(self, base, *parts):
|
1058
|
+
"""Joins the given path part(s) to the given base path.
|
1059
|
+
|
1060
|
+
The path separator (``/`` or ``\\``) is inserted when needed and
|
1061
|
+
the possible absolute paths handled as expected. The resulted
|
1062
|
+
path is also normalized.
|
1063
|
+
|
1064
|
+
Examples:
|
1065
|
+
| ${path} = | Join Path | my | path |
|
1066
|
+
| ${p2} = | Join Path | my/ | path/ |
|
1067
|
+
| ${p3} = | Join Path | my | path | my | file.txt |
|
1068
|
+
| ${p4} = | Join Path | my | /path |
|
1069
|
+
| ${p5} = | Join Path | /my/path/ | .. | path2 |
|
1070
|
+
=>
|
1071
|
+
- ${path} = 'my/path'
|
1072
|
+
- ${p2} = 'my/path'
|
1073
|
+
- ${p3} = 'my/path/my/file.txt'
|
1074
|
+
- ${p4} = '/path'
|
1075
|
+
- ${p5} = '/my/path2'
|
1076
|
+
"""
|
1077
|
+
base = base.replace('/', os.sep)
|
1078
|
+
parts = [p.replace('/', os.sep) for p in parts]
|
1079
|
+
return self.normalize_path(os.path.join(base, *parts))
|
1080
|
+
|
1081
|
+
def join_paths(self, base, *paths):
|
1082
|
+
"""Joins given paths with base and returns resulted paths.
|
1083
|
+
|
1084
|
+
See `Join Path` for more information.
|
1085
|
+
|
1086
|
+
Examples:
|
1087
|
+
| @{p1} = | Join Path | base | example | other | |
|
1088
|
+
| @{p2} = | Join Path | /my/base | /example | other | |
|
1089
|
+
| @{p3} = | Join Path | my/base | example/path/ | other | one/more |
|
1090
|
+
=>
|
1091
|
+
- @{p1} = ['base/example', 'base/other']
|
1092
|
+
- @{p2} = ['/example', '/my/base/other']
|
1093
|
+
- @{p3} = ['my/base/example/path', 'my/base/other', 'my/base/one/more']
|
1094
|
+
"""
|
1095
|
+
return [self.join_path(base, path) for path in paths]
|
1096
|
+
|
1097
|
+
def normalize_path(self, path):
|
1098
|
+
"""Normalizes the given path.
|
1099
|
+
|
1100
|
+
Examples:
|
1101
|
+
| ${path} = | Normalize Path | abc |
|
1102
|
+
| ${p2} = | Normalize Path | abc/ |
|
1103
|
+
| ${p3} = | Normalize Path | abc/../def |
|
1104
|
+
| ${p4} = | Normalize Path | abc/./def |
|
1105
|
+
| ${p5} = | Normalize Path | abc//def |
|
1106
|
+
=>
|
1107
|
+
- ${path} = 'abc'
|
1108
|
+
- ${p2} = 'abc'
|
1109
|
+
- ${p3} = 'def'
|
1110
|
+
- ${p4} = 'abc/def'
|
1111
|
+
- ${p5} = 'abc/def'
|
1112
|
+
"""
|
1113
|
+
path = os.path.normpath(os.path.expanduser(path.replace('/', os.sep)))
|
1114
|
+
return path or '.'
|
1115
|
+
|
1116
|
+
def split_path(self, path):
|
1117
|
+
"""Splits the given path from the last path separator (``/`` or ``\\``).
|
1118
|
+
|
1119
|
+
The given path is first normalized (e.g. a possible trailing
|
1120
|
+
path separator is removed, special directories ``..`` and ``.``
|
1121
|
+
removed). The parts that are split are returned as separate
|
1122
|
+
components.
|
1123
|
+
|
1124
|
+
Examples:
|
1125
|
+
| ${path1} | ${dir} = | Split Path | abc/def |
|
1126
|
+
| ${path2} | ${file} = | Split Path | abc/def/ghi.txt |
|
1127
|
+
| ${path3} | ${d2} = | Split Path | abc/../def/ghi/ |
|
1128
|
+
=>
|
1129
|
+
- ${path1} = 'abc' & ${dir} = 'def'
|
1130
|
+
- ${path2} = 'abc/def' & ${file} = 'ghi.txt'
|
1131
|
+
- ${path3} = 'def' & ${d2} = 'ghi'
|
1132
|
+
"""
|
1133
|
+
return os.path.split(self.normalize_path(path))
|
1134
|
+
|
1135
|
+
def split_extension(self, path):
|
1136
|
+
"""Splits the extension from the given path.
|
1137
|
+
|
1138
|
+
The given path is first normalized (e.g. possible trailing
|
1139
|
+
path separators removed, special directories ``..`` and ``.``
|
1140
|
+
removed). The base path and extension are returned as separate
|
1141
|
+
components so that the dot used as an extension separator is
|
1142
|
+
removed. If the path contains no extension, an empty string is
|
1143
|
+
returned for it. Possible leading and trailing dots in the file
|
1144
|
+
name are never considered to be extension separators.
|
1145
|
+
|
1146
|
+
Examples:
|
1147
|
+
| ${path} | ${ext} = | Split Extension | file.extension |
|
1148
|
+
| ${p2} | ${e2} = | Split Extension | path/file.ext |
|
1149
|
+
| ${p3} | ${e3} = | Split Extension | path/file |
|
1150
|
+
| ${p4} | ${e4} = | Split Extension | p1/../p2/file.ext |
|
1151
|
+
| ${p5} | ${e5} = | Split Extension | path/.file.ext |
|
1152
|
+
| ${p6} | ${e6} = | Split Extension | path/.file |
|
1153
|
+
=>
|
1154
|
+
- ${path} = 'file' & ${ext} = 'extension'
|
1155
|
+
- ${p2} = 'path/file' & ${e2} = 'ext'
|
1156
|
+
- ${p3} = 'path/file' & ${e3} = ''
|
1157
|
+
- ${p4} = 'p2/file' & ${e4} = 'ext'
|
1158
|
+
- ${p5} = 'path/.file' & ${e5} = 'ext'
|
1159
|
+
- ${p6} = 'path/.file' & ${e6} = ''
|
1160
|
+
"""
|
1161
|
+
path = self.normalize_path(path)
|
1162
|
+
basename = os.path.basename(path)
|
1163
|
+
if basename.startswith('.' * basename.count('.')):
|
1164
|
+
return path, ''
|
1165
|
+
if path.endswith('.'):
|
1166
|
+
path2 = path.rstrip('.')
|
1167
|
+
trailing_dots = '.' * (len(path) - len(path2))
|
1168
|
+
path = path2
|
1169
|
+
else:
|
1170
|
+
trailing_dots = ''
|
1171
|
+
basepath, extension = os.path.splitext(path)
|
1172
|
+
if extension.startswith('.'):
|
1173
|
+
extension = extension[1:]
|
1174
|
+
if extension:
|
1175
|
+
extension += trailing_dots
|
1176
|
+
else:
|
1177
|
+
basepath += trailing_dots
|
1178
|
+
return basepath, extension
|
1179
|
+
|
1180
|
+
# Misc
|
1181
|
+
|
1182
|
+
def get_modified_time(self, path, format='timestamp'):
|
1183
|
+
"""Returns the last modification time of a file or directory.
|
1184
|
+
|
1185
|
+
How time is returned is determined based on the given ``format``
|
1186
|
+
string as follows. Note that all checks are case-insensitive.
|
1187
|
+
Returned time is also automatically logged.
|
1188
|
+
|
1189
|
+
1) If ``format`` contains the word ``epoch``, the time is returned
|
1190
|
+
in seconds after the UNIX epoch. The return value is always
|
1191
|
+
an integer.
|
1192
|
+
|
1193
|
+
2) If ``format`` contains any of the words ``year``, ``month``,
|
1194
|
+
``day``, ``hour``, ``min`` or ``sec``, only the selected parts are
|
1195
|
+
returned. The order of the returned parts is always the one
|
1196
|
+
in the previous sentence and the order of the words in
|
1197
|
+
``format`` is not significant. The parts are returned as
|
1198
|
+
zero-padded strings (e.g. May -> ``05``).
|
1199
|
+
|
1200
|
+
3) Otherwise, and by default, the time is returned as a
|
1201
|
+
timestamp string in the format ``2006-02-24 15:08:31``.
|
1202
|
+
|
1203
|
+
Examples (when the modified time of ``${CURDIR}`` is
|
1204
|
+
2006-03-29 15:06:21):
|
1205
|
+
| ${time} = | Get Modified Time | ${CURDIR} |
|
1206
|
+
| ${secs} = | Get Modified Time | ${CURDIR} | epoch |
|
1207
|
+
| ${year} = | Get Modified Time | ${CURDIR} | return year |
|
1208
|
+
| ${y} | ${d} = | Get Modified Time | ${CURDIR} | year,day |
|
1209
|
+
| @{time} = | Get Modified Time | ${CURDIR} | year,month,day,hour,min,sec |
|
1210
|
+
=>
|
1211
|
+
- ${time} = '2006-03-29 15:06:21'
|
1212
|
+
- ${secs} = 1143637581
|
1213
|
+
- ${year} = '2006'
|
1214
|
+
- ${y} = '2006' & ${d} = '29'
|
1215
|
+
- @{time} = ['2006', '03', '29', '15', '06', '21']
|
1216
|
+
"""
|
1217
|
+
path = self._absnorm(path)
|
1218
|
+
if not os.path.exists(path):
|
1219
|
+
self._error("Path '%s' does not exist." % path)
|
1220
|
+
mtime = get_time(format, os.stat(path).st_mtime)
|
1221
|
+
self._link("Last modified time of '%%s' is %s." % mtime, path)
|
1222
|
+
return mtime
|
1223
|
+
|
1224
|
+
def set_modified_time(self, path, mtime):
|
1225
|
+
"""Sets the file modification and access times.
|
1226
|
+
|
1227
|
+
Changes the modification and access times of the given file to
|
1228
|
+
the value determined by ``mtime``. The time can be given in
|
1229
|
+
different formats described below. Note that all checks
|
1230
|
+
involving strings are case-insensitive. Modified time can only
|
1231
|
+
be set to regular files.
|
1232
|
+
|
1233
|
+
1) If ``mtime`` is a number, or a string that can be converted
|
1234
|
+
to a number, it is interpreted as seconds since the UNIX
|
1235
|
+
epoch (1970-01-01 00:00:00 UTC). This documentation was
|
1236
|
+
originally written about 1177654467 seconds after the epoch.
|
1237
|
+
|
1238
|
+
2) If ``mtime`` is a timestamp, that time will be used. Valid
|
1239
|
+
timestamp formats are ``YYYY-MM-DD hh:mm:ss`` and
|
1240
|
+
``YYYYMMDD hhmmss``.
|
1241
|
+
|
1242
|
+
3) If ``mtime`` is equal to ``NOW``, the current local time is used.
|
1243
|
+
This time is got using Python's ``time.time()`` function.
|
1244
|
+
|
1245
|
+
4) If ``mtime`` is equal to ``UTC``, the current time in
|
1246
|
+
[http://en.wikipedia.org/wiki/Coordinated_Universal_Time|UTC]
|
1247
|
+
is used. This time is got using ``time.time() + time.altzone``
|
1248
|
+
in Python.
|
1249
|
+
|
1250
|
+
5) If ``mtime`` is in the format like ``NOW - 1 day`` or ``UTC + 1
|
1251
|
+
hour 30 min``, the current local/UTC time plus/minus the time
|
1252
|
+
specified with the time string is used. The time string format
|
1253
|
+
is described in an appendix of Robot Framework User Guide.
|
1254
|
+
|
1255
|
+
Examples:
|
1256
|
+
| Set Modified Time | /path/file | 1177654467 | # Time given as epoch seconds |
|
1257
|
+
| Set Modified Time | /path/file | 2007-04-27 9:14:27 | # Time given as a timestamp |
|
1258
|
+
| Set Modified Time | /path/file | NOW | # The local time of execution |
|
1259
|
+
| Set Modified Time | /path/file | NOW - 1 day | # 1 day subtracted from the local time |
|
1260
|
+
| Set Modified Time | /path/file | UTC + 1h 2min 3s | # 1h 2min 3s added to the UTC time |
|
1261
|
+
|
1262
|
+
Support for UTC time is a new feature in Robot Framework 2.7.5.
|
1263
|
+
"""
|
1264
|
+
mtime = parse_time(mtime)
|
1265
|
+
path = self._absnorm(path)
|
1266
|
+
if not os.path.exists(path):
|
1267
|
+
self._error("File '%s' does not exist." % path)
|
1268
|
+
if not os.path.isfile(path):
|
1269
|
+
self._error("Path '%s' is not a regular file." % path)
|
1270
|
+
os.utime(path, (mtime, mtime))
|
1271
|
+
time.sleep(0.1) # Give os some time to really set these times
|
1272
|
+
tstamp = secs_to_timestamp(mtime, seps=('-', ' ', ':'))
|
1273
|
+
self._link("Set modified time of '%%s' to %s." % tstamp, path)
|
1274
|
+
|
1275
|
+
def get_file_size(self, path):
|
1276
|
+
"""Returns and logs file size as an integer in bytes."""
|
1277
|
+
path = self._absnorm(path)
|
1278
|
+
if not os.path.isfile(path):
|
1279
|
+
self._error("File '%s' does not exist." % path)
|
1280
|
+
size = os.stat(path).st_size
|
1281
|
+
plural = plural_or_not(size)
|
1282
|
+
self._link("Size of file '%%s' is %d byte%s." % (size, plural), path)
|
1283
|
+
return size
|
1284
|
+
|
1285
|
+
def list_directory(self, path, pattern=None, absolute=False):
|
1286
|
+
"""Returns and logs items in a directory, optionally filtered with ``pattern``.
|
1287
|
+
|
1288
|
+
File and directory names are returned in case-sensitive alphabetical
|
1289
|
+
order, e.g. ``['A Name', 'Second', 'a lower case name', 'one more']``.
|
1290
|
+
Implicit directories ``.`` and ``..`` are not returned. The returned
|
1291
|
+
items are automatically logged.
|
1292
|
+
|
1293
|
+
File and directory names are returned relative to the given path
|
1294
|
+
(e.g. ``'file.txt'``) by default. If you want them be returned in
|
1295
|
+
absolute format (e.g. ``'/home/robot/file.txt'``), give the ``absolute``
|
1296
|
+
argument a true value (see `Boolean arguments`).
|
1297
|
+
|
1298
|
+
If ``pattern`` is given, only items matching it are returned. The pattern
|
1299
|
+
matching syntax is explained in `introduction`, and in this case
|
1300
|
+
matching is case-sensitive.
|
1301
|
+
|
1302
|
+
Examples (using also other `List Directory` variants):
|
1303
|
+
| @{items} = | List Directory | ${TEMPDIR} |
|
1304
|
+
| @{files} = | List Files In Directory | /tmp | *.txt | absolute |
|
1305
|
+
| ${count} = | Count Files In Directory | ${CURDIR} | ??? |
|
1306
|
+
"""
|
1307
|
+
items = self._list_dir(path, pattern, absolute)
|
1308
|
+
self._info('%d item%s:\n%s' % (len(items), plural_or_not(items),
|
1309
|
+
'\n'.join(items)))
|
1310
|
+
return items
|
1311
|
+
|
1312
|
+
def list_files_in_directory(self, path, pattern=None, absolute=False):
|
1313
|
+
"""Wrapper for `List Directory` that returns only files."""
|
1314
|
+
files = self._list_files_in_dir(path, pattern, absolute)
|
1315
|
+
self._info('%d file%s:\n%s' % (len(files), plural_or_not(files),
|
1316
|
+
'\n'.join(files)))
|
1317
|
+
return files
|
1318
|
+
|
1319
|
+
def list_directories_in_directory(self, path, pattern=None, absolute=False):
|
1320
|
+
"""Wrapper for `List Directory` that returns only directories."""
|
1321
|
+
dirs = self._list_dirs_in_dir(path, pattern, absolute)
|
1322
|
+
self._info('%d director%s:\n%s' % (len(dirs),
|
1323
|
+
'y' if len(dirs) == 1 else 'ies',
|
1324
|
+
'\n'.join(dirs)))
|
1325
|
+
return dirs
|
1326
|
+
|
1327
|
+
def count_items_in_directory(self, path, pattern=None):
|
1328
|
+
"""Returns and logs the number of all items in the given directory.
|
1329
|
+
|
1330
|
+
The argument ``pattern`` has the same semantics as with `List Directory`
|
1331
|
+
keyword. The count is returned as an integer, so it must be checked e.g.
|
1332
|
+
with the built-in keyword `Should Be Equal As Integers`.
|
1333
|
+
"""
|
1334
|
+
count = len(self._list_dir(path, pattern))
|
1335
|
+
self._info("%s item%s." % (count, plural_or_not(count)))
|
1336
|
+
return count
|
1337
|
+
|
1338
|
+
def count_files_in_directory(self, path, pattern=None):
|
1339
|
+
"""Wrapper for `Count Items In Directory` returning only file count."""
|
1340
|
+
count = len(self._list_files_in_dir(path, pattern))
|
1341
|
+
self._info("%s file%s." % (count, plural_or_not(count)))
|
1342
|
+
return count
|
1343
|
+
|
1344
|
+
def count_directories_in_directory(self, path, pattern=None):
|
1345
|
+
"""Wrapper for `Count Items In Directory` returning only directory count."""
|
1346
|
+
count = len(self._list_dirs_in_dir(path, pattern))
|
1347
|
+
self._info("%s director%s." % (count, 'y' if count == 1 else 'ies'))
|
1348
|
+
return count
|
1349
|
+
|
1350
|
+
def _list_dir(self, path, pattern=None, absolute=False):
|
1351
|
+
path = self._absnorm(path)
|
1352
|
+
self._link("Listing contents of directory '%s'.", path)
|
1353
|
+
if not os.path.isdir(path):
|
1354
|
+
self._error("Directory '%s' does not exist." % path)
|
1355
|
+
# result is already unicode but unic also handles NFC normalization
|
1356
|
+
items = sorted(unic(item) for item in os.listdir(path))
|
1357
|
+
if pattern:
|
1358
|
+
items = [i for i in items if fnmatch.fnmatchcase(i, pattern)]
|
1359
|
+
if is_truthy(absolute):
|
1360
|
+
path = os.path.normpath(path)
|
1361
|
+
items = [os.path.join(path, item) for item in items]
|
1362
|
+
return items
|
1363
|
+
|
1364
|
+
def _list_files_in_dir(self, path, pattern=None, absolute=False):
|
1365
|
+
return [item for item in self._list_dir(path, pattern, absolute)
|
1366
|
+
if os.path.isfile(os.path.join(path, item))]
|
1367
|
+
|
1368
|
+
def _list_dirs_in_dir(self, path, pattern=None, absolute=False):
|
1369
|
+
return [item for item in self._list_dir(path, pattern, absolute)
|
1370
|
+
if os.path.isdir(os.path.join(path, item))]
|
1371
|
+
|
1372
|
+
def touch(self, path):
|
1373
|
+
"""Emulates the UNIX touch command.
|
1374
|
+
|
1375
|
+
Creates a file, if it does not exist. Otherwise changes its access and
|
1376
|
+
modification times to the current time.
|
1377
|
+
|
1378
|
+
Fails if used with the directories or the parent directory of the given
|
1379
|
+
file does not exist.
|
1380
|
+
"""
|
1381
|
+
path = self._absnorm(path)
|
1382
|
+
if os.path.isdir(path):
|
1383
|
+
self._error("Cannot touch '%s' because it is a directory." % path)
|
1384
|
+
if not os.path.exists(os.path.dirname(path)):
|
1385
|
+
self._error("Cannot touch '%s' because its parent directory does "
|
1386
|
+
"not exist." % path)
|
1387
|
+
if os.path.exists(path):
|
1388
|
+
mtime = round(time.time())
|
1389
|
+
os.utime(path, (mtime, mtime))
|
1390
|
+
self._link("Touched existing file '%s'.", path)
|
1391
|
+
else:
|
1392
|
+
open(path, 'w').close()
|
1393
|
+
self._link("Touched new file '%s'.", path)
|
1394
|
+
|
1395
|
+
def _absnorm(self, path):
|
1396
|
+
path = self.normalize_path(path)
|
1397
|
+
try:
|
1398
|
+
return abspath(path)
|
1399
|
+
except ValueError: # http://ironpython.codeplex.com/workitem/29489
|
1400
|
+
return path
|
1401
|
+
|
1402
|
+
def _fail(self, *messages):
|
1403
|
+
raise AssertionError(next(msg for msg in messages if msg))
|
1404
|
+
|
1405
|
+
def _error(self, msg):
|
1406
|
+
raise RuntimeError(msg)
|
1407
|
+
|
1408
|
+
def _info(self, msg):
|
1409
|
+
self._log(msg, 'INFO')
|
1410
|
+
|
1411
|
+
def _link(self, msg, *paths):
|
1412
|
+
paths = tuple('<a href="file://%s">%s</a>' % (p, p) for p in paths)
|
1413
|
+
self._log(msg % paths, 'HTML')
|
1414
|
+
|
1415
|
+
def _warn(self, msg):
|
1416
|
+
self._log(msg, 'WARN')
|
1417
|
+
|
1418
|
+
def _log(self, msg, level):
|
1419
|
+
logger.write(msg, level)
|
1420
|
+
|
1421
|
+
|
1422
|
+
class _Process:
|
1423
|
+
|
1424
|
+
def __init__(self, command):
|
1425
|
+
self._command = self._process_command(command)
|
1426
|
+
self._process = os.popen(self._command)
|
1427
|
+
|
1428
|
+
def __str__(self):
|
1429
|
+
return self._command
|
1430
|
+
|
1431
|
+
def read(self):
|
1432
|
+
return self._process_output(self._process.read())
|
1433
|
+
|
1434
|
+
def close(self):
|
1435
|
+
try:
|
1436
|
+
rc = self._process.close()
|
1437
|
+
except IOError: # Has occurred sometimes in Windows
|
1438
|
+
return 255
|
1439
|
+
if rc is None:
|
1440
|
+
return 0
|
1441
|
+
# In Windows (Python and Jython) return code is value returned by
|
1442
|
+
# command (can be almost anything)
|
1443
|
+
# In other OS:
|
1444
|
+
# In Jython return code can be between '-255' - '255'
|
1445
|
+
# In Python return code must be converted with 'rc >> 8' and it is
|
1446
|
+
# between 0-255 after conversion
|
1447
|
+
if os.sep == '\\' or sys.platform.startswith('java'):
|
1448
|
+
return rc % 256
|
1449
|
+
return rc >> 8
|
1450
|
+
|
1451
|
+
def _process_command(self, command):
|
1452
|
+
if '>' not in command:
|
1453
|
+
if command.endswith('&'):
|
1454
|
+
command = command[:-1] + ' 2>&1 &'
|
1455
|
+
else:
|
1456
|
+
command += ' 2>&1'
|
1457
|
+
return self._encode_to_file_system(command)
|
1458
|
+
|
1459
|
+
def _encode_to_file_system(self, string):
|
1460
|
+
enc = sys.getfilesystemencoding() if PY2 else None
|
1461
|
+
return string.encode(enc) if enc else string
|
1462
|
+
|
1463
|
+
def _process_output(self, output):
|
1464
|
+
if '\r\n' in output:
|
1465
|
+
output = output.replace('\r\n', '\n')
|
1466
|
+
if output.endswith('\n'):
|
1467
|
+
output = output[:-1]
|
1468
|
+
return console_decode(output, force=True)
|