busser-robot 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1968) hide show
  1. checksums.yaml +7 -0
  2. data/.cane +0 -0
  3. data/.gitignore +17 -0
  4. data/.tailor +4 -0
  5. data/.travis.yml +11 -0
  6. data/CHANGELOG.md +3 -0
  7. data/Gemfile +3 -0
  8. data/LICENSE +15 -0
  9. data/README.md +41 -0
  10. data/Rakefile +68 -0
  11. data/busser-robot.gemspec +30 -0
  12. data/features/plugin_install_command.feature +11 -0
  13. data/features/plugin_list_command.feature +8 -0
  14. data/features/support/env.rb +13 -0
  15. data/features/test_command.feature +31 -0
  16. data/lib/busser/robot/version.rb +26 -0
  17. data/lib/busser/runner_plugin/robot.rb +37 -0
  18. data/vendor/robot/.gitignore +19 -0
  19. data/vendor/robot/AUTHORS.txt +76 -0
  20. data/vendor/robot/BUILD.rst +212 -0
  21. data/vendor/robot/CONTRIBUTING.rst +309 -0
  22. data/vendor/robot/COPYRIGHT.txt +14 -0
  23. data/vendor/robot/INSTALL.rst +726 -0
  24. data/vendor/robot/LICENSE.txt +202 -0
  25. data/vendor/robot/MANIFEST.in +4 -0
  26. data/vendor/robot/README.rst +150 -0
  27. data/vendor/robot/atest/README.rst +235 -0
  28. data/vendor/robot/atest/genrunner.py +52 -0
  29. data/vendor/robot/atest/interpreter.py +217 -0
  30. data/vendor/robot/atest/requirements.txt +12 -0
  31. data/vendor/robot/atest/resources/TestCheckerLibrary.py +258 -0
  32. data/vendor/robot/atest/resources/TestHelper.py +31 -0
  33. data/vendor/robot/atest/resources/atest_resource.robot +335 -0
  34. data/vendor/robot/atest/resources/atest_variables.py +10 -0
  35. data/vendor/robot/atest/resources/read_interpreter.py +27 -0
  36. data/vendor/robot/atest/resources/rebot_resource.robot +25 -0
  37. data/vendor/robot/atest/resources/unicode_vars.py +15 -0
  38. data/vendor/robot/atest/robot/cli/console/colors_and_width.robot +66 -0
  39. data/vendor/robot/atest/robot/cli/console/console_resource.robot +24 -0
  40. data/vendor/robot/atest/robot/cli/console/console_type.robot +54 -0
  41. data/vendor/robot/atest/robot/cli/console/encoding_from_env_vars.robot +31 -0
  42. data/vendor/robot/atest/robot/cli/console/expected_output/ExpectedOutputLibrary.py +27 -0
  43. data/vendor/robot/atest/robot/cli/console/expected_output/dotted_fatal_error.txt +14 -0
  44. data/vendor/robot/atest/robot/cli/console/expected_output/empty.txt +0 -0
  45. data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stderr.txt +6 -0
  46. data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout.txt +14 -0
  47. data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout_dotted.txt +11 -0
  48. data/vendor/robot/atest/robot/cli/console/expected_output/warnings_and_errors_stdout_dotted_10.txt +19 -0
  49. data/vendor/robot/atest/robot/cli/console/markers.robot +81 -0
  50. data/vendor/robot/atest/robot/cli/console/non_ascii.robot +15 -0
  51. data/vendor/robot/atest/robot/cli/console/verbose_layout.robot +50 -0
  52. data/vendor/robot/atest/robot/cli/dryrun/args.robot +22 -0
  53. data/vendor/robot/atest/robot/cli/dryrun/dryrun.robot +149 -0
  54. data/vendor/robot/atest/robot/cli/dryrun/executed_builtin_keywords.robot +15 -0
  55. data/vendor/robot/atest/robot/cli/dryrun/java_arguments.robot +62 -0
  56. data/vendor/robot/atest/robot/cli/dryrun/kwargs.robot +16 -0
  57. data/vendor/robot/atest/robot/cli/dryrun/run_keyword_variants.robot +101 -0
  58. data/vendor/robot/atest/robot/cli/dryrun/run_keyword_variants_in_suite_teardown.robot +10 -0
  59. data/vendor/robot/atest/robot/cli/model_modifiers/ModelModifier.py +18 -0
  60. data/vendor/robot/atest/robot/cli/model_modifiers/modifier_resource.robot +38 -0
  61. data/vendor/robot/atest/robot/cli/model_modifiers/pre_rebot.robot +64 -0
  62. data/vendor/robot/atest/robot/cli/model_modifiers/pre_rebot_when_running.robot +59 -0
  63. data/vendor/robot/atest/robot/cli/model_modifiers/pre_run.robot +57 -0
  64. data/vendor/robot/atest/robot/cli/rebot/REBOT_OPTIONS.robot +22 -0
  65. data/vendor/robot/atest/robot/cli/rebot/__init__.robot +3 -0
  66. data/vendor/robot/atest/robot/cli/rebot/argumentfile.robot +28 -0
  67. data/vendor/robot/atest/robot/cli/rebot/help_and_version.robot +26 -0
  68. data/vendor/robot/atest/robot/cli/rebot/invalid_usage.robot +55 -0
  69. data/vendor/robot/atest/robot/cli/rebot/log_level.robot +48 -0
  70. data/vendor/robot/atest/robot/cli/rebot/output_files.robot +56 -0
  71. data/vendor/robot/atest/robot/cli/rebot/process_empty_suite.robot +38 -0
  72. data/vendor/robot/atest/robot/cli/rebot/rebot_cli_resource.robot +24 -0
  73. data/vendor/robot/atest/robot/cli/rebot/remove_keywords/all_passed_tag_and_name.robot +159 -0
  74. data/vendor/robot/atest/robot/cli/rebot/remove_keywords/combinations.robot +43 -0
  75. data/vendor/robot/atest/robot/cli/rebot/remove_keywords/for_loop_keywords.robot +51 -0
  76. data/vendor/robot/atest/robot/cli/rebot/remove_keywords/remove_keywords_resource.robot +25 -0
  77. data/vendor/robot/atest/robot/cli/rebot/remove_keywords/wait_until_keyword_succeeds.robot +37 -0
  78. data/vendor/robot/atest/robot/cli/rebot/status_rc.robot +53 -0
  79. data/vendor/robot/atest/robot/cli/rebot/suite_name_doc_and_metadata.robot +39 -0
  80. data/vendor/robot/atest/robot/cli/rebot/syslog.robot +46 -0
  81. data/vendor/robot/atest/robot/cli/rebot/timestamp_outputs.robot +16 -0
  82. data/vendor/robot/atest/robot/cli/runner/ROBOT_OPTIONS.robot +17 -0
  83. data/vendor/robot/atest/robot/cli/runner/argumentfile.robot +111 -0
  84. data/vendor/robot/atest/robot/cli/runner/cli_resource.robot +44 -0
  85. data/vendor/robot/atest/robot/cli/runner/debugfile.robot +75 -0
  86. data/vendor/robot/atest/robot/cli/runner/exit_on_error.robot +67 -0
  87. data/vendor/robot/atest/robot/cli/runner/exit_on_failure.robot +71 -0
  88. data/vendor/robot/atest/robot/cli/runner/extension.robot +25 -0
  89. data/vendor/robot/atest/robot/cli/runner/help_and_version.robot +33 -0
  90. data/vendor/robot/atest/robot/cli/runner/invalid_usage.robot +34 -0
  91. data/vendor/robot/atest/robot/cli/runner/log_level.robot +88 -0
  92. data/vendor/robot/atest/robot/cli/runner/multisource.robot +57 -0
  93. data/vendor/robot/atest/robot/cli/runner/output_files.robot +75 -0
  94. data/vendor/robot/atest/robot/cli/runner/pythonpath.robot +31 -0
  95. data/vendor/robot/atest/robot/cli/runner/randomize.robot +112 -0
  96. data/vendor/robot/atest/robot/cli/runner/remove_keywords.robot +147 -0
  97. data/vendor/robot/atest/robot/cli/runner/report_background.robot +26 -0
  98. data/vendor/robot/atest/robot/cli/runner/rerunfailed.robot +50 -0
  99. data/vendor/robot/atest/robot/cli/runner/rerunfailed_corners.robot +44 -0
  100. data/vendor/robot/atest/robot/cli/runner/rerunfailedsuites.robot +44 -0
  101. data/vendor/robot/atest/robot/cli/runner/rerunfailedsuites_corners.robot +44 -0
  102. data/vendor/robot/atest/robot/cli/runner/run_empty_suite.robot +36 -0
  103. data/vendor/robot/atest/robot/cli/runner/status_rc.robot +39 -0
  104. data/vendor/robot/atest/robot/cli/runner/suite_name_doc_and_metadata.robot +40 -0
  105. data/vendor/robot/atest/robot/cli/runner/syslog.robot +56 -0
  106. data/vendor/robot/atest/robot/cli/runner/timestamp_outputs.robot +25 -0
  107. data/vendor/robot/atest/robot/core/binary_data.robot +54 -0
  108. data/vendor/robot/atest/robot/core/empty_tc_and_uk.robot +35 -0
  109. data/vendor/robot/atest/robot/core/filter_by_names.robot +191 -0
  110. data/vendor/robot/atest/robot/core/keyword_teardown.robot +69 -0
  111. data/vendor/robot/atest/robot/core/overriding_default_settings_with_none.robot +48 -0
  112. data/vendor/robot/atest/robot/core/resource_and_variable_imports.robot +164 -0
  113. data/vendor/robot/atest/robot/core/same_test_multiple_times_in_suite.robot +30 -0
  114. data/vendor/robot/atest/robot/core/suite_execution_order.robot +10 -0
  115. data/vendor/robot/atest/robot/core/suite_setup_and_teardown.robot +183 -0
  116. data/vendor/robot/atest/robot/core/test_case_status.robot +52 -0
  117. data/vendor/robot/atest/robot/core/test_suite_dir.robot +55 -0
  118. data/vendor/robot/atest/robot/core/test_suite_init_file.robot +111 -0
  119. data/vendor/robot/atest/robot/core/timeouts.robot +153 -0
  120. data/vendor/robot/atest/robot/core/timeouts_with_custom_messages.robot +69 -0
  121. data/vendor/robot/atest/robot/core/unicode.robot +46 -0
  122. data/vendor/robot/atest/robot/core/unicode_with_java_libs.robot +21 -0
  123. data/vendor/robot/atest/robot/external/unit_tests.robot +15 -0
  124. data/vendor/robot/atest/robot/keywords/dots_in_keyword_name.robot +48 -0
  125. data/vendor/robot/atest/robot/keywords/duplicate_dynamic_keywords.robot +26 -0
  126. data/vendor/robot/atest/robot/keywords/duplicate_hybrid_keywords.robot +26 -0
  127. data/vendor/robot/atest/robot/keywords/duplicate_static_keywords.robot +31 -0
  128. data/vendor/robot/atest/robot/keywords/duplicate_user_keywords.robot +37 -0
  129. data/vendor/robot/atest/robot/keywords/embedded_arguments.robot +153 -0
  130. data/vendor/robot/atest/robot/keywords/embedded_arguments_library_keywords.robot +97 -0
  131. data/vendor/robot/atest/robot/keywords/java_argument_type_coercion.robot +23 -0
  132. data/vendor/robot/atest/robot/keywords/java_arguments.robot +98 -0
  133. data/vendor/robot/atest/robot/keywords/keyword_names.robot +138 -0
  134. data/vendor/robot/atest/robot/keywords/keyword_namespaces.robot +67 -0
  135. data/vendor/robot/atest/robot/keywords/keyword_not_found.robot +25 -0
  136. data/vendor/robot/atest/robot/keywords/keyword_recommendations.robot +145 -0
  137. data/vendor/robot/atest/robot/keywords/keyword_tags.robot +48 -0
  138. data/vendor/robot/atest/robot/keywords/named_args/variables_in_names.robot +34 -0
  139. data/vendor/robot/atest/robot/keywords/named_args/with_dynamic_keywords.robot +55 -0
  140. data/vendor/robot/atest/robot/keywords/named_args/with_dynamic_kwargs_support.robot +79 -0
  141. data/vendor/robot/atest/robot/keywords/named_args/with_python_keywords.robot +95 -0
  142. data/vendor/robot/atest/robot/keywords/named_args/with_user_keywords.robot +58 -0
  143. data/vendor/robot/atest/robot/keywords/optional_given_when_then.robot +48 -0
  144. data/vendor/robot/atest/robot/keywords/python_arguments.robot +42 -0
  145. data/vendor/robot/atest/robot/keywords/trace_log_keyword_arguments.robot +104 -0
  146. data/vendor/robot/atest/robot/keywords/trace_log_return_value.robot +60 -0
  147. data/vendor/robot/atest/robot/keywords/user_keyword_arguments.robot +98 -0
  148. data/vendor/robot/atest/robot/keywords/user_keyword_kwargs.robot +62 -0
  149. data/vendor/robot/atest/robot/keywords/user_keyword_return_values.robot +34 -0
  150. data/vendor/robot/atest/robot/libdoc/LibDocLib.py +49 -0
  151. data/vendor/robot/atest/robot/libdoc/__init__.robot +4 -0
  152. data/vendor/robot/atest/robot/libdoc/cli.robot +58 -0
  153. data/vendor/robot/atest/robot/libdoc/console_viewer.robot +97 -0
  154. data/vendor/robot/atest/robot/libdoc/doc_format.robot +72 -0
  155. data/vendor/robot/atest/robot/libdoc/dynamic_library.robot +67 -0
  156. data/vendor/robot/atest/robot/libdoc/dynamic_library_without_get_kw_args_and_doc.robot +38 -0
  157. data/vendor/robot/atest/robot/libdoc/internal_linking.robot +83 -0
  158. data/vendor/robot/atest/robot/libdoc/invalid_library_keywords.robot +30 -0
  159. data/vendor/robot/atest/robot/libdoc/invalid_usage.robot +61 -0
  160. data/vendor/robot/atest/robot/libdoc/invalid_user_keywords.robot +29 -0
  161. data/vendor/robot/atest/robot/libdoc/java_library.robot +80 -0
  162. data/vendor/robot/atest/robot/libdoc/libdoc_resource.robot +141 -0
  163. data/vendor/robot/atest/robot/libdoc/library_version.robot +31 -0
  164. data/vendor/robot/atest/robot/libdoc/module_library.robot +60 -0
  165. data/vendor/robot/atest/robot/libdoc/no_inits.robot +29 -0
  166. data/vendor/robot/atest/robot/libdoc/python_library.robot +68 -0
  167. data/vendor/robot/atest/robot/libdoc/resource_file.robot +81 -0
  168. data/vendor/robot/atest/robot/libdoc/spec_library.robot +64 -0
  169. data/vendor/robot/atest/robot/output/flatten_keyword.robot +106 -0
  170. data/vendor/robot/atest/robot/output/html_output_stats.py +41 -0
  171. data/vendor/robot/atest/robot/output/js_model.robot +49 -0
  172. data/vendor/robot/atest/robot/output/listener_interface/importing_listeners.robot +84 -0
  173. data/vendor/robot/atest/robot/output/listener_interface/listener_failing.robot +61 -0
  174. data/vendor/robot/atest/robot/output/listener_interface/listener_logging.robot +99 -0
  175. data/vendor/robot/atest/robot/output/listener_interface/listener_methods.robot +169 -0
  176. data/vendor/robot/atest/robot/output/listener_interface/listener_resource.robot +50 -0
  177. data/vendor/robot/atest/robot/output/listener_interface/listener_v3.robot +68 -0
  178. data/vendor/robot/atest/robot/output/listener_interface/listening_imports.robot +53 -0
  179. data/vendor/robot/atest/robot/output/listener_interface/log_levels.robot +39 -0
  180. data/vendor/robot/atest/robot/output/listener_interface/output_files.robot +42 -0
  181. data/vendor/robot/atest/robot/output/listener_interface/unsupported_listener_version.robot +34 -0
  182. data/vendor/robot/atest/robot/output/names_needing_escaping.robot +37 -0
  183. data/vendor/robot/atest/robot/output/outputs_have_correct_line_separators.robot +32 -0
  184. data/vendor/robot/atest/robot/output/processing_output.robot +118 -0
  185. data/vendor/robot/atest/robot/output/statistics.robot +90 -0
  186. data/vendor/robot/atest/robot/output/statistics_in_log_and_report.robot +79 -0
  187. data/vendor/robot/atest/robot/output/statistics_with_rebot.robot +70 -0
  188. data/vendor/robot/atest/robot/output/suite_and_test_id_in_output.robot +23 -0
  189. data/vendor/robot/atest/robot/output/test_criticality.robot +22 -0
  190. data/vendor/robot/atest/robot/output/timeouts.robot +27 -0
  191. data/vendor/robot/atest/robot/output/xunit.robot +84 -0
  192. data/vendor/robot/atest/robot/parsing/caching_libs_and_resources.robot +59 -0
  193. data/vendor/robot/atest/robot/parsing/data_formats/formats_resource.robot +71 -0
  194. data/vendor/robot/atest/robot/parsing/data_formats/html.robot +19 -0
  195. data/vendor/robot/atest/robot/parsing/data_formats/mixed.robot +99 -0
  196. data/vendor/robot/atest/robot/parsing/data_formats/rest.robot +22 -0
  197. data/vendor/robot/atest/robot/parsing/data_formats/rest_directives.robot +8 -0
  198. data/vendor/robot/atest/robot/parsing/data_formats/robot.robot +18 -0
  199. data/vendor/robot/atest/robot/parsing/data_formats/tsv.robot +18 -0
  200. data/vendor/robot/atest/robot/parsing/data_formats/txt.robot +18 -0
  201. data/vendor/robot/atest/robot/parsing/data_formats/txt_special_cases.robot +49 -0
  202. data/vendor/robot/atest/robot/parsing/deprecated_settings.robot +66 -0
  203. data/vendor/robot/atest/robot/parsing/escaping.robot +87 -0
  204. data/vendor/robot/atest/robot/parsing/failing_init.robot +12 -0
  205. data/vendor/robot/atest/robot/parsing/html_entityrefs.robot +22 -0
  206. data/vendor/robot/atest/robot/parsing/ignore_bom.robot +21 -0
  207. data/vendor/robot/atest/robot/parsing/invalid.robot +57 -0
  208. data/vendor/robot/atest/robot/parsing/multirow.robot +63 -0
  209. data/vendor/robot/atest/robot/parsing/non_ascii_paths.robot +54 -0
  210. data/vendor/robot/atest/robot/parsing/non_breaking_space.robot +19 -0
  211. data/vendor/robot/atest/robot/parsing/paths_are_not_case_normalized.robot +14 -0
  212. data/vendor/robot/atest/robot/parsing/same_setting_multiple_times.robot +127 -0
  213. data/vendor/robot/atest/robot/parsing/suite_metadata.robot +32 -0
  214. data/vendor/robot/atest/robot/parsing/suite_settings.robot +61 -0
  215. data/vendor/robot/atest/robot/parsing/table_names.robot +55 -0
  216. data/vendor/robot/atest/robot/parsing/test_case_settings.robot +162 -0
  217. data/vendor/robot/atest/robot/parsing/test_suite_names.robot +47 -0
  218. data/vendor/robot/atest/robot/parsing/user_keyword_settings.robot +103 -0
  219. data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_html.robot +25 -0
  220. data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_html5.robot +25 -0
  221. data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_tsv.robot +25 -0
  222. data/vendor/robot/atest/robot/parsing/utf8_data/utf8_in_txt.robot +25 -0
  223. data/vendor/robot/atest/robot/rebot/combine.robot +208 -0
  224. data/vendor/robot/atest/robot/rebot/filter_by_names.robot +160 -0
  225. data/vendor/robot/atest/robot/rebot/merge.robot +237 -0
  226. data/vendor/robot/atest/robot/rebot/output_file.robot +23 -0
  227. data/vendor/robot/atest/robot/rebot/start_and_endtime_from_cli.robot +75 -0
  228. data/vendor/robot/atest/robot/rebot/xunit.robot +61 -0
  229. data/vendor/robot/atest/robot/running/ProcessManager.py +73 -0
  230. data/vendor/robot/atest/robot/running/continue_for_loop.robot +54 -0
  231. data/vendor/robot/atest/robot/running/continue_on_failure.robot +106 -0
  232. data/vendor/robot/atest/robot/running/dynamic_teardown.robot +7 -0
  233. data/vendor/robot/atest/robot/running/empty_and_none_setup_and_teardown_are_ignored.robot +31 -0
  234. data/vendor/robot/atest/robot/running/exit_for_loop.robot +57 -0
  235. data/vendor/robot/atest/robot/running/failures_in_teardown.robot +60 -0
  236. data/vendor/robot/atest/robot/running/fatal_exception.robot +72 -0
  237. data/vendor/robot/atest/robot/running/for.robot +437 -0
  238. data/vendor/robot/atest/robot/running/html_error_message.robot +57 -0
  239. data/vendor/robot/atest/robot/running/long_error_messages.robot +65 -0
  240. data/vendor/robot/atest/robot/running/non_ascii_bytes.robot +33 -0
  241. data/vendor/robot/atest/robot/running/pass_execution.robot +162 -0
  242. data/vendor/robot/atest/robot/running/prevent_recursion.robot +22 -0
  243. data/vendor/robot/atest/robot/running/return_from_keyword.robot +60 -0
  244. data/vendor/robot/atest/robot/running/stopping_with_signal.robot +128 -0
  245. data/vendor/robot/atest/robot/running/test_template.robot +86 -0
  246. data/vendor/robot/atest/robot/running/test_template_with_embeded_args.robot +47 -0
  247. data/vendor/robot/atest/robot/standard_libraries/builtin/builtin_resource.robot +16 -0
  248. data/vendor/robot/atest/robot/standard_libraries/builtin/call_method.robot +34 -0
  249. data/vendor/robot/atest/robot/standard_libraries/builtin/convert_to_bytes.robot +88 -0
  250. data/vendor/robot/atest/robot/standard_libraries/builtin/converter.robot +72 -0
  251. data/vendor/robot/atest/robot/standard_libraries/builtin/count.robot +42 -0
  252. data/vendor/robot/atest/robot/standard_libraries/builtin/create_dictionary.robot +70 -0
  253. data/vendor/robot/atest/robot/standard_libraries/builtin/evaluate.robot +66 -0
  254. data/vendor/robot/atest/robot/standard_libraries/builtin/exit_on_failure.robot +24 -0
  255. data/vendor/robot/atest/robot/standard_libraries/builtin/fail.robot +49 -0
  256. data/vendor/robot/atest/robot/standard_libraries/builtin/fatal_error.robot +15 -0
  257. data/vendor/robot/atest/robot/standard_libraries/builtin/get_library_instance.robot +42 -0
  258. data/vendor/robot/atest/robot/standard_libraries/builtin/get_time.robot +38 -0
  259. data/vendor/robot/atest/robot/standard_libraries/builtin/get_variable_value.robot +26 -0
  260. data/vendor/robot/atest/robot/standard_libraries/builtin/get_variables.robot +47 -0
  261. data/vendor/robot/atest/robot/standard_libraries/builtin/import_library.robot +39 -0
  262. data/vendor/robot/atest/robot/standard_libraries/builtin/import_resource.robot +29 -0
  263. data/vendor/robot/atest/robot/standard_libraries/builtin/import_variables.robot +31 -0
  264. data/vendor/robot/atest/robot/standard_libraries/builtin/imports_without_path_set.robot +20 -0
  265. data/vendor/robot/atest/robot/standard_libraries/builtin/keyword_should_exist.robot +48 -0
  266. data/vendor/robot/atest/robot/standard_libraries/builtin/length.robot +52 -0
  267. data/vendor/robot/atest/robot/standard_libraries/builtin/listener_printing_start_end_kw.py +14 -0
  268. data/vendor/robot/atest/robot/standard_libraries/builtin/listener_using_builtin.py +9 -0
  269. data/vendor/robot/atest/robot/standard_libraries/builtin/log.robot +165 -0
  270. data/vendor/robot/atest/robot/standard_libraries/builtin/log_variables.robot +180 -0
  271. data/vendor/robot/atest/robot/standard_libraries/builtin/misc.robot +19 -0
  272. data/vendor/robot/atest/robot/standard_libraries/builtin/reload_library.robot +39 -0
  273. data/vendor/robot/atest/robot/standard_libraries/builtin/reload_with_name.robot +14 -0
  274. data/vendor/robot/atest/robot/standard_libraries/builtin/repeat_keyword.robot +96 -0
  275. data/vendor/robot/atest/robot/standard_libraries/builtin/replace_variables.robot +22 -0
  276. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword.robot +84 -0
  277. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_continue_on_failure.robot +40 -0
  278. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_return.robot +56 -0
  279. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_and_return_status.robot +12 -0
  280. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_based_on_suite_stats.robot +51 -0
  281. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.robot +81 -0
  282. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_timeout_occurred.robot +37 -0
  283. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_if_unless.robot +127 -0
  284. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_registering.robot +23 -0
  285. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_variable_handling.robot +54 -0
  286. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_variants_with_escaping_control_arguments.robot +36 -0
  287. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keyword_with_errors.robot +148 -0
  288. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keywords.robot +58 -0
  289. data/vendor/robot/atest/robot/standard_libraries/builtin/run_keywords_with_arguments.robot +56 -0
  290. data/vendor/robot/atest/robot/standard_libraries/builtin/set_documentation.robot +39 -0
  291. data/vendor/robot/atest/robot/standard_libraries/builtin/set_library_search_order.robot +41 -0
  292. data/vendor/robot/atest/robot/standard_libraries/builtin/set_log_level.robot +30 -0
  293. data/vendor/robot/atest/robot/standard_libraries/builtin/set_resource_search_order.robot +40 -0
  294. data/vendor/robot/atest/robot/standard_libraries/builtin/set_suite_metadata.robot +63 -0
  295. data/vendor/robot/atest/robot/standard_libraries/builtin/set_test_message.robot +70 -0
  296. data/vendor/robot/atest/robot/standard_libraries/builtin/set_variable_if.robot +48 -0
  297. data/vendor/robot/atest/robot/standard_libraries/builtin/setting_variables.robot +140 -0
  298. data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_equal.robot +64 -0
  299. data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_equal_as_xxx.robot +50 -0
  300. data/vendor/robot/atest/robot/standard_libraries/builtin/should_be_true.robot +28 -0
  301. data/vendor/robot/atest/robot/standard_libraries/builtin/should_contain.robot +22 -0
  302. data/vendor/robot/atest/robot/standard_libraries/builtin/should_contain_any.robot +34 -0
  303. data/vendor/robot/atest/robot/standard_libraries/builtin/should_match.robot +36 -0
  304. data/vendor/robot/atest/robot/standard_libraries/builtin/should_xxx_with.robot +34 -0
  305. data/vendor/robot/atest/robot/standard_libraries/builtin/sleep.robot +28 -0
  306. data/vendor/robot/atest/robot/standard_libraries/builtin/tags.robot +89 -0
  307. data/vendor/robot/atest/robot/standard_libraries/builtin/used_in_custom_libs_and_listeners.robot +20 -0
  308. data/vendor/robot/atest/robot/standard_libraries/builtin/variable_should_exist.robot +82 -0
  309. data/vendor/robot/atest/robot/standard_libraries/builtin/wait_until_keyword_succeeds.robot +96 -0
  310. data/vendor/robot/atest/robot/standard_libraries/collections/dictionary.robot +159 -0
  311. data/vendor/robot/atest/robot/standard_libraries/collections/list.robot +318 -0
  312. data/vendor/robot/atest/robot/standard_libraries/datetime/add_time_to_date.robot +10 -0
  313. data/vendor/robot/atest/robot/standard_libraries/datetime/convert_date_input_format.robot +28 -0
  314. data/vendor/robot/atest/robot/standard_libraries/datetime/convert_date_result_format.robot +28 -0
  315. data/vendor/robot/atest/robot/standard_libraries/datetime/convert_time_input_format.robot +28 -0
  316. data/vendor/robot/atest/robot/standard_libraries/datetime/convert_time_result_format.robot +28 -0
  317. data/vendor/robot/atest/robot/standard_libraries/datetime/date_ranges.robot +22 -0
  318. data/vendor/robot/atest/robot/standard_libraries/datetime/get_current_date.robot +28 -0
  319. data/vendor/robot/atest/robot/standard_libraries/datetime/subtract_date_from_date.robot +10 -0
  320. data/vendor/robot/atest/robot/standard_libraries/datetime/subtract_time_from_date.robot +10 -0
  321. data/vendor/robot/atest/robot/standard_libraries/datetime/time_calculations.robot +10 -0
  322. data/vendor/robot/atest/robot/standard_libraries/dialogs/dialogs.robot +55 -0
  323. data/vendor/robot/atest/robot/standard_libraries/easter.robot +14 -0
  324. data/vendor/robot/atest/robot/standard_libraries/operating_system/create_and_remove_dir.robot +37 -0
  325. data/vendor/robot/atest/robot/standard_libraries/operating_system/create_file.robot +40 -0
  326. data/vendor/robot/atest/robot/standard_libraries/operating_system/env_vars.robot +64 -0
  327. data/vendor/robot/atest/robot/standard_libraries/operating_system/file_and_dir_empty_or_not.robot +52 -0
  328. data/vendor/robot/atest/robot/standard_libraries/operating_system/file_and_dir_existence.robot +82 -0
  329. data/vendor/robot/atest/robot/standard_libraries/operating_system/get_file.robot +113 -0
  330. data/vendor/robot/atest/robot/standard_libraries/operating_system/get_file_size.robot +21 -0
  331. data/vendor/robot/atest/robot/standard_libraries/operating_system/list_dir.robot +64 -0
  332. data/vendor/robot/atest/robot/standard_libraries/operating_system/modified_time.robot +56 -0
  333. data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_directory.robot +34 -0
  334. data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_file.robot +93 -0
  335. data/vendor/robot/atest/robot/standard_libraries/operating_system/move_copy_files.robot +76 -0
  336. data/vendor/robot/atest/robot/standard_libraries/operating_system/path.robot +28 -0
  337. data/vendor/robot/atest/robot/standard_libraries/operating_system/path_expansion.robot +11 -0
  338. data/vendor/robot/atest/robot/standard_libraries/operating_system/remove_file.robot +33 -0
  339. data/vendor/robot/atest/robot/standard_libraries/operating_system/run.robot +44 -0
  340. data/vendor/robot/atest/robot/standard_libraries/operating_system/special_names.robot +32 -0
  341. data/vendor/robot/atest/robot/standard_libraries/operating_system/touch.robot +28 -0
  342. data/vendor/robot/atest/robot/standard_libraries/operating_system/wait_until_removed_created.robot +52 -0
  343. data/vendor/robot/atest/robot/standard_libraries/process/active_process.robot +22 -0
  344. data/vendor/robot/atest/robot/standard_libraries/process/commandline.robot +25 -0
  345. data/vendor/robot/atest/robot/standard_libraries/process/env_config.robot +25 -0
  346. data/vendor/robot/atest/robot/standard_libraries/process/get_process_result.robot +25 -0
  347. data/vendor/robot/atest/robot/standard_libraries/process/is_process_alive.robot +13 -0
  348. data/vendor/robot/atest/robot/standard_libraries/process/newlines.robot +13 -0
  349. data/vendor/robot/atest/robot/standard_libraries/process/no_active_process.robot +13 -0
  350. data/vendor/robot/atest/robot/standard_libraries/process/output_encoding.robot +19 -0
  351. data/vendor/robot/atest/robot/standard_libraries/process/passing_arguments.robot +68 -0
  352. data/vendor/robot/atest/robot/standard_libraries/process/process_library.robot +27 -0
  353. data/vendor/robot/atest/robot/standard_libraries/process/run_process_with_timeout.robot +38 -0
  354. data/vendor/robot/atest/robot/standard_libraries/process/sending_signal.robot +48 -0
  355. data/vendor/robot/atest/robot/standard_libraries/process/stdout_and_stderr.robot +43 -0
  356. data/vendor/robot/atest/robot/standard_libraries/process/terminate_process.robot +51 -0
  357. data/vendor/robot/atest/robot/standard_libraries/process/wait_for_process.robot +32 -0
  358. data/vendor/robot/atest/robot/standard_libraries/remote/argument_coersion.robot +97 -0
  359. data/vendor/robot/atest/robot/standard_libraries/remote/arguments.robot +64 -0
  360. data/vendor/robot/atest/robot/standard_libraries/remote/binary_result.robot +27 -0
  361. data/vendor/robot/atest/robot/standard_libraries/remote/dict_result.robot +10 -0
  362. data/vendor/robot/atest/robot/standard_libraries/remote/documentation.robot +52 -0
  363. data/vendor/robot/atest/robot/standard_libraries/remote/invalid.robot +20 -0
  364. data/vendor/robot/atest/robot/standard_libraries/remote/keyword_tags.robot +29 -0
  365. data/vendor/robot/atest/robot/standard_libraries/remote/remote_resource.robot +30 -0
  366. data/vendor/robot/atest/robot/standard_libraries/remote/simple_server.robot +42 -0
  367. data/vendor/robot/atest/robot/standard_libraries/remote/special_errors.robot +19 -0
  368. data/vendor/robot/atest/robot/standard_libraries/remote/timeouts.robot +10 -0
  369. data/vendor/robot/atest/robot/standard_libraries/reserved.robot +20 -0
  370. data/vendor/robot/atest/robot/standard_libraries/screenshot/set_screenshot_directory.robot +8 -0
  371. data/vendor/robot/atest/robot/standard_libraries/screenshot/take_screenshot.robot +42 -0
  372. data/vendor/robot/atest/robot/standard_libraries/string/convert_to.robot +10 -0
  373. data/vendor/robot/atest/robot/standard_libraries/string/encode_decode.robot +36 -0
  374. data/vendor/robot/atest/robot/standard_libraries/string/generate_random_string.robot +29 -0
  375. data/vendor/robot/atest/robot/standard_libraries/string/get_matching_lines.robot +90 -0
  376. data/vendor/robot/atest/robot/standard_libraries/string/get_regexp_matches.robot +28 -0
  377. data/vendor/robot/atest/robot/standard_libraries/string/remove_from_string.robot +25 -0
  378. data/vendor/robot/atest/robot/standard_libraries/string/replace_string.robot +32 -0
  379. data/vendor/robot/atest/robot/standard_libraries/string/should_be.robot +64 -0
  380. data/vendor/robot/atest/robot/standard_libraries/string/split_string.robot +65 -0
  381. data/vendor/robot/atest/robot/standard_libraries/string/string.robot +71 -0
  382. data/vendor/robot/atest/robot/standard_libraries/telnet/__init__.robot +2 -0
  383. data/vendor/robot/atest/robot/standard_libraries/telnet/configuration.robot +108 -0
  384. data/vendor/robot/atest/robot/standard_libraries/telnet/connections.robot +22 -0
  385. data/vendor/robot/atest/robot/standard_libraries/telnet/login.robot +40 -0
  386. data/vendor/robot/atest/robot/standard_libraries/telnet/read_and_write.robot +101 -0
  387. data/vendor/robot/atest/robot/standard_libraries/telnet/telnet_resource.robot +3 -0
  388. data/vendor/robot/atest/robot/standard_libraries/telnet/terminal_emulation.robot +68 -0
  389. data/vendor/robot/atest/robot/standard_libraries/xml/add_and_remove_elements.robot +75 -0
  390. data/vendor/robot/atest/robot/standard_libraries/xml/add_and_remove_elements_with_lxml.robot +74 -0
  391. data/vendor/robot/atest/robot/standard_libraries/xml/clear_element.robot +17 -0
  392. data/vendor/robot/atest/robot/standard_libraries/xml/clear_element_with_lxml.robot +17 -0
  393. data/vendor/robot/atest/robot/standard_libraries/xml/copy_element.robot +17 -0
  394. data/vendor/robot/atest/robot/standard_libraries/xml/copy_element_with_lxml.robot +17 -0
  395. data/vendor/robot/atest/robot/standard_libraries/xml/element_attribute.robot +52 -0
  396. data/vendor/robot/atest/robot/standard_libraries/xml/element_attribute_with_lxml.robot +51 -0
  397. data/vendor/robot/atest/robot/standard_libraries/xml/element_should_exist.robot +39 -0
  398. data/vendor/robot/atest/robot/standard_libraries/xml/element_should_exist_with_lxml.robot +39 -0
  399. data/vendor/robot/atest/robot/standard_libraries/xml/element_text.robot +52 -0
  400. data/vendor/robot/atest/robot/standard_libraries/xml/element_text_with_lxml.robot +53 -0
  401. data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_be_equal.robot +40 -0
  402. data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_be_equal_with_lxml.robot +41 -0
  403. data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_match.robot +38 -0
  404. data/vendor/robot/atest/robot/standard_libraries/xml/elements_should_match_with_lxml.robot +38 -0
  405. data/vendor/robot/atest/robot/standard_libraries/xml/etree_namespaces.robot +23 -0
  406. data/vendor/robot/atest/robot/standard_libraries/xml/etree_namespaces_with_lxml.robot +23 -0
  407. data/vendor/robot/atest/robot/standard_libraries/xml/get_elements.robot +44 -0
  408. data/vendor/robot/atest/robot/standard_libraries/xml/get_elements_with_lxml.robot +44 -0
  409. data/vendor/robot/atest/robot/standard_libraries/xml/namespaces.robot +26 -0
  410. data/vendor/robot/atest/robot/standard_libraries/xml/namespaces_with_lxml.robot +26 -0
  411. data/vendor/robot/atest/robot/standard_libraries/xml/parsing.robot +25 -0
  412. data/vendor/robot/atest/robot/standard_libraries/xml/parsing_with_lxml.robot +26 -0
  413. data/vendor/robot/atest/robot/standard_libraries/xml/save_xml.robot +52 -0
  414. data/vendor/robot/atest/robot/standard_libraries/xml/save_xml_with_lxml.robot +47 -0
  415. data/vendor/robot/atest/robot/standard_libraries/xml/set_element_information.robot +64 -0
  416. data/vendor/robot/atest/robot/standard_libraries/xml/set_element_information_with_lxml.robot +65 -0
  417. data/vendor/robot/atest/robot/standard_libraries/xml/strip_namespaces.robot +19 -0
  418. data/vendor/robot/atest/robot/standard_libraries/xml/strip_namespaces_with_lxml.robot +20 -0
  419. data/vendor/robot/atest/robot/standard_libraries/xml/to_string.robot +23 -0
  420. data/vendor/robot/atest/robot/standard_libraries/xml/to_string_with_lxml.robot +24 -0
  421. data/vendor/robot/atest/robot/standard_libraries/xml/xml_resource.robot +6 -0
  422. data/vendor/robot/atest/robot/standard_libraries/xml/xpath.robot +69 -0
  423. data/vendor/robot/atest/robot/standard_libraries/xml/xpath_with_lxml.robot +59 -0
  424. data/vendor/robot/atest/robot/tags/critical_tags.robot +58 -0
  425. data/vendor/robot/atest/robot/tags/critical_tags_with_rebot.robot +64 -0
  426. data/vendor/robot/atest/robot/tags/default_and_force_tags.robot +13 -0
  427. data/vendor/robot/atest/robot/tags/default_tags.robot +13 -0
  428. data/vendor/robot/atest/robot/tags/force_tags.robot +13 -0
  429. data/vendor/robot/atest/robot/tags/include_and_exclude.robot +122 -0
  430. data/vendor/robot/atest/robot/tags/include_and_exclude_with_rebot.robot +171 -0
  431. data/vendor/robot/atest/robot/tags/no_force_nor_default_tags.robot +13 -0
  432. data/vendor/robot/atest/robot/tags/set_tag.robot +33 -0
  433. data/vendor/robot/atest/robot/tags/set_tag_with_rebot.robot +38 -0
  434. data/vendor/robot/atest/robot/tags/tag_doc.robot +40 -0
  435. data/vendor/robot/atest/robot/tags/tag_doc_with_rebot.robot +43 -0
  436. data/vendor/robot/atest/robot/tags/tag_stat_include_and_exclude.robot +73 -0
  437. data/vendor/robot/atest/robot/tags/tag_stat_include_and_exclude_with_rebot.robot +77 -0
  438. data/vendor/robot/atest/robot/tags/tag_stat_link.robot +42 -0
  439. data/vendor/robot/atest/robot/tags/tag_stat_link_with_rebot.robot +44 -0
  440. data/vendor/robot/atest/robot/tags/tags_are_not_normalized.robot +37 -0
  441. data/vendor/robot/atest/robot/test_libraries/as_listener.robot +87 -0
  442. data/vendor/robot/atest/robot/test_libraries/as_listener_in_java.robot +26 -0
  443. data/vendor/robot/atest/robot/test_libraries/as_listener_with_empty_library.robot +13 -0
  444. data/vendor/robot/atest/robot/test_libraries/as_listener_with_import_library.robot +10 -0
  445. data/vendor/robot/atest/robot/test_libraries/as_listener_with_log_level.robot +15 -0
  446. data/vendor/robot/atest/robot/test_libraries/as_listenerv3.robot +41 -0
  447. data/vendor/robot/atest/robot/test_libraries/avoid_properties_when_creating_libraries.robot +18 -0
  448. data/vendor/robot/atest/robot/test_libraries/deprecated_keywords.robot +45 -0
  449. data/vendor/robot/atest/robot/test_libraries/dynamic_kwargs_support_java.robot +26 -0
  450. data/vendor/robot/atest/robot/test_libraries/dynamic_kwargs_support_python.robot +44 -0
  451. data/vendor/robot/atest/robot/test_libraries/dynamic_libraries_with_invalid_argspec.robot +48 -0
  452. data/vendor/robot/atest/robot/test_libraries/dynamic_library_args_and_docs.robot +92 -0
  453. data/vendor/robot/atest/robot/test_libraries/dynamic_library_java.robot +19 -0
  454. data/vendor/robot/atest/robot/test_libraries/dynamic_library_python.robot +60 -0
  455. data/vendor/robot/atest/robot/test_libraries/dynamic_library_tags.robot +25 -0
  456. data/vendor/robot/atest/robot/test_libraries/error_msg_and_details.robot +130 -0
  457. data/vendor/robot/atest/robot/test_libraries/hybrid_library.robot +49 -0
  458. data/vendor/robot/atest/robot/test_libraries/import_and_init_logging.robot +57 -0
  459. data/vendor/robot/atest/robot/test_libraries/internal_modules_not_importable.robot +28 -0
  460. data/vendor/robot/atest/robot/test_libraries/invalid_java_libraries.robot +42 -0
  461. data/vendor/robot/atest/robot/test_libraries/java_libraries.robot +89 -0
  462. data/vendor/robot/atest/robot/test_libraries/java_library_imports_with_args.robot +48 -0
  463. data/vendor/robot/atest/robot/test_libraries/libraries_extending_existing_classes.robot +45 -0
  464. data/vendor/robot/atest/robot/test_libraries/library_import_by_path.robot +60 -0
  465. data/vendor/robot/atest/robot/test_libraries/library_import_failing.robot +58 -0
  466. data/vendor/robot/atest/robot/test_libraries/library_import_from_archive.robot +19 -0
  467. data/vendor/robot/atest/robot/test_libraries/library_imports.robot +70 -0
  468. data/vendor/robot/atest/robot/test_libraries/library_imports_with_args.robot +49 -0
  469. data/vendor/robot/atest/robot/test_libraries/library_scope.robot +18 -0
  470. data/vendor/robot/atest/robot/test_libraries/library_version.robot +21 -0
  471. data/vendor/robot/atest/robot/test_libraries/logging_api.robot +58 -0
  472. data/vendor/robot/atest/robot/test_libraries/logging_with_logging.robot +66 -0
  473. data/vendor/robot/atest/robot/test_libraries/module_library.robot +76 -0
  474. data/vendor/robot/atest/robot/test_libraries/named_args_in_imports.robot +20 -0
  475. data/vendor/robot/atest/robot/test_libraries/new_style_classes.robot +18 -0
  476. data/vendor/robot/atest/robot/test_libraries/non_main_threads_logging.robot +16 -0
  477. data/vendor/robot/atest/robot/test_libraries/package_library.robot +58 -0
  478. data/vendor/robot/atest/robot/test_libraries/print_logging.robot +77 -0
  479. data/vendor/robot/atest/robot/test_libraries/print_logging_java.robot +45 -0
  480. data/vendor/robot/atest/robot/test_libraries/resource_for_importing_libs_with_args.robot +15 -0
  481. data/vendor/robot/atest/robot/test_libraries/timestamps_for_stdout_messages.robot +33 -0
  482. data/vendor/robot/atest/robot/test_libraries/with_name.robot +159 -0
  483. data/vendor/robot/atest/robot/testdoc/testdoc.robot +92 -0
  484. data/vendor/robot/atest/robot/tidy/TidyLib.py +86 -0
  485. data/vendor/robot/atest/robot/tidy/empty_tables.robot +12 -0
  486. data/vendor/robot/atest/robot/tidy/format_documentation.robot +21 -0
  487. data/vendor/robot/atest/robot/tidy/inplace.robot +24 -0
  488. data/vendor/robot/atest/robot/tidy/line_separator.robot +33 -0
  489. data/vendor/robot/atest/robot/tidy/tidy.robot +71 -0
  490. data/vendor/robot/atest/robot/tidy/tidy_resource.robot +31 -0
  491. data/vendor/robot/atest/robot/variables/automatic_variables.robot +69 -0
  492. data/vendor/robot/atest/robot/variables/builtin_variables.robot +67 -0
  493. data/vendor/robot/atest/robot/variables/catenate_scalars_in_variable_table.robot +59 -0
  494. data/vendor/robot/atest/robot/variables/commandline_variable_files.robot +64 -0
  495. data/vendor/robot/atest/robot/variables/commandline_variables.robot +27 -0
  496. data/vendor/robot/atest/robot/variables/dict_variable_in_variable_table.robot +65 -0
  497. data/vendor/robot/atest/robot/variables/dict_variable_items.robot +34 -0
  498. data/vendor/robot/atest/robot/variables/environment_variables.robot +58 -0
  499. data/vendor/robot/atest/robot/variables/extended_assign.robot +38 -0
  500. data/vendor/robot/atest/robot/variables/extended_variables.robot +76 -0
  501. data/vendor/robot/atest/robot/variables/getting_vars_from_dynamic_var_file.robot +23 -0
  502. data/vendor/robot/atest/robot/variables/keyword_status_and_message.robot +40 -0
  503. data/vendor/robot/atest/robot/variables/list_and_dict_from_variable_file.robot +64 -0
  504. data/vendor/robot/atest/robot/variables/list_as_scalar.robot +19 -0
  505. data/vendor/robot/atest/robot/variables/list_variable_items.robot +32 -0
  506. data/vendor/robot/atest/robot/variables/non_string_variables.robot +18 -0
  507. data/vendor/robot/atest/robot/variables/outputfile_variables.robot +26 -0
  508. data/vendor/robot/atest/robot/variables/recursive_definition.robot +67 -0
  509. data/vendor/robot/atest/robot/variables/reserved_syntax.robot +22 -0
  510. data/vendor/robot/atest/robot/variables/return_values.robot +213 -0
  511. data/vendor/robot/atest/robot/variables/return_values_java.robot +71 -0
  512. data/vendor/robot/atest/robot/variables/same_variable_file_names.robot +16 -0
  513. data/vendor/robot/atest/robot/variables/scalar_as_list.robot +25 -0
  514. data/vendor/robot/atest/robot/variables/shared_scope.robot +13 -0
  515. data/vendor/robot/atest/robot/variables/suite_source.robot +16 -0
  516. data/vendor/robot/atest/robot/variables/using_dict_variables.robot +62 -0
  517. data/vendor/robot/atest/robot/variables/variable_file_implemented_as_class.robot +37 -0
  518. data/vendor/robot/atest/robot/variables/variable_priorities.robot +36 -0
  519. data/vendor/robot/atest/robot/variables/variable_recommendations.robot +82 -0
  520. data/vendor/robot/atest/robot/variables/variable_scopes.robot +17 -0
  521. data/vendor/robot/atest/robot/variables/variable_table.robot +94 -0
  522. data/vendor/robot/atest/robot/variables/variable_table_in_resource_file.robot +88 -0
  523. data/vendor/robot/atest/robot/variables/variables_from_resource_files.robot +61 -0
  524. data/vendor/robot/atest/robot/variables/variables_from_variable_files.robot +52 -0
  525. data/vendor/robot/atest/robot/variables/variables_in_import_settings.robot +14 -0
  526. data/vendor/robot/atest/robot/variables/variables_inside_variables.robot +26 -0
  527. data/vendor/robot/atest/robot/variables/yaml_variable_file.robot +62 -0
  528. data/vendor/robot/atest/run.py +135 -0
  529. data/vendor/robot/atest/testdata/cli/console/markers.robot +64 -0
  530. data/vendor/robot/atest/testdata/cli/dryrun/EmbeddedArgs.py +7 -0
  531. data/vendor/robot/atest/testdata/cli/dryrun/Library.py +22 -0
  532. data/vendor/robot/atest/testdata/cli/dryrun/args.robot +50 -0
  533. data/vendor/robot/atest/testdata/cli/dryrun/dryrun.robot +172 -0
  534. data/vendor/robot/atest/testdata/cli/dryrun/executed_builtin_keywords.robot +20 -0
  535. data/vendor/robot/atest/testdata/cli/dryrun/kwargs.robot +27 -0
  536. data/vendor/robot/atest/testdata/cli/dryrun/more_tests.robot +9 -0
  537. data/vendor/robot/atest/testdata/cli/dryrun/resource.robot +17 -0
  538. data/vendor/robot/atest/testdata/cli/dryrun/run_keyword_variants.robot +226 -0
  539. data/vendor/robot/atest/testdata/cli/dryrun/run_keyword_variants_in_suite_teardown.robot +24 -0
  540. data/vendor/robot/atest/testdata/cli/dryrun/vars.py +1 -0
  541. data/vendor/robot/atest/testdata/cli/error/import_error.robot +8 -0
  542. data/vendor/robot/atest/testdata/cli/error/parsing_error.robot +8 -0
  543. data/vendor/robot/atest/testdata/cli/error/resource_error.robot +8 -0
  544. data/vendor/robot/atest/testdata/cli/error/resource_with_error.robot +6 -0
  545. data/vendor/robot/atest/testdata/cli/error/runtime_error.robot +14 -0
  546. data/vendor/robot/atest/testdata/cli/remove_keywords/all_combinations.robot +147 -0
  547. data/vendor/robot/atest/testdata/cli/remove_keywords/wait_until_keyword_succeeds.robot +39 -0
  548. data/vendor/robot/atest/testdata/cli/runfailed/onlypassing/passing.robot +3 -0
  549. data/vendor/robot/atest/testdata/cli/runfailed/runfailed1.robot +11 -0
  550. data/vendor/robot/atest/testdata/cli/runfailed/runfailed2.robot +8 -0
  551. data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_failed.robot +7 -0
  552. data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_failed_with_excluded_tag.robot +8 -0
  553. data/vendor/robot/atest/testdata/cli/runfailed/suite/subsuite/suite_succeed.robot +4 -0
  554. data/vendor/robot/atest/testdata/cli/runfailed/suite/suite_teardown_failing.robot +7 -0
  555. data/vendor/robot/atest/testdata/core/binary_data.robot +20 -0
  556. data/vendor/robot/atest/testdata/core/empty_testcase_and_uk.robot +68 -0
  557. data/vendor/robot/atest/testdata/core/erroring_suite_setup.robot +19 -0
  558. data/vendor/robot/atest/testdata/core/erroring_suite_teardown.robot +22 -0
  559. data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/__init__.robot +2 -0
  560. data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/suite1.robot +14 -0
  561. data/vendor/robot/atest/testdata/core/failing_higher_level_suite_setup/suite2.robot +5 -0
  562. data/vendor/robot/atest/testdata/core/failing_suite_setup.robot +12 -0
  563. data/vendor/robot/atest/testdata/core/failing_suite_setup_and_teardown.robot +24 -0
  564. data/vendor/robot/atest/testdata/core/failing_suite_teardown.robot +29 -0
  565. data/vendor/robot/atest/testdata/core/failing_suite_teardown_2.robot +41 -0
  566. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/__init__.robot +2 -0
  567. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown.robot +23 -0
  568. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/__init__.robot +2 -0
  569. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/ftd_failing_teardown.robot +29 -0
  570. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/failing_teardown_dir/ftd_passing_teardown.robot +20 -0
  571. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown.robot +14 -0
  572. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown_dir/ptd_failing_teardown.robot +23 -0
  573. data/vendor/robot/atest/testdata/core/failing_suite_teardown_dir/passing_teardown_dir/ptd_passing_teardown.robot +14 -0
  574. data/vendor/robot/atest/testdata/core/keyword_teardown.robot +109 -0
  575. data/vendor/robot/atest/testdata/core/long_suite_setup_and_teardown_errors.robot +21 -0
  576. data/vendor/robot/atest/testdata/core/overriding_default_settings_with_none.robot +60 -0
  577. data/vendor/robot/atest/testdata/core/passing_suite_setup.robot +6 -0
  578. data/vendor/robot/atest/testdata/core/passing_suite_setup_and_teardown.robot +26 -0
  579. data/vendor/robot/atest/testdata/core/passing_suite_teardown.robot +11 -0
  580. data/vendor/robot/atest/testdata/core/resource_and_variable_imports.robot +130 -0
  581. data/vendor/robot/atest/testdata/core/resources.robot +8 -0
  582. data/vendor/robot/atest/testdata/core/resources_and_variables/dynamicVariables.py +6 -0
  583. data/vendor/robot/atest/testdata/core/resources_and_variables/dynamic_variables.py +20 -0
  584. data/vendor/robot/atest/testdata/core/resources_and_variables/empty_resource.robot +1 -0
  585. data/vendor/robot/atest/testdata/core/resources_and_variables/invalid_list_variable.py +2 -0
  586. data/vendor/robot/atest/testdata/core/resources_and_variables/invalid_variable_file.py +1 -0
  587. data/vendor/robot/atest/testdata/core/resources_and_variables/resource_with_testcase_table.robot +4 -0
  588. data/vendor/robot/atest/testdata/core/resources_and_variables/resources.robot +17 -0
  589. data/vendor/robot/atest/testdata/core/resources_and_variables/resources2.robot +7 -0
  590. data/vendor/robot/atest/testdata/core/resources_and_variables/resources_imported_by_resource.robot +7 -0
  591. data/vendor/robot/atest/testdata/core/resources_and_variables/variables.py +6 -0
  592. data/vendor/robot/atest/testdata/core/resources_and_variables/variables2.py +1 -0
  593. data/vendor/robot/atest/testdata/core/resources_and_variables/variables_imported_by_resource.py +1 -0
  594. data/vendor/robot/atest/testdata/core/resources_and_variables/vars_from_cli.py +5 -0
  595. data/vendor/robot/atest/testdata/core/resources_and_variables/vars_from_cli2.py +11 -0
  596. data/vendor/robot/atest/testdata/core/same_test_multiple_times_in_suite.robot +27 -0
  597. data/vendor/robot/atest/testdata/core/test_case_status.robot +81 -0
  598. data/vendor/robot/atest/testdata/core/test_suite_dir/_ignore_this_dir/ignore_this_file.robot +3 -0
  599. data/vendor/robot/atest/testdata/core/test_suite_dir/_ignore_this_file.robot +3 -0
  600. data/vendor/robot/atest/testdata/core/test_suite_dir/no_extension +2 -0
  601. data/vendor/robot/atest/testdata/core/test_suite_dir/no_tests_dir_1/some.txt +1 -0
  602. data/vendor/robot/atest/testdata/core/test_suite_dir/no_tests_file_1.robot +7 -0
  603. data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/no_tests_dir_2/no_tests_file_3.robot +7 -0
  604. data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/no_tests_file_2.robot +7 -0
  605. data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/test_dir_2/test_dir_3/test_file_3.robot +3 -0
  606. data/vendor/robot/atest/testdata/core/test_suite_dir/test_dir_1/test_file_2.robot +3 -0
  607. data/vendor/robot/atest/testdata/core/test_suite_dir/test_file_1.robot +3 -0
  608. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/__init__.robot +31 -0
  609. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/__INIT__.robot +23 -0
  610. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/test_cases_1.robot +26 -0
  611. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/test_cases_2.robot +16 -0
  612. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_without_init_file/test_cases_1.robot +26 -0
  613. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/sub_suite_without_init_file/test_cases_2.robot +16 -0
  614. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/test_cases_1.robot +26 -0
  615. data/vendor/robot/atest/testdata/core/test_suite_dir_with_init_file/test_cases_2.robot +16 -0
  616. data/vendor/robot/atest/testdata/core/timeouts.robot +329 -0
  617. data/vendor/robot/atest/testdata/core/timeouts_with_custom_messages.robot +61 -0
  618. data/vendor/robot/atest/testdata/core/unicode_failure_in_suite_setup_and_teardown.robot +13 -0
  619. data/vendor/robot/atest/testdata/core/unicode_with_java_libs.robot +14 -0
  620. data/vendor/robot/atest/testdata/core/variables.py +3 -0
  621. data/vendor/robot/atest/testdata/keywords/DupeDynamicKeywords.py +10 -0
  622. data/vendor/robot/atest/testdata/keywords/DupeHybridKeywords.py +12 -0
  623. data/vendor/robot/atest/testdata/keywords/DupeKeywords.py +26 -0
  624. data/vendor/robot/atest/testdata/keywords/DynamicLibraryWithKeywordTags.py +10 -0
  625. data/vendor/robot/atest/testdata/keywords/LibraryWithKeywordTags.py +32 -0
  626. data/vendor/robot/atest/testdata/keywords/TraceLogArgsLibrary.py +42 -0
  627. data/vendor/robot/atest/testdata/keywords/dots_in_keyword_name.robot +85 -0
  628. data/vendor/robot/atest/testdata/keywords/dupe_keywords.robot +12 -0
  629. data/vendor/robot/atest/testdata/keywords/duplicate_dynamic_keywords.robot +20 -0
  630. data/vendor/robot/atest/testdata/keywords/duplicate_hybrid_keywords.robot +20 -0
  631. data/vendor/robot/atest/testdata/keywords/duplicate_static_keywords.robot +28 -0
  632. data/vendor/robot/atest/testdata/keywords/duplicate_user_keywords.robot +61 -0
  633. data/vendor/robot/atest/testdata/keywords/embedded_arguments.robot +274 -0
  634. data/vendor/robot/atest/testdata/keywords/embedded_arguments_library_keywords.robot +152 -0
  635. data/vendor/robot/atest/testdata/keywords/embedded_arguments_match_all.robot +14 -0
  636. data/vendor/robot/atest/testdata/keywords/java_argument_type_coercion.robot +41 -0
  637. data/vendor/robot/atest/testdata/keywords/java_arguments.robot +276 -0
  638. data/vendor/robot/atest/testdata/keywords/keyword_names.robot +127 -0
  639. data/vendor/robot/atest/testdata/keywords/keyword_namespaces.robot +106 -0
  640. data/vendor/robot/atest/testdata/keywords/keyword_not_found.robot +38 -0
  641. data/vendor/robot/atest/testdata/keywords/keyword_recommendations.robot +315 -0
  642. data/vendor/robot/atest/testdata/keywords/keyword_tags.robot +67 -0
  643. data/vendor/robot/atest/testdata/keywords/library/__init__.py +0 -0
  644. data/vendor/robot/atest/testdata/keywords/library/with/__init__.py +0 -0
  645. data/vendor/robot/atest/testdata/keywords/library/with/dots/__init__.py +8 -0
  646. data/vendor/robot/atest/testdata/keywords/library/with/dots/in/__init__.py +0 -0
  647. data/vendor/robot/atest/testdata/keywords/library/with/dots/in/name/__init__.py +12 -0
  648. data/vendor/robot/atest/testdata/keywords/library_with_keywords_with_dots_in_name.py +9 -0
  649. data/vendor/robot/atest/testdata/keywords/named_args/DynamicLibrary.py +40 -0
  650. data/vendor/robot/atest/testdata/keywords/named_args/DynamicLibraryWithKwargsSupport.py +15 -0
  651. data/vendor/robot/atest/testdata/keywords/named_args/KwargsLibrary.py +16 -0
  652. data/vendor/robot/atest/testdata/keywords/named_args/helper.py +21 -0
  653. data/vendor/robot/atest/testdata/keywords/named_args/python_library.py +19 -0
  654. data/vendor/robot/atest/testdata/keywords/named_args/variables_in_names.robot +63 -0
  655. data/vendor/robot/atest/testdata/keywords/named_args/with_dynamic_keywords.robot +131 -0
  656. data/vendor/robot/atest/testdata/keywords/named_args/with_dynamic_kwargs_support.robot +94 -0
  657. data/vendor/robot/atest/testdata/keywords/named_args/with_python_keywords.robot +250 -0
  658. data/vendor/robot/atest/testdata/keywords/named_args/with_user_keywords.robot +172 -0
  659. data/vendor/robot/atest/testdata/keywords/optional_given_when_then.robot +71 -0
  660. data/vendor/robot/atest/testdata/keywords/python_arguments.robot +95 -0
  661. data/vendor/robot/atest/testdata/keywords/resource.with.dots.in.name.robot +12 -0
  662. data/vendor/robot/atest/testdata/keywords/resource_with_keywords_with_dots_in_name.robot +9 -0
  663. data/vendor/robot/atest/testdata/keywords/resources/MyLibrary1.py +78 -0
  664. data/vendor/robot/atest/testdata/keywords/resources/MyLibrary2.py +34 -0
  665. data/vendor/robot/atest/testdata/keywords/resources/RecLibrary1.py +82 -0
  666. data/vendor/robot/atest/testdata/keywords/resources/RecLibrary2.py +21 -0
  667. data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_lk_1.py +118 -0
  668. data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_lk_2.py +7 -0
  669. data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_uk_1.robot +10 -0
  670. data/vendor/robot/atest/testdata/keywords/resources/embedded_args_in_uk_2.robot +4 -0
  671. data/vendor/robot/atest/testdata/keywords/resources/my_resource_1.robot +42 -0
  672. data/vendor/robot/atest/testdata/keywords/resources/my_resource_2.robot +15 -0
  673. data/vendor/robot/atest/testdata/keywords/resources/optional_given_when_then.robot +10 -0
  674. data/vendor/robot/atest/testdata/keywords/resources/recommendation_resource_1.robot +18 -0
  675. data/vendor/robot/atest/testdata/keywords/resources/recommendation_resource_2.robot +15 -0
  676. data/vendor/robot/atest/testdata/keywords/trace_log_keyword_arguments.robot +115 -0
  677. data/vendor/robot/atest/testdata/keywords/trace_log_return_value.robot +36 -0
  678. data/vendor/robot/atest/testdata/keywords/user_keyword_arguments.robot +306 -0
  679. data/vendor/robot/atest/testdata/keywords/user_keyword_kwargs.robot +186 -0
  680. data/vendor/robot/atest/testdata/keywords/user_keyword_return_values.robot +84 -0
  681. data/vendor/robot/atest/testdata/libdoc/DocFormat.py +39 -0
  682. data/vendor/robot/atest/testdata/libdoc/DocFormatHtml.java +20 -0
  683. data/vendor/robot/atest/testdata/libdoc/DocFormatHtml.py +8 -0
  684. data/vendor/robot/atest/testdata/libdoc/DocFormatInvalid.py +8 -0
  685. data/vendor/robot/atest/testdata/libdoc/DocSetInInit.py +4 -0
  686. data/vendor/robot/atest/testdata/libdoc/DynamicLibrary.py +48 -0
  687. data/vendor/robot/atest/testdata/libdoc/DynamicLibraryWithoutGetKwArgsAndDoc.py +13 -0
  688. data/vendor/robot/atest/testdata/libdoc/Example.java +113 -0
  689. data/vendor/robot/atest/testdata/libdoc/ExampleSpec.xml +56 -0
  690. data/vendor/robot/atest/testdata/libdoc/InternalLinking.py +68 -0
  691. data/vendor/robot/atest/testdata/libdoc/InvalidKeywords.py +23 -0
  692. data/vendor/robot/atest/testdata/libdoc/NewStyleNoInit.py +5 -0
  693. data/vendor/robot/atest/testdata/libdoc/NoArgConstructor.java +17 -0
  694. data/vendor/robot/atest/testdata/libdoc/NoConstructor.java +5 -0
  695. data/vendor/robot/atest/testdata/libdoc/invalid_user_keywords.robot +13 -0
  696. data/vendor/robot/atest/testdata/libdoc/module.py +54 -0
  697. data/vendor/robot/atest/testdata/libdoc/no_arg_init.py +8 -0
  698. data/vendor/robot/atest/testdata/libdoc/resource.robot +62 -0
  699. data/vendor/robot/atest/testdata/misc/dummy_lib_test.robot +6 -0
  700. data/vendor/robot/atest/testdata/misc/for_loops.robot +12 -0
  701. data/vendor/robot/atest/testdata/misc/formatting_and_escaping.robot +26 -0
  702. data/vendor/robot/atest/testdata/misc/many_tests.robot +24 -0
  703. data/vendor/robot/atest/testdata/misc/multiple_suites/01__suite_first.robot +36 -0
  704. data/vendor/robot/atest/testdata/misc/multiple_suites/02__sub.suite.1/first__suite4.robot +36 -0
  705. data/vendor/robot/atest/testdata/misc/multiple_suites/02__sub.suite.1/second__.Sui.te.2..robot +36 -0
  706. data/vendor/robot/atest/testdata/misc/multiple_suites/03__suite3.robot +36 -0
  707. data/vendor/robot/atest/testdata/misc/multiple_suites/04__suite4.robot +36 -0
  708. data/vendor/robot/atest/testdata/misc/multiple_suites/05__suite5.robot +36 -0
  709. data/vendor/robot/atest/testdata/misc/multiple_suites/10__suite10.robot +36 -0
  710. data/vendor/robot/atest/testdata/misc/multiple_suites/SUite7.robot +39 -0
  711. data/vendor/robot/atest/testdata/misc/multiple_suites/suiTe_8.robot +36 -0
  712. data/vendor/robot/atest/testdata/misc/multiple_suites/suite 6.robot +39 -0
  713. data/vendor/robot/atest/testdata/misc/multiple_suites/suite_9_name.robot +36 -0
  714. data/vendor/robot/atest/testdata/misc/normal.robot +24 -0
  715. data/vendor/robot/atest/testdata/misc/pass_and_fail.robot +28 -0
  716. data/vendor/robot/atest/testdata/misc/setups_and_teardowns.robot +61 -0
  717. data/vendor/robot/atest/testdata/misc/suites/__init__.robot +7 -0
  718. data/vendor/robot/atest/testdata/misc/suites/fourth.robot +15 -0
  719. data/vendor/robot/atest/testdata/misc/suites/subsuites/sub1.robot +20 -0
  720. data/vendor/robot/atest/testdata/misc/suites/subsuites/sub2.robot +14 -0
  721. data/vendor/robot/atest/testdata/misc/suites/subsuites2/sub.suite.4.robot +3 -0
  722. data/vendor/robot/atest/testdata/misc/suites/subsuites2/subsuite3.robot +15 -0
  723. data/vendor/robot/atest/testdata/misc/suites/tsuite1.robot +18 -0
  724. data/vendor/robot/atest/testdata/misc/suites/tsuite2.robot +11 -0
  725. data/vendor/robot/atest/testdata/misc/suites/tsuite3.robot +12 -0
  726. data/vendor/robot/atest/testdata/misc/timeouts.robot +26 -0
  727. data/vendor/robot/atest/testdata/misc/unicode.robot +38 -0
  728. data/vendor/robot/atest/testdata/misc/warnings_and_errors.robot +29 -0
  729. data/vendor/robot/atest/testdata/output/flatten_keywords.robot +45 -0
  730. data/vendor/robot/atest/testdata/output/js_model.robot +22 -0
  731. data/vendor/robot/atest/testdata/output/listeners/LibraryWithFailingListener.py +4 -0
  732. data/vendor/robot/atest/testdata/output/listeners/RunKeywordWithNonStringArguments.py +5 -0
  733. data/vendor/robot/atest/testdata/output/listeners/failing_library_listener.robot +10 -0
  734. data/vendor/robot/atest/testdata/output/listeners/failing_listener.py +19 -0
  735. data/vendor/robot/atest/testdata/output/listeners/imports/another_resource.robot +3 -0
  736. data/vendor/robot/atest/testdata/output/listeners/imports/dynamically_imported_resource.robot +3 -0
  737. data/vendor/robot/atest/testdata/output/listeners/imports/imports.robot +29 -0
  738. data/vendor/robot/atest/testdata/output/listeners/imports/local_lib.py +7 -0
  739. data/vendor/robot/atest/testdata/output/listeners/imports/resource_with_imports.robot +7 -0
  740. data/vendor/robot/atest/testdata/output/listeners/imports/vars.py +2 -0
  741. data/vendor/robot/atest/testdata/output/listeners/keyword_argument_types.robot +16 -0
  742. data/vendor/robot/atest/testdata/output/listeners/logging_listener.py +23 -0
  743. data/vendor/robot/atest/testdata/output/listeners/test_template.robot +22 -0
  744. data/vendor/robot/atest/testdata/output/listeners/v3.py +103 -0
  745. data/vendor/robot/atest/testdata/output/listeners/verify_template_listener.py +12 -0
  746. data/vendor/robot/atest/testdata/output/names_needing_escaping.robot +46 -0
  747. data/vendor/robot/atest/testdata/parsing/bom.robot +9 -0
  748. data/vendor/robot/atest/testdata/parsing/bom.tsv +10 -0
  749. data/vendor/robot/atest/testdata/parsing/data_formats/html/empty.html +0 -0
  750. data/vendor/robot/atest/testdata/parsing/data_formats/html/invalid.html +1 -0
  751. data/vendor/robot/atest/testdata/parsing/data_formats/html/malformed.html +11 -0
  752. data/vendor/robot/atest/testdata/parsing/data_formats/html/not_a_picture.jpg +1 -0
  753. data/vendor/robot/atest/testdata/parsing/data_formats/html/sample.html +787 -0
  754. data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/__init__.html +303 -0
  755. data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/sub_suite1.html +291 -0
  756. data/vendor/robot/atest/testdata/parsing/data_formats/html/with_init/sub_suite2.html +397 -0
  757. data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/HTML.html +309 -0
  758. data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/REST.rest +71 -0
  759. data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/TSV.tsv +30 -0
  760. data/vendor/robot/atest/testdata/parsing/data_formats/mixed_data/TXT.txt +30 -0
  761. data/vendor/robot/atest/testdata/parsing/data_formats/resources/html_resource.html +226 -0
  762. data/vendor/robot/atest/testdata/parsing/data_formats/resources/html_resource2.html +213 -0
  763. data/vendor/robot/atest/testdata/parsing/data_formats/resources/rest_resource.rst +23 -0
  764. data/vendor/robot/atest/testdata/parsing/data_formats/resources/rest_resource2.rest +11 -0
  765. data/vendor/robot/atest/testdata/parsing/data_formats/resources/robot_resource.robot +11 -0
  766. data/vendor/robot/atest/testdata/parsing/data_formats/resources/robot_resource2.robot +6 -0
  767. data/vendor/robot/atest/testdata/parsing/data_formats/resources/tsv_resource.tsv +11 -0
  768. data/vendor/robot/atest/testdata/parsing/data_formats/resources/tsv_resource2.tsv +6 -0
  769. data/vendor/robot/atest/testdata/parsing/data_formats/resources/txt_resource.txt +11 -0
  770. data/vendor/robot/atest/testdata/parsing/data_formats/resources/txt_resource2.txt +6 -0
  771. data/vendor/robot/atest/testdata/parsing/data_formats/resources/variables.py +4 -0
  772. data/vendor/robot/atest/testdata/parsing/data_formats/rest/empty.rest +0 -0
  773. data/vendor/robot/atest/testdata/parsing/data_formats/rest/include.rst +9 -0
  774. data/vendor/robot/atest/testdata/parsing/data_formats/rest/invalid.rest +5 -0
  775. data/vendor/robot/atest/testdata/parsing/data_formats/rest/sample.rst +240 -0
  776. data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/__init__.rest +24 -0
  777. data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/sub_suite1.rst +5 -0
  778. data/vendor/robot/atest/testdata/parsing/data_formats/rest/with_init/sub_suite2.rst +16 -0
  779. data/vendor/robot/atest/testdata/parsing/data_formats/rest_directives/include.rst +9 -0
  780. data/vendor/robot/atest/testdata/parsing/data_formats/rest_directives/sample.rst +150 -0
  781. data/vendor/robot/atest/testdata/parsing/data_formats/robot/empty.robot +0 -0
  782. data/vendor/robot/atest/testdata/parsing/data_formats/robot/invalid.robot +5 -0
  783. data/vendor/robot/atest/testdata/parsing/data_formats/robot/sample.robot +116 -0
  784. data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/__init__.robot +9 -0
  785. data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/sub_suite1.robot +23 -0
  786. data/vendor/robot/atest/testdata/parsing/data_formats/robot/with_init/sub_suite2.robot +11 -0
  787. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/empty.tsv +0 -0
  788. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/invalid.tsv +5 -0
  789. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/sample.tsv +113 -0
  790. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/__init__.tsv +9 -0
  791. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/sub_suite1.tsv +23 -0
  792. data/vendor/robot/atest/testdata/parsing/data_formats/tsv/with_init/sub_suite2.tsv +10 -0
  793. data/vendor/robot/atest/testdata/parsing/data_formats/txt/empty.txt +0 -0
  794. data/vendor/robot/atest/testdata/parsing/data_formats/txt/invalid.txt +5 -0
  795. data/vendor/robot/atest/testdata/parsing/data_formats/txt/sample.txt +117 -0
  796. data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/__init__.txt +9 -0
  797. data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/sub_suite1.txt +23 -0
  798. data/vendor/robot/atest/testdata/parsing/data_formats/txt/with_init/sub_suite2.txt +11 -0
  799. data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/escaping.txt +12 -0
  800. data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/pipes.txt +73 -0
  801. data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/spaces.txt +31 -0
  802. data/vendor/robot/atest/testdata/parsing/data_formats/txt_special_cases/txt_with_tabs.txt +10 -0
  803. data/vendor/robot/atest/testdata/parsing/deprecated_settings.robot +22 -0
  804. data/vendor/robot/atest/testdata/parsing/empty_testcase_table.robot +1 -0
  805. data/vendor/robot/atest/testdata/parsing/escaping.robot +185 -0
  806. data/vendor/robot/atest/testdata/parsing/escaping_variables.py +15 -0
  807. data/vendor/robot/atest/testdata/parsing/failing_init/__init__.robot +6 -0
  808. data/vendor/robot/atest/testdata/parsing/failing_init/failing_init.robot +3 -0
  809. data/vendor/robot/atest/testdata/parsing/html_entityrefs.html +223 -0
  810. data/vendor/robot/atest/testdata/parsing/html_entityrefs_variables.py +3 -0
  811. data/vendor/robot/atest/testdata/parsing/invalid_table_names.html +47 -0
  812. data/vendor/robot/atest/testdata/parsing/invalid_table_names.robot +21 -0
  813. data/vendor/robot/atest/testdata/parsing/invalid_tables_resource.html +40 -0
  814. data/vendor/robot/atest/testdata/parsing/invalid_tables_resource.robot +15 -0
  815. data/vendor/robot/atest/testdata/parsing/library_caching/file1.robot +11 -0
  816. data/vendor/robot/atest/testdata/parsing/library_caching/file2.robot +11 -0
  817. data/vendor/robot/atest/testdata/parsing/library_caching/resource.robot +6 -0
  818. data/vendor/robot/atest/testdata/parsing/multirow.robot +208 -0
  819. data/vendor/robot/atest/testdata/parsing/nbsp.html +22 -0
  820. data/vendor/robot/atest/testdata/parsing/nbsp.robot +6 -0
  821. data/vendor/robot/atest/testdata/parsing/nbsp.tsv +3 -0
  822. data/vendor/robot/atest/testdata/parsing/non_ascii_paths/Ty-ouml/sect-test-sect.robot +3 -0
  823. data/vendor/robot/atest/testdata/parsing/non_ascii_paths/Ty-ouml/tyhj-auml.robot +0 -0
  824. data/vendor/robot/atest/testdata/parsing/non_ascii_paths/test-auml-ouml.robot +3 -0
  825. data/vendor/robot/atest/testdata/parsing/notests/empty.tsv +0 -0
  826. data/vendor/robot/atest/testdata/parsing/notests/no_tests.txt +1 -0
  827. data/vendor/robot/atest/testdata/parsing/notests/subdir/content +1 -0
  828. data/vendor/robot/atest/testdata/parsing/resource_parsing/01_tests.robot +7 -0
  829. data/vendor/robot/atest/testdata/parsing/resource_parsing/02_resource.robot +6 -0
  830. data/vendor/robot/atest/testdata/parsing/resource_parsing/03_resource.robot +11 -0
  831. data/vendor/robot/atest/testdata/parsing/resource_parsing/04_tests.robot +12 -0
  832. data/vendor/robot/atest/testdata/parsing/same_setting_multiple_times.robot +67 -0
  833. data/vendor/robot/atest/testdata/parsing/suite_metadata.robot +20 -0
  834. data/vendor/robot/atest/testdata/parsing/suite_settings.robot +28 -0
  835. data/vendor/robot/atest/testdata/parsing/table_names.robot +41 -0
  836. data/vendor/robot/atest/testdata/parsing/test_case_settings.robot +167 -0
  837. data/vendor/robot/atest/testdata/parsing/unsupported.log +1 -0
  838. data/vendor/robot/atest/testdata/parsing/user_keyword_settings.robot +183 -0
  839. data/vendor/robot/atest/testdata/parsing/utf8_data.html +342 -0
  840. data/vendor/robot/atest/testdata/parsing/utf8_data.robot +38 -0
  841. data/vendor/robot/atest/testdata/parsing/utf8_data.tsv +40 -0
  842. data/vendor/robot/atest/testdata/parsing/utf8_data_in_html5.html +341 -0
  843. data/vendor/robot/atest/testdata/rebot/created_normal.xml +23 -0
  844. data/vendor/robot/atest/testdata/rebot/times.xml +77 -0
  845. data/vendor/robot/atest/testdata/running/NonAsciiByteLibrary.py +11 -0
  846. data/vendor/robot/atest/testdata/running/binary_list.py +2 -0
  847. data/vendor/robot/atest/testdata/running/continue_for_loop.robot +146 -0
  848. data/vendor/robot/atest/testdata/running/continue_on_failure.robot +221 -0
  849. data/vendor/robot/atest/testdata/running/continue_on_failure_in_suite_setup.robot +14 -0
  850. data/vendor/robot/atest/testdata/running/dynamic_teardown.robot +8 -0
  851. data/vendor/robot/atest/testdata/running/empty_setup_and_teardown_are_ignored.robot +15 -0
  852. data/vendor/robot/atest/testdata/running/exit_for_loop.robot +128 -0
  853. data/vendor/robot/atest/testdata/running/expbytevalues.py +41 -0
  854. data/vendor/robot/atest/testdata/running/failures_in_teardown.robot +158 -0
  855. data/vendor/robot/atest/testdata/running/fatal_error_in_suite_teardown.robot +12 -0
  856. data/vendor/robot/atest/testdata/running/fatal_exception/01__python_library_kw.robot +14 -0
  857. data/vendor/robot/atest/testdata/running/fatal_exception/02__irrelevant.robot +16 -0
  858. data/vendor/robot/atest/testdata/running/fatal_exception/03__java_library_kw.robot +12 -0
  859. data/vendor/robot/atest/testdata/running/fatal_exception_suite_setup/01__suite_setup.robot +9 -0
  860. data/vendor/robot/atest/testdata/running/fatal_exception_suite_setup/02__irrelevant.robot +14 -0
  861. data/vendor/robot/atest/testdata/running/for.robot +552 -0
  862. data/vendor/robot/atest/testdata/running/html_error_message.robot +67 -0
  863. data/vendor/robot/atest/testdata/running/long_error_messages.robot +64 -0
  864. data/vendor/robot/atest/testdata/running/non_ascii_bytes.robot +30 -0
  865. data/vendor/robot/atest/testdata/running/none_setup_and_teardown_are_ignored.robot +15 -0
  866. data/vendor/robot/atest/testdata/running/pass_execution.robot +253 -0
  867. data/vendor/robot/atest/testdata/running/pass_execution_in_suite_setup_and_teardown.robot +15 -0
  868. data/vendor/robot/atest/testdata/running/pass_execution_in_suite_teardown_invalid.robot +12 -0
  869. data/vendor/robot/atest/testdata/running/pass_execution_library.py +10 -0
  870. data/vendor/robot/atest/testdata/running/prevent_recursion.robot +66 -0
  871. data/vendor/robot/atest/testdata/running/return_from_keyword.robot +173 -0
  872. data/vendor/robot/atest/testdata/running/stopping_with_signal/Library.py +15 -0
  873. data/vendor/robot/atest/testdata/running/stopping_with_signal/keyword_timeout.robot +21 -0
  874. data/vendor/robot/atest/testdata/running/stopping_with_signal/run_keyword.robot +15 -0
  875. data/vendor/robot/atest/testdata/running/stopping_with_signal/swallow_exception.robot +15 -0
  876. data/vendor/robot/atest/testdata/running/stopping_with_signal/test_timeout.robot +16 -0
  877. data/vendor/robot/atest/testdata/running/stopping_with_signal/with_teardown.robot +21 -0
  878. data/vendor/robot/atest/testdata/running/stopping_with_signal/without_any_timeout.robot +15 -0
  879. data/vendor/robot/atest/testdata/running/test_template.robot +305 -0
  880. data/vendor/robot/atest/testdata/running/test_template_with_embeded_args.robot +47 -0
  881. data/vendor/robot/atest/testdata/standard_libraries/builtin/DynamicRegisteredLibrary.py +14 -0
  882. data/vendor/robot/atest/testdata/standard_libraries/builtin/FailUntilSucceeds.py +14 -0
  883. data/vendor/robot/atest/testdata/standard_libraries/builtin/NotRegisteringLibrary.py +5 -0
  884. data/vendor/robot/atest/testdata/standard_libraries/builtin/RegisteredClass.py +12 -0
  885. data/vendor/robot/atest/testdata/standard_libraries/builtin/RegisteringLibrary.py +13 -0
  886. data/vendor/robot/atest/testdata/standard_libraries/builtin/UseBuiltIn.py +17 -0
  887. data/vendor/robot/atest/testdata/standard_libraries/builtin/call_method.robot +60 -0
  888. data/vendor/robot/atest/testdata/standard_libraries/builtin/convert_to_bytes.robot +170 -0
  889. data/vendor/robot/atest/testdata/standard_libraries/builtin/converter.robot +220 -0
  890. data/vendor/robot/atest/testdata/standard_libraries/builtin/count.robot +74 -0
  891. data/vendor/robot/atest/testdata/standard_libraries/builtin/create_dictionary.robot +120 -0
  892. data/vendor/robot/atest/testdata/standard_libraries/builtin/documentation/__init__.robot +4 -0
  893. data/vendor/robot/atest/testdata/standard_libraries/builtin/documentation/set_documentation.robot +39 -0
  894. data/vendor/robot/atest/testdata/standard_libraries/builtin/evaluate.robot +147 -0
  895. data/vendor/robot/atest/testdata/standard_libraries/builtin/exit_on_failure.robot +20 -0
  896. data/vendor/robot/atest/testdata/standard_libraries/builtin/fail.robot +40 -0
  897. data/vendor/robot/atest/testdata/standard_libraries/builtin/fatal_error.robot +21 -0
  898. data/vendor/robot/atest/testdata/standard_libraries/builtin/get_library_instance.robot +111 -0
  899. data/vendor/robot/atest/testdata/standard_libraries/builtin/get_time.robot +73 -0
  900. data/vendor/robot/atest/testdata/standard_libraries/builtin/get_user_dict.py +8 -0
  901. data/vendor/robot/atest/testdata/standard_libraries/builtin/get_variable_value.robot +54 -0
  902. data/vendor/robot/atest/testdata/standard_libraries/builtin/get_variables.robot +92 -0
  903. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_library.robot +55 -0
  904. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource.robot +89 -0
  905. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_1.robot +13 -0
  906. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_2.robot +12 -0
  907. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_3.robot +10 -0
  908. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_resource_resource.robot +14 -0
  909. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_resource_vars.py +2 -0
  910. data/vendor/robot/atest/testdata/standard_libraries/builtin/import_variables.robot +95 -0
  911. data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist.robot +83 -0
  912. data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist_resource_1.robot +6 -0
  913. data/vendor/robot/atest/testdata/standard_libraries/builtin/keyword_should_exist_resource_2.robot +3 -0
  914. data/vendor/robot/atest/testdata/standard_libraries/builtin/length.robot +114 -0
  915. data/vendor/robot/atest/testdata/standard_libraries/builtin/length_variables.py +44 -0
  916. data/vendor/robot/atest/testdata/standard_libraries/builtin/log.robot +115 -0
  917. data/vendor/robot/atest/testdata/standard_libraries/builtin/log_variables.robot +37 -0
  918. data/vendor/robot/atest/testdata/standard_libraries/builtin/misc.robot +46 -0
  919. data/vendor/robot/atest/testdata/standard_libraries/builtin/numbers_to_convert.py +33 -0
  920. data/vendor/robot/atest/testdata/standard_libraries/builtin/objects_for_call_method.py +32 -0
  921. data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/Reloadable.py +34 -0
  922. data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/StaticLibrary.py +11 -0
  923. data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/module_library.py +6 -0
  924. data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/reload_library.robot +66 -0
  925. data/vendor/robot/atest/testdata/standard_libraries/builtin/reload_library/reload_with_name.robot +24 -0
  926. data/vendor/robot/atest/testdata/standard_libraries/builtin/repeat_keyword.robot +97 -0
  927. data/vendor/robot/atest/testdata/standard_libraries/builtin/replace_variables.robot +56 -0
  928. data/vendor/robot/atest/testdata/standard_libraries/builtin/resource_for_get_variables.robot +7 -0
  929. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword.robot +95 -0
  930. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_continue_on_failure.robot +92 -0
  931. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_return.robot +176 -0
  932. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_and_return_status.robot +9 -0
  933. 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
  934. 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
  935. 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
  936. 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
  937. 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
  938. 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
  939. 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
  940. 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
  941. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_based_on_suite_stats/run_kw_variants_used_outside_suite_teardown.robot +16 -0
  942. 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
  943. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.robot +138 -0
  944. 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
  945. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_timeout_occurred.robot +86 -0
  946. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_if_unless.robot +183 -0
  947. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_registering.robot +43 -0
  948. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_variable_handling.robot +56 -0
  949. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_variants_with_escaping_control_arguments.robot +55 -0
  950. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keyword_with_errors.robot +236 -0
  951. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keywords.robot +123 -0
  952. data/vendor/robot/atest/testdata/standard_libraries/builtin/run_keywords_with_arguments.robot +54 -0
  953. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/TestLibrary.py +13 -0
  954. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/setting_library_order.robot +71 -0
  955. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_library_search_order/setting_library_order_does_not_affect_next_suite.robot +11 -0
  956. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_log_level.robot +41 -0
  957. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/resource1.robot +3 -0
  958. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/resource2.robot +3 -0
  959. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/setting_resource_order.robot +68 -0
  960. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_resource_search_order/setting_resource_order_does_not_affect_next_suite.robot +11 -0
  961. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_suite_metadata.robot +49 -0
  962. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_test_message.robot +102 -0
  963. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_test_message_in_suite_level.robot +7 -0
  964. data/vendor/robot/atest/testdata/standard_libraries/builtin/set_variable_if.robot +148 -0
  965. data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/__init__.robot +31 -0
  966. data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/variables.robot +611 -0
  967. data/vendor/robot/atest/testdata/standard_libraries/builtin/setting_variables/variables2.robot +43 -0
  968. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_equal.robot +101 -0
  969. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_equal_as_xxx.robot +107 -0
  970. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_be_true.robot +48 -0
  971. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_contain.robot +62 -0
  972. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_contain_any.robot +100 -0
  973. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_match.robot +72 -0
  974. data/vendor/robot/atest/testdata/standard_libraries/builtin/should_xxx_with.robot +66 -0
  975. data/vendor/robot/atest/testdata/standard_libraries/builtin/sleep.robot +29 -0
  976. data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/__init__.robot +8 -0
  977. data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/sub1.robot +95 -0
  978. data/vendor/robot/atest/testdata/standard_libraries/builtin/tags/sub2.robot +37 -0
  979. data/vendor/robot/atest/testdata/standard_libraries/builtin/template.txt +2 -0
  980. data/vendor/robot/atest/testdata/standard_libraries/builtin/times.py +8 -0
  981. data/vendor/robot/atest/testdata/standard_libraries/builtin/used_in_custom_libs_and_listeners.robot +17 -0
  982. data/vendor/robot/atest/testdata/standard_libraries/builtin/variable.py +9 -0
  983. data/vendor/robot/atest/testdata/standard_libraries/builtin/variable_should_exist.robot +142 -0
  984. data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_import_1.py +2 -0
  985. data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_import_2.py +4 -0
  986. data/vendor/robot/atest/testdata/standard_libraries/builtin/variables_to_verify.py +62 -0
  987. data/vendor/robot/atest/testdata/standard_libraries/builtin/vars_for_get_variables.py +1 -0
  988. data/vendor/robot/atest/testdata/standard_libraries/builtin/wait_until_keyword_succeeds.robot +131 -0
  989. data/vendor/robot/atest/testdata/standard_libraries/collections/CollectionsHelperLibrary.py +9 -0
  990. data/vendor/robot/atest/testdata/standard_libraries/collections/collections_resources.robot +8 -0
  991. data/vendor/robot/atest/testdata/standard_libraries/collections/dictionary.robot +250 -0
  992. data/vendor/robot/atest/testdata/standard_libraries/collections/list.robot +598 -0
  993. data/vendor/robot/atest/testdata/standard_libraries/datetime/add_time_to_date.robot +27 -0
  994. data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_date_input_format.robot +74 -0
  995. data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_date_result_format.robot +101 -0
  996. data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_time_input_format.robot +80 -0
  997. data/vendor/robot/atest/testdata/standard_libraries/datetime/convert_time_result_format.robot +72 -0
  998. data/vendor/robot/atest/testdata/standard_libraries/datetime/date_ranges.robot +48 -0
  999. data/vendor/robot/atest/testdata/standard_libraries/datetime/datesandtimes.py +28 -0
  1000. data/vendor/robot/atest/testdata/standard_libraries/datetime/get_current_date.robot +43 -0
  1001. data/vendor/robot/atest/testdata/standard_libraries/datetime/subtract_date_from_date.robot +30 -0
  1002. data/vendor/robot/atest/testdata/standard_libraries/datetime/subtract_time_from_date.robot +25 -0
  1003. data/vendor/robot/atest/testdata/standard_libraries/datetime/time_calculations.robot +27 -0
  1004. data/vendor/robot/atest/testdata/standard_libraries/dialogs/dialogs.robot +76 -0
  1005. data/vendor/robot/atest/testdata/standard_libraries/easter.robot +7 -0
  1006. data/vendor/robot/atest/testdata/standard_libraries/operating_system/create_and_remove_dir.robot +66 -0
  1007. data/vendor/robot/atest/testdata/standard_libraries/operating_system/create_file.robot +95 -0
  1008. data/vendor/robot/atest/testdata/standard_libraries/operating_system/env_vars.robot +134 -0
  1009. data/vendor/robot/atest/testdata/standard_libraries/operating_system/file_and_dir_empty_or_not.robot +101 -0
  1010. data/vendor/robot/atest/testdata/standard_libraries/operating_system/file_and_dir_existence.robot +178 -0
  1011. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/HelperLib.py +7 -0
  1012. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/ascii.txt +1 -0
  1013. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/latin-1.txt +1 -0
  1014. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/latin-1_multiple_rows.txt +5 -0
  1015. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/prog.py +14 -0
  1016. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16BE.txt +0 -0
  1017. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16BEBOM.txt +0 -0
  1018. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16LE.txt +0 -0
  1019. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-16LEBOM.txt +0 -0
  1020. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8.txt +1 -0
  1021. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8_multiple_rows.txt +5 -0
  1022. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/utf-8_windows_line_endings.txt +5 -0
  1023. data/vendor/robot/atest/testdata/standard_libraries/operating_system/files/writable_prog.py +5 -0
  1024. data/vendor/robot/atest/testdata/standard_libraries/operating_system/get_file.robot +185 -0
  1025. data/vendor/robot/atest/testdata/standard_libraries/operating_system/get_file_size.robot +26 -0
  1026. data/vendor/robot/atest/testdata/standard_libraries/operating_system/list_dir.robot +105 -0
  1027. data/vendor/robot/atest/testdata/standard_libraries/operating_system/modified_time.robot +109 -0
  1028. data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_directory.robot +88 -0
  1029. data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_file.robot +169 -0
  1030. data/vendor/robot/atest/testdata/standard_libraries/operating_system/move_copy_files.robot +220 -0
  1031. data/vendor/robot/atest/testdata/standard_libraries/operating_system/os_resource.robot +31 -0
  1032. data/vendor/robot/atest/testdata/standard_libraries/operating_system/path.robot +121 -0
  1033. data/vendor/robot/atest/testdata/standard_libraries/operating_system/path_expansion.robot +28 -0
  1034. data/vendor/robot/atest/testdata/standard_libraries/operating_system/remove_file.robot +63 -0
  1035. data/vendor/robot/atest/testdata/standard_libraries/operating_system/run.robot +91 -0
  1036. data/vendor/robot/atest/testdata/standard_libraries/operating_system/special_names.robot +87 -0
  1037. data/vendor/robot/atest/testdata/standard_libraries/operating_system/touch.robot +42 -0
  1038. data/vendor/robot/atest/testdata/standard_libraries/operating_system/wait_until_library.py +23 -0
  1039. data/vendor/robot/atest/testdata/standard_libraries/operating_system/wait_until_removed_created.robot +112 -0
  1040. data/vendor/robot/atest/testdata/standard_libraries/process/CustomLib.py +4 -0
  1041. data/vendor/robot/atest/testdata/standard_libraries/process/PlatformLib.py +10 -0
  1042. data/vendor/robot/atest/testdata/standard_libraries/process/active_process.robot +48 -0
  1043. data/vendor/robot/atest/testdata/standard_libraries/process/commandline.robot +99 -0
  1044. data/vendor/robot/atest/testdata/standard_libraries/process/env_config.robot +51 -0
  1045. data/vendor/robot/atest/testdata/standard_libraries/process/files/countdown.py +22 -0
  1046. data/vendor/robot/atest/testdata/standard_libraries/process/files/encoding.py +25 -0
  1047. data/vendor/robot/atest/testdata/standard_libraries/process/files/non_terminable.py +31 -0
  1048. data/vendor/robot/atest/testdata/standard_libraries/process/files/script.py +11 -0
  1049. data/vendor/robot/atest/testdata/standard_libraries/process/files/timeout.py +12 -0
  1050. data/vendor/robot/atest/testdata/standard_libraries/process/get_process_result.robot +67 -0
  1051. data/vendor/robot/atest/testdata/standard_libraries/process/is_process_alive.robot +24 -0
  1052. data/vendor/robot/atest/testdata/standard_libraries/process/newlines.robot +20 -0
  1053. data/vendor/robot/atest/testdata/standard_libraries/process/no_active_process.robot +16 -0
  1054. data/vendor/robot/atest/testdata/standard_libraries/process/output_encoding.robot +51 -0
  1055. data/vendor/robot/atest/testdata/standard_libraries/process/passing_arguments.robot +51 -0
  1056. data/vendor/robot/atest/testdata/standard_libraries/process/process_library.robot +54 -0
  1057. data/vendor/robot/atest/testdata/standard_libraries/process/process_resource.robot +122 -0
  1058. data/vendor/robot/atest/testdata/standard_libraries/process/run_process_with_timeout.robot +54 -0
  1059. data/vendor/robot/atest/testdata/standard_libraries/process/sending_signal.robot +71 -0
  1060. data/vendor/robot/atest/testdata/standard_libraries/process/stdout_and_stderr.robot +93 -0
  1061. data/vendor/robot/atest/testdata/standard_libraries/process/terminate_process.robot +107 -0
  1062. data/vendor/robot/atest/testdata/standard_libraries/process/wait_for_process.robot +43 -0
  1063. data/vendor/robot/atest/testdata/standard_libraries/remote/Conflict.py +2 -0
  1064. data/vendor/robot/atest/testdata/standard_libraries/remote/Helper.py +4 -0
  1065. data/vendor/robot/atest/testdata/standard_libraries/remote/argument_coersion.robot +143 -0
  1066. data/vendor/robot/atest/testdata/standard_libraries/remote/arguments.py +88 -0
  1067. data/vendor/robot/atest/testdata/standard_libraries/remote/arguments.robot +133 -0
  1068. data/vendor/robot/atest/testdata/standard_libraries/remote/binary_result.robot +70 -0
  1069. data/vendor/robot/atest/testdata/standard_libraries/remote/binaryresult.py +44 -0
  1070. data/vendor/robot/atest/testdata/standard_libraries/remote/dict_result.robot +35 -0
  1071. data/vendor/robot/atest/testdata/standard_libraries/remote/dictresult.py +19 -0
  1072. data/vendor/robot/atest/testdata/standard_libraries/remote/documentation.py +40 -0
  1073. data/vendor/robot/atest/testdata/standard_libraries/remote/documentation.robot +20 -0
  1074. data/vendor/robot/atest/testdata/standard_libraries/remote/invalid.py +24 -0
  1075. data/vendor/robot/atest/testdata/standard_libraries/remote/invalid.robot +27 -0
  1076. data/vendor/robot/atest/testdata/standard_libraries/remote/keyword_tags.robot +25 -0
  1077. data/vendor/robot/atest/testdata/standard_libraries/remote/keywordtags.py +38 -0
  1078. data/vendor/robot/atest/testdata/standard_libraries/remote/remoteserver.py +77 -0
  1079. data/vendor/robot/atest/testdata/standard_libraries/remote/simple_server.robot +47 -0
  1080. data/vendor/robot/atest/testdata/standard_libraries/remote/simpleserver.py +41 -0
  1081. data/vendor/robot/atest/testdata/standard_libraries/remote/special_errors.robot +26 -0
  1082. data/vendor/robot/atest/testdata/standard_libraries/remote/specialerrors.py +20 -0
  1083. data/vendor/robot/atest/testdata/standard_libraries/remote/timeouts.py +13 -0
  1084. data/vendor/robot/atest/testdata/standard_libraries/remote/timeouts.robot +43 -0
  1085. data/vendor/robot/atest/testdata/standard_libraries/remote/variables.py +28 -0
  1086. data/vendor/robot/atest/testdata/standard_libraries/reserved.robot +25 -0
  1087. data/vendor/robot/atest/testdata/standard_libraries/screenshot/screenshot_resource.robot +22 -0
  1088. data/vendor/robot/atest/testdata/standard_libraries/screenshot/set_screenshot_directory.robot +33 -0
  1089. data/vendor/robot/atest/testdata/standard_libraries/screenshot/take_screenshot.robot +49 -0
  1090. data/vendor/robot/atest/testdata/standard_libraries/string/convert_to.robot +31 -0
  1091. data/vendor/robot/atest/testdata/standard_libraries/string/encode_decode.robot +72 -0
  1092. data/vendor/robot/atest/testdata/standard_libraries/string/generate_random_string.robot +49 -0
  1093. data/vendor/robot/atest/testdata/standard_libraries/string/get_matching_lines.robot +115 -0
  1094. data/vendor/robot/atest/testdata/standard_libraries/string/get_regexp_matches.robot +54 -0
  1095. data/vendor/robot/atest/testdata/standard_libraries/string/remove_from_string.robot +33 -0
  1096. data/vendor/robot/atest/testdata/standard_libraries/string/replace_string.robot +43 -0
  1097. data/vendor/robot/atest/testdata/standard_libraries/string/should_be.robot +79 -0
  1098. data/vendor/robot/atest/testdata/standard_libraries/string/split_string.robot +95 -0
  1099. data/vendor/robot/atest/testdata/standard_libraries/string/string.robot +112 -0
  1100. data/vendor/robot/atest/testdata/standard_libraries/telnet/README.rst +15 -0
  1101. data/vendor/robot/atest/testdata/standard_libraries/telnet/configuration.robot +272 -0
  1102. data/vendor/robot/atest/testdata/standard_libraries/telnet/connections.robot +53 -0
  1103. data/vendor/robot/atest/testdata/standard_libraries/telnet/login.robot +38 -0
  1104. data/vendor/robot/atest/testdata/standard_libraries/telnet/read_and_write.robot +173 -0
  1105. data/vendor/robot/atest/testdata/standard_libraries/telnet/telnet_resource.robot +24 -0
  1106. data/vendor/robot/atest/testdata/standard_libraries/telnet/telnet_variables.py +10 -0
  1107. data/vendor/robot/atest/testdata/standard_libraries/telnet/terminal_emulation.robot +159 -0
  1108. data/vendor/robot/atest/testdata/standard_libraries/xml/add_and_remove_elements.robot +118 -0
  1109. data/vendor/robot/atest/testdata/standard_libraries/xml/add_and_remove_elements_with_lxml.robot +120 -0
  1110. data/vendor/robot/atest/testdata/standard_libraries/xml/clear_element.robot +27 -0
  1111. data/vendor/robot/atest/testdata/standard_libraries/xml/clear_element_with_lxml.robot +28 -0
  1112. data/vendor/robot/atest/testdata/standard_libraries/xml/copy_element.robot +35 -0
  1113. data/vendor/robot/atest/testdata/standard_libraries/xml/copy_element_with_lxml.robot +36 -0
  1114. data/vendor/robot/atest/testdata/standard_libraries/xml/element_attribute.robot +81 -0
  1115. data/vendor/robot/atest/testdata/standard_libraries/xml/element_attribute_with_lxml.robot +82 -0
  1116. data/vendor/robot/atest/testdata/standard_libraries/xml/element_should_exist.robot +47 -0
  1117. data/vendor/robot/atest/testdata/standard_libraries/xml/element_should_exist_with_lxml.robot +48 -0
  1118. data/vendor/robot/atest/testdata/standard_libraries/xml/element_text.robot +89 -0
  1119. data/vendor/robot/atest/testdata/standard_libraries/xml/element_text_with_lxml.robot +90 -0
  1120. data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_be_equal.robot +91 -0
  1121. data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_be_equal_with_lxml.robot +92 -0
  1122. data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_match.robot +87 -0
  1123. data/vendor/robot/atest/testdata/standard_libraries/xml/elements_should_match_with_lxml.robot +88 -0
  1124. data/vendor/robot/atest/testdata/standard_libraries/xml/etree_namespaces.robot +97 -0
  1125. data/vendor/robot/atest/testdata/standard_libraries/xml/etree_namespaces_with_lxml.robot +54 -0
  1126. data/vendor/robot/atest/testdata/standard_libraries/xml/get_elements.robot +71 -0
  1127. data/vendor/robot/atest/testdata/standard_libraries/xml/get_elements_with_lxml.robot +72 -0
  1128. data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces.robot +76 -0
  1129. data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces.xml +17 -0
  1130. data/vendor/robot/atest/testdata/standard_libraries/xml/namespaces_with_lxml.robot +60 -0
  1131. data/vendor/robot/atest/testdata/standard_libraries/xml/parsing.robot +39 -0
  1132. data/vendor/robot/atest/testdata/standard_libraries/xml/parsing_with_lxml.robot +40 -0
  1133. data/vendor/robot/atest/testdata/standard_libraries/xml/save_xml.robot +83 -0
  1134. data/vendor/robot/atest/testdata/standard_libraries/xml/save_xml_with_lxml.robot +81 -0
  1135. data/vendor/robot/atest/testdata/standard_libraries/xml/set_element_information.robot +125 -0
  1136. data/vendor/robot/atest/testdata/standard_libraries/xml/set_element_information_with_lxml.robot +126 -0
  1137. data/vendor/robot/atest/testdata/standard_libraries/xml/strip_namespaces.robot +63 -0
  1138. data/vendor/robot/atest/testdata/standard_libraries/xml/strip_namespaces_with_lxml.robot +63 -0
  1139. data/vendor/robot/atest/testdata/standard_libraries/xml/test.xml +24 -0
  1140. data/vendor/robot/atest/testdata/standard_libraries/xml/to_string.robot +36 -0
  1141. data/vendor/robot/atest/testdata/standard_libraries/xml/to_string_with_lxml.robot +38 -0
  1142. data/vendor/robot/atest/testdata/standard_libraries/xml/xml_resource.robot +88 -0
  1143. data/vendor/robot/atest/testdata/standard_libraries/xml/xpath.robot +102 -0
  1144. data/vendor/robot/atest/testdata/standard_libraries/xml/xpath_with_lxml.robot +127 -0
  1145. data/vendor/robot/atest/testdata/tags/default_and_force_tags.robot +19 -0
  1146. data/vendor/robot/atest/testdata/tags/default_tags.robot +14 -0
  1147. data/vendor/robot/atest/testdata/tags/force_tags.robot +14 -0
  1148. data/vendor/robot/atest/testdata/tags/include_and_exclude.robot +28 -0
  1149. data/vendor/robot/atest/testdata/tags/no_force_no_default_tags.robot +11 -0
  1150. data/vendor/robot/atest/testdata/tags/tags_are_not_normalized.robot +55 -0
  1151. data/vendor/robot/atest/testdata/test_libraries/AbstractJavaLibrary.class +0 -0
  1152. data/vendor/robot/atest/testdata/test_libraries/AbstractJavaLibrary.java +2 -0
  1153. data/vendor/robot/atest/testdata/test_libraries/ConstructorLogging.class +0 -0
  1154. data/vendor/robot/atest/testdata/test_libraries/ConstructorLogging.java +12 -0
  1155. data/vendor/robot/atest/testdata/test_libraries/DeprecatedKeywords.py +34 -0
  1156. data/vendor/robot/atest/testdata/test_libraries/DynamicLibraryTags.py +26 -0
  1157. data/vendor/robot/atest/testdata/test_libraries/ImportLogging.py +10 -0
  1158. data/vendor/robot/atest/testdata/test_libraries/ImportRobotModuleTestLibrary.py +24 -0
  1159. data/vendor/robot/atest/testdata/test_libraries/InitImportingAndIniting.py +31 -0
  1160. data/vendor/robot/atest/testdata/test_libraries/InitLogging.py +17 -0
  1161. data/vendor/robot/atest/testdata/test_libraries/InitializationFailJavaLibrary.class +0 -0
  1162. data/vendor/robot/atest/testdata/test_libraries/InitializationFailJavaLibrary.java +7 -0
  1163. data/vendor/robot/atest/testdata/test_libraries/InitializationFailLibrary.py +4 -0
  1164. data/vendor/robot/atest/testdata/test_libraries/JavaLibUsingTimestamps.class +0 -0
  1165. data/vendor/robot/atest/testdata/test_libraries/JavaLibUsingTimestamps.java +16 -0
  1166. data/vendor/robot/atest/testdata/test_libraries/JavaLibraryWithoutPublicConstructor.class +0 -0
  1167. data/vendor/robot/atest/testdata/test_libraries/JavaLibraryWithoutPublicConstructor.java +3 -0
  1168. data/vendor/robot/atest/testdata/test_libraries/LibUsingLoggingApi.py +41 -0
  1169. data/vendor/robot/atest/testdata/test_libraries/LibUsingPyLogging.py +67 -0
  1170. data/vendor/robot/atest/testdata/test_libraries/MyInvalidLibFile.py +2 -0
  1171. data/vendor/robot/atest/testdata/test_libraries/MyJavaLib.class +0 -0
  1172. data/vendor/robot/atest/testdata/test_libraries/MyJavaLib.java +6 -0
  1173. data/vendor/robot/atest/testdata/test_libraries/MyJavaLib2.class +0 -0
  1174. data/vendor/robot/atest/testdata/test_libraries/MyJavaLib2.java +6 -0
  1175. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/ClassLib.py +4 -0
  1176. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubModuleLib.py +2 -0
  1177. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/ClassLib.py +4 -0
  1178. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/SubModuleLib.py +2 -0
  1179. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage/__init__.py +4 -0
  1180. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/SubPackage2/__init__.py +2 -0
  1181. data/vendor/robot/atest/testdata/test_libraries/MyLibDir/__init__.py +9 -0
  1182. data/vendor/robot/atest/testdata/test_libraries/MyLibFile.py +7 -0
  1183. data/vendor/robot/atest/testdata/test_libraries/NamedArgsImportLibrary.py +11 -0
  1184. data/vendor/robot/atest/testdata/test_libraries/PrintLib.py +23 -0
  1185. data/vendor/robot/atest/testdata/test_libraries/PythonLibUsingTimestamps.py +19 -0
  1186. data/vendor/robot/atest/testdata/test_libraries/ThreadLoggingLib.py +23 -0
  1187. data/vendor/robot/atest/testdata/test_libraries/as_listener/LogLevels.py +15 -0
  1188. data/vendor/robot/atest/testdata/test_libraries/as_listener/empty_library.robot +6 -0
  1189. data/vendor/robot/atest/testdata/test_libraries/as_listener/empty_listenerlibrary.py +26 -0
  1190. data/vendor/robot/atest/testdata/test_libraries/as_listener/global_listenerlibrary.py +5 -0
  1191. data/vendor/robot/atest/testdata/test_libraries/as_listener/global_scope.robot +35 -0
  1192. data/vendor/robot/atest/testdata/test_libraries/as_listener/global_scope_2.robot +55 -0
  1193. data/vendor/robot/atest/testdata/test_libraries/as_listener/import_library.robot +42 -0
  1194. data/vendor/robot/atest/testdata/test_libraries/as_listener/listener_library3.robot +9 -0
  1195. data/vendor/robot/atest/testdata/test_libraries/as_listener/listenerlibrary.py +55 -0
  1196. data/vendor/robot/atest/testdata/test_libraries/as_listener/listenerlibrary3.py +52 -0
  1197. data/vendor/robot/atest/testdata/test_libraries/as_listener/log_levels.robot +31 -0
  1198. data/vendor/robot/atest/testdata/test_libraries/as_listener/module_v1_listenerlibrary.py +12 -0
  1199. data/vendor/robot/atest/testdata/test_libraries/as_listener/module_v1_listenerlibrary.robot +7 -0
  1200. data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listenerlibrary.py +24 -0
  1201. data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listeners.robot +11 -0
  1202. data/vendor/robot/atest/testdata/test_libraries/as_listener/multiple_listeners_java.robot +7 -0
  1203. data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/01__no_listener.robot +3 -0
  1204. data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/02__yes_listener.robot +141 -0
  1205. data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/03__no_listener.robot +3 -0
  1206. data/vendor/robot/atest/testdata/test_libraries/as_listener/nested_scopes/__init__.robot +92 -0
  1207. data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_listenerlibrary.py +5 -0
  1208. data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope.robot +35 -0
  1209. data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope_2.robot +35 -0
  1210. data/vendor/robot/atest/testdata/test_libraries/as_listener/suite_scope_java.robot +25 -0
  1211. data/vendor/robot/atest/testdata/test_libraries/as_listener/test_scope.robot +29 -0
  1212. data/vendor/robot/atest/testdata/test_libraries/as_listener/test_scope_2.robot +17 -0
  1213. data/vendor/robot/atest/testdata/test_libraries/avoid_properties_when_creating_libraries.robot +16 -0
  1214. data/vendor/robot/atest/testdata/test_libraries/deprecated_keywords.robot +52 -0
  1215. data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/MyLibDir2/__init__.py +2 -0
  1216. data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/MyLibFile2.py +4 -0
  1217. data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/lib1/Lib.py +7 -0
  1218. data/vendor/robot/atest/testdata/test_libraries/dir_for_libs/lib2/Lib.py +5 -0
  1219. data/vendor/robot/atest/testdata/test_libraries/dynamic_kwargs_support_java.robot +26 -0
  1220. data/vendor/robot/atest/testdata/test_libraries/dynamic_kwargs_support_python.robot +33 -0
  1221. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/DynamicLibraryWithKwargsSupportWithoutArgspec.py +12 -0
  1222. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/DynamicLibraryWithoutArgspec.py +19 -0
  1223. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/EmbeddedArgs.py +8 -0
  1224. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/InvalidArgSpecs.py +20 -0
  1225. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/InvalidKeywordNames.py +8 -0
  1226. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries/NonAsciiKeywordNames.py +17 -0
  1227. data/vendor/robot/atest/testdata/test_libraries/dynamic_libraries_with_invalid_argspec.robot +36 -0
  1228. data/vendor/robot/atest/testdata/test_libraries/dynamic_library_args_and_docs.robot +54 -0
  1229. data/vendor/robot/atest/testdata/test_libraries/dynamic_library_java.robot +35 -0
  1230. data/vendor/robot/atest/testdata/test_libraries/dynamic_library_python.robot +72 -0
  1231. data/vendor/robot/atest/testdata/test_libraries/dynamic_library_tags.robot +17 -0
  1232. data/vendor/robot/atest/testdata/test_libraries/error_msg_and_details.robot +89 -0
  1233. data/vendor/robot/atest/testdata/test_libraries/hybrid_library.robot +41 -0
  1234. data/vendor/robot/atest/testdata/test_libraries/import_and_init_logging.robot +21 -0
  1235. data/vendor/robot/atest/testdata/test_libraries/internal_modules_not_importable.robot +21 -0
  1236. data/vendor/robot/atest/testdata/test_libraries/invalid_java_libraries.robot +10 -0
  1237. data/vendor/robot/atest/testdata/test_libraries/java_libraries.robot +113 -0
  1238. data/vendor/robot/atest/testdata/test_libraries/java_library_imports_with_args.robot +42 -0
  1239. data/vendor/robot/atest/testdata/test_libraries/java_vars_for_imports.py +6 -0
  1240. data/vendor/robot/atest/testdata/test_libraries/libraries_extending_existing_classes.robot +39 -0
  1241. data/vendor/robot/atest/testdata/test_libraries/library_import_by_path.robot +52 -0
  1242. data/vendor/robot/atest/testdata/test_libraries/library_import_failing.robot +24 -0
  1243. data/vendor/robot/atest/testdata/test_libraries/library_import_from_archive.robot +11 -0
  1244. data/vendor/robot/atest/testdata/test_libraries/library_import_normal.robot +28 -0
  1245. data/vendor/robot/atest/testdata/test_libraries/library_import_with_variable.robot +18 -0
  1246. data/vendor/robot/atest/testdata/test_libraries/library_import_with_variable_from_resource.robot +14 -0
  1247. data/vendor/robot/atest/testdata/test_libraries/library_imports_with_args.robot +76 -0
  1248. data/vendor/robot/atest/testdata/test_libraries/library_scope/01_tests.robot +33 -0
  1249. data/vendor/robot/atest/testdata/test_libraries/library_scope/02_tests.robot +35 -0
  1250. data/vendor/robot/atest/testdata/test_libraries/library_scope/__init__.robot +19 -0
  1251. data/vendor/robot/atest/testdata/test_libraries/library_scope/resource.robot +26 -0
  1252. data/vendor/robot/atest/testdata/test_libraries/library_scope_java/01_tests.robot +33 -0
  1253. data/vendor/robot/atest/testdata/test_libraries/library_scope_java/02_tests.robot +35 -0
  1254. data/vendor/robot/atest/testdata/test_libraries/library_scope_java/__init__.robot +19 -0
  1255. data/vendor/robot/atest/testdata/test_libraries/library_scope_java/resource.robot +32 -0
  1256. data/vendor/robot/atest/testdata/test_libraries/library_version.robot +11 -0
  1257. data/vendor/robot/atest/testdata/test_libraries/library_with_0_parameters.robot +9 -0
  1258. data/vendor/robot/atest/testdata/test_libraries/library_with_1_parameters.robot +10 -0
  1259. data/vendor/robot/atest/testdata/test_libraries/library_with_2_parameters.robot +10 -0
  1260. data/vendor/robot/atest/testdata/test_libraries/logging_api.robot +33 -0
  1261. data/vendor/robot/atest/testdata/test_libraries/logging_with_logging.robot +36 -0
  1262. data/vendor/robot/atest/testdata/test_libraries/module_lib_with_all.py +15 -0
  1263. data/vendor/robot/atest/testdata/test_libraries/module_library.robot +105 -0
  1264. data/vendor/robot/atest/testdata/test_libraries/named_args_in_imports.robot +30 -0
  1265. data/vendor/robot/atest/testdata/test_libraries/new_style_classes.robot +20 -0
  1266. data/vendor/robot/atest/testdata/test_libraries/non_main_threads_logging.robot +10 -0
  1267. data/vendor/robot/atest/testdata/test_libraries/package_library.robot +50 -0
  1268. data/vendor/robot/atest/testdata/test_libraries/print_logging.robot +48 -0
  1269. data/vendor/robot/atest/testdata/test_libraries/print_logging_java.robot +28 -0
  1270. data/vendor/robot/atest/testdata/test_libraries/spaces in path/SpacePathLib.py +2 -0
  1271. data/vendor/robot/atest/testdata/test_libraries/timestamps_for_stdout_messages.robot +15 -0
  1272. data/vendor/robot/atest/testdata/test_libraries/variables_for_library_import.robot +4 -0
  1273. data/vendor/robot/atest/testdata/test_libraries/with_name_1.robot +48 -0
  1274. data/vendor/robot/atest/testdata/test_libraries/with_name_2.robot +124 -0
  1275. data/vendor/robot/atest/testdata/test_libraries/with_name_3.robot +28 -0
  1276. data/vendor/robot/atest/testdata/test_libraries/with_name_4.robot +23 -0
  1277. data/vendor/robot/atest/testdata/testdoc/testdoc.robot +13 -0
  1278. data/vendor/robot/atest/testdata/tidy/__init__.robot +10 -0
  1279. data/vendor/robot/atest/testdata/tidy/documentation.robot +31 -0
  1280. data/vendor/robot/atest/testdata/tidy/documentation_expected.html +195 -0
  1281. data/vendor/robot/atest/testdata/tidy/documentation_expected.robot +39 -0
  1282. data/vendor/robot/atest/testdata/tidy/documentation_expected.tsv +32 -0
  1283. data/vendor/robot/atest/testdata/tidy/documentation_expected.txt +39 -0
  1284. data/vendor/robot/atest/testdata/tidy/else_tidy.robot +83 -0
  1285. data/vendor/robot/atest/testdata/tidy/else_untidy.robot +51 -0
  1286. data/vendor/robot/atest/testdata/tidy/golden.html +358 -0
  1287. data/vendor/robot/atest/testdata/tidy/golden.robot +37 -0
  1288. data/vendor/robot/atest/testdata/tidy/golden.tsv +34 -0
  1289. data/vendor/robot/atest/testdata/tidy/golden_pipes.robot +37 -0
  1290. data/vendor/robot/atest/testdata/tidy/golden_pipes_resource.robot +24 -0
  1291. data/vendor/robot/atest/testdata/tidy/golden_resource.html +278 -0
  1292. data/vendor/robot/atest/testdata/tidy/golden_resource.robot +24 -0
  1293. data/vendor/robot/atest/testdata/tidy/golden_resource.tsv +23 -0
  1294. data/vendor/robot/atest/testdata/tidy/golden_two_spaces.robot +37 -0
  1295. data/vendor/robot/atest/testdata/tidy/golden_with_headers.robot +12 -0
  1296. data/vendor/robot/atest/testdata/tidy/resource_with_empty_tables.robot +5 -0
  1297. data/vendor/robot/atest/testdata/tidy/tests/__init__.robot +2 -0
  1298. data/vendor/robot/atest/testdata/tidy/tests/sub/sub1.robot +4 -0
  1299. data/vendor/robot/atest/testdata/tidy/tests/suite1.robot +15 -0
  1300. data/vendor/robot/atest/testdata/tidy/testsuite_with_empty_tables.robot +7 -0
  1301. data/vendor/robot/atest/testdata/variables/DynamicJavaClass.class +0 -0
  1302. data/vendor/robot/atest/testdata/variables/DynamicJavaClass.java +13 -0
  1303. data/vendor/robot/atest/testdata/variables/DynamicPythonClass.py +5 -0
  1304. data/vendor/robot/atest/testdata/variables/InvalidClass.py +4 -0
  1305. data/vendor/robot/atest/testdata/variables/JavaClass.class +0 -0
  1306. data/vendor/robot/atest/testdata/variables/JavaClass.java +21 -0
  1307. data/vendor/robot/atest/testdata/variables/PythonClass.py +14 -0
  1308. data/vendor/robot/atest/testdata/variables/automatic_variables/HelperLib.py +23 -0
  1309. data/vendor/robot/atest/testdata/variables/automatic_variables/__init__.robot +6 -0
  1310. data/vendor/robot/atest/testdata/variables/automatic_variables/auto1.robot +108 -0
  1311. data/vendor/robot/atest/testdata/variables/automatic_variables/auto2.robot +18 -0
  1312. data/vendor/robot/atest/testdata/variables/automatic_variables/resource.robot +49 -0
  1313. data/vendor/robot/atest/testdata/variables/builtin_variables.robot +168 -0
  1314. data/vendor/robot/atest/testdata/variables/catenate_scalars_in_variable_table.robot +107 -0
  1315. data/vendor/robot/atest/testdata/variables/commandline_variable_files.robot +27 -0
  1316. data/vendor/robot/atest/testdata/variables/commandline_variables.robot +10 -0
  1317. data/vendor/robot/atest/testdata/variables/dict_variable_in_variable_table.robot +140 -0
  1318. data/vendor/robot/atest/testdata/variables/dict_variable_items.robot +55 -0
  1319. data/vendor/robot/atest/testdata/variables/dict_vars.py +17 -0
  1320. data/vendor/robot/atest/testdata/variables/dynamic_variable_files/dyn_vars.py +63 -0
  1321. data/vendor/robot/atest/testdata/variables/dynamic_variable_files/getting_vars_from_dynamic_var_file.robot +32 -0
  1322. data/vendor/robot/atest/testdata/variables/environment_variables.robot +94 -0
  1323. data/vendor/robot/atest/testdata/variables/extended_assign.robot +78 -0
  1324. data/vendor/robot/atest/testdata/variables/extended_assign_vars.py +30 -0
  1325. data/vendor/robot/atest/testdata/variables/extended_variables.py +20 -0
  1326. data/vendor/robot/atest/testdata/variables/extended_variables.robot +132 -0
  1327. data/vendor/robot/atest/testdata/variables/get_file_lib.py +2 -0
  1328. data/vendor/robot/atest/testdata/variables/invalid.YAML +1 -0
  1329. data/vendor/robot/atest/testdata/variables/invalid_encoding.yaml +3 -0
  1330. data/vendor/robot/atest/testdata/variables/keyword_status_and_message.robot +142 -0
  1331. data/vendor/robot/atest/testdata/variables/list_and_dict_from_variable_file.robot +89 -0
  1332. data/vendor/robot/atest/testdata/variables/list_and_dict_variable_file.py +37 -0
  1333. data/vendor/robot/atest/testdata/variables/list_as_scalar.robot +37 -0
  1334. data/vendor/robot/atest/testdata/variables/list_variable_items.robot +47 -0
  1335. data/vendor/robot/atest/testdata/variables/non_dict.yaml +2 -0
  1336. data/vendor/robot/atest/testdata/variables/non_string_variables.py +36 -0
  1337. data/vendor/robot/atest/testdata/variables/non_string_variables.robot +27 -0
  1338. data/vendor/robot/atest/testdata/variables/outputfile_variables/subdir/sub_level_tests.robot +4 -0
  1339. data/vendor/robot/atest/testdata/variables/outputfile_variables/top_level_tests.robot +4 -0
  1340. data/vendor/robot/atest/testdata/variables/recursive_definition.robot +37 -0
  1341. data/vendor/robot/atest/testdata/variables/reserved_syntax.robot +9 -0
  1342. data/vendor/robot/atest/testdata/variables/resource_for_variable_table_in_resource_file.robot +33 -0
  1343. data/vendor/robot/atest/testdata/variables/resvarfiles/cli_vars.py +6 -0
  1344. data/vendor/robot/atest/testdata/variables/resvarfiles/cli_vars_2.py +10 -0
  1345. data/vendor/robot/atest/testdata/variables/resvarfiles/pythonpath_dir/pythonpath_varfile.py +3 -0
  1346. data/vendor/robot/atest/testdata/variables/resvarfiles/resource.robot +31 -0
  1347. data/vendor/robot/atest/testdata/variables/resvarfiles/resource_2.robot +6 -0
  1348. data/vendor/robot/atest/testdata/variables/resvarfiles/resource_3.robot +13 -0
  1349. data/vendor/robot/atest/testdata/variables/resvarfiles/variables.py +34 -0
  1350. data/vendor/robot/atest/testdata/variables/resvarfiles/variables_2.py +2 -0
  1351. data/vendor/robot/atest/testdata/variables/return_values.robot +347 -0
  1352. data/vendor/robot/atest/testdata/variables/return_values_java.robot +66 -0
  1353. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/subsuite1/testcase.robot +13 -0
  1354. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/subsuite1/variable.py +1 -0
  1355. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/testcase.robot +13 -0
  1356. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite1/variable.py +2 -0
  1357. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite2/testcase.robot +13 -0
  1358. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite2/variable.py +1 -0
  1359. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite1/testcase.robot +13 -0
  1360. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite1/variable.py +1 -0
  1361. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite2/testcase.robot +13 -0
  1362. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/subsuite2/variable.py +1 -0
  1363. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/testcase.robot +13 -0
  1364. data/vendor/robot/atest/testdata/variables/same_variable_file_names/different_variable_files/suite3/variable.py +1 -0
  1365. data/vendor/robot/atest/testdata/variables/same_variable_file_names/same_file.robot +22 -0
  1366. data/vendor/robot/atest/testdata/variables/scalar_as_list.robot +41 -0
  1367. data/vendor/robot/atest/testdata/variables/scalar_lists.py +17 -0
  1368. data/vendor/robot/atest/testdata/variables/shared_scope.robot +23 -0
  1369. data/vendor/robot/atest/testdata/variables/suite_source/__init__.robot +10 -0
  1370. data/vendor/robot/atest/testdata/variables/suite_source/resource.robot +7 -0
  1371. data/vendor/robot/atest/testdata/variables/suite_source/suite_source_in_file_suite.robot +25 -0
  1372. data/vendor/robot/atest/testdata/variables/using_dict_variables.robot +149 -0
  1373. data/vendor/robot/atest/testdata/variables/valid.yaml +16 -0
  1374. data/vendor/robot/atest/testdata/variables/valid2.yaml +1 -0
  1375. data/vendor/robot/atest/testdata/variables/variable_file_implemented_as_class.robot +41 -0
  1376. data/vendor/robot/atest/testdata/variables/variable_priorities.robot +61 -0
  1377. data/vendor/robot/atest/testdata/variables/variable_recommendation_vars.py +6 -0
  1378. data/vendor/robot/atest/testdata/variables/variable_recommendations.robot +174 -0
  1379. data/vendor/robot/atest/testdata/variables/variable_scopes.robot +73 -0
  1380. data/vendor/robot/atest/testdata/variables/variable_table.robot +133 -0
  1381. data/vendor/robot/atest/testdata/variables/variable_table_in_resource_file.robot +93 -0
  1382. data/vendor/robot/atest/testdata/variables/variables_from_resource_files.robot +120 -0
  1383. data/vendor/robot/atest/testdata/variables/variables_from_variable_files.robot +104 -0
  1384. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/common_resource.robot +3 -0
  1385. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/resource1.robot +4 -0
  1386. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/resource2.robot +4 -0
  1387. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/test_cases1.robot +9 -0
  1388. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/test_cases2.robot +9 -0
  1389. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/variables1.py +1 -0
  1390. data/vendor/robot/atest/testdata/variables/variables_in_import_settings/variables2.py +1 -0
  1391. data/vendor/robot/atest/testdata/variables/variables_inside_variables.robot +57 -0
  1392. data/vendor/robot/atest/testdata/variables/yaml_variable_file.robot +42 -0
  1393. data/vendor/robot/atest/testresources/compile_java.sh +9 -0
  1394. data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener$1.class +0 -0
  1395. data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener.class +0 -0
  1396. data/vendor/robot/atest/testresources/listeners/JavaAttributeVerifyingListener.java +94 -0
  1397. data/vendor/robot/atest/testresources/listeners/JavaListener.class +0 -0
  1398. data/vendor/robot/atest/testresources/listeners/JavaListener.java +119 -0
  1399. data/vendor/robot/atest/testresources/listeners/JavaListenerWithArgs.class +0 -0
  1400. data/vendor/robot/atest/testresources/listeners/JavaListenerWithArgs.java +14 -0
  1401. data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener$1.class +0 -0
  1402. data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener.class +0 -0
  1403. data/vendor/robot/atest/testresources/listeners/JavaSuiteAndTestCountListener.java +37 -0
  1404. data/vendor/robot/atest/testresources/listeners/JavaTempDir.class +0 -0
  1405. data/vendor/robot/atest/testresources/listeners/JavaTempDir.java +5 -0
  1406. data/vendor/robot/atest/testresources/listeners/ListenAll.py +84 -0
  1407. data/vendor/robot/atest/testresources/listeners/ListenImports.py +40 -0
  1408. data/vendor/robot/atest/testresources/listeners/OldJavaListener.class +0 -0
  1409. data/vendor/robot/atest/testresources/listeners/OldJavaListener.java +10 -0
  1410. data/vendor/robot/atest/testresources/listeners/attributeverifyinglistener.py +108 -0
  1411. data/vendor/robot/atest/testresources/listeners/listeners.py +139 -0
  1412. data/vendor/robot/atest/testresources/listeners/module_listener.py +67 -0
  1413. data/vendor/robot/atest/testresources/listeners/unsupported_listeners.py +19 -0
  1414. data/vendor/robot/atest/testresources/res_and_var_files/cli.yaml +1 -0
  1415. data/vendor/robot/atest/testresources/res_and_var_files/different_variables.py +3 -0
  1416. data/vendor/robot/atest/testresources/res_and_var_files/pythonpath.yaml +1 -0
  1417. data/vendor/robot/atest/testresources/res_and_var_files/resource_in_pythonpath.robot +8 -0
  1418. data/vendor/robot/atest/testresources/res_and_var_files/resvar_subdir/resource_in_pythonpath_2.robot +8 -0
  1419. data/vendor/robot/atest/testresources/res_and_var_files/resvar_subdir/variables_in_pythonpath_2.py +3 -0
  1420. data/vendor/robot/atest/testresources/res_and_var_files/variables_in_pythonpath.py +1 -0
  1421. data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibrary.class +0 -0
  1422. data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibrary.java +61 -0
  1423. data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibraryWithKwargsSupport.class +0 -0
  1424. data/vendor/robot/atest/testresources/testlibs/ArgDocDynamicJavaLibraryWithKwargsSupport.java +26 -0
  1425. data/vendor/robot/atest/testresources/testlibs/ArgTypeCoercion.class +0 -0
  1426. data/vendor/robot/atest/testresources/testlibs/ArgTypeCoercion.java +73 -0
  1427. data/vendor/robot/atest/testresources/testlibs/ArgumentTypes.class +0 -0
  1428. data/vendor/robot/atest/testresources/testlibs/ArgumentTypes.java +202 -0
  1429. data/vendor/robot/atest/testresources/testlibs/ArgumentsJava.class +0 -0
  1430. data/vendor/robot/atest/testresources/testlibs/ArgumentsJava.java +118 -0
  1431. data/vendor/robot/atest/testresources/testlibs/ArgumentsPython.py +35 -0
  1432. data/vendor/robot/atest/testresources/testlibs/BinaryDataLibrary.py +18 -0
  1433. data/vendor/robot/atest/testresources/testlibs/DefaultArgs.class +0 -0
  1434. data/vendor/robot/atest/testresources/testlibs/DefaultArgs.java +19 -0
  1435. data/vendor/robot/atest/testresources/testlibs/DynamicJavaLibraryWithLists.class +0 -0
  1436. data/vendor/robot/atest/testresources/testlibs/DynamicJavaLibraryWithLists.java +22 -0
  1437. data/vendor/robot/atest/testresources/testlibs/DynamicLibraryWithKwargsAndOnlyOneRunKeyword.class +0 -0
  1438. data/vendor/robot/atest/testresources/testlibs/DynamicLibraryWithKwargsAndOnlyOneRunKeyword.java +26 -0
  1439. data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary$1.class +0 -0
  1440. data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary$MyJavaException.class +0 -0
  1441. data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary.class +0 -0
  1442. data/vendor/robot/atest/testresources/testlibs/ExampleJavaLibrary.java +164 -0
  1443. data/vendor/robot/atest/testresources/testlibs/ExampleLibrary.py +180 -0
  1444. data/vendor/robot/atest/testresources/testlibs/Exceptions.py +11 -0
  1445. data/vendor/robot/atest/testresources/testlibs/ExtendPythonLib.py +12 -0
  1446. data/vendor/robot/atest/testresources/testlibs/Extended.class +0 -0
  1447. data/vendor/robot/atest/testresources/testlibs/Extended.java +10 -0
  1448. data/vendor/robot/atest/testresources/testlibs/FatalCatastrophyException.class +0 -0
  1449. data/vendor/robot/atest/testresources/testlibs/FatalCatastrophyException.java +3 -0
  1450. data/vendor/robot/atest/testresources/testlibs/GetKeywordNamesLibrary.py +54 -0
  1451. data/vendor/robot/atest/testresources/testlibs/InvalidAttributeArgDocDynamicJavaLibrary.class +0 -0
  1452. data/vendor/robot/atest/testresources/testlibs/InvalidAttributeArgDocDynamicJavaLibrary.java +15 -0
  1453. data/vendor/robot/atest/testresources/testlibs/InvalidSignatureArgDocDynamicJavaLibrary.class +0 -0
  1454. data/vendor/robot/atest/testresources/testlibs/InvalidSignatureArgDocDynamicJavaLibrary.java +18 -0
  1455. data/vendor/robot/atest/testresources/testlibs/JarLib.jar +0 -0
  1456. data/vendor/robot/atest/testresources/testlibs/JavaExceptions.class +0 -0
  1457. data/vendor/robot/atest/testresources/testlibs/JavaExceptions.java +48 -0
  1458. data/vendor/robot/atest/testresources/testlibs/JavaListenerLibrary.class +0 -0
  1459. data/vendor/robot/atest/testresources/testlibs/JavaListenerLibrary.java +58 -0
  1460. data/vendor/robot/atest/testresources/testlibs/JavaMultipleListenerLibrary.class +0 -0
  1461. data/vendor/robot/atest/testresources/testlibs/JavaMultipleListenerLibrary.java +18 -0
  1462. data/vendor/robot/atest/testresources/testlibs/JavaObject.class +0 -0
  1463. data/vendor/robot/atest/testresources/testlibs/JavaObject.java +36 -0
  1464. data/vendor/robot/atest/testresources/testlibs/JavaVersionLibrary.class +0 -0
  1465. data/vendor/robot/atest/testresources/testlibs/JavaVersionLibrary.java +9 -0
  1466. data/vendor/robot/atest/testresources/testlibs/ListArgumentsJava.class +0 -0
  1467. data/vendor/robot/atest/testresources/testlibs/ListArgumentsJava.java +24 -0
  1468. data/vendor/robot/atest/testresources/testlibs/MandatoryArgs.class +0 -0
  1469. data/vendor/robot/atest/testresources/testlibs/MandatoryArgs.java +12 -0
  1470. data/vendor/robot/atest/testresources/testlibs/MultipleArguments.class +0 -0
  1471. data/vendor/robot/atest/testresources/testlibs/MultipleArguments.java +17 -0
  1472. data/vendor/robot/atest/testresources/testlibs/MultipleSignatures.class +0 -0
  1473. data/vendor/robot/atest/testresources/testlibs/MultipleSignatures.java +42 -0
  1474. data/vendor/robot/atest/testresources/testlibs/NamespaceUsingLibrary.py +13 -0
  1475. data/vendor/robot/atest/testresources/testlibs/NoHandlers.class +0 -0
  1476. data/vendor/robot/atest/testresources/testlibs/NoHandlers.java +9 -0
  1477. data/vendor/robot/atest/testresources/testlibs/OverrideGetName.class +0 -0
  1478. data/vendor/robot/atest/testresources/testlibs/OverrideGetName.java +11 -0
  1479. data/vendor/robot/atest/testresources/testlibs/ParameterLibrary.py +23 -0
  1480. data/vendor/robot/atest/testresources/testlibs/PythonVarArgsConstructor.py +9 -0
  1481. data/vendor/robot/atest/testresources/testlibs/ReturnTypes.class +0 -0
  1482. data/vendor/robot/atest/testresources/testlibs/ReturnTypes.java +64 -0
  1483. data/vendor/robot/atest/testresources/testlibs/RunKeywordButNoGetKeywordNamesLibraryJava.class +0 -0
  1484. data/vendor/robot/atest/testresources/testlibs/RunKeywordButNoGetKeywordNamesLibraryJava.java +16 -0
  1485. data/vendor/robot/atest/testresources/testlibs/RunKeywordLibrary.py +41 -0
  1486. data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJava.class +0 -0
  1487. data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJava.java +44 -0
  1488. data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJavaWithKwargsSupport.class +0 -0
  1489. data/vendor/robot/atest/testresources/testlibs/RunKeywordLibraryJavaWithKwargsSupport.java +16 -0
  1490. data/vendor/robot/atest/testresources/testlibs/SameNamesAsInBuiltIn.py +4 -0
  1491. data/vendor/robot/atest/testresources/testlibs/UnicodeJavaLibrary.class +0 -0
  1492. data/vendor/robot/atest/testresources/testlibs/UnicodeJavaLibrary.java +44 -0
  1493. data/vendor/robot/atest/testresources/testlibs/UnicodeLibrary.py +38 -0
  1494. data/vendor/robot/atest/testresources/testlibs/archive_src/ZipLib.py +5 -0
  1495. data/vendor/robot/atest/testresources/testlibs/archive_src/org/robotframework/JarLib.class +0 -0
  1496. data/vendor/robot/atest/testresources/testlibs/archive_src/org/robotframework/JarLib.java +8 -0
  1497. data/vendor/robot/atest/testresources/testlibs/classes.py +186 -0
  1498. data/vendor/robot/atest/testresources/testlibs/dynlibs.py +41 -0
  1499. data/vendor/robot/atest/testresources/testlibs/extendingjava.py +37 -0
  1500. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/BaseLib.class +0 -0
  1501. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/BaseLib.java +26 -0
  1502. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Global.class +0 -0
  1503. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Global.java +7 -0
  1504. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidEmpty.class +0 -0
  1505. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidEmpty.java +5 -0
  1506. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidMethod.class +0 -0
  1507. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidMethod.java +9 -0
  1508. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidNull.class +0 -0
  1509. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidNull.java +7 -0
  1510. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidPrivate.class +0 -0
  1511. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidPrivate.java +7 -0
  1512. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidProtected.class +0 -0
  1513. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidProtected.java +7 -0
  1514. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidValue.class +0 -0
  1515. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/InvalidValue.java +7 -0
  1516. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Suite.class +0 -0
  1517. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Suite.java +7 -0
  1518. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Test.class +0 -0
  1519. data/vendor/robot/atest/testresources/testlibs/javalibraryscope/Test.java +7 -0
  1520. data/vendor/robot/atest/testresources/testlibs/javapkg/JavaPackageExample.class +0 -0
  1521. data/vendor/robot/atest/testresources/testlibs/javapkg/JavaPackageExample.java +26 -0
  1522. data/vendor/robot/atest/testresources/testlibs/libmodule.py +11 -0
  1523. data/vendor/robot/atest/testresources/testlibs/libraryscope.py +51 -0
  1524. data/vendor/robot/atest/testresources/testlibs/libswithargs.py +32 -0
  1525. data/vendor/robot/atest/testresources/testlibs/module_library.py +54 -0
  1526. data/vendor/robot/atest/testresources/testlibs/newstyleclasses.py +27 -0
  1527. data/vendor/robot/atest/testresources/testlibs/newstyleclasses2.py +15 -0
  1528. data/vendor/robot/atest/testresources/testlibs/newstyleclasses3.py +14 -0
  1529. data/vendor/robot/atest/testresources/testlibs/objecttoreturn.py +14 -0
  1530. data/vendor/robot/atest/testresources/testlibs/pythonmodule/__init__.py +8 -0
  1531. data/vendor/robot/atest/testresources/testlibs/pythonmodule/library.py +5 -0
  1532. data/vendor/robot/atest/testresources/testlibs/pythonmodule/submodule/__init__.py +1 -0
  1533. data/vendor/robot/atest/testresources/testlibs/pythonmodule/submodule/sublib.py +9 -0
  1534. data/vendor/robot/atest/testresources/testlibs/ziplib.zip +0 -0
  1535. data/vendor/robot/pom.xml +34 -0
  1536. data/vendor/robot/rundevel.py +58 -0
  1537. data/vendor/robot/setup.py +100 -0
  1538. data/vendor/robot/src/bin/ipybot +6 -0
  1539. data/vendor/robot/src/bin/ipybot.bat +2 -0
  1540. data/vendor/robot/src/bin/ipyrebot +6 -0
  1541. data/vendor/robot/src/bin/ipyrebot.bat +2 -0
  1542. data/vendor/robot/src/bin/jybot +6 -0
  1543. data/vendor/robot/src/bin/jybot.bat +2 -0
  1544. data/vendor/robot/src/bin/jyrebot +6 -0
  1545. data/vendor/robot/src/bin/jyrebot.bat +2 -0
  1546. data/vendor/robot/src/bin/pybot +6 -0
  1547. data/vendor/robot/src/bin/pybot.bat +2 -0
  1548. data/vendor/robot/src/bin/rebot +9 -0
  1549. data/vendor/robot/src/bin/rebot.bat +2 -0
  1550. data/vendor/robot/src/bin/robot +9 -0
  1551. data/vendor/robot/src/bin/robot.bat +2 -0
  1552. data/vendor/robot/src/java/org/robotframework/RobotFramework.java +64 -0
  1553. data/vendor/robot/src/java/org/robotframework/RobotPythonRunner.java +27 -0
  1554. data/vendor/robot/src/java/org/robotframework/RobotRunner.java +83 -0
  1555. data/vendor/robot/src/robot/__init__.py +47 -0
  1556. data/vendor/robot/src/robot/__main__.py +28 -0
  1557. data/vendor/robot/src/robot/api/__init__.py +74 -0
  1558. data/vendor/robot/src/robot/api/deco.py +54 -0
  1559. data/vendor/robot/src/robot/api/logger.py +144 -0
  1560. data/vendor/robot/src/robot/conf/__init__.py +27 -0
  1561. data/vendor/robot/src/robot/conf/gatherfailed.py +76 -0
  1562. data/vendor/robot/src/robot/conf/settings.py +588 -0
  1563. data/vendor/robot/src/robot/errors.py +296 -0
  1564. data/vendor/robot/src/robot/htmldata/__init__.py +27 -0
  1565. data/vendor/robot/src/robot/htmldata/common/doc_formatting.css +49 -0
  1566. data/vendor/robot/src/robot/htmldata/common/js_disabled.css +21 -0
  1567. data/vendor/robot/src/robot/htmldata/common/storage.js +24 -0
  1568. data/vendor/robot/src/robot/htmldata/htmlfilewriter.py +115 -0
  1569. data/vendor/robot/src/robot/htmldata/jartemplate.py +46 -0
  1570. data/vendor/robot/src/robot/htmldata/jsonwriter.py +146 -0
  1571. data/vendor/robot/src/robot/htmldata/lib/jquery.highlight.min.js +11 -0
  1572. data/vendor/robot/src/robot/htmldata/lib/jquery.min.js +2 -0
  1573. data/vendor/robot/src/robot/htmldata/lib/jquery.tablesorter.min.js +5 -0
  1574. data/vendor/robot/src/robot/htmldata/lib/jquery.tmpl.min.js +10 -0
  1575. data/vendor/robot/src/robot/htmldata/lib/jsxcompressor.min.js +19 -0
  1576. data/vendor/robot/src/robot/htmldata/lib/versions.txt +29 -0
  1577. data/vendor/robot/src/robot/htmldata/libdoc/libdoc.css +148 -0
  1578. data/vendor/robot/src/robot/htmldata/libdoc/libdoc.html +379 -0
  1579. data/vendor/robot/src/robot/htmldata/libdoc/print.css +11 -0
  1580. data/vendor/robot/src/robot/htmldata/libdoc/pygments.css +69 -0
  1581. data/vendor/robot/src/robot/htmldata/normaltemplate.py +29 -0
  1582. data/vendor/robot/src/robot/htmldata/rebot/common.css +222 -0
  1583. data/vendor/robot/src/robot/htmldata/rebot/fileloading.js +44 -0
  1584. data/vendor/robot/src/robot/htmldata/rebot/log.css +183 -0
  1585. data/vendor/robot/src/robot/htmldata/rebot/log.html +389 -0
  1586. data/vendor/robot/src/robot/htmldata/rebot/log.js +213 -0
  1587. data/vendor/robot/src/robot/htmldata/rebot/model.js +309 -0
  1588. data/vendor/robot/src/robot/htmldata/rebot/print.css +38 -0
  1589. data/vendor/robot/src/robot/htmldata/rebot/report.css +189 -0
  1590. data/vendor/robot/src/robot/htmldata/rebot/report.html +841 -0
  1591. data/vendor/robot/src/robot/htmldata/rebot/testdata.js +297 -0
  1592. data/vendor/robot/src/robot/htmldata/rebot/util.js +224 -0
  1593. data/vendor/robot/src/robot/htmldata/rebot/view.js +182 -0
  1594. data/vendor/robot/src/robot/htmldata/template.py +19 -0
  1595. data/vendor/robot/src/robot/htmldata/testdata/create_jsdata.py +64 -0
  1596. data/vendor/robot/src/robot/htmldata/testdata/create_libdoc_data.py +22 -0
  1597. data/vendor/robot/src/robot/htmldata/testdata/create_testdoc_data.py +25 -0
  1598. data/vendor/robot/src/robot/htmldata/testdata/data.js +10 -0
  1599. data/vendor/robot/src/robot/htmldata/testdata/dir.suite/__init__.txt +38 -0
  1600. data/vendor/robot/src/robot/htmldata/testdata/dir.suite/test.suite.1.txt +22 -0
  1601. data/vendor/robot/src/robot/htmldata/testdata/dir.suite/test.suite.2.txt +22 -0
  1602. data/vendor/robot/src/robot/htmldata/testdata/dir.suite/tests.txt +119 -0
  1603. data/vendor/robot/src/robot/htmldata/testdata/libdoc.js +1 -0
  1604. data/vendor/robot/src/robot/htmldata/testdata/libdoc.txt +165 -0
  1605. data/vendor/robot/src/robot/htmldata/testdata/testdoc.js +1 -0
  1606. data/vendor/robot/src/robot/htmldata/testdoc/testdoc.css +9 -0
  1607. data/vendor/robot/src/robot/htmldata/testdoc/testdoc.html +259 -0
  1608. data/vendor/robot/src/robot/jarrunner.py +69 -0
  1609. data/vendor/robot/src/robot/libdoc.py +228 -0
  1610. data/vendor/robot/src/robot/libdocpkg/__init__.py +47 -0
  1611. data/vendor/robot/src/robot/libdocpkg/builder.py +39 -0
  1612. data/vendor/robot/src/robot/libdocpkg/consoleviewer.py +109 -0
  1613. data/vendor/robot/src/robot/libdocpkg/htmlwriter.py +167 -0
  1614. data/vendor/robot/src/robot/libdocpkg/javabuilder.py +129 -0
  1615. data/vendor/robot/src/robot/libdocpkg/model.py +70 -0
  1616. data/vendor/robot/src/robot/libdocpkg/output.py +38 -0
  1617. data/vendor/robot/src/robot/libdocpkg/robotbuilder.py +121 -0
  1618. data/vendor/robot/src/robot/libdocpkg/specbuilder.py +61 -0
  1619. data/vendor/robot/src/robot/libdocpkg/writer.py +28 -0
  1620. data/vendor/robot/src/robot/libdocpkg/xmlwriter.py +47 -0
  1621. data/vendor/robot/src/robot/libraries/BuiltIn.py +3469 -0
  1622. data/vendor/robot/src/robot/libraries/Collections.py +940 -0
  1623. data/vendor/robot/src/robot/libraries/DateTime.py +678 -0
  1624. data/vendor/robot/src/robot/libraries/Dialogs.py +115 -0
  1625. data/vendor/robot/src/robot/libraries/Easter.py +27 -0
  1626. data/vendor/robot/src/robot/libraries/OperatingSystem.py +1468 -0
  1627. data/vendor/robot/src/robot/libraries/Process.py +952 -0
  1628. data/vendor/robot/src/robot/libraries/Remote.py +286 -0
  1629. data/vendor/robot/src/robot/libraries/Reserved.py +31 -0
  1630. data/vendor/robot/src/robot/libraries/Screenshot.py +382 -0
  1631. data/vendor/robot/src/robot/libraries/String.py +684 -0
  1632. data/vendor/robot/src/robot/libraries/Telnet.py +1273 -0
  1633. data/vendor/robot/src/robot/libraries/XML.py +1514 -0
  1634. data/vendor/robot/src/robot/libraries/__init__.py +31 -0
  1635. data/vendor/robot/src/robot/libraries/dialogs_ipy.py +201 -0
  1636. data/vendor/robot/src/robot/libraries/dialogs_jy.py +113 -0
  1637. data/vendor/robot/src/robot/libraries/dialogs_py.py +179 -0
  1638. data/vendor/robot/src/robot/model/__init__.py +41 -0
  1639. data/vendor/robot/src/robot/model/configurer.py +88 -0
  1640. data/vendor/robot/src/robot/model/criticality.py +43 -0
  1641. data/vendor/robot/src/robot/model/filter.py +102 -0
  1642. data/vendor/robot/src/robot/model/imports.py +62 -0
  1643. data/vendor/robot/src/robot/model/itemlist.py +102 -0
  1644. data/vendor/robot/src/robot/model/keyword.py +182 -0
  1645. data/vendor/robot/src/robot/model/message.py +75 -0
  1646. data/vendor/robot/src/robot/model/metadata.py +33 -0
  1647. data/vendor/robot/src/robot/model/modelobject.py +85 -0
  1648. data/vendor/robot/src/robot/model/modifier.py +52 -0
  1649. data/vendor/robot/src/robot/model/namepatterns.py +54 -0
  1650. data/vendor/robot/src/robot/model/statistics.py +67 -0
  1651. data/vendor/robot/src/robot/model/stats.py +196 -0
  1652. data/vendor/robot/src/robot/model/suitestatistics.py +71 -0
  1653. data/vendor/robot/src/robot/model/tags.py +180 -0
  1654. data/vendor/robot/src/robot/model/tagsetter.py +39 -0
  1655. data/vendor/robot/src/robot/model/tagstatistics.py +178 -0
  1656. data/vendor/robot/src/robot/model/testcase.py +88 -0
  1657. data/vendor/robot/src/robot/model/testsuite.py +168 -0
  1658. data/vendor/robot/src/robot/model/totalstatistics.py +71 -0
  1659. data/vendor/robot/src/robot/model/visitor.py +163 -0
  1660. data/vendor/robot/src/robot/output/__init__.py +25 -0
  1661. data/vendor/robot/src/robot/output/console/__init__.py +35 -0
  1662. data/vendor/robot/src/robot/output/console/dotted.py +87 -0
  1663. data/vendor/robot/src/robot/output/console/highlighting.py +190 -0
  1664. data/vendor/robot/src/robot/output/console/quiet.py +32 -0
  1665. data/vendor/robot/src/robot/output/console/verbose.py +175 -0
  1666. data/vendor/robot/src/robot/output/debugfile.py +112 -0
  1667. data/vendor/robot/src/robot/output/filelogger.py +62 -0
  1668. data/vendor/robot/src/robot/output/librarylogger.py +75 -0
  1669. data/vendor/robot/src/robot/output/listenerarguments.py +141 -0
  1670. data/vendor/robot/src/robot/output/listenermethods.py +109 -0
  1671. data/vendor/robot/src/robot/output/listeners.py +168 -0
  1672. data/vendor/robot/src/robot/output/logger.py +220 -0
  1673. data/vendor/robot/src/robot/output/loggerhelper.py +150 -0
  1674. data/vendor/robot/src/robot/output/output.py +74 -0
  1675. data/vendor/robot/src/robot/output/pyloggingconf.py +84 -0
  1676. data/vendor/robot/src/robot/output/stdoutlogsplitter.py +58 -0
  1677. data/vendor/robot/src/robot/output/xmllogger.py +161 -0
  1678. data/vendor/robot/src/robot/parsing/__init__.py +66 -0
  1679. data/vendor/robot/src/robot/parsing/comments.py +63 -0
  1680. data/vendor/robot/src/robot/parsing/datarow.py +97 -0
  1681. data/vendor/robot/src/robot/parsing/htmlreader.py +205 -0
  1682. data/vendor/robot/src/robot/parsing/model.py +717 -0
  1683. data/vendor/robot/src/robot/parsing/populators.py +215 -0
  1684. data/vendor/robot/src/robot/parsing/restreader.py +52 -0
  1685. data/vendor/robot/src/robot/parsing/restsupport.py +55 -0
  1686. data/vendor/robot/src/robot/parsing/settings.py +393 -0
  1687. data/vendor/robot/src/robot/parsing/tablepopulators.py +335 -0
  1688. data/vendor/robot/src/robot/parsing/tsvreader.py +48 -0
  1689. data/vendor/robot/src/robot/parsing/txtreader.py +36 -0
  1690. data/vendor/robot/src/robot/pythonpathsetter.py +41 -0
  1691. data/vendor/robot/src/robot/rebot.py +412 -0
  1692. data/vendor/robot/src/robot/reporting/__init__.py +29 -0
  1693. data/vendor/robot/src/robot/reporting/jsbuildingcontext.py +97 -0
  1694. data/vendor/robot/src/robot/reporting/jsexecutionresult.py +105 -0
  1695. data/vendor/robot/src/robot/reporting/jsmodelbuilders.py +189 -0
  1696. data/vendor/robot/src/robot/reporting/jswriter.py +108 -0
  1697. data/vendor/robot/src/robot/reporting/logreportwriters.py +70 -0
  1698. data/vendor/robot/src/robot/reporting/outputwriter.py +38 -0
  1699. data/vendor/robot/src/robot/reporting/resultwriter.py +142 -0
  1700. data/vendor/robot/src/robot/reporting/stringcache.py +52 -0
  1701. data/vendor/robot/src/robot/reporting/xunitwriter.py +100 -0
  1702. data/vendor/robot/src/robot/result/__init__.py +47 -0
  1703. data/vendor/robot/src/robot/result/configurer.py +76 -0
  1704. data/vendor/robot/src/robot/result/executionerrors.py +51 -0
  1705. data/vendor/robot/src/robot/result/executionresult.py +136 -0
  1706. data/vendor/robot/src/robot/result/flattenkeywordmatcher.py +77 -0
  1707. data/vendor/robot/src/robot/result/keywordremover.py +164 -0
  1708. data/vendor/robot/src/robot/result/merger.py +87 -0
  1709. data/vendor/robot/src/robot/result/messagefilter.py +28 -0
  1710. data/vendor/robot/src/robot/result/model.py +295 -0
  1711. data/vendor/robot/src/robot/result/resultbuilder.py +195 -0
  1712. data/vendor/robot/src/robot/result/suiteteardownfailed.py +47 -0
  1713. data/vendor/robot/src/robot/result/visitor.py +124 -0
  1714. data/vendor/robot/src/robot/result/xmlelementhandlers.py +258 -0
  1715. data/vendor/robot/src/robot/run.py +550 -0
  1716. data/vendor/robot/src/robot/running/__init__.py +109 -0
  1717. data/vendor/robot/src/robot/running/arguments/__init__.py +26 -0
  1718. data/vendor/robot/src/robot/running/arguments/argumentmapper.py +73 -0
  1719. data/vendor/robot/src/robot/running/arguments/argumentparser.py +192 -0
  1720. data/vendor/robot/src/robot/running/arguments/argumentresolver.py +134 -0
  1721. data/vendor/robot/src/robot/running/arguments/argumentspec.py +50 -0
  1722. data/vendor/robot/src/robot/running/arguments/argumentvalidator.py +68 -0
  1723. data/vendor/robot/src/robot/running/arguments/embedded.py +88 -0
  1724. data/vendor/robot/src/robot/running/arguments/javaargumentcoercer.py +146 -0
  1725. data/vendor/robot/src/robot/running/builder.py +231 -0
  1726. data/vendor/robot/src/robot/running/context.py +198 -0
  1727. data/vendor/robot/src/robot/running/defaults.py +43 -0
  1728. data/vendor/robot/src/robot/running/dynamicmethods.py +145 -0
  1729. data/vendor/robot/src/robot/running/handlers.py +269 -0
  1730. data/vendor/robot/src/robot/running/handlerstore.py +85 -0
  1731. data/vendor/robot/src/robot/running/importer.py +149 -0
  1732. data/vendor/robot/src/robot/running/librarykeywordrunner.py +224 -0
  1733. data/vendor/robot/src/robot/running/libraryscopes.py +101 -0
  1734. data/vendor/robot/src/robot/running/model.py +319 -0
  1735. data/vendor/robot/src/robot/running/namespace.py +440 -0
  1736. data/vendor/robot/src/robot/running/outputcapture.py +137 -0
  1737. data/vendor/robot/src/robot/running/randomizer.py +53 -0
  1738. data/vendor/robot/src/robot/running/runkwregister.py +65 -0
  1739. data/vendor/robot/src/robot/running/runner.py +220 -0
  1740. data/vendor/robot/src/robot/running/signalhandler.py +89 -0
  1741. data/vendor/robot/src/robot/running/status.py +234 -0
  1742. data/vendor/robot/src/robot/running/statusreporter.py +74 -0
  1743. data/vendor/robot/src/robot/running/steprunner.py +272 -0
  1744. data/vendor/robot/src/robot/running/testlibraries.py +411 -0
  1745. data/vendor/robot/src/robot/running/timeouts/__init__.py +133 -0
  1746. data/vendor/robot/src/robot/running/timeouts/ironpython.py +56 -0
  1747. data/vendor/robot/src/robot/running/timeouts/jython.py +55 -0
  1748. data/vendor/robot/src/robot/running/timeouts/posix.py +40 -0
  1749. data/vendor/robot/src/robot/running/timeouts/windows.py +71 -0
  1750. data/vendor/robot/src/robot/running/usererrorhandler.py +66 -0
  1751. data/vendor/robot/src/robot/running/userkeyword.py +114 -0
  1752. data/vendor/robot/src/robot/running/userkeywordrunner.py +236 -0
  1753. data/vendor/robot/src/robot/testdoc.py +303 -0
  1754. data/vendor/robot/src/robot/tidy.py +330 -0
  1755. data/vendor/robot/src/robot/utils/__init__.py +76 -0
  1756. data/vendor/robot/src/robot/utils/application.py +130 -0
  1757. data/vendor/robot/src/robot/utils/argumentparser.py +476 -0
  1758. data/vendor/robot/src/robot/utils/asserts.py +239 -0
  1759. data/vendor/robot/src/robot/utils/charwidth.py +139 -0
  1760. data/vendor/robot/src/robot/utils/compat.py +76 -0
  1761. data/vendor/robot/src/robot/utils/compress.py +54 -0
  1762. data/vendor/robot/src/robot/utils/connectioncache.py +178 -0
  1763. data/vendor/robot/src/robot/utils/dotdict.py +65 -0
  1764. data/vendor/robot/src/robot/utils/encoding.py +104 -0
  1765. data/vendor/robot/src/robot/utils/encodingsniffer.py +109 -0
  1766. data/vendor/robot/src/robot/utils/error.py +206 -0
  1767. data/vendor/robot/src/robot/utils/escaping.py +145 -0
  1768. data/vendor/robot/src/robot/utils/etreewrapper.py +88 -0
  1769. data/vendor/robot/src/robot/utils/frange.py +63 -0
  1770. data/vendor/robot/src/robot/utils/htmlformatters.py +303 -0
  1771. data/vendor/robot/src/robot/utils/importer.py +274 -0
  1772. data/vendor/robot/src/robot/utils/markuputils.py +49 -0
  1773. data/vendor/robot/src/robot/utils/markupwriters.py +108 -0
  1774. data/vendor/robot/src/robot/utils/match.py +103 -0
  1775. data/vendor/robot/src/robot/utils/misc.py +128 -0
  1776. data/vendor/robot/src/robot/utils/normalizing.py +124 -0
  1777. data/vendor/robot/src/robot/utils/ordereddict.py +127 -0
  1778. data/vendor/robot/src/robot/utils/platform.py +32 -0
  1779. data/vendor/robot/src/robot/utils/recommendations.py +75 -0
  1780. data/vendor/robot/src/robot/utils/robotenv.py +44 -0
  1781. data/vendor/robot/src/robot/utils/robotinspect.py +36 -0
  1782. data/vendor/robot/src/robot/utils/robotio.py +43 -0
  1783. data/vendor/robot/src/robot/utils/robotpath.py +174 -0
  1784. data/vendor/robot/src/robot/utils/robottime.py +431 -0
  1785. data/vendor/robot/src/robot/utils/robottypes.py +35 -0
  1786. data/vendor/robot/src/robot/utils/robottypes2.py +74 -0
  1787. data/vendor/robot/src/robot/utils/robottypes3.py +65 -0
  1788. data/vendor/robot/src/robot/utils/setter.py +46 -0
  1789. data/vendor/robot/src/robot/utils/sortable.py +53 -0
  1790. data/vendor/robot/src/robot/utils/text.py +151 -0
  1791. data/vendor/robot/src/robot/utils/unic.py +89 -0
  1792. data/vendor/robot/src/robot/utils/utf8reader.py +52 -0
  1793. data/vendor/robot/src/robot/variables/__init__.py +27 -0
  1794. data/vendor/robot/src/robot/variables/assigner.py +252 -0
  1795. data/vendor/robot/src/robot/variables/filesetter.py +144 -0
  1796. data/vendor/robot/src/robot/variables/finders.py +150 -0
  1797. data/vendor/robot/src/robot/variables/isvar.py +52 -0
  1798. data/vendor/robot/src/robot/variables/notfound.py +46 -0
  1799. data/vendor/robot/src/robot/variables/replacer.py +177 -0
  1800. data/vendor/robot/src/robot/variables/scopes.py +256 -0
  1801. data/vendor/robot/src/robot/variables/splitter.py +187 -0
  1802. data/vendor/robot/src/robot/variables/store.py +116 -0
  1803. data/vendor/robot/src/robot/variables/tablesetter.py +150 -0
  1804. data/vendor/robot/src/robot/variables/variables.py +81 -0
  1805. data/vendor/robot/src/robot/version.py +46 -0
  1806. data/vendor/robot/src/robot/writer/__init__.py +26 -0
  1807. data/vendor/robot/src/robot/writer/aligners.py +64 -0
  1808. data/vendor/robot/src/robot/writer/dataextractor.py +57 -0
  1809. data/vendor/robot/src/robot/writer/datafilewriter.py +126 -0
  1810. data/vendor/robot/src/robot/writer/filewriters.py +149 -0
  1811. data/vendor/robot/src/robot/writer/formatters.py +150 -0
  1812. data/vendor/robot/src/robot/writer/htmlformatter.py +131 -0
  1813. data/vendor/robot/src/robot/writer/htmltemplate.py +71 -0
  1814. data/vendor/robot/src/robot/writer/rowsplitter.py +108 -0
  1815. data/vendor/robot/tasks.py +265 -0
  1816. data/vendor/robot/templates/README.rst +24 -0
  1817. data/vendor/robot/templates/atdd_template.html +130 -0
  1818. data/vendor/robot/templates/resource_template.html +154 -0
  1819. data/vendor/robot/templates/resource_template.tsv +9 -0
  1820. data/vendor/robot/templates/testcase_template.html +173 -0
  1821. data/vendor/robot/templates/testcase_template.tsv +13 -0
  1822. data/vendor/robot/utest/README.rst +55 -0
  1823. data/vendor/robot/utest/__init__.py +0 -0
  1824. data/vendor/robot/utest/api/import_test.robot +7 -0
  1825. data/vendor/robot/utest/api/test_deco.py +32 -0
  1826. data/vendor/robot/utest/api/test_exposed_api.py +71 -0
  1827. data/vendor/robot/utest/api/test_logging_api.py +90 -0
  1828. data/vendor/robot/utest/api/test_run_and_rebot.py +352 -0
  1829. data/vendor/robot/utest/api/test_using_libraries.py +37 -0
  1830. data/vendor/robot/utest/conf/test_settings.py +102 -0
  1831. data/vendor/robot/utest/envjs.bootstrap.js +6 -0
  1832. data/vendor/robot/utest/htmldata/test_htmltemplate.py +24 -0
  1833. data/vendor/robot/utest/htmldata/test_jsonwriter.py +99 -0
  1834. data/vendor/robot/utest/model/test_filter.py +168 -0
  1835. data/vendor/robot/utest/model/test_itemlist.py +195 -0
  1836. data/vendor/robot/utest/model/test_keyword.py +209 -0
  1837. data/vendor/robot/utest/model/test_message.py +51 -0
  1838. data/vendor/robot/utest/model/test_metadata.py +51 -0
  1839. data/vendor/robot/utest/model/test_statistics.py +231 -0
  1840. data/vendor/robot/utest/model/test_tags.py +364 -0
  1841. data/vendor/robot/utest/model/test_tagstatistics.py +371 -0
  1842. data/vendor/robot/utest/model/test_testcase.py +124 -0
  1843. data/vendor/robot/utest/model/test_testsuite.py +127 -0
  1844. data/vendor/robot/utest/output/NewStyleJavaListener.class +0 -0
  1845. data/vendor/robot/utest/output/NewStyleJavaListener.java +79 -0
  1846. data/vendor/robot/utest/output/test_console.py +123 -0
  1847. data/vendor/robot/utest/output/test_filelogger.py +58 -0
  1848. data/vendor/robot/utest/output/test_listeners.py +202 -0
  1849. data/vendor/robot/utest/output/test_logger.py +202 -0
  1850. data/vendor/robot/utest/output/test_loggerhelper.py +25 -0
  1851. data/vendor/robot/utest/output/test_stdout_splitter.py +86 -0
  1852. data/vendor/robot/utest/parsing/test_htmlreader.py +188 -0
  1853. data/vendor/robot/utest/parsing/test_model.py +449 -0
  1854. data/vendor/robot/utest/parsing/test_populator.py +609 -0
  1855. data/vendor/robot/utest/parsing/test_tsvreader.py +81 -0
  1856. data/vendor/robot/utest/parsing/test_txtreader.py +23 -0
  1857. data/vendor/robot/utest/reporting/test_jsbuildingcontext.py +82 -0
  1858. data/vendor/robot/utest/reporting/test_jsexecutionresult.py +94 -0
  1859. data/vendor/robot/utest/reporting/test_jsmodelbuilders.py +430 -0
  1860. data/vendor/robot/utest/reporting/test_jswriter.py +104 -0
  1861. data/vendor/robot/utest/reporting/test_logreportwriters.py +39 -0
  1862. data/vendor/robot/utest/reporting/test_reporting.py +175 -0
  1863. data/vendor/robot/utest/reporting/test_stringcache.py +76 -0
  1864. data/vendor/robot/utest/resources/Listener.py +26 -0
  1865. data/vendor/robot/utest/resources/__init__.py +7 -0
  1866. data/vendor/robot/utest/resources/golden_suite/__init__.txt +5 -0
  1867. data/vendor/robot/utest/resources/golden_suite/all_settings.txt +27 -0
  1868. data/vendor/robot/utest/resources/golden_suite/expected.js +3 -0
  1869. data/vendor/robot/utest/resources/golden_suite/failing_suite.txt +15 -0
  1870. data/vendor/robot/utest/resources/golden_suite/output.xml +206 -0
  1871. data/vendor/robot/utest/resources/golden_suite/output2.xml +206 -0
  1872. data/vendor/robot/utest/resources/runningtestcase.py +71 -0
  1873. data/vendor/robot/utest/resources/test_resource.txt +4 -0
  1874. data/vendor/robot/utest/resources/variables_file.py +1 -0
  1875. data/vendor/robot/utest/result/golden.xml +61 -0
  1876. data/vendor/robot/utest/result/goldenTwice.xml +110 -0
  1877. data/vendor/robot/utest/result/suite_teardown_failed.xml +81 -0
  1878. data/vendor/robot/utest/result/test_configurer.py +263 -0
  1879. data/vendor/robot/utest/result/test_resultbuilder.py +248 -0
  1880. data/vendor/robot/utest/result/test_resultmodel.py +209 -0
  1881. data/vendor/robot/utest/result/test_resultserializer.py +63 -0
  1882. data/vendor/robot/utest/result/test_visitor.py +72 -0
  1883. data/vendor/robot/utest/run.py +100 -0
  1884. data/vendor/robot/utest/run_jasmine.py +53 -0
  1885. data/vendor/robot/utest/running/test_builder.py +132 -0
  1886. data/vendor/robot/utest/running/test_handlers.py +309 -0
  1887. data/vendor/robot/utest/running/test_importer.py +73 -0
  1888. data/vendor/robot/utest/running/test_imports.py +75 -0
  1889. data/vendor/robot/utest/running/test_namespace.py +16 -0
  1890. data/vendor/robot/utest/running/test_randomizer.py +87 -0
  1891. data/vendor/robot/utest/running/test_run_model.py +94 -0
  1892. data/vendor/robot/utest/running/test_runkwregister.py +114 -0
  1893. data/vendor/robot/utest/running/test_running.py +284 -0
  1894. data/vendor/robot/utest/running/test_signalhandler.py +115 -0
  1895. data/vendor/robot/utest/running/test_testlibrary.py +638 -0
  1896. data/vendor/robot/utest/running/test_timeouts.py +193 -0
  1897. data/vendor/robot/utest/running/test_userhandlers.py +165 -0
  1898. data/vendor/robot/utest/running/test_userlibrary.py +128 -0
  1899. data/vendor/robot/utest/running/thread_resources.py +27 -0
  1900. data/vendor/robot/utest/testdoc/test_jsonconverter.py +225 -0
  1901. data/vendor/robot/utest/tidy/test_argument_validation.py +106 -0
  1902. data/vendor/robot/utest/utils/ImportByPath.class +0 -0
  1903. data/vendor/robot/utest/utils/ImportByPath.java +6 -0
  1904. data/vendor/robot/utest/utils/test_argumentparser.py +438 -0
  1905. data/vendor/robot/utest/utils/test_asserts.py +148 -0
  1906. data/vendor/robot/utest/utils/test_compat.py +36 -0
  1907. data/vendor/robot/utest/utils/test_compress.py +28 -0
  1908. data/vendor/robot/utest/utils/test_connectioncache.py +239 -0
  1909. data/vendor/robot/utest/utils/test_dotdict.py +101 -0
  1910. data/vendor/robot/utest/utils/test_encoding.py +34 -0
  1911. data/vendor/robot/utest/utils/test_encodingsniffer.py +49 -0
  1912. data/vendor/robot/utest/utils/test_error.py +123 -0
  1913. data/vendor/robot/utest/utils/test_escaping.py +188 -0
  1914. data/vendor/robot/utest/utils/test_etreesource.py +58 -0
  1915. data/vendor/robot/utest/utils/test_frange.py +66 -0
  1916. data/vendor/robot/utest/utils/test_htmlwriter.py +119 -0
  1917. data/vendor/robot/utest/utils/test_importer_util.py +493 -0
  1918. data/vendor/robot/utest/utils/test_markuputils.py +803 -0
  1919. data/vendor/robot/utest/utils/test_match.py +170 -0
  1920. data/vendor/robot/utest/utils/test_misc.py +183 -0
  1921. data/vendor/robot/utest/utils/test_normalizing.py +318 -0
  1922. data/vendor/robot/utest/utils/test_robotenv.py +61 -0
  1923. data/vendor/robot/utest/utils/test_robotpath.py +215 -0
  1924. data/vendor/robot/utest/utils/test_robottime.py +355 -0
  1925. data/vendor/robot/utest/utils/test_robottypes.py +160 -0
  1926. data/vendor/robot/utest/utils/test_setter.py +66 -0
  1927. data/vendor/robot/utest/utils/test_sortable.py +54 -0
  1928. data/vendor/robot/utest/utils/test_text.py +279 -0
  1929. data/vendor/robot/utest/utils/test_timestampcache.py +56 -0
  1930. data/vendor/robot/utest/utils/test_unic.py +224 -0
  1931. data/vendor/robot/utest/utils/test_utf8reader.py +66 -0
  1932. data/vendor/robot/utest/utils/test_xmlwriter.py +143 -0
  1933. data/vendor/robot/utest/variables/test_isvar.py +36 -0
  1934. data/vendor/robot/utest/variables/test_variableassigner.py +54 -0
  1935. data/vendor/robot/utest/variables/test_variables.py +261 -0
  1936. data/vendor/robot/utest/variables/test_variablesplitter.py +235 -0
  1937. data/vendor/robot/utest/webcontent/SpecRunner.html +52 -0
  1938. data/vendor/robot/utest/webcontent/jasmine-1.0.2/MIT.LICENSE +20 -0
  1939. data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine-html.js +188 -0
  1940. data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine.css +166 -0
  1941. data/vendor/robot/utest/webcontent/jasmine-1.0.2/jasmine.js +2421 -0
  1942. data/vendor/robot/utest/webcontent/spec/ContainsTag.js +106 -0
  1943. data/vendor/robot/utest/webcontent/spec/LogLevelSpec.js +19 -0
  1944. data/vendor/robot/utest/webcontent/spec/ParsingSpec.js +579 -0
  1945. data/vendor/robot/utest/webcontent/spec/StatisticsSpec.js +172 -0
  1946. data/vendor/robot/utest/webcontent/spec/UtilSpec.js +86 -0
  1947. data/vendor/robot/utest/webcontent/spec/data/Messages.js +20 -0
  1948. data/vendor/robot/utest/webcontent/spec/data/Messages.txt +10 -0
  1949. data/vendor/robot/utest/webcontent/spec/data/PassingFailing.js +20 -0
  1950. data/vendor/robot/utest/webcontent/spec/data/SetupsAndTeardowns.js +20 -0
  1951. data/vendor/robot/utest/webcontent/spec/data/SetupsAndTeardowns.txt +15 -0
  1952. data/vendor/robot/utest/webcontent/spec/data/Suite.js +20 -0
  1953. data/vendor/robot/utest/webcontent/spec/data/Suite.txt +18 -0
  1954. data/vendor/robot/utest/webcontent/spec/data/TeardownFailure.js +20 -0
  1955. data/vendor/robot/utest/webcontent/spec/data/TestsAndKeywords.js +20 -0
  1956. data/vendor/robot/utest/webcontent/spec/data/TestsAndKeywords.txt +22 -0
  1957. data/vendor/robot/utest/webcontent/spec/data/allData.js +20 -0
  1958. data/vendor/robot/utest/webcontent/spec/data/create_jsdata_for_specs.py +57 -0
  1959. data/vendor/robot/utest/webcontent/spec/data/splitting.js +44 -0
  1960. data/vendor/robot/utest/webcontent/spec/data/teardownFailure/PassingFailing.txt +5 -0
  1961. data/vendor/robot/utest/webcontent/spec/data/teardownFailure/__init__.txt +2 -0
  1962. data/vendor/robot/utest/writer/test_aligners.py +16 -0
  1963. data/vendor/robot/utest/writer/test_extractor.py +55 -0
  1964. data/vendor/robot/utest/writer/test_filewriters.py +82 -0
  1965. data/vendor/robot/utest/writer/test_formatters.py +188 -0
  1966. data/vendor/robot/utest/writer/test_rowsplitter.py +130 -0
  1967. data/vendor/robot/utest/writer/test_write_configuration.py +40 -0
  1968. 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)