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,52 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+ <html>
4
+ <head>
5
+ <title>Jasmine Test Runner</title>
6
+ <link rel="stylesheet" type="text/css" href="jasmine-1.0.2/jasmine.css">
7
+ <script type="text/javascript" src="jasmine-1.0.2/jasmine.js"></script>
8
+ <script type="text/javascript" src="jasmine-1.0.2/jasmine-html.js"></script>
9
+
10
+ <!-- reporters from external jasmine-reporters dependency -->
11
+ <script type="text/javascript" src="../../ext-lib/jasmine-reporters/src/jasmine.junit_reporter.js"></script>
12
+ <script type="text/javascript" src="../../ext-lib/jasmine-reporters/src/jasmine.console_reporter.js"></script>
13
+
14
+ <!-- include source files here... -->
15
+ <script type="text/javascript" src="../../src/robot/htmldata/lib/jsxcompressor.min.js"></script>
16
+ <script type="text/javascript" src="../../src/robot/htmldata/rebot/fileloading.js"></script>
17
+ <script type="text/javascript" src="../../src/robot/htmldata/rebot/model.js"></script>
18
+ <script type="text/javascript" src="../../src/robot/htmldata/rebot/testdata.js"></script>
19
+ <script type="text/javascript" src="../../src/robot/htmldata/rebot/util.js"></script>
20
+ <script type="text/javascript" src="../../src/robot/htmldata/rebot/log.js"></script>
21
+
22
+ <!-- include test data for specs here -->
23
+ <script type="text/javascript" src="spec/data/Suite.js"></script>
24
+ <script type="text/javascript" src="spec/data/SetupsAndTeardowns.js"></script>
25
+ <script type="text/javascript" src="spec/data/Messages.js"></script>
26
+ <script type="text/javascript" src="spec/data/TeardownFailure.js"></script>
27
+ <script type="text/javascript" src="spec/data/PassingFailing.js"></script>
28
+ <script type="text/javascript" src="spec/data/TestsAndKeywords.js"></script>
29
+ <script type="text/javascript" src="spec/data/allData.js"></script>
30
+ <script type="text/javascript" src="spec/data/splitting.js"></script>
31
+
32
+ <!-- include spec files here... -->
33
+ <script type="text/javascript" src="spec/ParsingSpec.js"></script>
34
+ <script type="text/javascript" src="spec/StatisticsSpec.js"></script>
35
+ <script type="text/javascript" src="spec/ContainsTag.js"></script>
36
+ <script type="text/javascript" src="spec/LogLevelSpec.js"></script>
37
+ <script type="text/javascript" src="spec/UtilSpec.js"></script>
38
+
39
+ </head>
40
+ <body>
41
+
42
+ <script type="text/javascript">
43
+ jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
44
+ if (jasmine.JUnitXmlReporter != undefined) {
45
+ jasmine.getEnv().addReporter(new jasmine.ConsoleReporter());
46
+ jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter('jasmine-results/'));
47
+ }
48
+ jasmine.getEnv().execute();
49
+ </script>
50
+
51
+ </body>
52
+ </html>
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2008-2010 Pivotal Labs
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,188 @@
1
+ jasmine.TrivialReporter = function(doc) {
2
+ this.document = doc || document;
3
+ this.suiteDivs = {};
4
+ this.logRunningSpecs = false;
5
+ };
6
+
7
+ jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarArgs) {
8
+ var el = document.createElement(type);
9
+
10
+ for (var i = 2; i < arguments.length; i++) {
11
+ var child = arguments[i];
12
+
13
+ if (typeof child === 'string') {
14
+ el.appendChild(document.createTextNode(child));
15
+ } else {
16
+ if (child) { el.appendChild(child); }
17
+ }
18
+ }
19
+
20
+ for (var attr in attrs) {
21
+ if (attr == "className") {
22
+ el[attr] = attrs[attr];
23
+ } else {
24
+ el.setAttribute(attr, attrs[attr]);
25
+ }
26
+ }
27
+
28
+ return el;
29
+ };
30
+
31
+ jasmine.TrivialReporter.prototype.reportRunnerStarting = function(runner) {
32
+ var showPassed, showSkipped;
33
+
34
+ this.outerDiv = this.createDom('div', { className: 'jasmine_reporter' },
35
+ this.createDom('div', { className: 'banner' },
36
+ this.createDom('div', { className: 'logo' },
37
+ this.createDom('a', { href: 'http://pivotal.github.com/jasmine/', target: "_blank" }, "Jasmine"),
38
+ this.createDom('span', { className: 'version' }, runner.env.versionString())),
39
+ this.createDom('div', { className: 'options' },
40
+ "Show ",
41
+ showPassed = this.createDom('input', { id: "__jasmine_TrivialReporter_showPassed__", type: 'checkbox' }),
42
+ this.createDom('label', { "for": "__jasmine_TrivialReporter_showPassed__" }, " passed "),
43
+ showSkipped = this.createDom('input', { id: "__jasmine_TrivialReporter_showSkipped__", type: 'checkbox' }),
44
+ this.createDom('label', { "for": "__jasmine_TrivialReporter_showSkipped__" }, " skipped")
45
+ )
46
+ ),
47
+
48
+ this.runnerDiv = this.createDom('div', { className: 'runner running' },
49
+ this.createDom('a', { className: 'run_spec', href: '?' }, "run all"),
50
+ this.runnerMessageSpan = this.createDom('span', {}, "Running..."),
51
+ this.finishedAtSpan = this.createDom('span', { className: 'finished-at' }, ""))
52
+ );
53
+
54
+ this.document.body.appendChild(this.outerDiv);
55
+
56
+ var suites = runner.suites();
57
+ for (var i = 0; i < suites.length; i++) {
58
+ var suite = suites[i];
59
+ var suiteDiv = this.createDom('div', { className: 'suite' },
60
+ this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, "run"),
61
+ this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, suite.description));
62
+ this.suiteDivs[suite.id] = suiteDiv;
63
+ var parentDiv = this.outerDiv;
64
+ if (suite.parentSuite) {
65
+ parentDiv = this.suiteDivs[suite.parentSuite.id];
66
+ }
67
+ parentDiv.appendChild(suiteDiv);
68
+ }
69
+
70
+ this.startedAt = new Date();
71
+
72
+ var self = this;
73
+ showPassed.onclick = function(evt) {
74
+ if (showPassed.checked) {
75
+ self.outerDiv.className += ' show-passed';
76
+ } else {
77
+ self.outerDiv.className = self.outerDiv.className.replace(/ show-passed/, '');
78
+ }
79
+ };
80
+
81
+ showSkipped.onclick = function(evt) {
82
+ if (showSkipped.checked) {
83
+ self.outerDiv.className += ' show-skipped';
84
+ } else {
85
+ self.outerDiv.className = self.outerDiv.className.replace(/ show-skipped/, '');
86
+ }
87
+ };
88
+ };
89
+
90
+ jasmine.TrivialReporter.prototype.reportRunnerResults = function(runner) {
91
+ var results = runner.results();
92
+ var className = (results.failedCount > 0) ? "runner failed" : "runner passed";
93
+ this.runnerDiv.setAttribute("class", className);
94
+ //do it twice for IE
95
+ this.runnerDiv.setAttribute("className", className);
96
+ var specs = runner.specs();
97
+ var specCount = 0;
98
+ for (var i = 0; i < specs.length; i++) {
99
+ if (this.specFilter(specs[i])) {
100
+ specCount++;
101
+ }
102
+ }
103
+ var message = "" + specCount + " spec" + (specCount == 1 ? "" : "s" ) + ", " + results.failedCount + " failure" + ((results.failedCount == 1) ? "" : "s");
104
+ message += " in " + ((new Date().getTime() - this.startedAt.getTime()) / 1000) + "s";
105
+ this.runnerMessageSpan.replaceChild(this.createDom('a', { className: 'description', href: '?'}, message), this.runnerMessageSpan.firstChild);
106
+
107
+ this.finishedAtSpan.appendChild(document.createTextNode("Finished at " + new Date().toString()));
108
+ };
109
+
110
+ jasmine.TrivialReporter.prototype.reportSuiteResults = function(suite) {
111
+ var results = suite.results();
112
+ var status = results.passed() ? 'passed' : 'failed';
113
+ if (results.totalCount == 0) { // todo: change this to check results.skipped
114
+ status = 'skipped';
115
+ }
116
+ this.suiteDivs[suite.id].className += " " + status;
117
+ };
118
+
119
+ jasmine.TrivialReporter.prototype.reportSpecStarting = function(spec) {
120
+ if (this.logRunningSpecs) {
121
+ this.log('>> Jasmine Running ' + spec.suite.description + ' ' + spec.description + '...');
122
+ }
123
+ };
124
+
125
+ jasmine.TrivialReporter.prototype.reportSpecResults = function(spec) {
126
+ var results = spec.results();
127
+ var status = results.passed() ? 'passed' : 'failed';
128
+ if (results.skipped) {
129
+ status = 'skipped';
130
+ }
131
+ var specDiv = this.createDom('div', { className: 'spec ' + status },
132
+ this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
133
+ this.createDom('a', {
134
+ className: 'description',
135
+ href: '?spec=' + encodeURIComponent(spec.getFullName()),
136
+ title: spec.getFullName()
137
+ }, spec.description));
138
+
139
+
140
+ var resultItems = results.getItems();
141
+ var messagesDiv = this.createDom('div', { className: 'messages' });
142
+ for (var i = 0; i < resultItems.length; i++) {
143
+ var result = resultItems[i];
144
+
145
+ if (result.type == 'log') {
146
+ messagesDiv.appendChild(this.createDom('div', {className: 'resultMessage log'}, result.toString()));
147
+ } else if (result.type == 'expect' && result.passed && !result.passed()) {
148
+ messagesDiv.appendChild(this.createDom('div', {className: 'resultMessage fail'}, result.message));
149
+
150
+ if (result.trace.stack) {
151
+ messagesDiv.appendChild(this.createDom('div', {className: 'stackTrace'}, result.trace.stack));
152
+ }
153
+ }
154
+ }
155
+
156
+ if (messagesDiv.childNodes.length > 0) {
157
+ specDiv.appendChild(messagesDiv);
158
+ }
159
+
160
+ this.suiteDivs[spec.suite.id].appendChild(specDiv);
161
+ };
162
+
163
+ jasmine.TrivialReporter.prototype.log = function() {
164
+ var console = jasmine.getGlobal().console;
165
+ if (console && console.log) {
166
+ if (console.log.apply) {
167
+ console.log.apply(console, arguments);
168
+ } else {
169
+ console.log(arguments); // ie fix: console.log.apply doesn't exist on ie
170
+ }
171
+ }
172
+ };
173
+
174
+ jasmine.TrivialReporter.prototype.getLocation = function() {
175
+ return this.document.location;
176
+ };
177
+
178
+ jasmine.TrivialReporter.prototype.specFilter = function(spec) {
179
+ var paramMap = {};
180
+ var params = this.getLocation().search.substring(1).split('&');
181
+ for (var i = 0; i < params.length; i++) {
182
+ var p = params[i].split('=');
183
+ paramMap[decodeURIComponent(p[0])] = decodeURIComponent(p[1]);
184
+ }
185
+
186
+ if (!paramMap["spec"]) return true;
187
+ return spec.getFullName().indexOf(paramMap["spec"]) == 0;
188
+ };
@@ -0,0 +1,166 @@
1
+ body {
2
+ font-family: "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif;
3
+ }
4
+
5
+
6
+ .jasmine_reporter a:visited, .jasmine_reporter a {
7
+ color: #303;
8
+ }
9
+
10
+ .jasmine_reporter a:hover, .jasmine_reporter a:active {
11
+ color: blue;
12
+ }
13
+
14
+ .run_spec {
15
+ float:right;
16
+ padding-right: 5px;
17
+ font-size: .8em;
18
+ text-decoration: none;
19
+ }
20
+
21
+ .jasmine_reporter {
22
+ margin: 0 5px;
23
+ }
24
+
25
+ .banner {
26
+ color: #303;
27
+ background-color: #fef;
28
+ padding: 5px;
29
+ }
30
+
31
+ .logo {
32
+ float: left;
33
+ font-size: 1.1em;
34
+ padding-left: 5px;
35
+ }
36
+
37
+ .logo .version {
38
+ font-size: .6em;
39
+ padding-left: 1em;
40
+ }
41
+
42
+ .runner.running {
43
+ background-color: yellow;
44
+ }
45
+
46
+
47
+ .options {
48
+ text-align: right;
49
+ font-size: .8em;
50
+ }
51
+
52
+
53
+
54
+
55
+ .suite {
56
+ border: 1px outset gray;
57
+ margin: 5px 0;
58
+ padding-left: 1em;
59
+ }
60
+
61
+ .suite .suite {
62
+ margin: 5px;
63
+ }
64
+
65
+ .suite.passed {
66
+ background-color: #dfd;
67
+ }
68
+
69
+ .suite.failed {
70
+ background-color: #fdd;
71
+ }
72
+
73
+ .spec {
74
+ margin: 5px;
75
+ padding-left: 1em;
76
+ clear: both;
77
+ }
78
+
79
+ .spec.failed, .spec.passed, .spec.skipped {
80
+ padding-bottom: 5px;
81
+ border: 1px solid gray;
82
+ }
83
+
84
+ .spec.failed {
85
+ background-color: #fbb;
86
+ border-color: red;
87
+ }
88
+
89
+ .spec.passed {
90
+ background-color: #bfb;
91
+ border-color: green;
92
+ }
93
+
94
+ .spec.skipped {
95
+ background-color: #bbb;
96
+ }
97
+
98
+ .messages {
99
+ border-left: 1px dashed gray;
100
+ padding-left: 1em;
101
+ padding-right: 1em;
102
+ }
103
+
104
+ .passed {
105
+ background-color: #cfc;
106
+ display: none;
107
+ }
108
+
109
+ .failed {
110
+ background-color: #fbb;
111
+ }
112
+
113
+ .skipped {
114
+ color: #777;
115
+ background-color: #eee;
116
+ display: none;
117
+ }
118
+
119
+
120
+ /*.resultMessage {*/
121
+ /*white-space: pre;*/
122
+ /*}*/
123
+
124
+ .resultMessage span.result {
125
+ display: block;
126
+ line-height: 2em;
127
+ color: black;
128
+ }
129
+
130
+ .resultMessage .mismatch {
131
+ color: black;
132
+ }
133
+
134
+ .stackTrace {
135
+ white-space: pre;
136
+ font-size: .8em;
137
+ margin-left: 10px;
138
+ max-height: 5em;
139
+ overflow: auto;
140
+ border: 1px inset red;
141
+ padding: 1em;
142
+ background: #eef;
143
+ }
144
+
145
+ .finished-at {
146
+ padding-left: 1em;
147
+ font-size: .6em;
148
+ }
149
+
150
+ .show-passed .passed,
151
+ .show-skipped .skipped {
152
+ display: block;
153
+ }
154
+
155
+
156
+ #jasmine_content {
157
+ position:fixed;
158
+ right: 100%;
159
+ }
160
+
161
+ .runner {
162
+ border: 1px solid gray;
163
+ display: block;
164
+ margin: 5px 0;
165
+ padding: 2px 0 2px 10px;
166
+ }
@@ -0,0 +1,2421 @@
1
+ /**
2
+ * Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
3
+ *
4
+ * @namespace
5
+ */
6
+ var jasmine = {};
7
+
8
+ /**
9
+ * @private
10
+ */
11
+ jasmine.unimplementedMethod_ = function() {
12
+ throw new Error("unimplemented method");
13
+ };
14
+
15
+ /**
16
+ * Use <code>jasmine.undefined</code> instead of <code>undefined</code>, since <code>undefined</code> is just
17
+ * a plain old variable and may be redefined by somebody else.
18
+ *
19
+ * @private
20
+ */
21
+ jasmine.undefined = jasmine.___undefined___;
22
+
23
+ /**
24
+ * Default interval in milliseconds for event loop yields (e.g. to allow network activity or to refresh the screen with the HTML-based runner). Small values here may result in slow test running. Zero means no updates until all tests have completed.
25
+ *
26
+ */
27
+ jasmine.DEFAULT_UPDATE_INTERVAL = 250;
28
+
29
+ /**
30
+ * Default timeout interval in milliseconds for waitsFor() blocks.
31
+ */
32
+ jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
33
+
34
+ jasmine.getGlobal = function() {
35
+ function getGlobal() {
36
+ return this;
37
+ }
38
+
39
+ return getGlobal();
40
+ };
41
+
42
+ /**
43
+ * Allows for bound functions to be compared. Internal use only.
44
+ *
45
+ * @ignore
46
+ * @private
47
+ * @param base {Object} bound 'this' for the function
48
+ * @param name {Function} function to find
49
+ */
50
+ jasmine.bindOriginal_ = function(base, name) {
51
+ var original = base[name];
52
+ if (original.apply) {
53
+ return function() {
54
+ return original.apply(base, arguments);
55
+ };
56
+ } else {
57
+ // IE support
58
+ return jasmine.getGlobal()[name];
59
+ }
60
+ };
61
+
62
+ jasmine.setTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'setTimeout');
63
+ jasmine.clearTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearTimeout');
64
+ jasmine.setInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'setInterval');
65
+ jasmine.clearInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearInterval');
66
+
67
+ jasmine.MessageResult = function(values) {
68
+ this.type = 'log';
69
+ this.values = values;
70
+ this.trace = new Error(); // todo: test better
71
+ };
72
+
73
+ jasmine.MessageResult.prototype.toString = function() {
74
+ var text = "";
75
+ for(var i = 0; i < this.values.length; i++) {
76
+ if (i > 0) text += " ";
77
+ if (jasmine.isString_(this.values[i])) {
78
+ text += this.values[i];
79
+ } else {
80
+ text += jasmine.pp(this.values[i]);
81
+ }
82
+ }
83
+ return text;
84
+ };
85
+
86
+ jasmine.ExpectationResult = function(params) {
87
+ this.type = 'expect';
88
+ this.matcherName = params.matcherName;
89
+ this.passed_ = params.passed;
90
+ this.expected = params.expected;
91
+ this.actual = params.actual;
92
+
93
+ this.message = this.passed_ ? 'Passed.' : params.message;
94
+ this.trace = this.passed_ ? '' : new Error(this.message);
95
+ };
96
+
97
+ jasmine.ExpectationResult.prototype.toString = function () {
98
+ return this.message;
99
+ };
100
+
101
+ jasmine.ExpectationResult.prototype.passed = function () {
102
+ return this.passed_;
103
+ };
104
+
105
+ /**
106
+ * Getter for the Jasmine environment. Ensures one gets created
107
+ */
108
+ jasmine.getEnv = function() {
109
+ return jasmine.currentEnv_ = jasmine.currentEnv_ || new jasmine.Env();
110
+ };
111
+
112
+ /**
113
+ * @ignore
114
+ * @private
115
+ * @param value
116
+ * @returns {Boolean}
117
+ */
118
+ jasmine.isArray_ = function(value) {
119
+ return jasmine.isA_("Array", value);
120
+ };
121
+
122
+ /**
123
+ * @ignore
124
+ * @private
125
+ * @param value
126
+ * @returns {Boolean}
127
+ */
128
+ jasmine.isString_ = function(value) {
129
+ return jasmine.isA_("String", value);
130
+ };
131
+
132
+ /**
133
+ * @ignore
134
+ * @private
135
+ * @param value
136
+ * @returns {Boolean}
137
+ */
138
+ jasmine.isNumber_ = function(value) {
139
+ return jasmine.isA_("Number", value);
140
+ };
141
+
142
+ /**
143
+ * @ignore
144
+ * @private
145
+ * @param {String} typeName
146
+ * @param value
147
+ * @returns {Boolean}
148
+ */
149
+ jasmine.isA_ = function(typeName, value) {
150
+ return Object.prototype.toString.apply(value) === '[object ' + typeName + ']';
151
+ };
152
+
153
+ /**
154
+ * Pretty printer for expecations. Takes any object and turns it into a human-readable string.
155
+ *
156
+ * @param value {Object} an object to be outputted
157
+ * @returns {String}
158
+ */
159
+ jasmine.pp = function(value) {
160
+ var stringPrettyPrinter = new jasmine.StringPrettyPrinter();
161
+ stringPrettyPrinter.format(value);
162
+ return stringPrettyPrinter.string;
163
+ };
164
+
165
+ /**
166
+ * Returns true if the object is a DOM Node.
167
+ *
168
+ * @param {Object} obj object to check
169
+ * @returns {Boolean}
170
+ */
171
+ jasmine.isDomNode = function(obj) {
172
+ return obj['nodeType'] > 0;
173
+ };
174
+
175
+ /**
176
+ * Returns a matchable 'generic' object of the class type. For use in expecations of type when values don't matter.
177
+ *
178
+ * @example
179
+ * // don't care about which function is passed in, as long as it's a function
180
+ * expect(mySpy).toHaveBeenCalledWith(jasmine.any(Function));
181
+ *
182
+ * @param {Class} clazz
183
+ * @returns matchable object of the type clazz
184
+ */
185
+ jasmine.any = function(clazz) {
186
+ return new jasmine.Matchers.Any(clazz);
187
+ };
188
+
189
+ /**
190
+ * Jasmine Spies are test doubles that can act as stubs, spies, fakes or when used in an expecation, mocks.
191
+ *
192
+ * Spies should be created in test setup, before expectations. They can then be checked, using the standard Jasmine
193
+ * expectation syntax. Spies can be checked if they were called or not and what the calling params were.
194
+ *
195
+ * A Spy has the following fields: wasCalled, callCount, mostRecentCall, and argsForCall (see docs).
196
+ *
197
+ * Spies are torn down at the end of every spec.
198
+ *
199
+ * Note: Do <b>not</b> call new jasmine.Spy() directly - a spy must be created using spyOn, jasmine.createSpy or jasmine.createSpyObj.
200
+ *
201
+ * @example
202
+ * // a stub
203
+ * var myStub = jasmine.createSpy('myStub'); // can be used anywhere
204
+ *
205
+ * // spy example
206
+ * var foo = {
207
+ * not: function(bool) { return !bool; }
208
+ * }
209
+ *
210
+ * // actual foo.not will not be called, execution stops
211
+ * spyOn(foo, 'not');
212
+
213
+ // foo.not spied upon, execution will continue to implementation
214
+ * spyOn(foo, 'not').andCallThrough();
215
+ *
216
+ * // fake example
217
+ * var foo = {
218
+ * not: function(bool) { return !bool; }
219
+ * }
220
+ *
221
+ * // foo.not(val) will return val
222
+ * spyOn(foo, 'not').andCallFake(function(value) {return value;});
223
+ *
224
+ * // mock example
225
+ * foo.not(7 == 7);
226
+ * expect(foo.not).toHaveBeenCalled();
227
+ * expect(foo.not).toHaveBeenCalledWith(true);
228
+ *
229
+ * @constructor
230
+ * @see spyOn, jasmine.createSpy, jasmine.createSpyObj
231
+ * @param {String} name
232
+ */
233
+ jasmine.Spy = function(name) {
234
+ /**
235
+ * The name of the spy, if provided.
236
+ */
237
+ this.identity = name || 'unknown';
238
+ /**
239
+ * Is this Object a spy?
240
+ */
241
+ this.isSpy = true;
242
+ /**
243
+ * The actual function this spy stubs.
244
+ */
245
+ this.plan = function() {
246
+ };
247
+ /**
248
+ * Tracking of the most recent call to the spy.
249
+ * @example
250
+ * var mySpy = jasmine.createSpy('foo');
251
+ * mySpy(1, 2);
252
+ * mySpy.mostRecentCall.args = [1, 2];
253
+ */
254
+ this.mostRecentCall = {};
255
+
256
+ /**
257
+ * Holds arguments for each call to the spy, indexed by call count
258
+ * @example
259
+ * var mySpy = jasmine.createSpy('foo');
260
+ * mySpy(1, 2);
261
+ * mySpy(7, 8);
262
+ * mySpy.mostRecentCall.args = [7, 8];
263
+ * mySpy.argsForCall[0] = [1, 2];
264
+ * mySpy.argsForCall[1] = [7, 8];
265
+ */
266
+ this.argsForCall = [];
267
+ this.calls = [];
268
+ };
269
+
270
+ /**
271
+ * Tells a spy to call through to the actual implemenatation.
272
+ *
273
+ * @example
274
+ * var foo = {
275
+ * bar: function() { // do some stuff }
276
+ * }
277
+ *
278
+ * // defining a spy on an existing property: foo.bar
279
+ * spyOn(foo, 'bar').andCallThrough();
280
+ */
281
+ jasmine.Spy.prototype.andCallThrough = function() {
282
+ this.plan = this.originalValue;
283
+ return this;
284
+ };
285
+
286
+ /**
287
+ * For setting the return value of a spy.
288
+ *
289
+ * @example
290
+ * // defining a spy from scratch: foo() returns 'baz'
291
+ * var foo = jasmine.createSpy('spy on foo').andReturn('baz');
292
+ *
293
+ * // defining a spy on an existing property: foo.bar() returns 'baz'
294
+ * spyOn(foo, 'bar').andReturn('baz');
295
+ *
296
+ * @param {Object} value
297
+ */
298
+ jasmine.Spy.prototype.andReturn = function(value) {
299
+ this.plan = function() {
300
+ return value;
301
+ };
302
+ return this;
303
+ };
304
+
305
+ /**
306
+ * For throwing an exception when a spy is called.
307
+ *
308
+ * @example
309
+ * // defining a spy from scratch: foo() throws an exception w/ message 'ouch'
310
+ * var foo = jasmine.createSpy('spy on foo').andThrow('baz');
311
+ *
312
+ * // defining a spy on an existing property: foo.bar() throws an exception w/ message 'ouch'
313
+ * spyOn(foo, 'bar').andThrow('baz');
314
+ *
315
+ * @param {String} exceptionMsg
316
+ */
317
+ jasmine.Spy.prototype.andThrow = function(exceptionMsg) {
318
+ this.plan = function() {
319
+ throw exceptionMsg;
320
+ };
321
+ return this;
322
+ };
323
+
324
+ /**
325
+ * Calls an alternate implementation when a spy is called.
326
+ *
327
+ * @example
328
+ * var baz = function() {
329
+ * // do some stuff, return something
330
+ * }
331
+ * // defining a spy from scratch: foo() calls the function baz
332
+ * var foo = jasmine.createSpy('spy on foo').andCall(baz);
333
+ *
334
+ * // defining a spy on an existing property: foo.bar() calls an anonymnous function
335
+ * spyOn(foo, 'bar').andCall(function() { return 'baz';} );
336
+ *
337
+ * @param {Function} fakeFunc
338
+ */
339
+ jasmine.Spy.prototype.andCallFake = function(fakeFunc) {
340
+ this.plan = fakeFunc;
341
+ return this;
342
+ };
343
+
344
+ /**
345
+ * Resets all of a spy's the tracking variables so that it can be used again.
346
+ *
347
+ * @example
348
+ * spyOn(foo, 'bar');
349
+ *
350
+ * foo.bar();
351
+ *
352
+ * expect(foo.bar.callCount).toEqual(1);
353
+ *
354
+ * foo.bar.reset();
355
+ *
356
+ * expect(foo.bar.callCount).toEqual(0);
357
+ */
358
+ jasmine.Spy.prototype.reset = function() {
359
+ this.wasCalled = false;
360
+ this.callCount = 0;
361
+ this.argsForCall = [];
362
+ this.calls = [];
363
+ this.mostRecentCall = {};
364
+ };
365
+
366
+ jasmine.createSpy = function(name) {
367
+
368
+ var spyObj = function() {
369
+ spyObj.wasCalled = true;
370
+ spyObj.callCount++;
371
+ var args = jasmine.util.argsToArray(arguments);
372
+ spyObj.mostRecentCall.object = this;
373
+ spyObj.mostRecentCall.args = args;
374
+ spyObj.argsForCall.push(args);
375
+ spyObj.calls.push({object: this, args: args});
376
+ return spyObj.plan.apply(this, arguments);
377
+ };
378
+
379
+ var spy = new jasmine.Spy(name);
380
+
381
+ for (var prop in spy) {
382
+ spyObj[prop] = spy[prop];
383
+ }
384
+
385
+ spyObj.reset();
386
+
387
+ return spyObj;
388
+ };
389
+
390
+ /**
391
+ * Determines whether an object is a spy.
392
+ *
393
+ * @param {jasmine.Spy|Object} putativeSpy
394
+ * @returns {Boolean}
395
+ */
396
+ jasmine.isSpy = function(putativeSpy) {
397
+ return putativeSpy && putativeSpy.isSpy;
398
+ };
399
+
400
+ /**
401
+ * Creates a more complicated spy: an Object that has every property a function that is a spy. Used for stubbing something
402
+ * large in one call.
403
+ *
404
+ * @param {String} baseName name of spy class
405
+ * @param {Array} methodNames array of names of methods to make spies
406
+ */
407
+ jasmine.createSpyObj = function(baseName, methodNames) {
408
+ if (!jasmine.isArray_(methodNames) || methodNames.length == 0) {
409
+ throw new Error('createSpyObj requires a non-empty array of method names to create spies for');
410
+ }
411
+ var obj = {};
412
+ for (var i = 0; i < methodNames.length; i++) {
413
+ obj[methodNames[i]] = jasmine.createSpy(baseName + '.' + methodNames[i]);
414
+ }
415
+ return obj;
416
+ };
417
+
418
+ /**
419
+ * All parameters are pretty-printed and concatenated together, then written to the current spec's output.
420
+ *
421
+ * Be careful not to leave calls to <code>jasmine.log</code> in production code.
422
+ */
423
+ jasmine.log = function() {
424
+ var spec = jasmine.getEnv().currentSpec;
425
+ spec.log.apply(spec, arguments);
426
+ };
427
+
428
+ /**
429
+ * Function that installs a spy on an existing object's method name. Used within a Spec to create a spy.
430
+ *
431
+ * @example
432
+ * // spy example
433
+ * var foo = {
434
+ * not: function(bool) { return !bool; }
435
+ * }
436
+ * spyOn(foo, 'not'); // actual foo.not will not be called, execution stops
437
+ *
438
+ * @see jasmine.createSpy
439
+ * @param obj
440
+ * @param methodName
441
+ * @returns a Jasmine spy that can be chained with all spy methods
442
+ */
443
+ var spyOn = function(obj, methodName) {
444
+ return jasmine.getEnv().currentSpec.spyOn(obj, methodName);
445
+ };
446
+
447
+ /**
448
+ * Creates a Jasmine spec that will be added to the current suite.
449
+ *
450
+ * // TODO: pending tests
451
+ *
452
+ * @example
453
+ * it('should be true', function() {
454
+ * expect(true).toEqual(true);
455
+ * });
456
+ *
457
+ * @param {String} desc description of this specification
458
+ * @param {Function} func defines the preconditions and expectations of the spec
459
+ */
460
+ var it = function(desc, func) {
461
+ return jasmine.getEnv().it(desc, func);
462
+ };
463
+
464
+ /**
465
+ * Creates a <em>disabled</em> Jasmine spec.
466
+ *
467
+ * A convenience method that allows existing specs to be disabled temporarily during development.
468
+ *
469
+ * @param {String} desc description of this specification
470
+ * @param {Function} func defines the preconditions and expectations of the spec
471
+ */
472
+ var xit = function(desc, func) {
473
+ return jasmine.getEnv().xit(desc, func);
474
+ };
475
+
476
+ /**
477
+ * Starts a chain for a Jasmine expectation.
478
+ *
479
+ * It is passed an Object that is the actual value and should chain to one of the many
480
+ * jasmine.Matchers functions.
481
+ *
482
+ * @param {Object} actual Actual value to test against and expected value
483
+ */
484
+ var expect = function(actual) {
485
+ return jasmine.getEnv().currentSpec.expect(actual);
486
+ };
487
+
488
+ /**
489
+ * Defines part of a jasmine spec. Used in cominbination with waits or waitsFor in asynchrnous specs.
490
+ *
491
+ * @param {Function} func Function that defines part of a jasmine spec.
492
+ */
493
+ var runs = function(func) {
494
+ jasmine.getEnv().currentSpec.runs(func);
495
+ };
496
+
497
+ /**
498
+ * Waits a fixed time period before moving to the next block.
499
+ *
500
+ * @deprecated Use waitsFor() instead
501
+ * @param {Number} timeout milliseconds to wait
502
+ */
503
+ var waits = function(timeout) {
504
+ jasmine.getEnv().currentSpec.waits(timeout);
505
+ };
506
+
507
+ /**
508
+ * Waits for the latchFunction to return true before proceeding to the next block.
509
+ *
510
+ * @param {Function} latchFunction
511
+ * @param {String} optional_timeoutMessage
512
+ * @param {Number} optional_timeout
513
+ */
514
+ var waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
515
+ jasmine.getEnv().currentSpec.waitsFor.apply(jasmine.getEnv().currentSpec, arguments);
516
+ };
517
+
518
+ /**
519
+ * A function that is called before each spec in a suite.
520
+ *
521
+ * Used for spec setup, including validating assumptions.
522
+ *
523
+ * @param {Function} beforeEachFunction
524
+ */
525
+ var beforeEach = function(beforeEachFunction) {
526
+ jasmine.getEnv().beforeEach(beforeEachFunction);
527
+ };
528
+
529
+ /**
530
+ * A function that is called after each spec in a suite.
531
+ *
532
+ * Used for restoring any state that is hijacked during spec execution.
533
+ *
534
+ * @param {Function} afterEachFunction
535
+ */
536
+ var afterEach = function(afterEachFunction) {
537
+ jasmine.getEnv().afterEach(afterEachFunction);
538
+ };
539
+
540
+ /**
541
+ * Defines a suite of specifications.
542
+ *
543
+ * Stores the description and all defined specs in the Jasmine environment as one suite of specs. Variables declared
544
+ * are accessible by calls to beforeEach, it, and afterEach. Describe blocks can be nested, allowing for specialization
545
+ * of setup in some tests.
546
+ *
547
+ * @example
548
+ * // TODO: a simple suite
549
+ *
550
+ * // TODO: a simple suite with a nested describe block
551
+ *
552
+ * @param {String} description A string, usually the class under test.
553
+ * @param {Function} specDefinitions function that defines several specs.
554
+ */
555
+ var describe = function(description, specDefinitions) {
556
+ return jasmine.getEnv().describe(description, specDefinitions);
557
+ };
558
+
559
+ /**
560
+ * Disables a suite of specifications. Used to disable some suites in a file, or files, temporarily during development.
561
+ *
562
+ * @param {String} description A string, usually the class under test.
563
+ * @param {Function} specDefinitions function that defines several specs.
564
+ */
565
+ var xdescribe = function(description, specDefinitions) {
566
+ return jasmine.getEnv().xdescribe(description, specDefinitions);
567
+ };
568
+
569
+
570
+ // Provide the XMLHttpRequest class for IE 5.x-6.x:
571
+ jasmine.XmlHttpRequest = (typeof XMLHttpRequest == "undefined") ? function() {
572
+ try {
573
+ return new ActiveXObject("Msxml2.XMLHTTP.6.0");
574
+ } catch(e) {
575
+ }
576
+ try {
577
+ return new ActiveXObject("Msxml2.XMLHTTP.3.0");
578
+ } catch(e) {
579
+ }
580
+ try {
581
+ return new ActiveXObject("Msxml2.XMLHTTP");
582
+ } catch(e) {
583
+ }
584
+ try {
585
+ return new ActiveXObject("Microsoft.XMLHTTP");
586
+ } catch(e) {
587
+ }
588
+ throw new Error("This browser does not support XMLHttpRequest.");
589
+ } : XMLHttpRequest;
590
+ /**
591
+ * @namespace
592
+ */
593
+ jasmine.util = {};
594
+
595
+ /**
596
+ * Declare that a child class inherit it's prototype from the parent class.
597
+ *
598
+ * @private
599
+ * @param {Function} childClass
600
+ * @param {Function} parentClass
601
+ */
602
+ jasmine.util.inherit = function(childClass, parentClass) {
603
+ /**
604
+ * @private
605
+ */
606
+ var subclass = function() {
607
+ };
608
+ subclass.prototype = parentClass.prototype;
609
+ childClass.prototype = new subclass;
610
+ };
611
+
612
+ jasmine.util.formatException = function(e) {
613
+ var lineNumber;
614
+ if (e.line) {
615
+ lineNumber = e.line;
616
+ }
617
+ else if (e.lineNumber) {
618
+ lineNumber = e.lineNumber;
619
+ }
620
+
621
+ var file;
622
+
623
+ if (e.sourceURL) {
624
+ file = e.sourceURL;
625
+ }
626
+ else if (e.fileName) {
627
+ file = e.fileName;
628
+ }
629
+
630
+ var message = (e.name && e.message) ? (e.name + ': ' + e.message) : e.toString();
631
+
632
+ if (file && lineNumber) {
633
+ message += ' in ' + file + ' (line ' + lineNumber + ')';
634
+ }
635
+
636
+ return message;
637
+ };
638
+
639
+ jasmine.util.htmlEscape = function(str) {
640
+ if (!str) return str;
641
+ return str.replace(/&/g, '&amp;')
642
+ .replace(/</g, '&lt;')
643
+ .replace(/>/g, '&gt;');
644
+ };
645
+
646
+ jasmine.util.argsToArray = function(args) {
647
+ var arrayOfArgs = [];
648
+ for (var i = 0; i < args.length; i++) arrayOfArgs.push(args[i]);
649
+ return arrayOfArgs;
650
+ };
651
+
652
+ jasmine.util.extend = function(destination, source) {
653
+ for (var property in source) destination[property] = source[property];
654
+ return destination;
655
+ };
656
+
657
+ /**
658
+ * Environment for Jasmine
659
+ *
660
+ * @constructor
661
+ */
662
+ jasmine.Env = function() {
663
+ this.currentSpec = null;
664
+ this.currentSuite = null;
665
+ this.currentRunner_ = new jasmine.Runner(this);
666
+
667
+ this.reporter = new jasmine.MultiReporter();
668
+
669
+ this.updateInterval = jasmine.DEFAULT_UPDATE_INTERVAL;
670
+ this.defaultTimeoutInterval = jasmine.DEFAULT_TIMEOUT_INTERVAL;
671
+ this.lastUpdate = 0;
672
+ this.specFilter = function() {
673
+ return true;
674
+ };
675
+
676
+ this.nextSpecId_ = 0;
677
+ this.nextSuiteId_ = 0;
678
+ this.equalityTesters_ = [];
679
+
680
+ // wrap matchers
681
+ this.matchersClass = function() {
682
+ jasmine.Matchers.apply(this, arguments);
683
+ };
684
+ jasmine.util.inherit(this.matchersClass, jasmine.Matchers);
685
+
686
+ jasmine.Matchers.wrapInto_(jasmine.Matchers.prototype, this.matchersClass);
687
+ };
688
+
689
+
690
+ jasmine.Env.prototype.setTimeout = jasmine.setTimeout;
691
+ jasmine.Env.prototype.clearTimeout = jasmine.clearTimeout;
692
+ jasmine.Env.prototype.setInterval = jasmine.setInterval;
693
+ jasmine.Env.prototype.clearInterval = jasmine.clearInterval;
694
+
695
+ /**
696
+ * @returns an object containing jasmine version build info, if set.
697
+ */
698
+ jasmine.Env.prototype.version = function () {
699
+ if (jasmine.version_) {
700
+ return jasmine.version_;
701
+ } else {
702
+ throw new Error('Version not set');
703
+ }
704
+ };
705
+
706
+ /**
707
+ * @returns string containing jasmine version build info, if set.
708
+ */
709
+ jasmine.Env.prototype.versionString = function() {
710
+ if (jasmine.version_) {
711
+ var version = this.version();
712
+ return version.major + "." + version.minor + "." + version.build + " revision " + version.revision;
713
+ } else {
714
+ return "version unknown";
715
+ }
716
+ };
717
+
718
+ /**
719
+ * @returns a sequential integer starting at 0
720
+ */
721
+ jasmine.Env.prototype.nextSpecId = function () {
722
+ return this.nextSpecId_++;
723
+ };
724
+
725
+ /**
726
+ * @returns a sequential integer starting at 0
727
+ */
728
+ jasmine.Env.prototype.nextSuiteId = function () {
729
+ return this.nextSuiteId_++;
730
+ };
731
+
732
+ /**
733
+ * Register a reporter to receive status updates from Jasmine.
734
+ * @param {jasmine.Reporter} reporter An object which will receive status updates.
735
+ */
736
+ jasmine.Env.prototype.addReporter = function(reporter) {
737
+ this.reporter.addReporter(reporter);
738
+ };
739
+
740
+ jasmine.Env.prototype.execute = function() {
741
+ this.currentRunner_.execute();
742
+ };
743
+
744
+ jasmine.Env.prototype.describe = function(description, specDefinitions) {
745
+ var suite = new jasmine.Suite(this, description, specDefinitions, this.currentSuite);
746
+
747
+ var parentSuite = this.currentSuite;
748
+ if (parentSuite) {
749
+ parentSuite.add(suite);
750
+ } else {
751
+ this.currentRunner_.add(suite);
752
+ }
753
+
754
+ this.currentSuite = suite;
755
+
756
+ var declarationError = null;
757
+ try {
758
+ specDefinitions.call(suite);
759
+ } catch(e) {
760
+ declarationError = e;
761
+ }
762
+
763
+ this.currentSuite = parentSuite;
764
+
765
+ if (declarationError) {
766
+ this.it("encountered a declaration exception", function() {
767
+ throw declarationError;
768
+ });
769
+ }
770
+
771
+ return suite;
772
+ };
773
+
774
+ jasmine.Env.prototype.beforeEach = function(beforeEachFunction) {
775
+ if (this.currentSuite) {
776
+ this.currentSuite.beforeEach(beforeEachFunction);
777
+ } else {
778
+ this.currentRunner_.beforeEach(beforeEachFunction);
779
+ }
780
+ };
781
+
782
+ jasmine.Env.prototype.currentRunner = function () {
783
+ return this.currentRunner_;
784
+ };
785
+
786
+ jasmine.Env.prototype.afterEach = function(afterEachFunction) {
787
+ if (this.currentSuite) {
788
+ this.currentSuite.afterEach(afterEachFunction);
789
+ } else {
790
+ this.currentRunner_.afterEach(afterEachFunction);
791
+ }
792
+
793
+ };
794
+
795
+ jasmine.Env.prototype.xdescribe = function(desc, specDefinitions) {
796
+ return {
797
+ execute: function() {
798
+ }
799
+ };
800
+ };
801
+
802
+ jasmine.Env.prototype.it = function(description, func) {
803
+ var spec = new jasmine.Spec(this, this.currentSuite, description);
804
+ this.currentSuite.add(spec);
805
+ this.currentSpec = spec;
806
+
807
+ if (func) {
808
+ spec.runs(func);
809
+ }
810
+
811
+ return spec;
812
+ };
813
+
814
+ jasmine.Env.prototype.xit = function(desc, func) {
815
+ return {
816
+ id: this.nextSpecId(),
817
+ runs: function() {
818
+ }
819
+ };
820
+ };
821
+
822
+ jasmine.Env.prototype.compareObjects_ = function(a, b, mismatchKeys, mismatchValues) {
823
+ if (a.__Jasmine_been_here_before__ === b && b.__Jasmine_been_here_before__ === a) {
824
+ return true;
825
+ }
826
+
827
+ a.__Jasmine_been_here_before__ = b;
828
+ b.__Jasmine_been_here_before__ = a;
829
+
830
+ var hasKey = function(obj, keyName) {
831
+ return obj != null && obj[keyName] !== jasmine.undefined;
832
+ };
833
+
834
+ for (var property in b) {
835
+ if (!hasKey(a, property) && hasKey(b, property)) {
836
+ mismatchKeys.push("expected has key '" + property + "', but missing from actual.");
837
+ }
838
+ }
839
+ for (property in a) {
840
+ if (!hasKey(b, property) && hasKey(a, property)) {
841
+ mismatchKeys.push("expected missing key '" + property + "', but present in actual.");
842
+ }
843
+ }
844
+ for (property in b) {
845
+ if (property == '__Jasmine_been_here_before__') continue;
846
+ if (!this.equals_(a[property], b[property], mismatchKeys, mismatchValues)) {
847
+ mismatchValues.push("'" + property + "' was '" + (b[property] ? jasmine.util.htmlEscape(b[property].toString()) : b[property]) + "' in expected, but was '" + (a[property] ? jasmine.util.htmlEscape(a[property].toString()) : a[property]) + "' in actual.");
848
+ }
849
+ }
850
+
851
+ if (jasmine.isArray_(a) && jasmine.isArray_(b) && a.length != b.length) {
852
+ mismatchValues.push("arrays were not the same length");
853
+ }
854
+
855
+ delete a.__Jasmine_been_here_before__;
856
+ delete b.__Jasmine_been_here_before__;
857
+ return (mismatchKeys.length == 0 && mismatchValues.length == 0);
858
+ };
859
+
860
+ jasmine.Env.prototype.equals_ = function(a, b, mismatchKeys, mismatchValues) {
861
+ mismatchKeys = mismatchKeys || [];
862
+ mismatchValues = mismatchValues || [];
863
+
864
+ for (var i = 0; i < this.equalityTesters_.length; i++) {
865
+ var equalityTester = this.equalityTesters_[i];
866
+ var result = equalityTester(a, b, this, mismatchKeys, mismatchValues);
867
+ if (result !== jasmine.undefined) return result;
868
+ }
869
+
870
+ if (a === b) return true;
871
+
872
+ if (a === jasmine.undefined || a === null || b === jasmine.undefined || b === null) {
873
+ return (a == jasmine.undefined && b == jasmine.undefined);
874
+ }
875
+
876
+ if (jasmine.isDomNode(a) && jasmine.isDomNode(b)) {
877
+ return a === b;
878
+ }
879
+
880
+ if (a instanceof Date && b instanceof Date) {
881
+ return a.getTime() == b.getTime();
882
+ }
883
+
884
+ if (a instanceof jasmine.Matchers.Any) {
885
+ return a.matches(b);
886
+ }
887
+
888
+ if (b instanceof jasmine.Matchers.Any) {
889
+ return b.matches(a);
890
+ }
891
+
892
+ if (jasmine.isString_(a) && jasmine.isString_(b)) {
893
+ return (a == b);
894
+ }
895
+
896
+ if (jasmine.isNumber_(a) && jasmine.isNumber_(b)) {
897
+ return (a == b);
898
+ }
899
+
900
+ if (typeof a === "object" && typeof b === "object") {
901
+ return this.compareObjects_(a, b, mismatchKeys, mismatchValues);
902
+ }
903
+
904
+ //Straight check
905
+ return (a === b);
906
+ };
907
+
908
+ jasmine.Env.prototype.contains_ = function(haystack, needle) {
909
+ if (jasmine.isArray_(haystack)) {
910
+ for (var i = 0; i < haystack.length; i++) {
911
+ if (this.equals_(haystack[i], needle)) return true;
912
+ }
913
+ return false;
914
+ }
915
+ return haystack.indexOf(needle) >= 0;
916
+ };
917
+
918
+ jasmine.Env.prototype.addEqualityTester = function(equalityTester) {
919
+ this.equalityTesters_.push(equalityTester);
920
+ };
921
+ /** No-op base class for Jasmine reporters.
922
+ *
923
+ * @constructor
924
+ */
925
+ jasmine.Reporter = function() {
926
+ };
927
+
928
+ //noinspection JSUnusedLocalSymbols
929
+ jasmine.Reporter.prototype.reportRunnerStarting = function(runner) {
930
+ };
931
+
932
+ //noinspection JSUnusedLocalSymbols
933
+ jasmine.Reporter.prototype.reportRunnerResults = function(runner) {
934
+ };
935
+
936
+ //noinspection JSUnusedLocalSymbols
937
+ jasmine.Reporter.prototype.reportSuiteResults = function(suite) {
938
+ };
939
+
940
+ //noinspection JSUnusedLocalSymbols
941
+ jasmine.Reporter.prototype.reportSpecStarting = function(spec) {
942
+ };
943
+
944
+ //noinspection JSUnusedLocalSymbols
945
+ jasmine.Reporter.prototype.reportSpecResults = function(spec) {
946
+ };
947
+
948
+ //noinspection JSUnusedLocalSymbols
949
+ jasmine.Reporter.prototype.log = function(str) {
950
+ };
951
+
952
+ /**
953
+ * Blocks are functions with executable code that make up a spec.
954
+ *
955
+ * @constructor
956
+ * @param {jasmine.Env} env
957
+ * @param {Function} func
958
+ * @param {jasmine.Spec} spec
959
+ */
960
+ jasmine.Block = function(env, func, spec) {
961
+ this.env = env;
962
+ this.func = func;
963
+ this.spec = spec;
964
+ };
965
+
966
+ jasmine.Block.prototype.execute = function(onComplete) {
967
+ try {
968
+ this.func.apply(this.spec);
969
+ } catch (e) {
970
+ this.spec.fail(e);
971
+ }
972
+ onComplete();
973
+ };
974
+ /** JavaScript API reporter.
975
+ *
976
+ * @constructor
977
+ */
978
+ jasmine.JsApiReporter = function() {
979
+ this.started = false;
980
+ this.finished = false;
981
+ this.suites_ = [];
982
+ this.results_ = {};
983
+ };
984
+
985
+ jasmine.JsApiReporter.prototype.reportRunnerStarting = function(runner) {
986
+ this.started = true;
987
+ var suites = runner.topLevelSuites();
988
+ for (var i = 0; i < suites.length; i++) {
989
+ var suite = suites[i];
990
+ this.suites_.push(this.summarize_(suite));
991
+ }
992
+ };
993
+
994
+ jasmine.JsApiReporter.prototype.suites = function() {
995
+ return this.suites_;
996
+ };
997
+
998
+ jasmine.JsApiReporter.prototype.summarize_ = function(suiteOrSpec) {
999
+ var isSuite = suiteOrSpec instanceof jasmine.Suite;
1000
+ var summary = {
1001
+ id: suiteOrSpec.id,
1002
+ name: suiteOrSpec.description,
1003
+ type: isSuite ? 'suite' : 'spec',
1004
+ children: []
1005
+ };
1006
+
1007
+ if (isSuite) {
1008
+ var children = suiteOrSpec.children();
1009
+ for (var i = 0; i < children.length; i++) {
1010
+ summary.children.push(this.summarize_(children[i]));
1011
+ }
1012
+ }
1013
+ return summary;
1014
+ };
1015
+
1016
+ jasmine.JsApiReporter.prototype.results = function() {
1017
+ return this.results_;
1018
+ };
1019
+
1020
+ jasmine.JsApiReporter.prototype.resultsForSpec = function(specId) {
1021
+ return this.results_[specId];
1022
+ };
1023
+
1024
+ //noinspection JSUnusedLocalSymbols
1025
+ jasmine.JsApiReporter.prototype.reportRunnerResults = function(runner) {
1026
+ this.finished = true;
1027
+ };
1028
+
1029
+ //noinspection JSUnusedLocalSymbols
1030
+ jasmine.JsApiReporter.prototype.reportSuiteResults = function(suite) {
1031
+ };
1032
+
1033
+ //noinspection JSUnusedLocalSymbols
1034
+ jasmine.JsApiReporter.prototype.reportSpecResults = function(spec) {
1035
+ this.results_[spec.id] = {
1036
+ messages: spec.results().getItems(),
1037
+ result: spec.results().failedCount > 0 ? "failed" : "passed"
1038
+ };
1039
+ };
1040
+
1041
+ //noinspection JSUnusedLocalSymbols
1042
+ jasmine.JsApiReporter.prototype.log = function(str) {
1043
+ };
1044
+
1045
+ jasmine.JsApiReporter.prototype.resultsForSpecs = function(specIds){
1046
+ var results = {};
1047
+ for (var i = 0; i < specIds.length; i++) {
1048
+ var specId = specIds[i];
1049
+ results[specId] = this.summarizeResult_(this.results_[specId]);
1050
+ }
1051
+ return results;
1052
+ };
1053
+
1054
+ jasmine.JsApiReporter.prototype.summarizeResult_ = function(result){
1055
+ var summaryMessages = [];
1056
+ var messagesLength = result.messages.length;
1057
+ for (var messageIndex = 0; messageIndex < messagesLength; messageIndex++) {
1058
+ var resultMessage = result.messages[messageIndex];
1059
+ summaryMessages.push({
1060
+ text: resultMessage.type == 'log' ? resultMessage.toString() : jasmine.undefined,
1061
+ passed: resultMessage.passed ? resultMessage.passed() : true,
1062
+ type: resultMessage.type,
1063
+ message: resultMessage.message,
1064
+ trace: {
1065
+ stack: resultMessage.passed && !resultMessage.passed() ? resultMessage.trace.stack : jasmine.undefined
1066
+ }
1067
+ });
1068
+ }
1069
+
1070
+ return {
1071
+ result : result.result,
1072
+ messages : summaryMessages
1073
+ };
1074
+ };
1075
+
1076
+ /**
1077
+ * @constructor
1078
+ * @param {jasmine.Env} env
1079
+ * @param actual
1080
+ * @param {jasmine.Spec} spec
1081
+ */
1082
+ jasmine.Matchers = function(env, actual, spec, opt_isNot) {
1083
+ this.env = env;
1084
+ this.actual = actual;
1085
+ this.spec = spec;
1086
+ this.isNot = opt_isNot || false;
1087
+ this.reportWasCalled_ = false;
1088
+ };
1089
+
1090
+ // todo: @deprecated as of Jasmine 0.11, remove soon [xw]
1091
+ jasmine.Matchers.pp = function(str) {
1092
+ throw new Error("jasmine.Matchers.pp() is no longer supported, please use jasmine.pp() instead!");
1093
+ };
1094
+
1095
+ // todo: @deprecated Deprecated as of Jasmine 0.10. Rewrite your custom matchers to return true or false. [xw]
1096
+ jasmine.Matchers.prototype.report = function(result, failing_message, details) {
1097
+ throw new Error("As of jasmine 0.11, custom matchers must be implemented differently -- please see jasmine docs");
1098
+ };
1099
+
1100
+ jasmine.Matchers.wrapInto_ = function(prototype, matchersClass) {
1101
+ for (var methodName in prototype) {
1102
+ if (methodName == 'report') continue;
1103
+ var orig = prototype[methodName];
1104
+ matchersClass.prototype[methodName] = jasmine.Matchers.matcherFn_(methodName, orig);
1105
+ }
1106
+ };
1107
+
1108
+ jasmine.Matchers.matcherFn_ = function(matcherName, matcherFunction) {
1109
+ return function() {
1110
+ var matcherArgs = jasmine.util.argsToArray(arguments);
1111
+ var result = matcherFunction.apply(this, arguments);
1112
+
1113
+ if (this.isNot) {
1114
+ result = !result;
1115
+ }
1116
+
1117
+ if (this.reportWasCalled_) return result;
1118
+
1119
+ var message;
1120
+ if (!result) {
1121
+ if (this.message) {
1122
+ message = this.message.apply(this, arguments);
1123
+ if (jasmine.isArray_(message)) {
1124
+ message = message[this.isNot ? 1 : 0];
1125
+ }
1126
+ } else {
1127
+ var englishyPredicate = matcherName.replace(/[A-Z]/g, function(s) { return ' ' + s.toLowerCase(); });
1128
+ message = "Expected " + jasmine.pp(this.actual) + (this.isNot ? " not " : " ") + englishyPredicate;
1129
+ if (matcherArgs.length > 0) {
1130
+ for (var i = 0; i < matcherArgs.length; i++) {
1131
+ if (i > 0) message += ",";
1132
+ message += " " + jasmine.pp(matcherArgs[i]);
1133
+ }
1134
+ }
1135
+ message += ".";
1136
+ }
1137
+ }
1138
+ var expectationResult = new jasmine.ExpectationResult({
1139
+ matcherName: matcherName,
1140
+ passed: result,
1141
+ expected: matcherArgs.length > 1 ? matcherArgs : matcherArgs[0],
1142
+ actual: this.actual,
1143
+ message: message
1144
+ });
1145
+ this.spec.addMatcherResult(expectationResult);
1146
+ return jasmine.undefined;
1147
+ };
1148
+ };
1149
+
1150
+
1151
+
1152
+
1153
+ /**
1154
+ * toBe: compares the actual to the expected using ===
1155
+ * @param expected
1156
+ */
1157
+ jasmine.Matchers.prototype.toBe = function(expected) {
1158
+ return this.actual === expected;
1159
+ };
1160
+
1161
+ /**
1162
+ * toNotBe: compares the actual to the expected using !==
1163
+ * @param expected
1164
+ * @deprecated as of 1.0. Use not.toBe() instead.
1165
+ */
1166
+ jasmine.Matchers.prototype.toNotBe = function(expected) {
1167
+ return this.actual !== expected;
1168
+ };
1169
+
1170
+ /**
1171
+ * toEqual: compares the actual to the expected using common sense equality. Handles Objects, Arrays, etc.
1172
+ *
1173
+ * @param expected
1174
+ */
1175
+ jasmine.Matchers.prototype.toEqual = function(expected) {
1176
+ return this.env.equals_(this.actual, expected);
1177
+ };
1178
+
1179
+ /**
1180
+ * toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual
1181
+ * @param expected
1182
+ * @deprecated as of 1.0. Use not.toNotEqual() instead.
1183
+ */
1184
+ jasmine.Matchers.prototype.toNotEqual = function(expected) {
1185
+ return !this.env.equals_(this.actual, expected);
1186
+ };
1187
+
1188
+ /**
1189
+ * Matcher that compares the actual to the expected using a regular expression. Constructs a RegExp, so takes
1190
+ * a pattern or a String.
1191
+ *
1192
+ * @param expected
1193
+ */
1194
+ jasmine.Matchers.prototype.toMatch = function(expected) {
1195
+ return new RegExp(expected).test(this.actual);
1196
+ };
1197
+
1198
+ /**
1199
+ * Matcher that compares the actual to the expected using the boolean inverse of jasmine.Matchers.toMatch
1200
+ * @param expected
1201
+ * @deprecated as of 1.0. Use not.toMatch() instead.
1202
+ */
1203
+ jasmine.Matchers.prototype.toNotMatch = function(expected) {
1204
+ return !(new RegExp(expected).test(this.actual));
1205
+ };
1206
+
1207
+ /**
1208
+ * Matcher that compares the actual to jasmine.undefined.
1209
+ */
1210
+ jasmine.Matchers.prototype.toBeDefined = function() {
1211
+ return (this.actual !== jasmine.undefined);
1212
+ };
1213
+
1214
+ /**
1215
+ * Matcher that compares the actual to jasmine.undefined.
1216
+ */
1217
+ jasmine.Matchers.prototype.toBeUndefined = function() {
1218
+ return (this.actual === jasmine.undefined);
1219
+ };
1220
+
1221
+ /**
1222
+ * Matcher that compares the actual to null.
1223
+ */
1224
+ jasmine.Matchers.prototype.toBeNull = function() {
1225
+ return (this.actual === null);
1226
+ };
1227
+
1228
+ /**
1229
+ * Matcher that boolean not-nots the actual.
1230
+ */
1231
+ jasmine.Matchers.prototype.toBeTruthy = function() {
1232
+ return !!this.actual;
1233
+ };
1234
+
1235
+
1236
+ /**
1237
+ * Matcher that boolean nots the actual.
1238
+ */
1239
+ jasmine.Matchers.prototype.toBeFalsy = function() {
1240
+ return !this.actual;
1241
+ };
1242
+
1243
+
1244
+ /**
1245
+ * Matcher that checks to see if the actual, a Jasmine spy, was called.
1246
+ */
1247
+ jasmine.Matchers.prototype.toHaveBeenCalled = function() {
1248
+ if (arguments.length > 0) {
1249
+ throw new Error('toHaveBeenCalled does not take arguments, use toHaveBeenCalledWith');
1250
+ }
1251
+
1252
+ if (!jasmine.isSpy(this.actual)) {
1253
+ throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1254
+ }
1255
+
1256
+ this.message = function() {
1257
+ return [
1258
+ "Expected spy " + this.actual.identity + " to have been called.",
1259
+ "Expected spy " + this.actual.identity + " not to have been called."
1260
+ ];
1261
+ };
1262
+
1263
+ return this.actual.wasCalled;
1264
+ };
1265
+
1266
+ /** @deprecated Use expect(xxx).toHaveBeenCalled() instead */
1267
+ jasmine.Matchers.prototype.wasCalled = jasmine.Matchers.prototype.toHaveBeenCalled;
1268
+
1269
+ /**
1270
+ * Matcher that checks to see if the actual, a Jasmine spy, was not called.
1271
+ *
1272
+ * @deprecated Use expect(xxx).not.toHaveBeenCalled() instead
1273
+ */
1274
+ jasmine.Matchers.prototype.wasNotCalled = function() {
1275
+ if (arguments.length > 0) {
1276
+ throw new Error('wasNotCalled does not take arguments');
1277
+ }
1278
+
1279
+ if (!jasmine.isSpy(this.actual)) {
1280
+ throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1281
+ }
1282
+
1283
+ this.message = function() {
1284
+ return [
1285
+ "Expected spy " + this.actual.identity + " to not have been called.",
1286
+ "Expected spy " + this.actual.identity + " to have been called."
1287
+ ];
1288
+ };
1289
+
1290
+ return !this.actual.wasCalled;
1291
+ };
1292
+
1293
+ /**
1294
+ * Matcher that checks to see if the actual, a Jasmine spy, was called with a set of parameters.
1295
+ *
1296
+ * @example
1297
+ *
1298
+ */
1299
+ jasmine.Matchers.prototype.toHaveBeenCalledWith = function() {
1300
+ var expectedArgs = jasmine.util.argsToArray(arguments);
1301
+ if (!jasmine.isSpy(this.actual)) {
1302
+ throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1303
+ }
1304
+ this.message = function() {
1305
+ if (this.actual.callCount == 0) {
1306
+ // todo: what should the failure message for .not.toHaveBeenCalledWith() be? is this right? test better. [xw]
1307
+ return [
1308
+ "Expected spy to have been called with " + jasmine.pp(expectedArgs) + " but it was never called.",
1309
+ "Expected spy not to have been called with " + jasmine.pp(expectedArgs) + " but it was."
1310
+ ];
1311
+ } else {
1312
+ return [
1313
+ "Expected spy to have been called with " + jasmine.pp(expectedArgs) + " but was called with " + jasmine.pp(this.actual.argsForCall),
1314
+ "Expected spy not to have been called with " + jasmine.pp(expectedArgs) + " but was called with " + jasmine.pp(this.actual.argsForCall)
1315
+ ];
1316
+ }
1317
+ };
1318
+
1319
+ return this.env.contains_(this.actual.argsForCall, expectedArgs);
1320
+ };
1321
+
1322
+ /** @deprecated Use expect(xxx).toHaveBeenCalledWith() instead */
1323
+ jasmine.Matchers.prototype.wasCalledWith = jasmine.Matchers.prototype.toHaveBeenCalledWith;
1324
+
1325
+ /** @deprecated Use expect(xxx).not.toHaveBeenCalledWith() instead */
1326
+ jasmine.Matchers.prototype.wasNotCalledWith = function() {
1327
+ var expectedArgs = jasmine.util.argsToArray(arguments);
1328
+ if (!jasmine.isSpy(this.actual)) {
1329
+ throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1330
+ }
1331
+
1332
+ this.message = function() {
1333
+ return [
1334
+ "Expected spy not to have been called with " + jasmine.pp(expectedArgs) + " but it was",
1335
+ "Expected spy to have been called with " + jasmine.pp(expectedArgs) + " but it was"
1336
+ ]
1337
+ };
1338
+
1339
+ return !this.env.contains_(this.actual.argsForCall, expectedArgs);
1340
+ };
1341
+
1342
+ /**
1343
+ * Matcher that checks that the expected item is an element in the actual Array.
1344
+ *
1345
+ * @param {Object} expected
1346
+ */
1347
+ jasmine.Matchers.prototype.toContain = function(expected) {
1348
+ return this.env.contains_(this.actual, expected);
1349
+ };
1350
+
1351
+ /**
1352
+ * Matcher that checks that the expected item is NOT an element in the actual Array.
1353
+ *
1354
+ * @param {Object} expected
1355
+ * @deprecated as of 1.0. Use not.toNotContain() instead.
1356
+ */
1357
+ jasmine.Matchers.prototype.toNotContain = function(expected) {
1358
+ return !this.env.contains_(this.actual, expected);
1359
+ };
1360
+
1361
+ jasmine.Matchers.prototype.toBeLessThan = function(expected) {
1362
+ return this.actual < expected;
1363
+ };
1364
+
1365
+ jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
1366
+ return this.actual > expected;
1367
+ };
1368
+
1369
+ /**
1370
+ * Matcher that checks that the expected exception was thrown by the actual.
1371
+ *
1372
+ * @param {String} expected
1373
+ */
1374
+ jasmine.Matchers.prototype.toThrow = function(expected) {
1375
+ var result = false;
1376
+ var exception;
1377
+ if (typeof this.actual != 'function') {
1378
+ throw new Error('Actual is not a function');
1379
+ }
1380
+ try {
1381
+ this.actual();
1382
+ } catch (e) {
1383
+ exception = e;
1384
+ }
1385
+ if (exception) {
1386
+ result = (expected === jasmine.undefined || this.env.equals_(exception.message || exception, expected.message || expected));
1387
+ }
1388
+
1389
+ var not = this.isNot ? "not " : "";
1390
+
1391
+ this.message = function() {
1392
+ if (exception && (expected === jasmine.undefined || !this.env.equals_(exception.message || exception, expected.message || expected))) {
1393
+ return ["Expected function " + not + "to throw", expected ? expected.message || expected : " an exception", ", but it threw", exception.message || exception].join(' ');
1394
+ } else {
1395
+ return "Expected function to throw an exception.";
1396
+ }
1397
+ };
1398
+
1399
+ return result;
1400
+ };
1401
+
1402
+ jasmine.Matchers.Any = function(expectedClass) {
1403
+ this.expectedClass = expectedClass;
1404
+ };
1405
+
1406
+ jasmine.Matchers.Any.prototype.matches = function(other) {
1407
+ if (this.expectedClass == String) {
1408
+ return typeof other == 'string' || other instanceof String;
1409
+ }
1410
+
1411
+ if (this.expectedClass == Number) {
1412
+ return typeof other == 'number' || other instanceof Number;
1413
+ }
1414
+
1415
+ if (this.expectedClass == Function) {
1416
+ return typeof other == 'function' || other instanceof Function;
1417
+ }
1418
+
1419
+ if (this.expectedClass == Object) {
1420
+ return typeof other == 'object';
1421
+ }
1422
+
1423
+ return other instanceof this.expectedClass;
1424
+ };
1425
+
1426
+ jasmine.Matchers.Any.prototype.toString = function() {
1427
+ return '<jasmine.any(' + this.expectedClass + ')>';
1428
+ };
1429
+
1430
+ /**
1431
+ * @constructor
1432
+ */
1433
+ jasmine.MultiReporter = function() {
1434
+ this.subReporters_ = [];
1435
+ };
1436
+ jasmine.util.inherit(jasmine.MultiReporter, jasmine.Reporter);
1437
+
1438
+ jasmine.MultiReporter.prototype.addReporter = function(reporter) {
1439
+ this.subReporters_.push(reporter);
1440
+ };
1441
+
1442
+ (function() {
1443
+ var functionNames = [
1444
+ "reportRunnerStarting",
1445
+ "reportRunnerResults",
1446
+ "reportSuiteResults",
1447
+ "reportSpecStarting",
1448
+ "reportSpecResults",
1449
+ "log"
1450
+ ];
1451
+ for (var i = 0; i < functionNames.length; i++) {
1452
+ var functionName = functionNames[i];
1453
+ jasmine.MultiReporter.prototype[functionName] = (function(functionName) {
1454
+ return function() {
1455
+ for (var j = 0; j < this.subReporters_.length; j++) {
1456
+ var subReporter = this.subReporters_[j];
1457
+ if (subReporter[functionName]) {
1458
+ subReporter[functionName].apply(subReporter, arguments);
1459
+ }
1460
+ }
1461
+ };
1462
+ })(functionName);
1463
+ }
1464
+ })();
1465
+ /**
1466
+ * Holds results for a set of Jasmine spec. Allows for the results array to hold another jasmine.NestedResults
1467
+ *
1468
+ * @constructor
1469
+ */
1470
+ jasmine.NestedResults = function() {
1471
+ /**
1472
+ * The total count of results
1473
+ */
1474
+ this.totalCount = 0;
1475
+ /**
1476
+ * Number of passed results
1477
+ */
1478
+ this.passedCount = 0;
1479
+ /**
1480
+ * Number of failed results
1481
+ */
1482
+ this.failedCount = 0;
1483
+ /**
1484
+ * Was this suite/spec skipped?
1485
+ */
1486
+ this.skipped = false;
1487
+ /**
1488
+ * @ignore
1489
+ */
1490
+ this.items_ = [];
1491
+ };
1492
+
1493
+ /**
1494
+ * Roll up the result counts.
1495
+ *
1496
+ * @param result
1497
+ */
1498
+ jasmine.NestedResults.prototype.rollupCounts = function(result) {
1499
+ this.totalCount += result.totalCount;
1500
+ this.passedCount += result.passedCount;
1501
+ this.failedCount += result.failedCount;
1502
+ };
1503
+
1504
+ /**
1505
+ * Adds a log message.
1506
+ * @param values Array of message parts which will be concatenated later.
1507
+ */
1508
+ jasmine.NestedResults.prototype.log = function(values) {
1509
+ this.items_.push(new jasmine.MessageResult(values));
1510
+ };
1511
+
1512
+ /**
1513
+ * Getter for the results: message & results.
1514
+ */
1515
+ jasmine.NestedResults.prototype.getItems = function() {
1516
+ return this.items_;
1517
+ };
1518
+
1519
+ /**
1520
+ * Adds a result, tracking counts (total, passed, & failed)
1521
+ * @param {jasmine.ExpectationResult|jasmine.NestedResults} result
1522
+ */
1523
+ jasmine.NestedResults.prototype.addResult = function(result) {
1524
+ if (result.type != 'log') {
1525
+ if (result.items_) {
1526
+ this.rollupCounts(result);
1527
+ } else {
1528
+ this.totalCount++;
1529
+ if (result.passed()) {
1530
+ this.passedCount++;
1531
+ } else {
1532
+ this.failedCount++;
1533
+ }
1534
+ }
1535
+ }
1536
+ this.items_.push(result);
1537
+ };
1538
+
1539
+ /**
1540
+ * @returns {Boolean} True if <b>everything</b> below passed
1541
+ */
1542
+ jasmine.NestedResults.prototype.passed = function() {
1543
+ return this.passedCount === this.totalCount;
1544
+ };
1545
+ /**
1546
+ * Base class for pretty printing for expectation results.
1547
+ */
1548
+ jasmine.PrettyPrinter = function() {
1549
+ this.ppNestLevel_ = 0;
1550
+ };
1551
+
1552
+ /**
1553
+ * Formats a value in a nice, human-readable string.
1554
+ *
1555
+ * @param value
1556
+ */
1557
+ jasmine.PrettyPrinter.prototype.format = function(value) {
1558
+ if (this.ppNestLevel_ > 40) {
1559
+ throw new Error('jasmine.PrettyPrinter: format() nested too deeply!');
1560
+ }
1561
+
1562
+ this.ppNestLevel_++;
1563
+ try {
1564
+ if (value === jasmine.undefined) {
1565
+ this.emitScalar('undefined');
1566
+ } else if (value === null) {
1567
+ this.emitScalar('null');
1568
+ } else if (value === jasmine.getGlobal()) {
1569
+ this.emitScalar('<global>');
1570
+ } else if (value instanceof jasmine.Matchers.Any) {
1571
+ this.emitScalar(value.toString());
1572
+ } else if (typeof value === 'string') {
1573
+ this.emitString(value);
1574
+ } else if (jasmine.isSpy(value)) {
1575
+ this.emitScalar("spy on " + value.identity);
1576
+ } else if (value instanceof RegExp) {
1577
+ this.emitScalar(value.toString());
1578
+ } else if (typeof value === 'function') {
1579
+ this.emitScalar('Function');
1580
+ } else if (typeof value.nodeType === 'number') {
1581
+ this.emitScalar('HTMLNode');
1582
+ } else if (value instanceof Date) {
1583
+ this.emitScalar('Date(' + value + ')');
1584
+ } else if (value.__Jasmine_been_here_before__) {
1585
+ this.emitScalar('<circular reference: ' + (jasmine.isArray_(value) ? 'Array' : 'Object') + '>');
1586
+ } else if (jasmine.isArray_(value) || typeof value == 'object') {
1587
+ value.__Jasmine_been_here_before__ = true;
1588
+ if (jasmine.isArray_(value)) {
1589
+ this.emitArray(value);
1590
+ } else {
1591
+ this.emitObject(value);
1592
+ }
1593
+ delete value.__Jasmine_been_here_before__;
1594
+ } else {
1595
+ this.emitScalar(value.toString());
1596
+ }
1597
+ } finally {
1598
+ this.ppNestLevel_--;
1599
+ }
1600
+ };
1601
+
1602
+ jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
1603
+ for (var property in obj) {
1604
+ if (property == '__Jasmine_been_here_before__') continue;
1605
+ fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) != null) : false);
1606
+ }
1607
+ };
1608
+
1609
+ jasmine.PrettyPrinter.prototype.emitArray = jasmine.unimplementedMethod_;
1610
+ jasmine.PrettyPrinter.prototype.emitObject = jasmine.unimplementedMethod_;
1611
+ jasmine.PrettyPrinter.prototype.emitScalar = jasmine.unimplementedMethod_;
1612
+ jasmine.PrettyPrinter.prototype.emitString = jasmine.unimplementedMethod_;
1613
+
1614
+ jasmine.StringPrettyPrinter = function() {
1615
+ jasmine.PrettyPrinter.call(this);
1616
+
1617
+ this.string = '';
1618
+ };
1619
+ jasmine.util.inherit(jasmine.StringPrettyPrinter, jasmine.PrettyPrinter);
1620
+
1621
+ jasmine.StringPrettyPrinter.prototype.emitScalar = function(value) {
1622
+ this.append(value);
1623
+ };
1624
+
1625
+ jasmine.StringPrettyPrinter.prototype.emitString = function(value) {
1626
+ this.append("'" + value + "'");
1627
+ };
1628
+
1629
+ jasmine.StringPrettyPrinter.prototype.emitArray = function(array) {
1630
+ this.append('[ ');
1631
+ for (var i = 0; i < array.length; i++) {
1632
+ if (i > 0) {
1633
+ this.append(', ');
1634
+ }
1635
+ this.format(array[i]);
1636
+ }
1637
+ this.append(' ]');
1638
+ };
1639
+
1640
+ jasmine.StringPrettyPrinter.prototype.emitObject = function(obj) {
1641
+ var self = this;
1642
+ this.append('{ ');
1643
+ var first = true;
1644
+
1645
+ this.iterateObject(obj, function(property, isGetter) {
1646
+ if (first) {
1647
+ first = false;
1648
+ } else {
1649
+ self.append(', ');
1650
+ }
1651
+
1652
+ self.append(property);
1653
+ self.append(' : ');
1654
+ if (isGetter) {
1655
+ self.append('<getter>');
1656
+ } else {
1657
+ self.format(obj[property]);
1658
+ }
1659
+ });
1660
+
1661
+ this.append(' }');
1662
+ };
1663
+
1664
+ jasmine.StringPrettyPrinter.prototype.append = function(value) {
1665
+ this.string += value;
1666
+ };
1667
+ jasmine.Queue = function(env) {
1668
+ this.env = env;
1669
+ this.blocks = [];
1670
+ this.running = false;
1671
+ this.index = 0;
1672
+ this.offset = 0;
1673
+ this.abort = false;
1674
+ };
1675
+
1676
+ jasmine.Queue.prototype.addBefore = function(block) {
1677
+ this.blocks.unshift(block);
1678
+ };
1679
+
1680
+ jasmine.Queue.prototype.add = function(block) {
1681
+ this.blocks.push(block);
1682
+ };
1683
+
1684
+ jasmine.Queue.prototype.insertNext = function(block) {
1685
+ this.blocks.splice((this.index + this.offset + 1), 0, block);
1686
+ this.offset++;
1687
+ };
1688
+
1689
+ jasmine.Queue.prototype.start = function(onComplete) {
1690
+ this.running = true;
1691
+ this.onComplete = onComplete;
1692
+ this.next_();
1693
+ };
1694
+
1695
+ jasmine.Queue.prototype.isRunning = function() {
1696
+ return this.running;
1697
+ };
1698
+
1699
+ jasmine.Queue.LOOP_DONT_RECURSE = true;
1700
+
1701
+ jasmine.Queue.prototype.next_ = function() {
1702
+ var self = this;
1703
+ var goAgain = true;
1704
+
1705
+ while (goAgain) {
1706
+ goAgain = false;
1707
+
1708
+ if (self.index < self.blocks.length && !this.abort) {
1709
+ var calledSynchronously = true;
1710
+ var completedSynchronously = false;
1711
+
1712
+ var onComplete = function () {
1713
+ if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {
1714
+ completedSynchronously = true;
1715
+ return;
1716
+ }
1717
+
1718
+ if (self.blocks[self.index].abort) {
1719
+ self.abort = true;
1720
+ }
1721
+
1722
+ self.offset = 0;
1723
+ self.index++;
1724
+
1725
+ var now = new Date().getTime();
1726
+ if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {
1727
+ self.env.lastUpdate = now;
1728
+ self.env.setTimeout(function() {
1729
+ self.next_();
1730
+ }, 0);
1731
+ } else {
1732
+ if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {
1733
+ goAgain = true;
1734
+ } else {
1735
+ self.next_();
1736
+ }
1737
+ }
1738
+ };
1739
+ self.blocks[self.index].execute(onComplete);
1740
+
1741
+ calledSynchronously = false;
1742
+ if (completedSynchronously) {
1743
+ onComplete();
1744
+ }
1745
+
1746
+ } else {
1747
+ self.running = false;
1748
+ if (self.onComplete) {
1749
+ self.onComplete();
1750
+ }
1751
+ }
1752
+ }
1753
+ };
1754
+
1755
+ jasmine.Queue.prototype.results = function() {
1756
+ var results = new jasmine.NestedResults();
1757
+ for (var i = 0; i < this.blocks.length; i++) {
1758
+ if (this.blocks[i].results) {
1759
+ results.addResult(this.blocks[i].results());
1760
+ }
1761
+ }
1762
+ return results;
1763
+ };
1764
+
1765
+
1766
+ /**
1767
+ * Runner
1768
+ *
1769
+ * @constructor
1770
+ * @param {jasmine.Env} env
1771
+ */
1772
+ jasmine.Runner = function(env) {
1773
+ var self = this;
1774
+ self.env = env;
1775
+ self.queue = new jasmine.Queue(env);
1776
+ self.before_ = [];
1777
+ self.after_ = [];
1778
+ self.suites_ = [];
1779
+ };
1780
+
1781
+ jasmine.Runner.prototype.execute = function() {
1782
+ var self = this;
1783
+ if (self.env.reporter.reportRunnerStarting) {
1784
+ self.env.reporter.reportRunnerStarting(this);
1785
+ }
1786
+ self.queue.start(function () {
1787
+ self.finishCallback();
1788
+ });
1789
+ };
1790
+
1791
+ jasmine.Runner.prototype.beforeEach = function(beforeEachFunction) {
1792
+ beforeEachFunction.typeName = 'beforeEach';
1793
+ this.before_.splice(0,0,beforeEachFunction);
1794
+ };
1795
+
1796
+ jasmine.Runner.prototype.afterEach = function(afterEachFunction) {
1797
+ afterEachFunction.typeName = 'afterEach';
1798
+ this.after_.splice(0,0,afterEachFunction);
1799
+ };
1800
+
1801
+
1802
+ jasmine.Runner.prototype.finishCallback = function() {
1803
+ this.env.reporter.reportRunnerResults(this);
1804
+ };
1805
+
1806
+ jasmine.Runner.prototype.addSuite = function(suite) {
1807
+ this.suites_.push(suite);
1808
+ };
1809
+
1810
+ jasmine.Runner.prototype.add = function(block) {
1811
+ if (block instanceof jasmine.Suite) {
1812
+ this.addSuite(block);
1813
+ }
1814
+ this.queue.add(block);
1815
+ };
1816
+
1817
+ jasmine.Runner.prototype.specs = function () {
1818
+ var suites = this.suites();
1819
+ var specs = [];
1820
+ for (var i = 0; i < suites.length; i++) {
1821
+ specs = specs.concat(suites[i].specs());
1822
+ }
1823
+ return specs;
1824
+ };
1825
+
1826
+ jasmine.Runner.prototype.suites = function() {
1827
+ return this.suites_;
1828
+ };
1829
+
1830
+ jasmine.Runner.prototype.topLevelSuites = function() {
1831
+ var topLevelSuites = [];
1832
+ for (var i = 0; i < this.suites_.length; i++) {
1833
+ if (!this.suites_[i].parentSuite) {
1834
+ topLevelSuites.push(this.suites_[i]);
1835
+ }
1836
+ }
1837
+ return topLevelSuites;
1838
+ };
1839
+
1840
+ jasmine.Runner.prototype.results = function() {
1841
+ return this.queue.results();
1842
+ };
1843
+ /**
1844
+ * Internal representation of a Jasmine specification, or test.
1845
+ *
1846
+ * @constructor
1847
+ * @param {jasmine.Env} env
1848
+ * @param {jasmine.Suite} suite
1849
+ * @param {String} description
1850
+ */
1851
+ jasmine.Spec = function(env, suite, description) {
1852
+ if (!env) {
1853
+ throw new Error('jasmine.Env() required');
1854
+ }
1855
+ if (!suite) {
1856
+ throw new Error('jasmine.Suite() required');
1857
+ }
1858
+ var spec = this;
1859
+ spec.id = env.nextSpecId ? env.nextSpecId() : null;
1860
+ spec.env = env;
1861
+ spec.suite = suite;
1862
+ spec.description = description;
1863
+ spec.queue = new jasmine.Queue(env);
1864
+
1865
+ spec.afterCallbacks = [];
1866
+ spec.spies_ = [];
1867
+
1868
+ spec.results_ = new jasmine.NestedResults();
1869
+ spec.results_.description = description;
1870
+ spec.matchersClass = null;
1871
+ };
1872
+
1873
+ jasmine.Spec.prototype.getFullName = function() {
1874
+ return this.suite.getFullName() + ' ' + this.description + '.';
1875
+ };
1876
+
1877
+
1878
+ jasmine.Spec.prototype.results = function() {
1879
+ return this.results_;
1880
+ };
1881
+
1882
+ /**
1883
+ * All parameters are pretty-printed and concatenated together, then written to the spec's output.
1884
+ *
1885
+ * Be careful not to leave calls to <code>jasmine.log</code> in production code.
1886
+ */
1887
+ jasmine.Spec.prototype.log = function() {
1888
+ return this.results_.log(arguments);
1889
+ };
1890
+
1891
+ jasmine.Spec.prototype.runs = function (func) {
1892
+ var block = new jasmine.Block(this.env, func, this);
1893
+ this.addToQueue(block);
1894
+ return this;
1895
+ };
1896
+
1897
+ jasmine.Spec.prototype.addToQueue = function (block) {
1898
+ if (this.queue.isRunning()) {
1899
+ this.queue.insertNext(block);
1900
+ } else {
1901
+ this.queue.add(block);
1902
+ }
1903
+ };
1904
+
1905
+ /**
1906
+ * @param {jasmine.ExpectationResult} result
1907
+ */
1908
+ jasmine.Spec.prototype.addMatcherResult = function(result) {
1909
+ this.results_.addResult(result);
1910
+ };
1911
+
1912
+ jasmine.Spec.prototype.expect = function(actual) {
1913
+ var positive = new (this.getMatchersClass_())(this.env, actual, this);
1914
+ positive.not = new (this.getMatchersClass_())(this.env, actual, this, true);
1915
+ return positive;
1916
+ };
1917
+
1918
+ /**
1919
+ * Waits a fixed time period before moving to the next block.
1920
+ *
1921
+ * @deprecated Use waitsFor() instead
1922
+ * @param {Number} timeout milliseconds to wait
1923
+ */
1924
+ jasmine.Spec.prototype.waits = function(timeout) {
1925
+ var waitsFunc = new jasmine.WaitsBlock(this.env, timeout, this);
1926
+ this.addToQueue(waitsFunc);
1927
+ return this;
1928
+ };
1929
+
1930
+ /**
1931
+ * Waits for the latchFunction to return true before proceeding to the next block.
1932
+ *
1933
+ * @param {Function} latchFunction
1934
+ * @param {String} optional_timeoutMessage
1935
+ * @param {Number} optional_timeout
1936
+ */
1937
+ jasmine.Spec.prototype.waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
1938
+ var latchFunction_ = null;
1939
+ var optional_timeoutMessage_ = null;
1940
+ var optional_timeout_ = null;
1941
+
1942
+ for (var i = 0; i < arguments.length; i++) {
1943
+ var arg = arguments[i];
1944
+ switch (typeof arg) {
1945
+ case 'function':
1946
+ latchFunction_ = arg;
1947
+ break;
1948
+ case 'string':
1949
+ optional_timeoutMessage_ = arg;
1950
+ break;
1951
+ case 'number':
1952
+ optional_timeout_ = arg;
1953
+ break;
1954
+ }
1955
+ }
1956
+
1957
+ var waitsForFunc = new jasmine.WaitsForBlock(this.env, optional_timeout_, latchFunction_, optional_timeoutMessage_, this);
1958
+ this.addToQueue(waitsForFunc);
1959
+ return this;
1960
+ };
1961
+
1962
+ jasmine.Spec.prototype.fail = function (e) {
1963
+ var expectationResult = new jasmine.ExpectationResult({
1964
+ passed: false,
1965
+ message: e ? jasmine.util.formatException(e) : 'Exception'
1966
+ });
1967
+ this.results_.addResult(expectationResult);
1968
+ };
1969
+
1970
+ jasmine.Spec.prototype.getMatchersClass_ = function() {
1971
+ return this.matchersClass || this.env.matchersClass;
1972
+ };
1973
+
1974
+ jasmine.Spec.prototype.addMatchers = function(matchersPrototype) {
1975
+ var parent = this.getMatchersClass_();
1976
+ var newMatchersClass = function() {
1977
+ parent.apply(this, arguments);
1978
+ };
1979
+ jasmine.util.inherit(newMatchersClass, parent);
1980
+ jasmine.Matchers.wrapInto_(matchersPrototype, newMatchersClass);
1981
+ this.matchersClass = newMatchersClass;
1982
+ };
1983
+
1984
+ jasmine.Spec.prototype.finishCallback = function() {
1985
+ this.env.reporter.reportSpecResults(this);
1986
+ };
1987
+
1988
+ jasmine.Spec.prototype.finish = function(onComplete) {
1989
+ this.removeAllSpies();
1990
+ this.finishCallback();
1991
+ if (onComplete) {
1992
+ onComplete();
1993
+ }
1994
+ };
1995
+
1996
+ jasmine.Spec.prototype.after = function(doAfter) {
1997
+ if (this.queue.isRunning()) {
1998
+ this.queue.add(new jasmine.Block(this.env, doAfter, this));
1999
+ } else {
2000
+ this.afterCallbacks.unshift(doAfter);
2001
+ }
2002
+ };
2003
+
2004
+ jasmine.Spec.prototype.execute = function(onComplete) {
2005
+ var spec = this;
2006
+ if (!spec.env.specFilter(spec)) {
2007
+ spec.results_.skipped = true;
2008
+ spec.finish(onComplete);
2009
+ return;
2010
+ }
2011
+
2012
+ this.env.reporter.reportSpecStarting(this);
2013
+
2014
+ spec.env.currentSpec = spec;
2015
+
2016
+ spec.addBeforesAndAftersToQueue();
2017
+
2018
+ spec.queue.start(function () {
2019
+ spec.finish(onComplete);
2020
+ });
2021
+ };
2022
+
2023
+ jasmine.Spec.prototype.addBeforesAndAftersToQueue = function() {
2024
+ var runner = this.env.currentRunner();
2025
+ var i;
2026
+
2027
+ for (var suite = this.suite; suite; suite = suite.parentSuite) {
2028
+ for (i = 0; i < suite.before_.length; i++) {
2029
+ this.queue.addBefore(new jasmine.Block(this.env, suite.before_[i], this));
2030
+ }
2031
+ }
2032
+ for (i = 0; i < runner.before_.length; i++) {
2033
+ this.queue.addBefore(new jasmine.Block(this.env, runner.before_[i], this));
2034
+ }
2035
+ for (i = 0; i < this.afterCallbacks.length; i++) {
2036
+ this.queue.add(new jasmine.Block(this.env, this.afterCallbacks[i], this));
2037
+ }
2038
+ for (suite = this.suite; suite; suite = suite.parentSuite) {
2039
+ for (i = 0; i < suite.after_.length; i++) {
2040
+ this.queue.add(new jasmine.Block(this.env, suite.after_[i], this));
2041
+ }
2042
+ }
2043
+ for (i = 0; i < runner.after_.length; i++) {
2044
+ this.queue.add(new jasmine.Block(this.env, runner.after_[i], this));
2045
+ }
2046
+ };
2047
+
2048
+ jasmine.Spec.prototype.explodes = function() {
2049
+ throw 'explodes function should not have been called';
2050
+ };
2051
+
2052
+ jasmine.Spec.prototype.spyOn = function(obj, methodName, ignoreMethodDoesntExist) {
2053
+ if (obj == jasmine.undefined) {
2054
+ throw "spyOn could not find an object to spy upon for " + methodName + "()";
2055
+ }
2056
+
2057
+ if (!ignoreMethodDoesntExist && obj[methodName] === jasmine.undefined) {
2058
+ throw methodName + '() method does not exist';
2059
+ }
2060
+
2061
+ if (!ignoreMethodDoesntExist && obj[methodName] && obj[methodName].isSpy) {
2062
+ throw new Error(methodName + ' has already been spied upon');
2063
+ }
2064
+
2065
+ var spyObj = jasmine.createSpy(methodName);
2066
+
2067
+ this.spies_.push(spyObj);
2068
+ spyObj.baseObj = obj;
2069
+ spyObj.methodName = methodName;
2070
+ spyObj.originalValue = obj[methodName];
2071
+
2072
+ obj[methodName] = spyObj;
2073
+
2074
+ return spyObj;
2075
+ };
2076
+
2077
+ jasmine.Spec.prototype.removeAllSpies = function() {
2078
+ for (var i = 0; i < this.spies_.length; i++) {
2079
+ var spy = this.spies_[i];
2080
+ spy.baseObj[spy.methodName] = spy.originalValue;
2081
+ }
2082
+ this.spies_ = [];
2083
+ };
2084
+
2085
+ /**
2086
+ * Internal representation of a Jasmine suite.
2087
+ *
2088
+ * @constructor
2089
+ * @param {jasmine.Env} env
2090
+ * @param {String} description
2091
+ * @param {Function} specDefinitions
2092
+ * @param {jasmine.Suite} parentSuite
2093
+ */
2094
+ jasmine.Suite = function(env, description, specDefinitions, parentSuite) {
2095
+ var self = this;
2096
+ self.id = env.nextSuiteId ? env.nextSuiteId() : null;
2097
+ self.description = description;
2098
+ self.queue = new jasmine.Queue(env);
2099
+ self.parentSuite = parentSuite;
2100
+ self.env = env;
2101
+ self.before_ = [];
2102
+ self.after_ = [];
2103
+ self.children_ = [];
2104
+ self.suites_ = [];
2105
+ self.specs_ = [];
2106
+ };
2107
+
2108
+ jasmine.Suite.prototype.getFullName = function() {
2109
+ var fullName = this.description;
2110
+ for (var parentSuite = this.parentSuite; parentSuite; parentSuite = parentSuite.parentSuite) {
2111
+ fullName = parentSuite.description + ' ' + fullName;
2112
+ }
2113
+ return fullName;
2114
+ };
2115
+
2116
+ jasmine.Suite.prototype.finish = function(onComplete) {
2117
+ this.env.reporter.reportSuiteResults(this);
2118
+ this.finished = true;
2119
+ if (typeof(onComplete) == 'function') {
2120
+ onComplete();
2121
+ }
2122
+ };
2123
+
2124
+ jasmine.Suite.prototype.beforeEach = function(beforeEachFunction) {
2125
+ beforeEachFunction.typeName = 'beforeEach';
2126
+ this.before_.unshift(beforeEachFunction);
2127
+ };
2128
+
2129
+ jasmine.Suite.prototype.afterEach = function(afterEachFunction) {
2130
+ afterEachFunction.typeName = 'afterEach';
2131
+ this.after_.unshift(afterEachFunction);
2132
+ };
2133
+
2134
+ jasmine.Suite.prototype.results = function() {
2135
+ return this.queue.results();
2136
+ };
2137
+
2138
+ jasmine.Suite.prototype.add = function(suiteOrSpec) {
2139
+ this.children_.push(suiteOrSpec);
2140
+ if (suiteOrSpec instanceof jasmine.Suite) {
2141
+ this.suites_.push(suiteOrSpec);
2142
+ this.env.currentRunner().addSuite(suiteOrSpec);
2143
+ } else {
2144
+ this.specs_.push(suiteOrSpec);
2145
+ }
2146
+ this.queue.add(suiteOrSpec);
2147
+ };
2148
+
2149
+ jasmine.Suite.prototype.specs = function() {
2150
+ return this.specs_;
2151
+ };
2152
+
2153
+ jasmine.Suite.prototype.suites = function() {
2154
+ return this.suites_;
2155
+ };
2156
+
2157
+ jasmine.Suite.prototype.children = function() {
2158
+ return this.children_;
2159
+ };
2160
+
2161
+ jasmine.Suite.prototype.execute = function(onComplete) {
2162
+ var self = this;
2163
+ this.queue.start(function () {
2164
+ self.finish(onComplete);
2165
+ });
2166
+ };
2167
+ jasmine.WaitsBlock = function(env, timeout, spec) {
2168
+ this.timeout = timeout;
2169
+ jasmine.Block.call(this, env, null, spec);
2170
+ };
2171
+
2172
+ jasmine.util.inherit(jasmine.WaitsBlock, jasmine.Block);
2173
+
2174
+ jasmine.WaitsBlock.prototype.execute = function (onComplete) {
2175
+ this.env.reporter.log('>> Jasmine waiting for ' + this.timeout + ' ms...');
2176
+ this.env.setTimeout(function () {
2177
+ onComplete();
2178
+ }, this.timeout);
2179
+ };
2180
+ /**
2181
+ * A block which waits for some condition to become true, with timeout.
2182
+ *
2183
+ * @constructor
2184
+ * @extends jasmine.Block
2185
+ * @param {jasmine.Env} env The Jasmine environment.
2186
+ * @param {Number} timeout The maximum time in milliseconds to wait for the condition to become true.
2187
+ * @param {Function} latchFunction A function which returns true when the desired condition has been met.
2188
+ * @param {String} message The message to display if the desired condition hasn't been met within the given time period.
2189
+ * @param {jasmine.Spec} spec The Jasmine spec.
2190
+ */
2191
+ jasmine.WaitsForBlock = function(env, timeout, latchFunction, message, spec) {
2192
+ this.timeout = timeout || env.defaultTimeoutInterval;
2193
+ this.latchFunction = latchFunction;
2194
+ this.message = message;
2195
+ this.totalTimeSpentWaitingForLatch = 0;
2196
+ jasmine.Block.call(this, env, null, spec);
2197
+ };
2198
+ jasmine.util.inherit(jasmine.WaitsForBlock, jasmine.Block);
2199
+
2200
+ jasmine.WaitsForBlock.TIMEOUT_INCREMENT = 10;
2201
+
2202
+ jasmine.WaitsForBlock.prototype.execute = function(onComplete) {
2203
+ this.env.reporter.log('>> Jasmine waiting for ' + (this.message || 'something to happen'));
2204
+ var latchFunctionResult;
2205
+ try {
2206
+ latchFunctionResult = this.latchFunction.apply(this.spec);
2207
+ } catch (e) {
2208
+ this.spec.fail(e);
2209
+ onComplete();
2210
+ return;
2211
+ }
2212
+
2213
+ if (latchFunctionResult) {
2214
+ onComplete();
2215
+ } else if (this.totalTimeSpentWaitingForLatch >= this.timeout) {
2216
+ var message = 'timed out after ' + this.timeout + ' msec waiting for ' + (this.message || 'something to happen');
2217
+ this.spec.fail({
2218
+ name: 'timeout',
2219
+ message: message
2220
+ });
2221
+
2222
+ this.abort = true;
2223
+ onComplete();
2224
+ } else {
2225
+ this.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
2226
+ var self = this;
2227
+ this.env.setTimeout(function() {
2228
+ self.execute(onComplete);
2229
+ }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
2230
+ }
2231
+ };
2232
+ // Mock setTimeout, clearTimeout
2233
+ // Contributed by Pivotal Computer Systems, www.pivotalsf.com
2234
+
2235
+ jasmine.FakeTimer = function() {
2236
+ this.reset();
2237
+
2238
+ var self = this;
2239
+ self.setTimeout = function(funcToCall, millis) {
2240
+ self.timeoutsMade++;
2241
+ self.scheduleFunction(self.timeoutsMade, funcToCall, millis, false);
2242
+ return self.timeoutsMade;
2243
+ };
2244
+
2245
+ self.setInterval = function(funcToCall, millis) {
2246
+ self.timeoutsMade++;
2247
+ self.scheduleFunction(self.timeoutsMade, funcToCall, millis, true);
2248
+ return self.timeoutsMade;
2249
+ };
2250
+
2251
+ self.clearTimeout = function(timeoutKey) {
2252
+ self.scheduledFunctions[timeoutKey] = jasmine.undefined;
2253
+ };
2254
+
2255
+ self.clearInterval = function(timeoutKey) {
2256
+ self.scheduledFunctions[timeoutKey] = jasmine.undefined;
2257
+ };
2258
+
2259
+ };
2260
+
2261
+ jasmine.FakeTimer.prototype.reset = function() {
2262
+ this.timeoutsMade = 0;
2263
+ this.scheduledFunctions = {};
2264
+ this.nowMillis = 0;
2265
+ };
2266
+
2267
+ jasmine.FakeTimer.prototype.tick = function(millis) {
2268
+ var oldMillis = this.nowMillis;
2269
+ var newMillis = oldMillis + millis;
2270
+ this.runFunctionsWithinRange(oldMillis, newMillis);
2271
+ this.nowMillis = newMillis;
2272
+ };
2273
+
2274
+ jasmine.FakeTimer.prototype.runFunctionsWithinRange = function(oldMillis, nowMillis) {
2275
+ var scheduledFunc;
2276
+ var funcsToRun = [];
2277
+ for (var timeoutKey in this.scheduledFunctions) {
2278
+ scheduledFunc = this.scheduledFunctions[timeoutKey];
2279
+ if (scheduledFunc != jasmine.undefined &&
2280
+ scheduledFunc.runAtMillis >= oldMillis &&
2281
+ scheduledFunc.runAtMillis <= nowMillis) {
2282
+ funcsToRun.push(scheduledFunc);
2283
+ this.scheduledFunctions[timeoutKey] = jasmine.undefined;
2284
+ }
2285
+ }
2286
+
2287
+ if (funcsToRun.length > 0) {
2288
+ funcsToRun.sort(function(a, b) {
2289
+ return a.runAtMillis - b.runAtMillis;
2290
+ });
2291
+ for (var i = 0; i < funcsToRun.length; ++i) {
2292
+ try {
2293
+ var funcToRun = funcsToRun[i];
2294
+ this.nowMillis = funcToRun.runAtMillis;
2295
+ funcToRun.funcToCall();
2296
+ if (funcToRun.recurring) {
2297
+ this.scheduleFunction(funcToRun.timeoutKey,
2298
+ funcToRun.funcToCall,
2299
+ funcToRun.millis,
2300
+ true);
2301
+ }
2302
+ } catch(e) {
2303
+ }
2304
+ }
2305
+ this.runFunctionsWithinRange(oldMillis, nowMillis);
2306
+ }
2307
+ };
2308
+
2309
+ jasmine.FakeTimer.prototype.scheduleFunction = function(timeoutKey, funcToCall, millis, recurring) {
2310
+ this.scheduledFunctions[timeoutKey] = {
2311
+ runAtMillis: this.nowMillis + millis,
2312
+ funcToCall: funcToCall,
2313
+ recurring: recurring,
2314
+ timeoutKey: timeoutKey,
2315
+ millis: millis
2316
+ };
2317
+ };
2318
+
2319
+ /**
2320
+ * @namespace
2321
+ */
2322
+ jasmine.Clock = {
2323
+ defaultFakeTimer: new jasmine.FakeTimer(),
2324
+
2325
+ reset: function() {
2326
+ jasmine.Clock.assertInstalled();
2327
+ jasmine.Clock.defaultFakeTimer.reset();
2328
+ },
2329
+
2330
+ tick: function(millis) {
2331
+ jasmine.Clock.assertInstalled();
2332
+ jasmine.Clock.defaultFakeTimer.tick(millis);
2333
+ },
2334
+
2335
+ runFunctionsWithinRange: function(oldMillis, nowMillis) {
2336
+ jasmine.Clock.defaultFakeTimer.runFunctionsWithinRange(oldMillis, nowMillis);
2337
+ },
2338
+
2339
+ scheduleFunction: function(timeoutKey, funcToCall, millis, recurring) {
2340
+ jasmine.Clock.defaultFakeTimer.scheduleFunction(timeoutKey, funcToCall, millis, recurring);
2341
+ },
2342
+
2343
+ useMock: function() {
2344
+ if (!jasmine.Clock.isInstalled()) {
2345
+ var spec = jasmine.getEnv().currentSpec;
2346
+ spec.after(jasmine.Clock.uninstallMock);
2347
+
2348
+ jasmine.Clock.installMock();
2349
+ }
2350
+ },
2351
+
2352
+ installMock: function() {
2353
+ jasmine.Clock.installed = jasmine.Clock.defaultFakeTimer;
2354
+ },
2355
+
2356
+ uninstallMock: function() {
2357
+ jasmine.Clock.assertInstalled();
2358
+ jasmine.Clock.installed = jasmine.Clock.real;
2359
+ },
2360
+
2361
+ real: {
2362
+ setTimeout: jasmine.getGlobal().setTimeout,
2363
+ clearTimeout: jasmine.getGlobal().clearTimeout,
2364
+ setInterval: jasmine.getGlobal().setInterval,
2365
+ clearInterval: jasmine.getGlobal().clearInterval
2366
+ },
2367
+
2368
+ assertInstalled: function() {
2369
+ if (!jasmine.Clock.isInstalled()) {
2370
+ throw new Error("Mock clock is not installed, use jasmine.Clock.useMock()");
2371
+ }
2372
+ },
2373
+
2374
+ isInstalled: function() {
2375
+ return jasmine.Clock.installed == jasmine.Clock.defaultFakeTimer;
2376
+ },
2377
+
2378
+ installed: null
2379
+ };
2380
+ jasmine.Clock.installed = jasmine.Clock.real;
2381
+
2382
+ //else for IE support
2383
+ jasmine.getGlobal().setTimeout = function(funcToCall, millis) {
2384
+ if (jasmine.Clock.installed.setTimeout.apply) {
2385
+ return jasmine.Clock.installed.setTimeout.apply(this, arguments);
2386
+ } else {
2387
+ return jasmine.Clock.installed.setTimeout(funcToCall, millis);
2388
+ }
2389
+ };
2390
+
2391
+ jasmine.getGlobal().setInterval = function(funcToCall, millis) {
2392
+ if (jasmine.Clock.installed.setInterval.apply) {
2393
+ return jasmine.Clock.installed.setInterval.apply(this, arguments);
2394
+ } else {
2395
+ return jasmine.Clock.installed.setInterval(funcToCall, millis);
2396
+ }
2397
+ };
2398
+
2399
+ jasmine.getGlobal().clearTimeout = function(timeoutKey) {
2400
+ if (jasmine.Clock.installed.clearTimeout.apply) {
2401
+ return jasmine.Clock.installed.clearTimeout.apply(this, arguments);
2402
+ } else {
2403
+ return jasmine.Clock.installed.clearTimeout(timeoutKey);
2404
+ }
2405
+ };
2406
+
2407
+ jasmine.getGlobal().clearInterval = function(timeoutKey) {
2408
+ if (jasmine.Clock.installed.clearTimeout.apply) {
2409
+ return jasmine.Clock.installed.clearInterval.apply(this, arguments);
2410
+ } else {
2411
+ return jasmine.Clock.installed.clearInterval(timeoutKey);
2412
+ }
2413
+ };
2414
+
2415
+
2416
+ jasmine.version_= {
2417
+ "major": 1,
2418
+ "minor": 0,
2419
+ "build": 2,
2420
+ "revision": 1298837858
2421
+ };