busser-robot 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
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,1514 @@
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 copy
17
+ import re
18
+ import os
19
+
20
+ try:
21
+ from lxml import etree as lxml_etree
22
+ except ImportError:
23
+ lxml_etree = None
24
+
25
+ from robot.api import logger
26
+ from robot.libraries.BuiltIn import BuiltIn
27
+ from robot.utils import (asserts, ET, ETSource, is_falsy, is_string, is_truthy,
28
+ plural_or_not as s)
29
+ from robot.version import get_version
30
+
31
+
32
+ should_be_equal = asserts.assert_equal
33
+ should_match = BuiltIn().should_match
34
+
35
+
36
+ class XML(object):
37
+ """Robot Framework test library for verifying and modifying XML documents.
38
+
39
+ As the name implies, _XML_ is a test library for verifying contents of XML
40
+ files. In practice it is a pretty thin wrapper on top of Python's
41
+ [https://docs.python.org/2/library/xml.etree.elementtree.html|ElementTree XML API].
42
+
43
+ The library has the following main usages:
44
+
45
+ - Parsing an XML file, or a string containing XML, into an XML element
46
+ structure and finding certain elements from it for for further analysis
47
+ (e.g. `Parse XML` and `Get Element` keywords).
48
+ - Getting text or attributes of elements
49
+ (e.g. `Get Element Text` and `Get Element Attribute`).
50
+ - Directly verifying text, attributes, or whole elements
51
+ (e.g `Element Text Should Be` and `Elements Should Be Equal`).
52
+ - Modifying XML and saving it (e.g. `Set Element Text`, `Add Element`
53
+ and `Save XML`).
54
+
55
+ == Table of contents ==
56
+
57
+ - `Parsing XML`
58
+ - `Using lxml`
59
+ - `Example`
60
+ - `Finding elements with xpath`
61
+ - `Element attributes`
62
+ - `Handling XML namespaces`
63
+ - `Boolean arguments`
64
+ - `Shortcuts`
65
+ - `Keywords`
66
+
67
+ = Parsing XML =
68
+
69
+ XML can be parsed into an element structure using `Parse XML` keyword.
70
+ It accepts both paths to XML files and strings that contain XML. The
71
+ keyword returns the root element of the structure, which then contains
72
+ other elements as its children and their children. Possible comments and
73
+ processing instructions in the source XML are removed.
74
+
75
+ XML is not validated during parsing even if has a schema defined. How
76
+ possible doctype elements are handled otherwise depends on the used XML
77
+ module and on the platform. The standard ElementTree strips doctypes
78
+ altogether but when `using lxml` they are preserved when XML is saved.
79
+ With IronPython parsing XML with a doctype is not supported at all.
80
+
81
+ The element structure returned by `Parse XML`, as well as elements
82
+ returned by keywords such as `Get Element`, can be used as the ``source``
83
+ argument with other keywords. In addition to an already parsed XML
84
+ structure, other keywords also accept paths to XML files and strings
85
+ containing XML similarly as `Parse XML`. Notice that keywords that modify
86
+ XML do not write those changes back to disk even if the source would be
87
+ given as a path to a file. Changes must always saved explicitly using
88
+ `Save XML` keyword.
89
+
90
+ When the source is given as a path to a file, the forward slash character
91
+ (``/``) can be used as the path separator regardless the operating system.
92
+ On Windows also the backslash works, but it the test data it needs to be
93
+ escaped by doubling it (``\\\\``). Using the built-in variable ``${/}``
94
+ naturally works too.
95
+
96
+ = Using lxml =
97
+
98
+ By default this library uses Python's standard
99
+ [https://docs.python.org/2/library/xml.etree.elementtree.html|ElementTree]
100
+ module for parsing XML, but it can be configured to use
101
+ [http://lxml.de|lxml] module instead when `importing` the library.
102
+ The resulting element structure has same API regardless which module
103
+ is used for parsing.
104
+
105
+ The main benefits of using lxml is that it supports richer xpath syntax
106
+ than the standard ElementTree and enables using `Evaluate Xpath` keyword.
107
+ It also preserves the doctype and possible namespace prefixes saving XML.
108
+
109
+ The lxml support is new in Robot Framework 2.8.5.
110
+
111
+ = Example =
112
+
113
+ The following simple example demonstrates parsing XML and verifying its
114
+ contents both using keywords in this library and in _BuiltIn_ and
115
+ _Collections_ libraries. How to use xpath expressions to find elements
116
+ and what attributes the returned elements contain are discussed, with
117
+ more examples, in `Finding elements with xpath` and `Element attributes`
118
+ sections.
119
+
120
+ In this example, as well as in many other examples in this documentation,
121
+ ``${XML}`` refers to the following example XML document. In practice
122
+ ``${XML}`` could either be a path to an XML file or it could contain the XML
123
+ itself.
124
+
125
+ | <example>
126
+ | <first id="1">text</first>
127
+ | <second id="2">
128
+ | <child/>
129
+ | </second>
130
+ | <third>
131
+ | <child>more text</child>
132
+ | <second id="child"/>
133
+ | <child><grandchild/></child>
134
+ | </third>
135
+ | <html>
136
+ | <p>
137
+ | Text with <b>bold</b> and <i>italics</i>.
138
+ | </p>
139
+ | </html>
140
+ | </example>
141
+
142
+ | ${root} = | `Parse XML` | ${XML} | | |
143
+ | `Should Be Equal` | ${root.tag} | example | | |
144
+ | ${first} = | `Get Element` | ${root} | first | |
145
+ | `Should Be Equal` | ${first.text} | text | | |
146
+ | `Dictionary Should Contain Key` | ${first.attrib} | id | |
147
+ | `Element Text Should Be` | ${first} | text | | |
148
+ | `Element Attribute Should Be` | ${first} | id | 1 | |
149
+ | `Element Attribute Should Be` | ${root} | id | 1 | xpath=first |
150
+ | `Element Attribute Should Be` | ${XML} | id | 1 | xpath=first |
151
+
152
+ Notice that in the example three last lines are equivalent. Which one to
153
+ use in practice depends on which other elements you need to get or verify.
154
+ If you only need to do one verification, using the last line alone would
155
+ suffice. If more verifications are needed, parsing the XML with `Parse XML`
156
+ only once would be more efficient.
157
+
158
+ = Finding elements with xpath =
159
+
160
+ ElementTree, and thus also this library, supports finding elements using
161
+ xpath expressions. ElementTree does not, however, support the full xpath
162
+ syntax, and what is supported depends on its version. ElementTree 1.3 that
163
+ is distributed with Python 2.7 supports richer syntax than earlier versions.
164
+
165
+ The supported xpath syntax is explained below and
166
+ [http://effbot.org/zone/element-xpath.htm|ElementTree documentation]
167
+ provides more details. In the examples ``${XML}`` refers to the same XML
168
+ structure as in the earlier example.
169
+
170
+ If lxml support is enabled when `importing` the library, the whole
171
+ [http://www.w3.org/TR/xpath/|xpath 1.0 standard] is supported.
172
+ That includes everything listed below but also lot of other useful
173
+ constructs.
174
+
175
+ == Tag names ==
176
+
177
+ When just a single tag name is used, xpath matches all direct child
178
+ elements that have that tag name.
179
+
180
+ | ${elem} = | `Get Element` | ${XML} | third |
181
+ | `Should Be Equal` | ${elem.tag} | third | |
182
+ | @{children} = | `Get Elements` | ${elem} | child |
183
+ | `Length Should Be` | ${children} | 2 | |
184
+
185
+ == Paths ==
186
+
187
+ Paths are created by combining tag names with a forward slash (``/``). For
188
+ example, ``parent/child`` matches all ``child`` elements under ``parent``
189
+ element. Notice that if there are multiple ``parent`` elements that all
190
+ have ``child`` elements, ``parent/child`` xpath will match all these
191
+ ``child`` elements.
192
+
193
+ | ${elem} = | `Get Element` | ${XML} | second/child |
194
+ | `Should Be Equal` | ${elem.tag} | child | |
195
+ | ${elem} = | `Get Element` | ${XML} | third/child/grandchild |
196
+ | `Should Be Equal` | ${elem.tag} | grandchild | |
197
+
198
+ == Wildcards ==
199
+
200
+ An asterisk (``*``) can be used in paths instead of a tag name to denote
201
+ any element.
202
+
203
+ | @{children} = | `Get Elements` | ${XML} | */child |
204
+ | `Length Should Be` | ${children} | 3 | |
205
+
206
+ == Current element ==
207
+
208
+ The current element is denoted with a dot (``.``). Normally the current
209
+ element is implicit and does not need to be included in the xpath.
210
+
211
+ == Parent element ==
212
+
213
+ The parent element of another element is denoted with two dots (``..``).
214
+ Notice that it is not possible to refer to the parent of the current
215
+ element. This syntax is supported only in ElementTree 1.3 (i.e.
216
+ Python/Jython 2.7 and newer).
217
+
218
+ | ${elem} = | `Get Element` | ${XML} | */second/.. |
219
+ | `Should Be Equal` | ${elem.tag} | third | |
220
+
221
+ == Search all sub elements ==
222
+
223
+ Two forward slashes (``//``) mean that all sub elements, not only the
224
+ direct children, are searched. If the search is started from the current
225
+ element, an explicit dot is required.
226
+
227
+ | @{elements} = | `Get Elements` | ${XML} | .//second |
228
+ | `Length Should Be` | ${elements} | 2 | |
229
+ | ${b} = | `Get Element` | ${XML} | html//b |
230
+ | `Should Be Equal` | ${b.text} | bold | |
231
+
232
+ == Predicates ==
233
+
234
+ Predicates allow selecting elements using also other criteria than tag
235
+ names, for example, attributes or position. They are specified after the
236
+ normal tag name or path using syntax ``path[predicate]``. The path can have
237
+ wildcards and other special syntax explained above.
238
+
239
+ What predicates ElementTree supports is explained in the table below.
240
+ Notice that predicates in general are supported only in ElementTree 1.3
241
+ (i.e. Python/Jython 2.7 and newer).
242
+
243
+ | = Predicate = | = Matches = | = Example = |
244
+ | @attrib | Elements with attribute ``attrib``. | second[@id] |
245
+ | @attrib="value" | Elements with attribute ``attrib`` having value ``value``. | *[@id="2"] |
246
+ | position | Elements at the specified position. Position can be an integer (starting from 1), expression ``last()``, or relative expression like ``last() - 1``. | third/child[1] |
247
+ | tag | Elements with a child element named ``tag``. | third/child[grandchild] |
248
+
249
+ Predicates can also be stacked like ``path[predicate1][predicate2]``.
250
+ A limitation is that possible position predicate must always be first.
251
+
252
+ = Element attributes =
253
+
254
+ All keywords returning elements, such as `Parse XML`, and `Get Element`,
255
+ return ElementTree's
256
+ [http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element|Element objects].
257
+ These elements can be used as inputs for other keywords, but they also
258
+ contain several useful attributes that can be accessed directly using
259
+ the extended variable syntax.
260
+
261
+ The attributes that are both useful and convenient to use in the test
262
+ data are explained below. Also other attributes, including methods, can
263
+ be accessed, but that is typically better to do in custom libraries than
264
+ directly in the test data.
265
+
266
+ The examples use the same ``${XML}`` structure as the earlier examples.
267
+
268
+ == tag ==
269
+
270
+ The tag of the element.
271
+
272
+ | ${root} = | `Parse XML` | ${XML} |
273
+ | `Should Be Equal` | ${root.tag} | example |
274
+
275
+ == text ==
276
+
277
+ The text that the element contains or Python ``None`` if the element has no
278
+ text. Notice that the text _does not_ contain texts of possible child
279
+ elements nor text after or between children. Notice also that in XML
280
+ whitespace is significant, so the text contains also possible indentation
281
+ and newlines. To get also text of the possible children, optionally
282
+ whitespace normalized, use `Get Element Text` keyword.
283
+
284
+ | ${1st} = | `Get Element` | ${XML} | first |
285
+ | `Should Be Equal` | ${1st.text} | text | |
286
+ | ${2nd} = | `Get Element` | ${XML} | second/child |
287
+ | `Should Be Equal` | ${2nd.text} | ${NONE} | |
288
+ | ${p} = | `Get Element` | ${XML} | html/p |
289
+ | `Should Be Equal` | ${p.text} | \\n${SPACE*6}Text with${SPACE} |
290
+
291
+ == tail ==
292
+
293
+ The text after the element before the next opening or closing tag. Python
294
+ ``None`` if the element has no tail. Similarly as with ``text``, also
295
+ ``tail`` contains possible indentation and newlines.
296
+
297
+ | ${b} = | `Get Element` | ${XML} | html/p/b |
298
+ | `Should Be Equal` | ${b.tail} | ${SPACE}and${SPACE} |
299
+
300
+ == attrib ==
301
+
302
+ A Python dictionary containing attributes of the element.
303
+
304
+ | ${2nd} = | `Get Element` | ${XML} | second |
305
+ | `Should Be Equal` | ${2nd.attrib['id']} | 2 | |
306
+ | ${3rd} = | `Get Element` | ${XML} | third |
307
+ | `Should Be Empty` | ${3rd.attrib} | | |
308
+
309
+ = Handling XML namespaces =
310
+
311
+ ElementTree and lxml handle possible namespaces in XML documents by adding
312
+ the namespace URI to tag names in so called Clark Notation. That is
313
+ inconvenient especially with xpaths, and by default this library strips
314
+ those namespaces away and moves them to ``xmlns`` attribute instead. That
315
+ can be avoided by passing ``keep_clark_notation`` argument to `Parse XML`
316
+ keyword. Alternatively `Parse XML` supports stripping namespace information
317
+ altogether by using ``strip_namespaces`` argument. The pros and cons of
318
+ different approaches are discussed in more detail below.
319
+
320
+ == How ElementTree handles namespaces ==
321
+
322
+ If an XML document has namespaces, ElementTree adds namespace information
323
+ to tag names in [http://www.jclark.com/xml/xmlns.htm|Clark Notation]
324
+ (e.g. ``{http://ns.uri}tag``) and removes original ``xmlns`` attributes.
325
+ This is done both with default namespaces and with namespaces with a prefix.
326
+ How it works in practice is illustrated by the following example, where
327
+ ``${NS}`` variable contains this XML document:
328
+
329
+ | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
330
+ | xmlns="http://www.w3.org/1999/xhtml">
331
+ | <xsl:template match="/">
332
+ | <html></html>
333
+ | </xsl:template>
334
+ | </xsl:stylesheet>
335
+
336
+ | ${root} = | `Parse XML` | ${NS} | keep_clark_notation=yes |
337
+ | `Should Be Equal` | ${root.tag} | {http://www.w3.org/1999/XSL/Transform}stylesheet |
338
+ | `Element Should Exist` | ${root} | {http://www.w3.org/1999/XSL/Transform}template/{http://www.w3.org/1999/xhtml}html |
339
+ | `Should Be Empty` | ${root.attrib} |
340
+
341
+ As you can see, including the namespace URI in tag names makes xpaths
342
+ really long and complex.
343
+
344
+ If you save the XML, ElementTree moves namespace information back to
345
+ ``xmlns`` attributes. Unfortunately it does not restore the original
346
+ prefixes:
347
+
348
+ | <ns0:stylesheet xmlns:ns0="http://www.w3.org/1999/XSL/Transform">
349
+ | <ns0:template match="/">
350
+ | <ns1:html xmlns:ns1="http://www.w3.org/1999/xhtml"></ns1:html>
351
+ | </ns0:template>
352
+ | </ns0:stylesheet>
353
+
354
+ The resulting output is semantically same as the original, but mangling
355
+ prefixes like this may still not be desirable. Notice also that the actual
356
+ output depends slightly on ElementTree version.
357
+
358
+ == Default namespace handling ==
359
+
360
+ Because the way ElementTree handles namespaces makes xpaths so complicated,
361
+ this library, by default, strips namespaces from tag names and moves that
362
+ information back to ``xmlns`` attributes. How this works in practice is
363
+ shown by the example below, where ``${NS}`` variable contains the same XML
364
+ document as in the previous example.
365
+
366
+ | ${root} = | `Parse XML` | ${NS} |
367
+ | `Should Be Equal` | ${root.tag} | stylesheet |
368
+ | `Element Should Exist` | ${root} | template/html |
369
+ | `Element Attribute Should Be` | ${root} | xmlns | http://www.w3.org/1999/XSL/Transform |
370
+ | `Element Attribute Should Be` | ${root} | xmlns | http://www.w3.org/1999/xhtml | xpath=template/html |
371
+
372
+ Now that tags do not contain namespace information, xpaths are simple again.
373
+
374
+ A minor limitation of this approach is that namespace prefixes are lost.
375
+ As a result the saved output is not exactly same as the original one in
376
+ this case either:
377
+
378
+ | <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform">
379
+ | <template match="/">
380
+ | <html xmlns="http://www.w3.org/1999/xhtml"></html>
381
+ | </template>
382
+ | </stylesheet>
383
+
384
+ Also this output is semantically same as the original. If the original XML
385
+ had only default namespaces, the output would also look identical.
386
+
387
+ == Namespaces when using lxml ==
388
+
389
+ This library handles namespaces same way both when `using lxml` and when
390
+ not using it. There are, however, differences how lxml internally handles
391
+ namespaces compared to the standard ElementTree. The main difference is
392
+ that lxml stores information about namespace prefixes and they are thus
393
+ preserved if XML is saved. Another visible difference is that lxml includes
394
+ namespace information in child elements got with `Get Element` if the
395
+ parent element has namespaces.
396
+
397
+ == Stripping namespaces altogether ==
398
+
399
+ Because namespaces often add unnecessary complexity, `Parse XML` supports
400
+ stripping them altogether by using ``strip_namespaces=True``. When this
401
+ option is enabled, namespaces are not shown anywhere nor are they included
402
+ if XML is saved.
403
+
404
+ == Attribute namespaces ==
405
+
406
+ Attributes in XML documents are, by default, in the same namespaces as
407
+ the element they belong to. It is possible to use different namespaces
408
+ by using prefixes, but this is pretty rare.
409
+
410
+ If an attribute has a namespace prefix, ElementTree will replace it with
411
+ Clark Notation the same way it handles elements. Because stripping
412
+ namespaces from attributes could cause attribute conflicts, this library
413
+ does not handle attribute namespaces at all. Thus the following example
414
+ works the same way regardless how namespaces are handled.
415
+
416
+ | ${root} = | `Parse XML` | <root id="1" ns:id="2" xmlns:ns="http://my.ns"/> |
417
+ | `Element Attribute Should Be` | ${root} | id | 1 |
418
+ | `Element Attribute Should Be` | ${root} | {http://my.ns}id | 2 |
419
+
420
+ = Boolean arguments =
421
+
422
+ Some keywords accept arguments that are handled as Boolean values true or
423
+ false. If such an argument is given as a string, it is considered false if
424
+ it is either empty or case-insensitively equal to ``false`` or ``no``.
425
+ Other strings are considered true regardless their value, and other
426
+ argument types are tested using same
427
+ [http://docs.python.org/2/library/stdtypes.html#truth-value-testing|rules
428
+ as in Python].
429
+
430
+ True examples:
431
+ | `Parse XML` | ${XML} | keep_clark_notation=True | # Strings are generally true. |
432
+ | `Parse XML` | ${XML} | keep_clark_notation=yes | # Same as the above. |
433
+ | `Parse XML` | ${XML} | keep_clark_notation=${TRUE} | # Python ``True`` is true. |
434
+ | `Parse XML` | ${XML} | keep_clark_notation=${42} | # Numbers other than 0 are true. |
435
+
436
+ False examples:
437
+ | `Parse XML` | ${XML} | keep_clark_notation=False | # String ``false`` is false. |
438
+ | `Parse XML` | ${XML} | keep_clark_notation=no | # Also string ``no`` is false. |
439
+ | `Parse XML` | ${XML} | keep_clark_notation=${EMPTY} | # Empty string is false. |
440
+ | `Parse XML` | ${XML} | keep_clark_notation=${FALSE} | # Python ``False`` is false. |
441
+
442
+ Note that prior to Robot Framework 2.9, all non-empty strings, including
443
+ ``false`` and ``no``, were considered true.
444
+ """
445
+
446
+ ROBOT_LIBRARY_SCOPE = 'GLOBAL'
447
+ ROBOT_LIBRARY_VERSION = get_version()
448
+ _xml_declaration = re.compile('^<\?xml .*\?>')
449
+
450
+ def __init__(self, use_lxml=False):
451
+ """Import library with optionally lxml mode enabled.
452
+
453
+ By default this library uses Python's standard
454
+ [https://docs.python.org/2/library/xml.etree.elementtree.html|ElementTree]
455
+ module for parsing XML. If ``use_lxml`` argument is given a true value
456
+ (see `Boolean arguments`), the library will use [http://lxml.de|lxml]
457
+ module instead. See `Using lxml` section for benefits provided by lxml.
458
+
459
+ Using lxml requires that the lxml module is installed on the system.
460
+ If lxml mode is enabled but the module is not installed, this library
461
+ will emit a warning and revert back to using the standard ElementTree.
462
+
463
+ The support for lxml is new in Robot Framework 2.8.5.
464
+ """
465
+ use_lxml = is_truthy(use_lxml)
466
+ if use_lxml and lxml_etree:
467
+ self.etree = lxml_etree
468
+ self.modern_etree = True
469
+ self.lxml_etree = True
470
+ else:
471
+ self.etree = ET
472
+ self.modern_etree = ET.VERSION >= '1.3'
473
+ self.lxml_etree = False
474
+ if use_lxml and not lxml_etree:
475
+ logger.warn('XML library reverted to use standard ElementTree '
476
+ 'because lxml module is not installed.')
477
+ self._ns_stripper = NameSpaceStripper(self.etree, self.lxml_etree)
478
+
479
+ def parse_xml(self, source, keep_clark_notation=False, strip_namespaces=False):
480
+ """Parses the given XML file or string into an element structure.
481
+
482
+ The ``source`` can either be a path to an XML file or a string
483
+ containing XML. In both cases the XML is parsed into ElementTree
484
+ [http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element|element structure]
485
+ and the root element is returned. Possible comments and processing
486
+ instructions in the source XML are removed.
487
+
488
+ As discussed in `Handling XML namespaces` section, this keyword, by
489
+ default, removes namespace information ElementTree has added to tag
490
+ names and moves it into ``xmlns`` attributes. This typically eases
491
+ handling XML documents with namespaces considerably. If you do not
492
+ want that to happen, or want to avoid the small overhead of going
493
+ through the element structure when your XML does not have namespaces,
494
+ you can disable this feature by giving ``keep_clark_notation`` argument
495
+ a true value (see `Boolean arguments`).
496
+
497
+ If you want to strip namespace information altogether so that it is
498
+ not included even if XML is saved, you can give a true value to
499
+ ``strip_namespaces`` argument. This functionality is new in Robot
500
+ Framework 3.0.2.
501
+
502
+ Examples:
503
+ | ${root} = | Parse XML | <root><child/></root> |
504
+ | ${xml} = | Parse XML | ${CURDIR}/test.xml | keep_clark_notation=True |
505
+ | ${xml} = | Parse XML | ${CURDIR}/test.xml | strip_namespaces=True |
506
+
507
+ Use `Get Element` keyword if you want to get a certain element and not
508
+ the whole structure. See `Parsing XML` section for more details and
509
+ examples.
510
+ """
511
+ with ETSource(source) as source:
512
+ tree = self.etree.parse(source)
513
+ if self.lxml_etree:
514
+ strip = (lxml_etree.Comment, lxml_etree.ProcessingInstruction)
515
+ lxml_etree.strip_elements(tree, *strip, **dict(with_tail=False))
516
+ root = tree.getroot()
517
+ if not is_truthy(keep_clark_notation):
518
+ self._ns_stripper.strip(root, preserve=is_falsy(strip_namespaces))
519
+ return root
520
+
521
+ def get_element(self, source, xpath='.'):
522
+ """Returns an element in the ``source`` matching the ``xpath``.
523
+
524
+ The ``source`` can be a path to an XML file, a string containing XML, or
525
+ an already parsed XML element. The ``xpath`` specifies which element to
526
+ find. See the `introduction` for more details about both the possible
527
+ sources and the supported xpath syntax.
528
+
529
+ The keyword fails if more, or less, than one element matches the
530
+ ``xpath``. Use `Get Elements` if you want all matching elements to be
531
+ returned.
532
+
533
+ Examples using ``${XML}`` structure from `Example`:
534
+ | ${element} = | Get Element | ${XML} | second |
535
+ | ${child} = | Get Element | ${element} | child |
536
+
537
+ `Parse XML` is recommended for parsing XML when the whole structure
538
+ is needed. It must be used if there is a need to configure how XML
539
+ namespaces are handled.
540
+
541
+ Many other keywords use this keyword internally, and keywords modifying
542
+ XML are typically documented to both to modify the given source and
543
+ to return it. Modifying the source does not apply if the source is
544
+ given as a string. The XML structure parsed based on the string and
545
+ then modified is nevertheless returned.
546
+ """
547
+ elements = self.get_elements(source, xpath)
548
+ if len(elements) != 1:
549
+ self._raise_wrong_number_of_matches(len(elements), xpath)
550
+ return elements[0]
551
+
552
+ def _raise_wrong_number_of_matches(self, count, xpath, message=None):
553
+ if not message:
554
+ message = self._wrong_number_of_matches(count, xpath)
555
+ raise AssertionError(message)
556
+
557
+ def _wrong_number_of_matches(self, count, xpath):
558
+ if not count:
559
+ return "No element matching '%s' found." % xpath
560
+ if count == 1:
561
+ return "One element matching '%s' found." % xpath
562
+ return "Multiple elements (%d) matching '%s' found." % (count, xpath)
563
+
564
+ def get_elements(self, source, xpath):
565
+ """Returns a list of elements in the ``source`` matching the ``xpath``.
566
+
567
+ The ``source`` can be a path to an XML file, a string containing XML, or
568
+ an already parsed XML element. The ``xpath`` specifies which element to
569
+ find. See the `introduction` for more details.
570
+
571
+ Elements matching the ``xpath`` are returned as a list. If no elements
572
+ match, an empty list is returned. Use `Get Element` if you want to get
573
+ exactly one match.
574
+
575
+ Examples using ``${XML}`` structure from `Example`:
576
+ | ${children} = | Get Elements | ${XML} | third/child |
577
+ | Length Should Be | ${children} | 2 | |
578
+ | ${children} = | Get Elements | ${XML} | first/child |
579
+ | Should Be Empty | ${children} | | |
580
+ """
581
+ if is_string(source):
582
+ source = self.parse_xml(source)
583
+ finder = ElementFinder(self.etree, self.modern_etree, self.lxml_etree)
584
+ return finder.find_all(source, xpath)
585
+
586
+ def get_child_elements(self, source, xpath='.'):
587
+ """Returns the child elements of the specified element as a list.
588
+
589
+ The element whose children to return is specified using ``source`` and
590
+ ``xpath``. They have exactly the same semantics as with `Get Element`
591
+ keyword.
592
+
593
+ All the direct child elements of the specified element are returned.
594
+ If the element has no children, an empty list is returned.
595
+
596
+ Examples using ``${XML}`` structure from `Example`:
597
+ | ${children} = | Get Child Elements | ${XML} | |
598
+ | Length Should Be | ${children} | 4 | |
599
+ | ${children} = | Get Child Elements | ${XML} | xpath=first |
600
+ | Should Be Empty | ${children} | | |
601
+ """
602
+ return list(self.get_element(source, xpath))
603
+
604
+ def get_element_count(self, source, xpath='.'):
605
+ """Returns and logs how many elements the given ``xpath`` matches.
606
+
607
+ Arguments ``source`` and ``xpath`` have exactly the same semantics as
608
+ with `Get Elements` keyword that this keyword uses internally.
609
+
610
+ See also `Element Should Exist` and `Element Should Not Exist`.
611
+ """
612
+ count = len(self.get_elements(source, xpath))
613
+ logger.info("%d element%s matched '%s'." % (count, s(count), xpath))
614
+ return count
615
+
616
+ def element_should_exist(self, source, xpath='.', message=None):
617
+ """Verifies that one or more element match the given ``xpath``.
618
+
619
+ Arguments ``source`` and ``xpath`` have exactly the same semantics as
620
+ with `Get Elements` keyword. Keyword passes if the ``xpath`` matches
621
+ one or more elements in the ``source``. The default error message can
622
+ be overridden with the ``message`` argument.
623
+
624
+ See also `Element Should Not Exist` as well as `Get Element Count`
625
+ that this keyword uses internally.
626
+ """
627
+ count = self.get_element_count(source, xpath)
628
+ if not count:
629
+ self._raise_wrong_number_of_matches(count, xpath, message)
630
+
631
+ def element_should_not_exist(self, source, xpath='.', message=None):
632
+ """Verifies that no element match the given ``xpath``.
633
+
634
+ Arguments ``source`` and ``xpath`` have exactly the same semantics as
635
+ with `Get Elements` keyword. Keyword fails if the ``xpath`` matches any
636
+ element in the ``source``. The default error message can be overridden
637
+ with the ``message`` argument.
638
+
639
+ See also `Element Should Exist` as well as `Get Element Count`
640
+ that this keyword uses internally.
641
+ """
642
+ count = self.get_element_count(source, xpath)
643
+ if count:
644
+ self._raise_wrong_number_of_matches(count, xpath, message)
645
+
646
+ def get_element_text(self, source, xpath='.', normalize_whitespace=False):
647
+ """Returns all text of the element, possibly whitespace normalized.
648
+
649
+ The element whose text to return is specified using ``source`` and
650
+ ``xpath``. They have exactly the same semantics as with `Get Element`
651
+ keyword.
652
+
653
+ This keyword returns all the text of the specified element, including
654
+ all the text its children and grandchildren contain. If the element
655
+ has no text, an empty string is returned. The returned text is thus not
656
+ always the same as the `text` attribute of the element.
657
+
658
+ By default all whitespace, including newlines and indentation, inside
659
+ the element is returned as-is. If ``normalize_whitespace`` is given
660
+ a true value (see `Boolean arguments`), then leading and trailing
661
+ whitespace is stripped, newlines and tabs converted to spaces, and
662
+ multiple spaces collapsed into one. This is especially useful when
663
+ dealing with HTML data.
664
+
665
+ Examples using ``${XML}`` structure from `Example`:
666
+ | ${text} = | Get Element Text | ${XML} | first |
667
+ | Should Be Equal | ${text} | text | |
668
+ | ${text} = | Get Element Text | ${XML} | second/child |
669
+ | Should Be Empty | ${text} | | |
670
+ | ${paragraph} = | Get Element | ${XML} | html/p |
671
+ | ${text} = | Get Element Text | ${paragraph} | normalize_whitespace=yes |
672
+ | Should Be Equal | ${text} | Text with bold and italics. |
673
+
674
+ See also `Get Elements Texts`, `Element Text Should Be` and
675
+ `Element Text Should Match`.
676
+ """
677
+ element = self.get_element(source, xpath)
678
+ text = ''.join(self._yield_texts(element))
679
+ if is_truthy(normalize_whitespace):
680
+ text = self._normalize_whitespace(text)
681
+ return text
682
+
683
+ def _yield_texts(self, element, top=True):
684
+ if element.text:
685
+ yield element.text
686
+ for child in element:
687
+ for text in self._yield_texts(child, top=False):
688
+ yield text
689
+ if element.tail and not top:
690
+ yield element.tail
691
+
692
+ def _normalize_whitespace(self, text):
693
+ return ' '.join(text.split())
694
+
695
+ def get_elements_texts(self, source, xpath, normalize_whitespace=False):
696
+ """Returns text of all elements matching ``xpath`` as a list.
697
+
698
+ The elements whose text to return is specified using ``source`` and
699
+ ``xpath``. They have exactly the same semantics as with `Get Elements`
700
+ keyword.
701
+
702
+ The text of the matched elements is returned using the same logic
703
+ as with `Get Element Text`. This includes optional whitespace
704
+ normalization using the ``normalize_whitespace`` option.
705
+
706
+ Examples using ``${XML}`` structure from `Example`:
707
+ | @{texts} = | Get Elements Texts | ${XML} | third/child |
708
+ | Length Should Be | ${texts} | 2 | |
709
+ | Should Be Equal | @{texts}[0] | more text | |
710
+ | Should Be Equal | @{texts}[1] | ${EMPTY} | |
711
+ """
712
+ return [self.get_element_text(elem, normalize_whitespace=normalize_whitespace)
713
+ for elem in self.get_elements(source, xpath)]
714
+
715
+ def element_text_should_be(self, source, expected, xpath='.',
716
+ normalize_whitespace=False, message=None):
717
+ """Verifies that the text of the specified element is ``expected``.
718
+
719
+ The element whose text is verified is specified using ``source`` and
720
+ ``xpath``. They have exactly the same semantics as with `Get Element`
721
+ keyword.
722
+
723
+ The text to verify is got from the specified element using the same
724
+ logic as with `Get Element Text`. This includes optional whitespace
725
+ normalization using the ``normalize_whitespace`` option.
726
+
727
+ The keyword passes if the text of the element is equal to the
728
+ ``expected`` value, and otherwise it fails. The default error message
729
+ can be overridden with the ``message`` argument. Use `Element Text
730
+ Should Match` to verify the text against a pattern instead of an exact
731
+ value.
732
+
733
+ Examples using ``${XML}`` structure from `Example`:
734
+ | Element Text Should Be | ${XML} | text | xpath=first |
735
+ | Element Text Should Be | ${XML} | ${EMPTY} | xpath=second/child |
736
+ | ${paragraph} = | Get Element | ${XML} | xpath=html/p |
737
+ | Element Text Should Be | ${paragraph} | Text with bold and italics. | normalize_whitespace=yes |
738
+ """
739
+ text = self.get_element_text(source, xpath, normalize_whitespace)
740
+ should_be_equal(text, expected, message, values=False)
741
+
742
+ def element_text_should_match(self, source, pattern, xpath='.',
743
+ normalize_whitespace=False, message=None):
744
+ """Verifies that the text of the specified element matches ``expected``.
745
+
746
+ This keyword works exactly like `Element Text Should Be` except that
747
+ the expected value can be given as a pattern that the text of the
748
+ element must match.
749
+
750
+ Pattern matching is similar as matching files in a shell, and it is
751
+ always case-sensitive. In the pattern, '*' matches anything and '?'
752
+ matches any single character.
753
+
754
+ Examples using ``${XML}`` structure from `Example`:
755
+ | Element Text Should Match | ${XML} | t??? | xpath=first |
756
+ | ${paragraph} = | Get Element | ${XML} | xpath=html/p |
757
+ | Element Text Should Match | ${paragraph} | Text with * and *. | normalize_whitespace=yes |
758
+ """
759
+ text = self.get_element_text(source, xpath, normalize_whitespace)
760
+ should_match(text, pattern, message, values=False)
761
+
762
+ def get_element_attribute(self, source, name, xpath='.', default=None):
763
+ """Returns the named attribute of the specified element.
764
+
765
+ The element whose attribute to return is specified using ``source`` and
766
+ ``xpath``. They have exactly the same semantics as with `Get Element`
767
+ keyword.
768
+
769
+ The value of the attribute ``name`` of the specified element is returned.
770
+ If the element does not have such element, the ``default`` value is
771
+ returned instead.
772
+
773
+ Examples using ``${XML}`` structure from `Example`:
774
+ | ${attribute} = | Get Element Attribute | ${XML} | id | xpath=first |
775
+ | Should Be Equal | ${attribute} | 1 | | |
776
+ | ${attribute} = | Get Element Attribute | ${XML} | xx | xpath=first | default=value |
777
+ | Should Be Equal | ${attribute} | value | | |
778
+
779
+ See also `Get Element Attributes`, `Element Attribute Should Be`,
780
+ `Element Attribute Should Match` and `Element Should Not Have Attribute`.
781
+ """
782
+ return self.get_element(source, xpath).get(name, default)
783
+
784
+ def get_element_attributes(self, source, xpath='.'):
785
+ """Returns all attributes of the specified element.
786
+
787
+ The element whose attributes to return is specified using ``source`` and
788
+ ``xpath``. They have exactly the same semantics as with `Get Element`
789
+ keyword.
790
+
791
+ Attributes are returned as a Python dictionary. It is a copy of the
792
+ original attributes so modifying it has no effect on the XML structure.
793
+
794
+ Examples using ``${XML}`` structure from `Example`:
795
+ | ${attributes} = | Get Element Attributes | ${XML} | first |
796
+ | Dictionary Should Contain Key | ${attributes} | id | |
797
+ | ${attributes} = | Get Element Attributes | ${XML} | third |
798
+ | Should Be Empty | ${attributes} | | |
799
+
800
+ Use `Get Element Attribute` to get the value of a single attribute.
801
+ """
802
+ return dict(self.get_element(source, xpath).attrib)
803
+
804
+ def element_attribute_should_be(self, source, name, expected, xpath='.',
805
+ message=None):
806
+ """Verifies that the specified attribute is ``expected``.
807
+
808
+ The element whose attribute is verified is specified using ``source``
809
+ and ``xpath``. They have exactly the same semantics as with
810
+ `Get Element` keyword.
811
+
812
+ The keyword passes if the attribute ``name`` of the element is equal to
813
+ the ``expected`` value, and otherwise it fails. The default error
814
+ message can be overridden with the ``message`` argument.
815
+
816
+ To test that the element does not have a certain attribute, Python
817
+ ``None`` (i.e. variable ``${NONE}``) can be used as the expected value.
818
+ A cleaner alternative is using `Element Should Not Have Attribute`.
819
+
820
+ Examples using ``${XML}`` structure from `Example`:
821
+ | Element Attribute Should Be | ${XML} | id | 1 | xpath=first |
822
+ | Element Attribute Should Be | ${XML} | id | ${NONE} | |
823
+
824
+ See also `Element Attribute Should Match` and `Get Element Attribute`.
825
+ """
826
+ attr = self.get_element_attribute(source, name, xpath)
827
+ should_be_equal(attr, expected, message, values=False)
828
+
829
+ def element_attribute_should_match(self, source, name, pattern, xpath='.',
830
+ message=None):
831
+ """Verifies that the specified attribute matches ``expected``.
832
+
833
+ This keyword works exactly like `Element Attribute Should Be` except
834
+ that the expected value can be given as a pattern that the attribute of
835
+ the element must match.
836
+
837
+ Pattern matching is similar as matching files in a shell, and it is
838
+ always case-sensitive. In the pattern, '*' matches anything and '?'
839
+ matches any single character.
840
+
841
+ Examples using ``${XML}`` structure from `Example`:
842
+ | Element Attribute Should Match | ${XML} | id | ? | xpath=first |
843
+ | Element Attribute Should Match | ${XML} | id | c*d | xpath=third/second |
844
+ """
845
+ attr = self.get_element_attribute(source, name, xpath)
846
+ if attr is None:
847
+ raise AssertionError("Attribute '%s' does not exist." % name)
848
+ should_match(attr, pattern, message, values=False)
849
+
850
+ def element_should_not_have_attribute(self, source, name, xpath='.', message=None):
851
+ """Verifies that the specified element does not have attribute ``name``.
852
+
853
+ The element whose attribute is verified is specified using ``source``
854
+ and ``xpath``. They have exactly the same semantics as with
855
+ `Get Element` keyword.
856
+
857
+ The keyword fails if the specified element has attribute ``name``. The
858
+ default error message can be overridden with the ``message`` argument.
859
+
860
+ Examples using ``${XML}`` structure from `Example`:
861
+ | Element Should Not Have Attribute | ${XML} | id |
862
+ | Element Should Not Have Attribute | ${XML} | xxx | xpath=first |
863
+
864
+ See also `Get Element Attribute`, `Get Element Attributes`,
865
+ `Element Text Should Be` and `Element Text Should Match`.
866
+ """
867
+ attr = self.get_element_attribute(source, name, xpath)
868
+ if attr is not None:
869
+ raise AssertionError(message or "Attribute '%s' exists and "
870
+ "has value '%s'." % (name, attr))
871
+
872
+ def elements_should_be_equal(self, source, expected, exclude_children=False,
873
+ normalize_whitespace=False):
874
+ """Verifies that the given ``source`` element is equal to ``expected``.
875
+
876
+ Both ``source`` and ``expected`` can be given as a path to an XML file,
877
+ as a string containing XML, or as an already parsed XML element
878
+ structure. See `introduction` for more information about parsing XML in
879
+ general.
880
+
881
+ The keyword passes if the ``source`` element and ``expected`` element
882
+ are equal. This includes testing the tag names, texts, and attributes
883
+ of the elements. By default also child elements are verified the same
884
+ way, but this can be disabled by setting ``exclude_children`` to a
885
+ true value (see `Boolean arguments`).
886
+
887
+ All texts inside the given elements are verified, but possible text
888
+ outside them is not. By default texts must match exactly, but setting
889
+ ``normalize_whitespace`` to a true value makes text verification
890
+ independent on newlines, tabs, and the amount of spaces. For more
891
+ details about handling text see `Get Element Text` keyword and
892
+ discussion about elements' `text` and `tail` attributes in the
893
+ `introduction`.
894
+
895
+ Examples using ``${XML}`` structure from `Example`:
896
+ | ${first} = | Get Element | ${XML} | first |
897
+ | Elements Should Be Equal | ${first} | <first id="1">text</first> |
898
+ | ${p} = | Get Element | ${XML} | html/p |
899
+ | Elements Should Be Equal | ${p} | <p>Text with <b>bold</b> and <i>italics</i>.</p> | normalize_whitespace=yes |
900
+ | Elements Should Be Equal | ${p} | <p>Text with</p> | exclude | normalize |
901
+
902
+ The last example may look a bit strange because the ``<p>`` element only
903
+ has text ``Text with``. The reason is that rest of the text inside
904
+ ``<p>`` actually belongs to the child elements.
905
+
906
+ See also `Elements Should Match`.
907
+ """
908
+ self._compare_elements(source, expected, should_be_equal,
909
+ exclude_children, normalize_whitespace)
910
+
911
+ def elements_should_match(self, source, expected, exclude_children=False,
912
+ normalize_whitespace=False):
913
+ """Verifies that the given ``source`` element matches ``expected``.
914
+
915
+ This keyword works exactly like `Elements Should Be Equal` except that
916
+ texts and attribute values in the expected value can be given as
917
+ patterns.
918
+
919
+ Pattern matching is similar as matching files in a shell, and it is
920
+ always case-sensitive. In the pattern, '*' matches anything and '?'
921
+ matches any single character.
922
+
923
+ Examples using ``${XML}`` structure from `Example`:
924
+ | ${first} = | Get Element | ${XML} | first |
925
+ | Elements Should Match | ${first} | <first id="?">*</first> |
926
+
927
+ See `Elements Should Be Equal` for more examples.
928
+ """
929
+ self._compare_elements(source, expected, should_match,
930
+ exclude_children, normalize_whitespace)
931
+
932
+ def _compare_elements(self, source, expected, comparator, exclude_children,
933
+ normalize_whitespace):
934
+ normalizer = self._normalize_whitespace \
935
+ if is_truthy(normalize_whitespace) else None
936
+ comparator = ElementComparator(comparator, normalizer, exclude_children)
937
+ comparator.compare(self.get_element(source), self.get_element(expected))
938
+
939
+ def set_element_tag(self, source, tag, xpath='.'):
940
+ """Sets the tag of the specified element.
941
+
942
+ The element whose tag to set is specified using ``source`` and
943
+ ``xpath``. They have exactly the same semantics as with `Get Element`
944
+ keyword. The resulting XML structure is returned, and if the ``source``
945
+ is an already parsed XML structure, it is also modified in place.
946
+
947
+ Examples using ``${XML}`` structure from `Example`:
948
+ | Set Element Tag | ${XML} | newTag |
949
+ | Should Be Equal | ${XML.tag} | newTag |
950
+ | Set Element Tag | ${XML} | xxx | xpath=second/child |
951
+ | Element Should Exist | ${XML} | second/xxx |
952
+ | Element Should Not Exist | ${XML} | second/child |
953
+
954
+ Can only set the tag of a single element. Use `Set Elements Tag` to set
955
+ the tag of multiple elements in one call.
956
+ """
957
+ source = self.get_element(source)
958
+ self.get_element(source, xpath).tag = tag
959
+ return source
960
+
961
+ def set_elements_tag(self, source, tag, xpath='.'):
962
+ """Sets the tag of the specified elements.
963
+
964
+ Like `Set Element Tag` but sets the tag of all elements matching
965
+ the given ``xpath``.
966
+
967
+ New in Robot Framework 2.8.6.
968
+ """
969
+ for elem in self.get_elements(source, xpath):
970
+ self.set_element_tag(elem, tag)
971
+
972
+ def set_element_text(self, source, text=None, tail=None, xpath='.'):
973
+ """Sets text and/or tail text of the specified element.
974
+
975
+ The element whose text to set is specified using ``source`` and
976
+ ``xpath``. They have exactly the same semantics as with `Get Element`
977
+ keyword. The resulting XML structure is returned, and if the ``source``
978
+ is an already parsed XML structure, it is also modified in place.
979
+
980
+ Element's text and tail text are changed only if new ``text`` and/or
981
+ ``tail`` values are given. See `Element attributes` section for more
982
+ information about `text` and `tail` in general.
983
+
984
+ Examples using ``${XML}`` structure from `Example`:
985
+ | Set Element Text | ${XML} | new text | xpath=first |
986
+ | Element Text Should Be | ${XML} | new text | xpath=first |
987
+ | Set Element Text | ${XML} | tail=& | xpath=html/p/b |
988
+ | Element Text Should Be | ${XML} | Text with bold&italics. | xpath=html/p | normalize_whitespace=yes |
989
+ | Set Element Text | ${XML} | slanted | !! | xpath=html/p/i |
990
+ | Element Text Should Be | ${XML} | Text with bold&slanted!! | xpath=html/p | normalize_whitespace=yes |
991
+
992
+ Can only set the text/tail of a single element. Use `Set Elements Text`
993
+ to set the text/tail of multiple elements in one call.
994
+ """
995
+ source = self.get_element(source)
996
+ element = self.get_element(source, xpath)
997
+ if text is not None:
998
+ element.text = text
999
+ if tail is not None:
1000
+ element.tail = tail
1001
+ return source
1002
+
1003
+ def set_elements_text(self, source, text=None, tail=None, xpath='.'):
1004
+ """Sets text and/or tail text of the specified elements.
1005
+
1006
+ Like `Set Element Text` but sets the text or tail of all elements
1007
+ matching the given ``xpath``.
1008
+
1009
+ New in Robot Framework 2.8.6.
1010
+ """
1011
+ for elem in self.get_elements(source, xpath):
1012
+ self.set_element_text(elem, text, tail)
1013
+
1014
+ def set_element_attribute(self, source, name, value, xpath='.'):
1015
+ """Sets attribute ``name`` of the specified element to ``value``.
1016
+
1017
+ The element whose attribute to set is specified using ``source`` and
1018
+ ``xpath``. They have exactly the same semantics as with `Get Element`
1019
+ keyword. The resulting XML structure is returned, and if the ``source``
1020
+ is an already parsed XML structure, it is also modified in place.
1021
+
1022
+ It is possible to both set new attributes and to overwrite existing.
1023
+ Use `Remove Element Attribute` or `Remove Element Attributes` for
1024
+ removing them.
1025
+
1026
+ Examples using ``${XML}`` structure from `Example`:
1027
+ | Set Element Attribute | ${XML} | attr | value |
1028
+ | Element Attribute Should Be | ${XML} | attr | value |
1029
+ | Set Element Attribute | ${XML} | id | new | xpath=first |
1030
+ | Element Attribute Should Be | ${XML} | id | new | xpath=first |
1031
+
1032
+ Can only set an attribute of a single element. Use `Set Elements
1033
+ Attribute` to set an attribute of multiple elements in one call.
1034
+ """
1035
+ if not name:
1036
+ raise RuntimeError('Attribute name can not be empty.')
1037
+ source = self.get_element(source)
1038
+ self.get_element(source, xpath).attrib[name] = value
1039
+ return source
1040
+
1041
+ def set_elements_attribute(self, source, name, value, xpath='.'):
1042
+ """Sets attribute ``name`` of the specified elements to ``value``.
1043
+
1044
+ Like `Set Element Attribute` but sets the attribute of all elements
1045
+ matching the given ``xpath``.
1046
+
1047
+ New in Robot Framework 2.8.6.
1048
+ """
1049
+ for elem in self.get_elements(source, xpath):
1050
+ self.set_element_attribute(elem, name, value)
1051
+
1052
+ def remove_element_attribute(self, source, name, xpath='.'):
1053
+ """Removes attribute ``name`` from the specified element.
1054
+
1055
+ The element whose attribute to remove is specified using ``source`` and
1056
+ ``xpath``. They have exactly the same semantics as with `Get Element`
1057
+ keyword. The resulting XML structure is returned, and if the ``source``
1058
+ is an already parsed XML structure, it is also modified in place.
1059
+
1060
+ It is not a failure to remove a non-existing attribute. Use `Remove
1061
+ Element Attributes` to remove all attributes and `Set Element Attribute`
1062
+ to set them.
1063
+
1064
+ Examples using ``${XML}`` structure from `Example`:
1065
+ | Remove Element Attribute | ${XML} | id | xpath=first |
1066
+ | Element Should Not Have Attribute | ${XML} | id | xpath=first |
1067
+
1068
+ Can only remove an attribute from a single element. Use `Remove Elements
1069
+ Attribute` to remove an attribute of multiple elements in one call.
1070
+ """
1071
+ source = self.get_element(source)
1072
+ attrib = self.get_element(source, xpath).attrib
1073
+ if name in attrib:
1074
+ attrib.pop(name)
1075
+ return source
1076
+
1077
+ def remove_elements_attribute(self, source, name, xpath='.'):
1078
+ """Removes attribute ``name`` from the specified elements.
1079
+
1080
+ Like `Remove Element Attribute` but removes the attribute of all
1081
+ elements matching the given ``xpath``.
1082
+
1083
+ New in Robot Framework 2.8.6.
1084
+ """
1085
+ for elem in self.get_elements(source, xpath):
1086
+ self.remove_element_attribute(elem, name)
1087
+
1088
+ def remove_element_attributes(self, source, xpath='.'):
1089
+ """Removes all attributes from the specified element.
1090
+
1091
+ The element whose attributes to remove is specified using ``source`` and
1092
+ ``xpath``. They have exactly the same semantics as with `Get Element`
1093
+ keyword. The resulting XML structure is returned, and if the ``source``
1094
+ is an already parsed XML structure, it is also modified in place.
1095
+
1096
+ Use `Remove Element Attribute` to remove a single attribute and
1097
+ `Set Element Attribute` to set them.
1098
+
1099
+ Examples using ``${XML}`` structure from `Example`:
1100
+ | Remove Element Attributes | ${XML} | xpath=first |
1101
+ | Element Should Not Have Attribute | ${XML} | id | xpath=first |
1102
+
1103
+ Can only remove attributes from a single element. Use `Remove Elements
1104
+ Attributes` to remove all attributes of multiple elements in one call.
1105
+ """
1106
+ source = self.get_element(source)
1107
+ self.get_element(source, xpath).attrib.clear()
1108
+ return source
1109
+
1110
+ def remove_elements_attributes(self, source, xpath='.'):
1111
+ """Removes all attributes from the specified elements.
1112
+
1113
+ Like `Remove Element Attributes` but removes all attributes of all
1114
+ elements matching the given ``xpath``.
1115
+
1116
+ New in Robot Framework 2.8.6.
1117
+ """
1118
+ for elem in self.get_elements(source, xpath):
1119
+ self.remove_element_attributes(elem)
1120
+
1121
+ def add_element(self, source, element, index=None, xpath='.'):
1122
+ """Adds a child element to the specified element.
1123
+
1124
+ The element to whom to add the new element is specified using ``source``
1125
+ and ``xpath``. They have exactly the same semantics as with `Get Element`
1126
+ keyword. The resulting XML structure is returned, and if the ``source``
1127
+ is an already parsed XML structure, it is also modified in place.
1128
+
1129
+ The ``element`` to add can be specified as a path to an XML file or
1130
+ as a string containing XML, or it can be an already parsed XML element.
1131
+ The element is copied before adding so modifying either the original
1132
+ or the added element has no effect on the other
1133
+ .
1134
+ The element is added as the last child by default, but a custom index
1135
+ can be used to alter the position. Indices start from zero (0 = first
1136
+ position, 1 = second position, etc.), and negative numbers refer to
1137
+ positions at the end (-1 = second last position, -2 = third last, etc.).
1138
+
1139
+ Examples using ``${XML}`` structure from `Example`:
1140
+ | Add Element | ${XML} | <new id="x"><c1/></new> |
1141
+ | Add Element | ${XML} | <c2/> | xpath=new |
1142
+ | Add Element | ${XML} | <c3/> | index=1 | xpath=new |
1143
+ | ${new} = | Get Element | ${XML} | new |
1144
+ | Elements Should Be Equal | ${new} | <new id="x"><c1/><c3/><c2/></new> |
1145
+
1146
+ Use `Remove Element` or `Remove Elements` to remove elements.
1147
+ """
1148
+ source = self.get_element(source)
1149
+ parent = self.get_element(source, xpath)
1150
+ element = self.copy_element(element)
1151
+ if index is None:
1152
+ parent.append(element)
1153
+ else:
1154
+ parent.insert(int(index), element)
1155
+ return source
1156
+
1157
+ def remove_element(self, source, xpath='', remove_tail=False):
1158
+ """Removes the element matching ``xpath`` from the ``source`` structure.
1159
+
1160
+ The element to remove from the ``source`` is specified with ``xpath``
1161
+ using the same semantics as with `Get Element` keyword. The resulting
1162
+ XML structure is returned, and if the ``source`` is an already parsed
1163
+ XML structure, it is also modified in place.
1164
+
1165
+ The keyword fails if ``xpath`` does not match exactly one element.
1166
+ Use `Remove Elements` to remove all matched elements.
1167
+
1168
+ Element's tail text is not removed by default, but that can be changed
1169
+ by giving ``remove_tail`` a true value (see `Boolean arguments`). See
1170
+ `Element attributes` section for more information about `tail` in
1171
+ general.
1172
+
1173
+ Examples using ``${XML}`` structure from `Example`:
1174
+ | Remove Element | ${XML} | xpath=second |
1175
+ | Element Should Not Exist | ${XML} | xpath=second |
1176
+ | Remove Element | ${XML} | xpath=html/p/b | remove_tail=yes |
1177
+ | Element Text Should Be | ${XML} | Text with italics. | xpath=html/p | normalize_whitespace=yes |
1178
+ """
1179
+ source = self.get_element(source)
1180
+ self._remove_element(source, self.get_element(source, xpath), remove_tail)
1181
+ return source
1182
+
1183
+ def remove_elements(self, source, xpath='', remove_tail=False):
1184
+ """Removes all elements matching ``xpath`` from the ``source`` structure.
1185
+
1186
+ The elements to remove from the ``source`` are specified with ``xpath``
1187
+ using the same semantics as with `Get Elements` keyword. The resulting
1188
+ XML structure is returned, and if the ``source`` is an already parsed
1189
+ XML structure, it is also modified in place.
1190
+
1191
+ It is not a failure if ``xpath`` matches no elements. Use `Remove
1192
+ Element` to remove exactly one element.
1193
+
1194
+ Element's tail text is not removed by default, but that can be changed
1195
+ by using ``remove_tail`` argument similarly as with `Remove Element`.
1196
+
1197
+ Examples using ``${XML}`` structure from `Example`:
1198
+ | Remove Elements | ${XML} | xpath=*/child |
1199
+ | Element Should Not Exist | ${XML} | xpath=second/child |
1200
+ | Element Should Not Exist | ${XML} | xpath=third/child |
1201
+ """
1202
+ source = self.get_element(source)
1203
+ for element in self.get_elements(source, xpath):
1204
+ self._remove_element(source, element, remove_tail)
1205
+ return source
1206
+
1207
+ def _remove_element(self, root, element, remove_tail=False):
1208
+ parent = self._find_parent(root, element)
1209
+ if not is_truthy(remove_tail):
1210
+ self._preserve_tail(element, parent)
1211
+ parent.remove(element)
1212
+
1213
+ def _find_parent(self, root, element):
1214
+ for parent in root.getiterator():
1215
+ for child in parent:
1216
+ if child is element:
1217
+ return parent
1218
+ raise RuntimeError('Cannot remove root element.')
1219
+
1220
+ def _preserve_tail(self, element, parent):
1221
+ if not element.tail:
1222
+ return
1223
+ index = list(parent).index(element)
1224
+ if index == 0:
1225
+ parent.text = (parent.text or '') + element.tail
1226
+ else:
1227
+ sibling = parent[index-1]
1228
+ sibling.tail = (sibling.tail or '') + element.tail
1229
+
1230
+ def clear_element(self, source, xpath='.', clear_tail=False):
1231
+ """Clears the contents of the specified element.
1232
+
1233
+ The element to clear is specified using ``source`` and ``xpath``. They
1234
+ have exactly the same semantics as with `Get Element` keyword.
1235
+ The resulting XML structure is returned, and if the ``source`` is
1236
+ an already parsed XML structure, it is also modified in place.
1237
+
1238
+ Clearing the element means removing its text, attributes, and children.
1239
+ Element's tail text is not removed by default, but that can be changed
1240
+ by giving ``clear_tail`` a true value (see `Boolean arguments`). See
1241
+ `Element attributes` section for more information about tail in
1242
+ general.
1243
+
1244
+ Examples using ``${XML}`` structure from `Example`:
1245
+ | Clear Element | ${XML} | xpath=first |
1246
+ | ${first} = | Get Element | ${XML} | xpath=first |
1247
+ | Elements Should Be Equal | ${first} | <first/> |
1248
+ | Clear Element | ${XML} | xpath=html/p/b | clear_tail=yes |
1249
+ | Element Text Should Be | ${XML} | Text with italics. | xpath=html/p | normalize_whitespace=yes |
1250
+ | Clear Element | ${XML} |
1251
+ | Elements Should Be Equal | ${XML} | <example/> |
1252
+
1253
+ Use `Remove Element` to remove the whole element.
1254
+ """
1255
+ source = self.get_element(source)
1256
+ element = self.get_element(source, xpath)
1257
+ tail = element.tail
1258
+ element.clear()
1259
+ if not is_truthy(clear_tail):
1260
+ element.tail = tail
1261
+ return source
1262
+
1263
+ def copy_element(self, source, xpath='.'):
1264
+ """Returns a copy of the specified element.
1265
+
1266
+ The element to copy is specified using ``source`` and ``xpath``. They
1267
+ have exactly the same semantics as with `Get Element` keyword.
1268
+
1269
+ If the copy or the original element is modified afterwards, the changes
1270
+ have no effect on the other.
1271
+
1272
+ Examples using ``${XML}`` structure from `Example`:
1273
+ | ${elem} = | Get Element | ${XML} | xpath=first |
1274
+ | ${copy1} = | Copy Element | ${elem} |
1275
+ | ${copy2} = | Copy Element | ${XML} | xpath=first |
1276
+ | Set Element Text | ${XML} | new text | xpath=first |
1277
+ | Set Element Attribute | ${copy1} | id | new |
1278
+ | Elements Should Be Equal | ${elem} | <first id="1">new text</first> |
1279
+ | Elements Should Be Equal | ${copy1} | <first id="new">text</first> |
1280
+ | Elements Should Be Equal | ${copy2} | <first id="1">text</first> |
1281
+ """
1282
+ return copy.deepcopy(self.get_element(source, xpath))
1283
+
1284
+ def element_to_string(self, source, xpath='.', encoding=None):
1285
+ """Returns the string representation of the specified element.
1286
+
1287
+ The element to convert to a string is specified using ``source`` and
1288
+ ``xpath``. They have exactly the same semantics as with `Get Element`
1289
+ keyword.
1290
+
1291
+ By default the string is returned as Unicode. If ``encoding`` argument
1292
+ is given any value, the string is returned as bytes in the specified
1293
+ encoding. The resulting string never contains the XML declaration.
1294
+
1295
+ See also `Log Element` and `Save XML`.
1296
+ """
1297
+ source = self.get_element(source, xpath)
1298
+ string = self.etree.tostring(source, encoding='UTF-8').decode('UTF-8')
1299
+ string = self._xml_declaration.sub('', string).strip()
1300
+ if encoding:
1301
+ string = string.encode(encoding)
1302
+ return string
1303
+
1304
+ def log_element(self, source, level='INFO', xpath='.'):
1305
+ """Logs the string representation of the specified element.
1306
+
1307
+ The element specified with ``source`` and ``xpath`` is first converted
1308
+ into a string using `Element To String` keyword internally. The
1309
+ resulting string is then logged using the given ``level``.
1310
+
1311
+ The logged string is also returned.
1312
+ """
1313
+ string = self.element_to_string(source, xpath)
1314
+ logger.write(string, level)
1315
+ return string
1316
+
1317
+ def save_xml(self, source, path, encoding='UTF-8'):
1318
+ """Saves the given element to the specified file.
1319
+
1320
+ The element to save is specified with ``source`` using the same
1321
+ semantics as with `Get Element` keyword.
1322
+
1323
+ The file where the element is saved is denoted with ``path`` and the
1324
+ encoding to use with ``encoding``. The resulting file always contains
1325
+ the XML declaration.
1326
+
1327
+ The resulting XML file may not be exactly the same as the original:
1328
+ - Comments and processing instructions are always stripped.
1329
+ - Possible doctype and namespace prefixes are only preserved when
1330
+ `using lxml`.
1331
+ - Other small differences are possible depending on the ElementTree
1332
+ or lxml version.
1333
+
1334
+ Use `Element To String` if you just need a string representation of
1335
+ the element.
1336
+ """
1337
+ path = os.path.abspath(path.replace('/', os.sep))
1338
+ elem = self.get_element(source)
1339
+ tree = self.etree.ElementTree(elem)
1340
+ config = {'encoding': encoding}
1341
+ if self.modern_etree:
1342
+ config['xml_declaration'] = True
1343
+ if self.lxml_etree:
1344
+ elem = self._ns_stripper.unstrip(elem)
1345
+ # https://bugs.launchpad.net/lxml/+bug/1660433
1346
+ if tree.docinfo.doctype:
1347
+ config['doctype'] = tree.docinfo.doctype
1348
+ tree = self.etree.ElementTree(elem)
1349
+ with open(path, 'wb') as output:
1350
+ if 'doctype' in config:
1351
+ output.write(self.etree.tostring(tree, **config))
1352
+ else:
1353
+ tree.write(output, **config)
1354
+ logger.info('XML saved to <a href="file://%s">%s</a>.' % (path, path),
1355
+ html=True)
1356
+
1357
+ def evaluate_xpath(self, source, expression, context='.'):
1358
+ """Evaluates the given xpath expression and returns results.
1359
+
1360
+ The element in which context the expression is executed is specified
1361
+ using ``source`` and ``context`` arguments. They have exactly the same
1362
+ semantics as ``source`` and ``xpath`` arguments have with `Get Element`
1363
+ keyword.
1364
+
1365
+ The xpath expression to evaluate is given as ``expression`` argument.
1366
+ The result of the evaluation is returned as-is.
1367
+
1368
+ Examples using ``${XML}`` structure from `Example`:
1369
+ | ${count} = | Evaluate Xpath | ${XML} | count(third/*) |
1370
+ | Should Be Equal | ${count} | ${3} |
1371
+ | ${text} = | Evaluate Xpath | ${XML} | string(descendant::second[last()]/@id) |
1372
+ | Should Be Equal | ${text} | child |
1373
+ | ${bold} = | Evaluate Xpath | ${XML} | boolean(preceding-sibling::*[1] = 'bold') | context=html/p/i |
1374
+ | Should Be Equal | ${bold} | ${True} |
1375
+
1376
+ This keyword works only if lxml mode is taken into use when `importing`
1377
+ the library. New in Robot Framework 2.8.5.
1378
+ """
1379
+ if not self.lxml_etree:
1380
+ raise RuntimeError("'Evaluate Xpath' keyword only works in lxml mode.")
1381
+ return self.get_element(source, context).xpath(expression)
1382
+
1383
+
1384
+ class NameSpaceStripper(object):
1385
+
1386
+ def __init__(self, etree, lxml_etree=False):
1387
+ self.etree = etree
1388
+ self.lxml_tree = lxml_etree
1389
+
1390
+ def strip(self, elem, preserve=True, current_ns=None, top=True):
1391
+ if elem.tag.startswith('{') and '}' in elem.tag:
1392
+ ns, elem.tag = elem.tag[1:].split('}', 1)
1393
+ if preserve and ns != current_ns:
1394
+ elem.attrib['xmlns'] = ns
1395
+ current_ns = ns
1396
+ elif current_ns:
1397
+ elem.attrib['xmlns'] = ''
1398
+ current_ns = None
1399
+ for child in elem:
1400
+ self.strip(child, preserve, current_ns, top=False)
1401
+ if top and not preserve and self.lxml_tree:
1402
+ self.etree.cleanup_namespaces(elem)
1403
+
1404
+ def unstrip(self, elem, current_ns=None, copied=False):
1405
+ if not copied:
1406
+ elem = copy.deepcopy(elem)
1407
+ ns = elem.attrib.pop('xmlns', current_ns)
1408
+ if ns:
1409
+ elem.tag = '{%s}%s' % (ns, elem.tag)
1410
+ for child in elem:
1411
+ self.unstrip(child, ns, copied=True)
1412
+ return elem
1413
+
1414
+
1415
+ class ElementFinder(object):
1416
+
1417
+ def __init__(self, etree, modern=True, lxml=False):
1418
+ self.etree = etree
1419
+ self.modern = modern
1420
+ self.lxml = lxml
1421
+
1422
+ def find_all(self, elem, xpath):
1423
+ xpath = self._get_xpath(xpath)
1424
+ if xpath == '.': # ET < 1.3 does not support '.' alone.
1425
+ return [elem]
1426
+ if not self.lxml:
1427
+ return elem.findall(xpath)
1428
+ finder = self.etree.ETXPath(xpath)
1429
+ return finder(elem)
1430
+
1431
+ def _get_xpath(self, xpath):
1432
+ if not xpath:
1433
+ raise RuntimeError('No xpath given.')
1434
+ if self.modern:
1435
+ return xpath
1436
+ try:
1437
+ return str(xpath)
1438
+ except UnicodeError:
1439
+ if not xpath.replace('/', '').isalnum():
1440
+ logger.warn('XPATHs containing non-ASCII characters and '
1441
+ 'other than tag names do not always work with '
1442
+ 'Python versions prior to 2.7. Verify results '
1443
+ 'manually and consider upgrading to 2.7.')
1444
+ return xpath
1445
+
1446
+
1447
+ class ElementComparator(object):
1448
+
1449
+ def __init__(self, comparator, normalizer=None, exclude_children=False):
1450
+ self._comparator = comparator
1451
+ self._normalizer = normalizer or (lambda text: text)
1452
+ self._exclude_children = is_truthy(exclude_children)
1453
+
1454
+ def compare(self, actual, expected, location=None):
1455
+ if not location:
1456
+ location = Location(actual.tag)
1457
+ self._compare_tags(actual, expected, location)
1458
+ self._compare_attributes(actual, expected, location)
1459
+ self._compare_texts(actual, expected, location)
1460
+ if location.is_not_root:
1461
+ self._compare_tails(actual, expected, location)
1462
+ if not self._exclude_children:
1463
+ self._compare_children(actual, expected, location)
1464
+
1465
+ def _compare_tags(self, actual, expected, location):
1466
+ self._compare(actual.tag, expected.tag, 'Different tag name', location,
1467
+ should_be_equal)
1468
+
1469
+ def _compare(self, actual, expected, message, location, comparator=None):
1470
+ if location.is_not_root:
1471
+ message = "%s at '%s'" % (message, location.path)
1472
+ if not comparator:
1473
+ comparator = self._comparator
1474
+ comparator(actual, expected, message)
1475
+
1476
+ def _compare_attributes(self, actual, expected, location):
1477
+ self._compare(sorted(actual.attrib), sorted(expected.attrib),
1478
+ 'Different attribute names', location, should_be_equal)
1479
+ for key in actual.attrib:
1480
+ self._compare(actual.attrib[key], expected.attrib[key],
1481
+ "Different value for attribute '%s'" % key, location)
1482
+
1483
+ def _compare_texts(self, actual, expected, location):
1484
+ self._compare(self._text(actual.text), self._text(expected.text),
1485
+ 'Different text', location)
1486
+
1487
+ def _text(self, text):
1488
+ return self._normalizer(text or '')
1489
+
1490
+ def _compare_tails(self, actual, expected, location):
1491
+ self._compare(self._text(actual.tail), self._text(expected.tail),
1492
+ 'Different tail text', location)
1493
+
1494
+ def _compare_children(self, actual, expected, location):
1495
+ self._compare(len(actual), len(expected), 'Different number of child elements',
1496
+ location, should_be_equal)
1497
+ for act, exp in zip(actual, expected):
1498
+ self.compare(act, exp, location.child(act.tag))
1499
+
1500
+
1501
+ class Location(object):
1502
+
1503
+ def __init__(self, path, is_root=True):
1504
+ self.path = path
1505
+ self.is_not_root = not is_root
1506
+ self._children = {}
1507
+
1508
+ def child(self, tag):
1509
+ if tag not in self._children:
1510
+ self._children[tag] = 1
1511
+ else:
1512
+ self._children[tag] += 1
1513
+ tag += '[%d]' % self._children[tag]
1514
+ return Location('%s/%s' % (self.path, tag), is_root=False)