windows-pr 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (629) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +453 -449
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +26 -0
  5. data/MANIFEST +68 -68
  6. data/README +156 -154
  7. data/Rakefile +42 -42
  8. data/appveyor.yml +21 -0
  9. data/doc/conversion_guide.txt +37 -37
  10. data/lib/windows/clipboard.rb +61 -61
  11. data/lib/windows/com.rb +192 -192
  12. data/lib/windows/com/accessibility.rb +16 -16
  13. data/lib/windows/com/automation.rb +149 -149
  14. data/lib/windows/com/variant.rb +24 -24
  15. data/lib/windows/console.rb +114 -114
  16. data/lib/windows/debug.rb +35 -35
  17. data/lib/windows/device_io.rb +248 -248
  18. data/lib/windows/directory.rb +27 -27
  19. data/lib/windows/error.rb +504 -504
  20. data/lib/windows/eventlog.rb +80 -80
  21. data/lib/windows/file.rb +264 -264
  22. data/lib/windows/file_mapping.rb +25 -25
  23. data/lib/windows/filesystem.rb +15 -15
  24. data/lib/windows/gdi/bitmap.rb +65 -65
  25. data/lib/windows/gdi/device_context.rb +46 -46
  26. data/lib/windows/gdi/metafile.rb +40 -40
  27. data/lib/windows/gdi/painting_drawing.rb +115 -115
  28. data/lib/windows/handle.rb +23 -23
  29. data/lib/windows/library.rb +44 -44
  30. data/lib/windows/limits.rb +34 -34
  31. data/lib/windows/mailslot.rb +24 -24
  32. data/lib/windows/memory.rb +128 -128
  33. data/lib/windows/msvcrt/buffer.rb +75 -75
  34. data/lib/windows/msvcrt/directory.rb +31 -31
  35. data/lib/windows/msvcrt/file.rb +47 -47
  36. data/lib/windows/msvcrt/io.rb +73 -73
  37. data/lib/windows/msvcrt/string.rb +182 -182
  38. data/lib/windows/msvcrt/time.rb +169 -169
  39. data/lib/windows/national.rb +580 -580
  40. data/lib/windows/network/management.rb +525 -525
  41. data/lib/windows/network/snmp.rb +92 -92
  42. data/lib/windows/network/winsock.rb +128 -128
  43. data/lib/windows/nio.rb +50 -50
  44. data/lib/windows/ntfs/winternl.rb +117 -117
  45. data/lib/windows/path.rb +143 -143
  46. data/lib/windows/pipe.rb +42 -42
  47. data/lib/windows/process.rb +176 -176
  48. data/lib/windows/registry.rb +171 -171
  49. data/lib/windows/security.rb +479 -479
  50. data/lib/windows/security/authentication.rb +32 -32
  51. data/lib/windows/security/sspi.rb +153 -153
  52. data/lib/windows/service.rb +142 -142
  53. data/lib/windows/shell.rb +171 -171
  54. data/lib/windows/socket.rb +86 -86
  55. data/lib/windows/sound.rb +39 -39
  56. data/lib/windows/synchronize.rb +133 -133
  57. data/lib/windows/system_info.rb +229 -229
  58. data/lib/windows/thread.rb +64 -64
  59. data/lib/windows/time.rb +48 -48
  60. data/lib/windows/tool_helper.rb +36 -36
  61. data/lib/windows/unicode.rb +155 -155
  62. data/lib/windows/volume.rb +61 -61
  63. data/lib/windows/window.rb +81 -81
  64. data/lib/windows/window/classes.rb +59 -59
  65. data/lib/windows/window/dialog.rb +91 -91
  66. data/lib/windows/window/menu.rb +102 -102
  67. data/lib/windows/window/message.rb +297 -297
  68. data/lib/windows/window/properties.rb +20 -20
  69. data/lib/windows/window/timer.rb +19 -19
  70. data/lib/windows/wsa.rb +102 -102
  71. data/test/helper.rb +1 -0
  72. data/test/tc_clipboard.rb +41 -41
  73. data/test/tc_com.rb +32 -32
  74. data/test/tc_com_automation.rb +15 -15
  75. data/test/tc_console.rb +108 -108
  76. data/test/tc_debug.rb +48 -48
  77. data/test/tc_device_io.rb +29 -29
  78. data/test/tc_directory.rb +25 -25
  79. data/test/tc_error.rb +38 -38
  80. data/test/tc_eventlog.rb +58 -58
  81. data/test/tc_file.rb +68 -68
  82. data/test/tc_file_mapping.rb +38 -38
  83. data/test/tc_filesystem.rb +27 -27
  84. data/test/tc_gdi_bitmap.rb +25 -25
  85. data/test/tc_gdi_metafile.rb +23 -23
  86. data/test/tc_handle.rb +43 -35
  87. data/test/tc_library.rb +37 -37
  88. data/test/tc_limits.rb +33 -33
  89. data/test/tc_mailslot.rb +22 -22
  90. data/test/tc_memory.rb +44 -44
  91. data/test/tc_msvcrt_buffer.rb +63 -63
  92. data/test/tc_msvcrt_directory.rb +96 -96
  93. data/test/tc_msvcrt_file.rb +80 -80
  94. data/test/tc_msvcrt_io.rb +48 -48
  95. data/test/tc_msvcrt_string.rb +94 -94
  96. data/test/tc_msvcrt_time.rb +19 -19
  97. data/test/tc_national.rb +38 -38
  98. data/test/tc_network_management.rb +32 -32
  99. data/test/tc_network_snmp.rb +31 -31
  100. data/test/tc_network_winsock.rb +34 -34
  101. data/test/tc_nio.rb +32 -32
  102. data/test/tc_ntfs_winternl.rb +48 -48
  103. data/test/tc_path.rb +90 -90
  104. data/test/tc_pipe.rb +52 -52
  105. data/test/tc_process.rb +24 -24
  106. data/test/tc_registry.rb +29 -29
  107. data/test/tc_security.rb +104 -104
  108. data/test/tc_security_authentication.rb +34 -34
  109. data/test/tc_security_sspi.rb +23 -23
  110. data/test/tc_service.rb +57 -57
  111. data/test/tc_shell.rb +34 -34
  112. data/test/tc_socket.rb +30 -30
  113. data/test/tc_sound.rb +37 -37
  114. data/test/tc_synchronize.rb +75 -75
  115. data/test/tc_system_info.rb +33 -33
  116. data/test/tc_thread.rb +29 -29
  117. data/test/tc_time.rb +32 -32
  118. data/test/tc_tool_helper.rb +29 -29
  119. data/test/tc_unicode.rb +83 -83
  120. data/test/tc_volume.rb +47 -47
  121. data/test/tc_window.rb +45 -45
  122. data/test/tc_window_classes.rb +33 -33
  123. data/test/tc_window_dialog.rb +33 -33
  124. data/test/tc_window_menu.rb +29 -29
  125. data/test/tc_window_message.rb +33 -33
  126. data/test/tc_window_properties.rb +29 -29
  127. data/test/tc_window_timer.rb +29 -29
  128. data/test/tc_wsa.rb +19 -19
  129. data/vendor/bundle/ruby/2.2.0/bin/rake +23 -0
  130. data/vendor/bundle/ruby/2.2.0/bin/rake.bat +6 -0
  131. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/History.rdoc +1176 -0
  132. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/Manifest.txt +26 -0
  133. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/README.rdoc +656 -0
  134. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/Rakefile +72 -0
  135. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/design_rationale.rb +52 -0
  136. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/hoe/minitest.rb +26 -0
  137. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest.rb +815 -0
  138. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/assertions.rb +674 -0
  139. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/autorun.rb +13 -0
  140. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/benchmark.rb +424 -0
  141. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/expectations.rb +284 -0
  142. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/hell.rb +17 -0
  143. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/mock.rb +232 -0
  144. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/parallel.rb +69 -0
  145. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/pride.rb +4 -0
  146. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +142 -0
  147. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/spec.rb +331 -0
  148. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/test.rb +284 -0
  149. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/unit.rb +45 -0
  150. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/metametameta.rb +90 -0
  151. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +137 -0
  152. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +512 -0
  153. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +281 -0
  154. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +967 -0
  155. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +1983 -0
  156. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/CONTRIBUTING.rdoc +36 -0
  157. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/Gemfile +3 -0
  158. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/History.rdoc +2228 -0
  159. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/MIT-LICENSE +21 -0
  160. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/README.rdoc +157 -0
  161. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/Rakefile +29 -0
  162. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/appveyor.yml +24 -0
  163. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/bin/console +7 -0
  164. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/bin/setup +6 -0
  165. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/command_line_usage.rdoc +158 -0
  166. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/Rakefile1 +38 -0
  167. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/Rakefile2 +35 -0
  168. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/a.c +6 -0
  169. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/b.c +6 -0
  170. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/main.c +11 -0
  171. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/glossary.rdoc +42 -0
  172. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/jamis.rb +591 -0
  173. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/proto_rake.rdoc +127 -0
  174. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rake.1 +141 -0
  175. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rakefile.rdoc +624 -0
  176. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rational.rdoc +151 -0
  177. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/README.md +4 -0
  178. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  179. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  180. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  181. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  182. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  183. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  184. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  185. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  186. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  187. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  188. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  189. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  190. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  191. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  192. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  193. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
  194. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  195. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  196. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  197. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  198. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  199. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  200. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
  201. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
  202. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
  203. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  204. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
  205. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
  206. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
  207. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
  208. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/exe/rake +27 -0
  209. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake.rb +71 -0
  210. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/application.rb +784 -0
  211. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/backtrace.rb +23 -0
  212. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/clean.rb +76 -0
  213. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/cloneable.rb +16 -0
  214. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
  215. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/ftptools.rb +137 -0
  216. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/sshpublisher.rb +60 -0
  217. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/cpu_counter.rb +106 -0
  218. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/default_loader.rb +14 -0
  219. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/dsl_definition.rb +194 -0
  220. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/early_time.rb +21 -0
  221. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/core.rb +25 -0
  222. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/fixnum.rb +18 -0
  223. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/pathname.rb +25 -0
  224. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/string.rb +175 -0
  225. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_creation_task.rb +24 -0
  226. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_list.rb +436 -0
  227. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_task.rb +46 -0
  228. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_utils.rb +139 -0
  229. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_utils_ext.rb +144 -0
  230. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/invocation_chain.rb +56 -0
  231. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
  232. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/late_time.rb +17 -0
  233. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/linked_list.rb +111 -0
  234. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/loaders/makefile.rb +53 -0
  235. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/multi_task.rb +13 -0
  236. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/name_space.rb +38 -0
  237. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/packagetask.rb +210 -0
  238. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/phony.rb +15 -0
  239. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/private_reader.rb +20 -0
  240. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/promise.rb +99 -0
  241. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/pseudo_status.rb +29 -0
  242. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rake_module.rb +38 -0
  243. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb +21 -0
  244. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rule_recursion_overflow_error.rb +19 -0
  245. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/scope.rb +42 -0
  246. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task.rb +391 -0
  247. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_argument_error.rb +7 -0
  248. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_arguments.rb +103 -0
  249. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_manager.rb +316 -0
  250. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/tasklib.rb +11 -0
  251. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/testtask.rb +212 -0
  252. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/thread_history_display.rb +48 -0
  253. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/thread_pool.rb +162 -0
  254. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/trace_output.rb +22 -0
  255. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/version.rb +9 -0
  256. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/win32.rb +50 -0
  257. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/rake.gemspec +30 -0
  258. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/CHANGES +174 -0
  259. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Gemfile +4 -0
  260. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Gemfile.lock +24 -0
  261. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/MANIFEST +10 -0
  262. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/README +129 -0
  263. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Rakefile +185 -0
  264. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/appveyor.yml +42 -0
  265. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/ext/win32/api.c +1092 -0
  266. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/api.rb +40 -0
  267. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby21_32/win32/api.so +0 -0
  268. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby21_64/win32/api.so +0 -0
  269. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby22_32/win32/api.so +0 -0
  270. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby22_64/win32/api.so +0 -0
  271. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby23_32/win32/api.so +0 -0
  272. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby23_64/win32/api.so +0 -0
  273. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby2_32/win32/api.so +0 -0
  274. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby2_64/win32/api.so +0 -0
  275. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api.rb +145 -0
  276. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api_callback.rb +74 -0
  277. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api_function.rb +66 -0
  278. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/devkit +23 -0
  279. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/devkit.bat +6 -0
  280. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/rake +23 -0
  281. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/rake.bat +6 -0
  282. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/CHANGELOG +55 -0
  283. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/LICENSE +339 -0
  284. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/README.md +73 -0
  285. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/Rakefile +8 -0
  286. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/colorize.gemspec +35 -0
  287. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize.rb +12 -0
  288. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/class_methods.rb +116 -0
  289. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/instance_methods.rb +135 -0
  290. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/test/test_colorize.rb +161 -0
  291. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Gemfile +4 -0
  292. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/LICENSE.txt +22 -0
  293. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/README.md +34 -0
  294. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rakefile +1 -0
  295. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rspec-example-matchers.txt +184 -0
  296. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/bin/devkit +87 -0
  297. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/devkit.gemspec +27 -0
  298. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit.rb +18 -0
  299. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/core.rb +53 -0
  300. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/identity.rb +78 -0
  301. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/ssh_identity.rb +53 -0
  302. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/version.rb +3 -0
  303. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/core_spec.rb +46 -0
  304. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/identity_spec.rb +1 -0
  305. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/ssh_identity_spec.rb +1 -0
  306. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit_spec.rb +5 -0
  307. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/spec_helper.rb +8 -0
  308. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/AUTHORS +3 -0
  309. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/COPYING +339 -0
  310. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Changelog.md +415 -0
  311. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Gemfile +9 -0
  312. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/INSTALL +59 -0
  313. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/LICENSE +7 -0
  314. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/README.rdoc +74 -0
  315. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Rakefile +30 -0
  316. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/TODO +6 -0
  317. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/ansi_colors.rb +38 -0
  318. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/asking_for_arrays.rb +18 -0
  319. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/basic_usage.rb +75 -0
  320. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/color_scheme.rb +32 -0
  321. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/get_character.rb +12 -0
  322. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/limit.rb +12 -0
  323. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/menus.rb +65 -0
  324. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/overwrite.rb +19 -0
  325. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/page_and_wrap.rb +322 -0
  326. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/password.rb +7 -0
  327. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/repeat_entry.rb +21 -0
  328. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/trapping_eof.rb +22 -0
  329. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/using_readline.rb +17 -0
  330. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/highline.gemspec +37 -0
  331. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline.rb +1048 -0
  332. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/color_scheme.rb +134 -0
  333. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/compatibility.rb +16 -0
  334. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/import.rb +41 -0
  335. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/menu.rb +381 -0
  336. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/question.rb +480 -0
  337. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/simulate.rb +48 -0
  338. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/style.rb +192 -0
  339. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/version.rb +4 -0
  340. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/setup.rb +1360 -0
  341. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/highline.css +65 -0
  342. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/images/logo.png +0 -0
  343. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/index.html +58 -0
  344. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/string_methods.rb +32 -0
  345. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_color_scheme.rb +96 -0
  346. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_highline.rb +1402 -0
  347. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_import.rb +52 -0
  348. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_menu.rb +439 -0
  349. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_simulator.rb +23 -0
  350. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_string_highline.rb +38 -0
  351. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_style.rb +578 -0
  352. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/BSDL +22 -0
  353. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/COPYING +57 -0
  354. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Gemfile +9 -0
  355. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/LEGAL +4 -0
  356. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/README.rdoc +19 -0
  357. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Rakefile +16 -0
  358. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/bm_yhpg.rb +59 -0
  359. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/helper.rb +8 -0
  360. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert.rb +338 -0
  361. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/enable_tracepoint_events.rb +82 -0
  362. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/version.rb +3 -0
  363. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/power_assert.gemspec +23 -0
  364. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/helper.rb +10 -0
  365. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/test_power_assert.rb +512 -0
  366. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/CONTRIBUTING.rdoc +38 -0
  367. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/History.rdoc +719 -0
  368. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/MIT-LICENSE +21 -0
  369. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Manifest.txt +154 -0
  370. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/README.rdoc +157 -0
  371. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Rakefile +82 -0
  372. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/bin/rake +33 -0
  373. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/command_line_usage.rdoc +158 -0
  374. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile1 +38 -0
  375. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile2 +35 -0
  376. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/a.c +6 -0
  377. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/b.c +6 -0
  378. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/main.c +11 -0
  379. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/glossary.rdoc +42 -0
  380. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/jamis.rb +591 -0
  381. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/proto_rake.rdoc +127 -0
  382. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rake.1 +141 -0
  383. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rakefile.rdoc +624 -0
  384. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rational.rdoc +151 -0
  385. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  386. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  387. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  388. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  389. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  390. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  391. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  392. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  393. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  394. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  395. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  396. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  397. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  398. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  399. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  400. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
  401. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  402. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  403. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  404. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  405. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  406. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  407. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
  408. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
  409. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
  410. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  411. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
  412. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
  413. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
  414. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
  415. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake.rb +73 -0
  416. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/application.rb +787 -0
  417. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/backtrace.rb +23 -0
  418. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/clean.rb +76 -0
  419. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cloneable.rb +16 -0
  420. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/compositepublisher.rb +21 -0
  421. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/ftptools.rb +137 -0
  422. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/sshpublisher.rb +60 -0
  423. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cpu_counter.rb +120 -0
  424. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/default_loader.rb +14 -0
  425. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/dsl_definition.rb +194 -0
  426. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/early_time.rb +21 -0
  427. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_creation_task.rb +24 -0
  428. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_list.rb +436 -0
  429. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_task.rb +46 -0
  430. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_utils.rb +123 -0
  431. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_chain.rb +56 -0
  432. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_exception_mixin.rb +16 -0
  433. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/late_time.rb +17 -0
  434. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/linked_list.rb +111 -0
  435. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/loaders/makefile.rb +53 -0
  436. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/multi_task.rb +13 -0
  437. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/name_space.rb +38 -0
  438. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/packagetask.rb +199 -0
  439. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/phony.rb +15 -0
  440. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/private_reader.rb +20 -0
  441. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/promise.rb +99 -0
  442. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/pseudo_status.rb +29 -0
  443. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_module.rb +38 -0
  444. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb +22 -0
  445. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  446. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/scope.rb +42 -0
  447. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task.rb +391 -0
  448. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_argument_error.rb +7 -0
  449. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_arguments.rb +102 -0
  450. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_manager.rb +316 -0
  451. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/tasklib.rb +11 -0
  452. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/testtask.rb +204 -0
  453. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_history_display.rb +48 -0
  454. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_pool.rb +163 -0
  455. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/trace_output.rb +22 -0
  456. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/version.rb +7 -0
  457. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/win32.rb +50 -0
  458. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/rakelib/test_times.rake +25 -0
  459. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/file_creation.rb +34 -0
  460. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/helper.rb +134 -0
  461. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/rakefile_definitions.rb +476 -0
  462. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/ruby_runner.rb +34 -0
  463. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_private_reader.rb +42 -0
  464. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake.rb +40 -0
  465. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application.rb +659 -0
  466. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application_options.rb +468 -0
  467. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_backtrace.rb +119 -0
  468. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_clean.rb +61 -0
  469. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_cpu_counter.rb +68 -0
  470. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_definitions.rb +84 -0
  471. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_directory_task.rb +76 -0
  472. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_dsl.rb +40 -0
  473. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_early_time.rb +31 -0
  474. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_creation_task.rb +56 -0
  475. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list.rb +687 -0
  476. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list_path_map.rb +15 -0
  477. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_task.rb +197 -0
  478. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_utils.rb +318 -0
  479. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_ftp_file.rb +74 -0
  480. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_functional.rb +484 -0
  481. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_invocation_chain.rb +64 -0
  482. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_late_time.rb +18 -0
  483. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_linked_list.rb +84 -0
  484. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_makefile_loader.rb +46 -0
  485. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_multi_task.rb +64 -0
  486. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_name_space.rb +57 -0
  487. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_package_task.rb +79 -0
  488. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map.rb +168 -0
  489. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_explode.rb +34 -0
  490. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_partial.rb +18 -0
  491. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_pseudo_status.rb +21 -0
  492. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rake_test_loader.rb +20 -0
  493. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_reduce_compat.rb +26 -0
  494. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_require.rb +40 -0
  495. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rules.rb +388 -0
  496. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_scope.rb +44 -0
  497. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task.rb +430 -0
  498. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_argument_parsing.rb +119 -0
  499. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_arguments.rb +134 -0
  500. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager.rb +178 -0
  501. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
  502. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_with_arguments.rb +172 -0
  503. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_test_task.rb +130 -0
  504. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_thread_pool.rb +145 -0
  505. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_top_level_functions.rb +71 -0
  506. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_win32.rb +72 -0
  507. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_thread_history_display.rb +101 -0
  508. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_trace_output.rb +52 -0
  509. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/COPYING +64 -0
  510. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/GPL +339 -0
  511. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/LGPL +502 -0
  512. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/PSFL +271 -0
  513. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/README.md +101 -0
  514. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/Rakefile +71 -0
  515. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test-unit.rb +34 -0
  516. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit.rb +505 -0
  517. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertion-failed-error.rb +25 -0
  518. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertions.rb +2218 -0
  519. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute-matcher.rb +26 -0
  520. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute.rb +158 -0
  521. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/auto-runner-loader.rb +17 -0
  522. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/autorunner.rb +536 -0
  523. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
  524. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector.rb +73 -0
  525. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/descendant.rb +19 -0
  526. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/dir.rb +108 -0
  527. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/load.rb +202 -0
  528. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/objectspace.rb +34 -0
  529. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/xml.rb +249 -0
  530. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color-scheme.rb +198 -0
  531. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color.rb +134 -0
  532. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/data.rb +262 -0
  533. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/diff.rb +746 -0
  534. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/error.rb +158 -0
  535. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/exception-handler.rb +82 -0
  536. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/failure.rb +169 -0
  537. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fault-location-detector.rb +100 -0
  538. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fixture.rb +295 -0
  539. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/notification.rb +136 -0
  540. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/omission.rb +195 -0
  541. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/pending.rb +154 -0
  542. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/priority.rb +192 -0
  543. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/console.rb +59 -0
  544. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/emacs.rb +8 -0
  545. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/xml.rb +15 -0
  546. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/test-suite-creator.rb +89 -0
  547. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testcase.rb +811 -0
  548. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testresult.rb +132 -0
  549. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testsuite.rb +175 -0
  550. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
  551. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/testrunner.rb +693 -0
  552. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  553. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunner.rb +53 -0
  554. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
  555. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  556. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
  557. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/backtracefilter.rb +59 -0
  558. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/method-owner-finder.rb +28 -0
  559. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/observable.rb +90 -0
  560. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/output.rb +31 -0
  561. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/procwrapper.rb +48 -0
  562. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/version.rb +5 -0
  563. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/adder.rb +13 -0
  564. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/subtracter.rb +12 -0
  565. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_adder.rb +20 -0
  566. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_subtracter.rb +20 -0
  567. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_user.rb +23 -0
  568. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-descendant.rb +178 -0
  569. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-load.rb +442 -0
  570. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_dir.rb +406 -0
  571. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_objectspace.rb +100 -0
  572. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.csv +3 -0
  573. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.tsv +3 -0
  574. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.csv +3 -0
  575. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.tsv +3 -0
  576. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.csv +2 -0
  577. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.tsv +2 -0
  578. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/plus.csv +3 -0
  579. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/run-test.rb +22 -0
  580. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-assertions.rb +2160 -0
  581. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute-matcher.rb +38 -0
  582. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute.rb +123 -0
  583. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-code-snippet.rb +37 -0
  584. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color-scheme.rb +82 -0
  585. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color.rb +47 -0
  586. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-data.rb +303 -0
  587. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-diff.rb +518 -0
  588. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-emacs-runner.rb +60 -0
  589. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-error.rb +26 -0
  590. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-failure.rb +33 -0
  591. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fault-location-detector.rb +163 -0
  592. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fixture.rb +713 -0
  593. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-notification.rb +33 -0
  594. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-omission.rb +81 -0
  595. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-pending.rb +70 -0
  596. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-priority.rb +173 -0
  597. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-case.rb +1171 -0
  598. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-result.rb +113 -0
  599. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite-creator.rb +97 -0
  600. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite.rb +150 -0
  601. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/testunit-test-util.rb +31 -0
  602. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/ui/test_testrunmediator.rb +20 -0
  603. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-method-owner-finder.rb +38 -0
  604. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-output.rb +11 -0
  605. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_backtracefilter.rb +52 -0
  606. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_observable.rb +102 -0
  607. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_procwrapper.rb +36 -0
  608. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/colorize-0.7.7.gemspec +38 -0
  609. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/devkit-0.1.0.gemspec +46 -0
  610. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/highline-1.7.8.gemspec +37 -0
  611. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/power_assert-0.3.0.gemspec +41 -0
  612. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/rake-11.1.2.gemspec +43 -0
  613. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/test-unit-3.1.9.gemspec +47 -0
  614. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/win32-api.gemspec +27 -0
  615. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/CHANGES +68 -0
  616. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/MANIFEST +9 -0
  617. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/README +96 -0
  618. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/Rakefile +47 -0
  619. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/lib/windows/api.rb +503 -0
  620. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/lib/windows/wide_string.rb +60 -0
  621. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/test/test_wide_string.rb +59 -0
  622. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/test/test_windows_api.rb +171 -0
  623. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/windows-api.gemspec +26 -0
  624. data/vendor/bundle/ruby/2.2.0/specifications/minitest-5.9.0.gemspec +39 -0
  625. data/vendor/bundle/ruby/2.2.0/specifications/rake-11.2.2.gemspec +43 -0
  626. data/vendor/bundle/ruby/2.2.0/specifications/win32-api-1.6.0-universal-mingw32.gemspec +39 -0
  627. data/vendor/bundle/ruby/2.2.0/specifications/windows-api-0.4.4.gemspec +37 -0
  628. data/windows-pr.gemspec +33 -31
  629. metadata +548 -17
@@ -0,0 +1,33 @@
1
+ require 'test/unit'
2
+ require 'testunit-test-util'
3
+
4
+ class TestUnitNotification < Test::Unit::TestCase
5
+ include TestUnitTestUtil
6
+
7
+ class TestCase < Test::Unit::TestCase
8
+ class << self
9
+ def suite
10
+ Test::Unit::TestSuite.new(name)
11
+ end
12
+ end
13
+
14
+ def test_notify
15
+ notify("1st notify")
16
+ notify("2nd notify. Reach here.")
17
+ end
18
+ end
19
+
20
+ def test_notify
21
+ result = _run_test("test_notify")
22
+ assert_equal("1 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, " \
23
+ "0 omissions, 2 notifications",
24
+ result.to_s)
25
+ assert_fault_messages(["1st notify", "2nd notify. Reach here."],
26
+ result.notifications)
27
+ end
28
+
29
+ private
30
+ def _run_test(name)
31
+ super(TestCase, name)
32
+ end
33
+ end
@@ -0,0 +1,81 @@
1
+ require 'test/unit'
2
+ require 'testunit-test-util'
3
+
4
+ class TestUnitOmission < Test::Unit::TestCase
5
+ include TestUnitTestUtil
6
+
7
+ class TestCase < Test::Unit::TestCase
8
+ class << self
9
+ def suite
10
+ Test::Unit::TestSuite.new(name)
11
+ end
12
+ end
13
+
14
+ def test_omit
15
+ omit("1st omit")
16
+ omit("2nd omit. Should not be reached here.")
17
+ assert(true, "Should not be reached here too.")
18
+ end
19
+
20
+ def test_omit_with_condition
21
+ omit_if(false, "Never omit.")
22
+ omit_unless(true, "Never omit too.")
23
+ omit_if(true, "Should omit.")
24
+ omit("The last omit. Should not be reached here.")
25
+ end
26
+
27
+ def test_omit_with_block
28
+ omit("Omit block") do
29
+ flunk("Should not be reached here.")
30
+ end
31
+ assert(true, "Should be reached here.")
32
+ end
33
+
34
+ def test_omit_with_block_and_condition
35
+ omit_if(false, "Never omit.") do
36
+ assert(true, "Should be reached here.")
37
+ end
38
+ omit_if(true, "Should omit.") do
39
+ flunk("Never reached here.")
40
+ end
41
+ assert(true, "Should be reached here too.")
42
+ end
43
+ end
44
+
45
+ def test_omit
46
+ result = _run_test("test_omit")
47
+ assert_equal("1 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, " \
48
+ "1 omissions, 0 notifications",
49
+ result.to_s)
50
+ assert_fault_messages(["1st omit"], result.omissions)
51
+ end
52
+
53
+ def test_omit_with_condition
54
+ result = _run_test("test_omit_with_condition")
55
+ assert_equal("1 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, " \
56
+ "1 omissions, 0 notifications",
57
+ result.to_s)
58
+ assert_fault_messages(["Should omit."], result.omissions)
59
+ end
60
+
61
+ def test_omit_with_block
62
+ result = _run_test("test_omit_with_block")
63
+ assert_equal("1 tests, 1 assertions, 0 failures, 0 errors, 0 pendings, " \
64
+ "1 omissions, 0 notifications",
65
+ result.to_s)
66
+ assert_fault_messages(["Omit block"], result.omissions)
67
+ end
68
+
69
+ def test_omit_with_condition_and_block
70
+ result = _run_test("test_omit_with_block_and_condition")
71
+ assert_equal("1 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, " \
72
+ "1 omissions, 0 notifications",
73
+ result.to_s)
74
+ assert_fault_messages(["Should omit."], result.omissions)
75
+ end
76
+
77
+ private
78
+ def _run_test(name)
79
+ super(TestCase, name)
80
+ end
81
+ end
@@ -0,0 +1,70 @@
1
+ require 'test/unit'
2
+ require 'testunit-test-util'
3
+
4
+ class TestUnitPending < Test::Unit::TestCase
5
+ include TestUnitTestUtil
6
+
7
+ class TestCase < Test::Unit::TestCase
8
+ class << self
9
+ def suite
10
+ Test::Unit::TestSuite.new(name)
11
+ end
12
+ end
13
+
14
+ def test_pend
15
+ pend("1st pend")
16
+ pend("2nd pend. Should not be reached here.")
17
+ assert(true, "Should not be reached here too.")
18
+ end
19
+
20
+ def test_pend_with_failure_in_block
21
+ pend("Wait a minute") do
22
+ raise "Not implemented yet"
23
+ end
24
+ assert(true, "Reached here.")
25
+ end
26
+
27
+ def test_pend_with_no_failure_in_block
28
+ pend("Wait a minute") do
29
+ "Nothing raised"
30
+ end
31
+ assert(true, "Not reached here.")
32
+ end
33
+ end
34
+
35
+ def test_pend
36
+ test = nil
37
+ result = _run_test("test_pend") {|t| test = t}
38
+ assert_equal("1 tests, 0 assertions, 0 failures, 0 errors, 1 pendings, " \
39
+ "0 omissions, 0 notifications",
40
+ result.to_s)
41
+ assert_fault_messages(["1st pend"], result.pendings)
42
+ assert_true(test.interrupted?)
43
+ end
44
+
45
+ def test_pend_with_failure_in_block
46
+ test = nil
47
+ result = _run_test("test_pend_with_failure_in_block") {|t| test = t}
48
+ assert_equal("1 tests, 1 assertions, 0 failures, 0 errors, 1 pendings, " \
49
+ "0 omissions, 0 notifications",
50
+ result.to_s)
51
+ assert_fault_messages(["Wait a minute"], result.pendings)
52
+ assert_false(test.interrupted?)
53
+ end
54
+
55
+ def test_pend_with_no_failure_in_block
56
+ test = nil
57
+ result = _run_test("test_pend_with_no_failure_in_block") {|t| test = t}
58
+ assert_equal("1 tests, 1 assertions, 1 failures, 0 errors, 0 pendings, " \
59
+ "0 omissions, 0 notifications",
60
+ result.to_s)
61
+ assert_fault_messages(["Pending block should not be passed: Wait a minute."],
62
+ result.failures)
63
+ assert_true(test.interrupted?)
64
+ end
65
+
66
+ private
67
+ def _run_test(name, &block)
68
+ super(TestCase, name, &block)
69
+ end
70
+ end
@@ -0,0 +1,173 @@
1
+ require 'test/unit'
2
+
3
+ class TestUnitPriority < Test::Unit::TestCase
4
+ class TestCase < Test::Unit::TestCase
5
+ class << self
6
+ def suite
7
+ Test::Unit::TestSuite.new(name)
8
+ end
9
+ end
10
+
11
+ priority :must
12
+ def test_must
13
+ assert(true)
14
+ end
15
+
16
+ def test_must_inherited
17
+ assert(true)
18
+ end
19
+
20
+ priority :important
21
+ def test_important
22
+ assert(true)
23
+ end
24
+
25
+ def test_important_inherited
26
+ assert(true)
27
+ end
28
+
29
+ priority :high
30
+ def test_high
31
+ assert(true)
32
+ end
33
+
34
+ def test_high_inherited
35
+ assert(true)
36
+ end
37
+
38
+ priority :normal
39
+ def test_normal
40
+ assert(true)
41
+ end
42
+
43
+ def test_normal_inherited
44
+ assert(true)
45
+ end
46
+
47
+ priority :low
48
+ def test_low
49
+ assert(true)
50
+ end
51
+
52
+ def test_low_inherited
53
+ assert(true)
54
+ end
55
+
56
+ priority :never
57
+ def test_never
58
+ assert(true)
59
+ end
60
+
61
+ def test_never_inherited
62
+ assert(true)
63
+ end
64
+ end
65
+
66
+ def test_priority_must
67
+ assert_priority("must", 1.0, 0.0001)
68
+ end
69
+
70
+ def test_priority_important
71
+ assert_priority("important", 0.9, 0.09)
72
+ end
73
+
74
+ def test_priority_high
75
+ assert_priority("high", 0.70, 0.1)
76
+ end
77
+
78
+ def test_priority_normal
79
+ assert_priority("normal", 0.5, 0.1)
80
+ end
81
+
82
+ def test_priority_low
83
+ assert_priority("low", 0.25, 0.1)
84
+ end
85
+
86
+ def test_priority_never
87
+ assert_priority("never", 0.0, 0.0001)
88
+ end
89
+
90
+ def assert_priority(priority, expected, delta)
91
+ assert_need_to_run("test_#{priority}", expected, delta)
92
+ assert_need_to_run("test_#{priority}_inherited", expected, delta)
93
+ end
94
+
95
+ def assert_need_to_run(test_name, expected, delta)
96
+ test = TestCase.new(test_name)
97
+ n = 1000
98
+ n_need_to_run = 0
99
+ n.times do |i|
100
+ n_need_to_run += 1 if Test::Unit::Priority::Checker.need_to_run?(test)
101
+ end
102
+ assert_in_delta(expected, n_need_to_run.to_f / n, delta)
103
+ end
104
+
105
+ class TestClassName < self
106
+ def test_colon
107
+ assert_escaped_name("Test__Priority", "Test::Priority")
108
+ end
109
+
110
+ def test_space
111
+ assert_escaped_name("test_priority", "test priority")
112
+ end
113
+
114
+ def test_slash
115
+ assert_escaped_name("test_priority", "test/priority")
116
+ end
117
+
118
+ def test_back_slash
119
+ assert_escaped_name("test_priority", "test\/priority")
120
+ end
121
+
122
+ def assert_escaped_name(expected, class_name)
123
+ checker = Checker.new(nil)
124
+ escaped_class_name = checker.send(:escape_class_name, class_name)
125
+ assert_equal(expected, escaped_class_name)
126
+ end
127
+ end
128
+
129
+ class TestFileName < self
130
+ class SpecialNameTestCase < Test::Unit::TestCase
131
+ class << self
132
+ def suite
133
+ Test::Unit::TestSuite.new(name)
134
+ end
135
+ end
136
+
137
+ def test_question?
138
+ end
139
+
140
+ def test_exclamation!
141
+ end
142
+
143
+ def test_equal=
144
+ end
145
+
146
+ test "have space" do
147
+ end
148
+ end
149
+
150
+ def test_question
151
+ assert_escaped_name("test_question.predicate", "test_question?")
152
+ end
153
+
154
+ def test_exclamation
155
+ assert_escaped_name("test_exclamation.destructive", "test_exclamation!")
156
+ end
157
+
158
+ def test_equal
159
+ assert_escaped_name("test_equal.equal", "test_equal=")
160
+ end
161
+
162
+ def test_colon_and_space
163
+ assert_escaped_name("test_colon__have_space", "test: have space")
164
+ end
165
+
166
+ def assert_escaped_name(expected, test_method_name)
167
+ checker = Checker.new(SpecialNameTestCase.new(test_method_name))
168
+ passed_file = checker.send(:passed_file)
169
+ method_name_component = File.basename(File.dirname(passed_file))
170
+ assert_equal(expected, method_name_component)
171
+ end
172
+ end
173
+ end
@@ -0,0 +1,1171 @@
1
+ # Author:: Nathaniel Talbott.
2
+ # Copyright:: Copyright (c) 2008-2014 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright:: Copyright (c) 2011 Haruka Yoshihara <yoshihara@clear-code.com>
4
+ # Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott
5
+ # License:: Ruby license.
6
+
7
+ require 'test/unit'
8
+
9
+ module Test
10
+ module Unit
11
+ class TestTestCase < TestCase
12
+ self.test_order = :random
13
+ def test_creation
14
+ test_case = Class.new(TestCase) do
15
+ def test_with_arguments(arg1, arg2)
16
+ end
17
+ end
18
+
19
+ test = test_case.new(:test_with_arguments)
20
+ check("Should have caught an invalid test when there are arguments",
21
+ !test.valid?)
22
+
23
+ test = test_case.new(:non_existent_test)
24
+ check("Should have caught an invalid test when the method does not exist",
25
+ !test.valid?)
26
+ end
27
+
28
+ def setup
29
+ @tc_failure_error = Class.new(TestCase) do
30
+ def test_failure
31
+ assert_block("failure") do
32
+ false
33
+ end
34
+ end
35
+ def test_error
36
+ 1 / 0
37
+ end
38
+ def test_nested_failure
39
+ nested
40
+ end
41
+ def nested
42
+ assert_block("nested") do
43
+ false
44
+ end
45
+ end
46
+ def return_passed?
47
+ return passed?
48
+ end
49
+ end
50
+
51
+ def @tc_failure_error.name
52
+ "TC_FailureError"
53
+ end
54
+ end
55
+
56
+ def jruby_backtrace_entry?(entry)
57
+ entry.start_with?("org/jruby/")
58
+ end
59
+
60
+ def rubinius_backtrace_entry?(entry)
61
+ entry.start_with?("kernel/")
62
+ end
63
+
64
+ def normalize_location(location)
65
+ filtered_location = location.reject do |entry|
66
+ jruby_backtrace_entry?(entry) or
67
+ rubinius_backtrace_entry?(entry)
68
+ end
69
+ filtered_location.collect do |entry|
70
+ entry.sub(/:\d+:/, ":0:")
71
+ end
72
+ end
73
+
74
+ def test_add_failed_assertion
75
+ test_case = @tc_failure_error.new(:test_failure)
76
+ assert do
77
+ test_case.passed?
78
+ end
79
+
80
+ result = TestResult.new
81
+ faults = []
82
+ result.add_listener(TestResult::FAULT) do |fault|
83
+ faults << fault
84
+ end
85
+ progress = []
86
+ test_case.run(result) do |*arguments|
87
+ progress << arguments
88
+ end
89
+ fault_details = faults.collect do |fault|
90
+ {
91
+ :class => fault.class,
92
+ :message => fault.message,
93
+ :test_name => fault.test_name,
94
+ :location => normalize_location(fault.location),
95
+ }
96
+ end
97
+ assert_equal([
98
+ {
99
+ :class => Failure,
100
+ :message => "failure",
101
+ :test_name => "test_failure(TC_FailureError)",
102
+ :location => [
103
+ "#{__FILE__}:0:in `test_failure'",
104
+ "#{__FILE__}:0:in `#{__method__}'",
105
+ ],
106
+ },
107
+ ],
108
+ fault_details)
109
+
110
+ assert do
111
+ not test_case.passed?
112
+ end
113
+ assert_equal([
114
+ [TestCase::STARTED, test_case.name],
115
+ [TestCase::STARTED_OBJECT, test_case],
116
+ [TestCase::FINISHED, test_case.name],
117
+ [TestCase::FINISHED_OBJECT, test_case],
118
+ ],
119
+ progress)
120
+ end
121
+
122
+ def test_add_failure_nested
123
+ test_case = @tc_failure_error.new(:test_nested_failure)
124
+ assert do
125
+ test_case.passed?
126
+ end
127
+
128
+ result = TestResult.new
129
+ faults = []
130
+ result.add_listener(TestResult::FAULT) do |fault|
131
+ faults << fault
132
+ end
133
+ test_case.run(result) do
134
+ end
135
+ fault_details = faults.collect do |fault|
136
+ {
137
+ :class => fault.class,
138
+ :message => fault.message,
139
+ :test_name => fault.test_name,
140
+ :location => normalize_location(fault.location),
141
+ }
142
+ end
143
+ assert_equal([
144
+ {
145
+ :class => Failure,
146
+ :message => "nested",
147
+ :test_name => "test_nested_failure(TC_FailureError)",
148
+ :location => [
149
+ "#{__FILE__}:0:in `nested'",
150
+ "#{__FILE__}:0:in `test_nested_failure'",
151
+ "#{__FILE__}:0:in `#{__method__}'",
152
+ ],
153
+ },
154
+ ],
155
+ fault_details)
156
+
157
+ assert do
158
+ not test_case.passed?
159
+ end
160
+ end
161
+
162
+ def jruby?
163
+ defined?(JRUBY_VERSION)
164
+ end
165
+
166
+ def rubinius?
167
+ false # TODO
168
+ end
169
+
170
+ def cruby?
171
+ (not jruby?) and (not rubinius?)
172
+ end
173
+
174
+ def test_add_error
175
+ test_case = @tc_failure_error.new(:test_error)
176
+ assert do
177
+ test_case.passed?
178
+ end
179
+
180
+ result = TestResult.new
181
+ faults = []
182
+ result.add_listener(TestResult::FAULT) do |fault|
183
+ faults << fault
184
+ end
185
+ test_case.run(result) do
186
+ end
187
+ fault_details = faults.collect do |fault|
188
+ {
189
+ :class => fault.class,
190
+ :message => fault.message,
191
+ :test_name => fault.test_name,
192
+ :location => normalize_location(fault.location),
193
+ }
194
+ end
195
+ location = []
196
+ location << "#{__FILE__}:0:in `/'" if cruby?
197
+ location << "#{__FILE__}:0:in `test_error'"
198
+ location << "#{__FILE__}:0:in `#{__method__}'"
199
+ assert_equal([
200
+ {
201
+ :class => Error,
202
+ :message => "ZeroDivisionError: divided by 0",
203
+ :test_name => "test_error(TC_FailureError)",
204
+ :location => location,
205
+ },
206
+ ],
207
+ fault_details)
208
+
209
+ assert do
210
+ not test_case.passed?
211
+ end
212
+ end
213
+
214
+ def test_no_tests
215
+ suite = TestCase.suite
216
+ check("Should have a test suite", suite.instance_of?(TestSuite))
217
+ check("Should have one test", suite.size == 1)
218
+ check("Should have the default test", suite.tests.first.name == "default_test(Test::Unit::TestCase)")
219
+
220
+ result = TestResult.new
221
+ suite.run(result) {}
222
+ check("Should have had one test run", result.run_count == 1)
223
+ check("Should have had one test failure", result.failure_count == 1)
224
+ check("Should have had no errors", result.error_count == 0)
225
+ end
226
+
227
+ def test_suite
228
+ tc = Class.new(TestCase) do
229
+ def test_succeed
230
+ assert_block {true}
231
+ end
232
+ def test_fail
233
+ assert_block {false}
234
+ end
235
+ def test_error
236
+ 1/0
237
+ end
238
+ def dont_run
239
+ assert_block {true}
240
+ end
241
+ def test_dont_run(argument)
242
+ assert_block {true}
243
+ end
244
+ def test
245
+ assert_block {true}
246
+ end
247
+ end
248
+
249
+ suite = tc.suite
250
+ check("Should have a test suite", suite.instance_of?(TestSuite))
251
+ check("Should have three tests", suite.size == 3)
252
+
253
+ result = TestResult.new
254
+ suite.run(result) {}
255
+ check("Should have had three test runs", result.run_count == 3)
256
+ check("Should have had one test failure", result.failure_count == 1)
257
+ check("Should have had one test error", result.error_count == 1)
258
+ end
259
+
260
+ def test_setup_teardown
261
+ tc = Class.new(TestCase) do
262
+ attr_reader(:setup_called, :teardown_called)
263
+ def initialize(test)
264
+ super(test)
265
+ @setup_called = false
266
+ @teardown_called = false
267
+ end
268
+ def setup
269
+ @setup_called = true
270
+ end
271
+ def teardown
272
+ @teardown_called = true
273
+ end
274
+ def test_succeed
275
+ assert_block {true}
276
+ end
277
+ def test_fail
278
+ assert_block {false}
279
+ end
280
+ def test_error
281
+ raise "Error!"
282
+ end
283
+ end
284
+ result = TestResult.new
285
+
286
+ test = tc.new(:test_succeed)
287
+ test.run(result) {}
288
+ check("Should have called setup the correct number of times", test.setup_called)
289
+ check("Should have called teardown the correct number of times", test.teardown_called)
290
+
291
+ test = tc.new(:test_fail)
292
+ test.run(result) {}
293
+ check("Should have called setup the correct number of times", test.setup_called)
294
+ check("Should have called teardown the correct number of times", test.teardown_called)
295
+
296
+ test = tc.new(:test_error)
297
+ test.run(result) {}
298
+ check("Should have called setup the correct number of times", test.setup_called)
299
+ check("Should have called teardown the correct number of times", test.teardown_called)
300
+
301
+ check("Should have had two test runs", result.run_count == 3)
302
+ check("Should have had a test failure", result.failure_count == 1)
303
+ check("Should have had a test error", result.error_count == 1)
304
+ end
305
+
306
+ def test_assertion_failed_not_called
307
+ tc = Class.new(TestCase) do
308
+ def test_thing
309
+ raise AssertionFailedError.new
310
+ end
311
+ end
312
+
313
+ suite = tc.suite
314
+ check("Should have one test", suite.size == 1)
315
+ result = TestResult.new
316
+ suite.run(result) {}
317
+ check("Should have had one test run", result.run_count == 1)
318
+ check("Should have had one assertion failure", result.failure_count == 1)
319
+ check("Should not have any assertion errors but had #{result.error_count}", result.error_count == 0)
320
+ end
321
+
322
+ def test_equality
323
+ tc1 = Class.new(TestCase) do
324
+ def test_1
325
+ end
326
+ def test_2
327
+ end
328
+ end
329
+
330
+ tc2 = Class.new(TestCase) do
331
+ def test_1
332
+ end
333
+ end
334
+
335
+ test1 = tc1.new('test_1')
336
+ test2 = tc1.new('test_1')
337
+ check("Should be equal", test1 == test2)
338
+ check("Should be equal", test2 == test1)
339
+
340
+ test1 = tc1.new('test_2')
341
+ check("Should not be equal", test1 != test2)
342
+ check("Should not be equal", test2 != test1)
343
+
344
+ test2 = tc1.new('test_2')
345
+ check("Should be equal", test1 == test2)
346
+ check("Should be equal", test2 == test1)
347
+
348
+ test1 = tc1.new('test_1')
349
+ test2 = tc2.new('test_1')
350
+ check("Should not be equal", test1 != test2)
351
+ check("Should not be equal", test2 != test1)
352
+
353
+ check("Should not be equal", test1 != Object.new)
354
+ check("Should not be equal", Object.new != test1)
355
+ end
356
+
357
+ def test_re_raise_exception
358
+ test_case = Class.new(TestCase) do
359
+ def test_raise_interrupt
360
+ raise Interrupt, "from test"
361
+ end
362
+ end
363
+
364
+ test = test_case.new("test_raise_interrupt")
365
+ begin
366
+ test.run(TestResult.new) {}
367
+ check("Should not be reached", false)
368
+ rescue Exception
369
+ check("Interrupt exception should be re-raised", $!.class == Interrupt)
370
+ end
371
+ end
372
+
373
+ def test_timeout_error
374
+ test_case = Class.new(TestCase) do
375
+ def test_raise_timeout_error
376
+ require "timeout"
377
+ raise Timeout::Error
378
+ end
379
+ end
380
+
381
+ test_suite = test_case.suite
382
+ result = TestResult.new
383
+ begin
384
+ test_suite.run(result) {}
385
+ check("Timeout::Error should be handled as error",
386
+ result.error_count == 1)
387
+ rescue Exception
388
+ check("Timeout::Error should not be passed through: #{$!}", false)
389
+ end
390
+ end
391
+
392
+ def test_interrupted
393
+ test_case = Class.new(TestCase) do
394
+ def test_fail
395
+ flunk
396
+ end
397
+
398
+ def test_nothing
399
+ end
400
+ end
401
+
402
+ failed_test = test_case.new(:test_fail)
403
+ failed_test.run(TestResult.new) {}
404
+ check("Should be interrupted", failed_test.interrupted?)
405
+
406
+ success_test = test_case.new(:test_nothing)
407
+ success_test.run(TestResult.new) {}
408
+ check("Should not be interrupted", !success_test.interrupted?)
409
+ end
410
+
411
+ def test_inherited_test_should_be_ignored
412
+ test_case = Class.new(TestCase) do
413
+ def test_nothing
414
+ end
415
+ end
416
+
417
+ sub_test_case = Class.new(test_case) do
418
+ def test_fail
419
+ flunk
420
+ end
421
+ end
422
+
423
+ test = test_case.new("test_nothing")
424
+ assert_predicate(test, :valid?)
425
+
426
+ test = sub_test_case.new("test_fail")
427
+ assert_predicate(test, :valid?)
428
+
429
+ test = sub_test_case.new("test_nothing")
430
+ assert_not_predicate(test, :valid?)
431
+ end
432
+
433
+ def test_mixin_test_should_not_be_ignored
434
+ test_module = Module.new do
435
+ def test_nothing
436
+ end
437
+ end
438
+
439
+ test_case = Class.new(Test::Unit::TestCase) do
440
+ include test_module
441
+
442
+ def test_fail
443
+ flunk
444
+ end
445
+ end
446
+
447
+ assert_nothing_thrown do
448
+ test_case.new("test_nothing")
449
+ end
450
+
451
+ assert_nothing_thrown do
452
+ test_case.new("test_fail")
453
+ end
454
+ end
455
+
456
+ def test_defined_order
457
+ test_case = Class.new(Test::Unit::TestCase) do
458
+ def test_z
459
+ end
460
+
461
+ def test_1
462
+ end
463
+
464
+ def test_a
465
+ end
466
+ end
467
+
468
+ assert_equal(["test_1", "test_a", "test_z"],
469
+ test_case.suite.tests.collect {|test| test.method_name})
470
+
471
+ test_case.test_order = :defined
472
+ assert_equal(["test_z", "test_1", "test_a"],
473
+ test_case.suite.tests.collect {|test| test.method_name})
474
+ end
475
+
476
+ def test_declarative_style
477
+ test_case = Class.new(Test::Unit::TestCase) do
478
+ test "declarative style test definition" do
479
+ end
480
+
481
+ test "include parenthesis" do
482
+ end
483
+
484
+ test "1 + 2 = 3" do
485
+ end
486
+ end
487
+
488
+ test_case.test_order = :defined
489
+
490
+ assert_equal(["test: declarative style test definition",
491
+ "test: include parenthesis",
492
+ "test: 1 + 2 = 3"],
493
+ test_case.suite.tests.collect {|test| test.method_name})
494
+
495
+ assert_equal(["declarative style test definition",
496
+ "include parenthesis",
497
+ "1 + 2 = 3"],
498
+ test_case.suite.tests.collect {|test| test.description})
499
+ end
500
+
501
+ def test_test_mark
502
+ test_case = Class.new(Test::Unit::TestCase) do
503
+ test
504
+ def my_test_method
505
+ end
506
+ end
507
+
508
+ test_case.test_order = :defined
509
+
510
+ assert_equal(["my_test_method"],
511
+ test_case.suite.tests.collect {|test| test.method_name})
512
+ end
513
+
514
+ def test_redefine_method
515
+ test_case = Class.new(Test::Unit::TestCase) do
516
+ def test_name
517
+ end
518
+ alias_method :test_name2, :test_name
519
+
520
+ def test_name
521
+ end
522
+ end
523
+
524
+ suite = test_case.suite
525
+ assert_equal(["test_name", "test_name2"],
526
+ suite.tests.collect {|test| test.method_name})
527
+ result = TestResult.new
528
+ suite.run(result) {}
529
+ assert_equal("2 tests, 0 assertions, 0 failures, " +
530
+ "0 errors, 0 pendings, 0 omissions, 1 notifications",
531
+ result.summary)
532
+ end
533
+
534
+ def test_data_driven_test
535
+ test_case = Class.new(TestCase) do
536
+ def test_with_data(data)
537
+ end
538
+ end
539
+
540
+ test = test_case.new("test_with_data")
541
+ assert_not_predicate(test, :valid?)
542
+ test.assign_test_data("label1", :test_data1)
543
+ assert_predicate(test, :valid?)
544
+ end
545
+
546
+ private
547
+ def check(message, passed)
548
+ add_assertion
549
+ raise AssertionFailedError.new(message) unless passed
550
+ end
551
+
552
+ class TestTestDefined < self
553
+ class TestNoQuery < self
554
+ def test_no_test
555
+ test_case = Class.new(TestCase) do
556
+ end
557
+ assert_false(test_case.test_defined?({}))
558
+ end
559
+
560
+ def test_have_def_style_test
561
+ test_case = Class.new(TestCase) do
562
+ def test_nothing
563
+ end
564
+ end
565
+ assert_true(test_case.test_defined?({}))
566
+ end
567
+
568
+ def test_have_method_style_test
569
+ test_case = Class.new(TestCase) do
570
+ test "nothing" do
571
+ end
572
+ end
573
+ assert_true(test_case.test_defined?({}))
574
+ end
575
+ end
576
+
577
+ class TestPath < self
578
+ class TestDefStyle < self
579
+ def test_base_name
580
+ test_case = Class.new(TestCase) do
581
+ def test_nothing
582
+ end
583
+ end
584
+ base_name = File.basename(__FILE__)
585
+ assert_true(test_case.test_defined?(:path => base_name))
586
+ end
587
+
588
+ def test_absolute_path
589
+ test_case = Class.new(TestCase) do
590
+ def test_nothing
591
+ end
592
+ end
593
+ assert_true(test_case.test_defined?(:path => __FILE__))
594
+ end
595
+
596
+ def test_not_match
597
+ test_case = Class.new(TestCase) do
598
+ def test_nothing
599
+ end
600
+ end
601
+ assert_false(test_case.test_defined?(:path => "nonexistent.rb"))
602
+ end
603
+ end
604
+
605
+ class TestMethodStyle < self
606
+ def test_base_name
607
+ test_case = Class.new(TestCase) do
608
+ test "nothing" do
609
+ end
610
+ end
611
+ base_name = File.basename(__FILE__)
612
+ assert_true(test_case.test_defined?(:path => base_name))
613
+ end
614
+
615
+ def test_absolute_path
616
+ test_case = Class.new(TestCase) do
617
+ test "nothing" do
618
+ end
619
+ end
620
+ assert_true(test_case.test_defined?(:path => __FILE__))
621
+ end
622
+
623
+ def test_not_match
624
+ test_case = Class.new(TestCase) do
625
+ test "nothing" do
626
+ end
627
+ end
628
+ assert_false(test_case.test_defined?(:path => "nonexistent.rb"))
629
+ end
630
+ end
631
+ end
632
+
633
+ class TestLine < self
634
+ class TestDefStyle < self
635
+ def test_before
636
+ line_before = nil
637
+ test_case = Class.new(TestCase) do
638
+ line_before = __LINE__
639
+ def test_nothing
640
+ end
641
+ end
642
+ assert_false(test_case.test_defined?(:line => line_before))
643
+ end
644
+
645
+ def test_def
646
+ line_def = nil
647
+ test_case = Class.new(TestCase) do
648
+ line_def = __LINE__; def test_nothing
649
+ end
650
+ end
651
+ assert_true(test_case.test_defined?(:line => line_def))
652
+ end
653
+
654
+ def test_after
655
+ line_after = nil
656
+ test_case = Class.new(TestCase) do
657
+ def test_nothing
658
+ end
659
+ line_after = __LINE__
660
+ end
661
+ assert_true(test_case.test_defined?(:line => line_after))
662
+ end
663
+
664
+ def test_child
665
+ child_test_case = nil
666
+ line_child = nil
667
+ parent_test_case = Class.new(TestCase) do
668
+ test "parent" do
669
+ end
670
+
671
+ child_test_case = Class.new(self) do
672
+ line_child = __LINE__; test "child" do
673
+ end
674
+ end
675
+ end
676
+ assert_equal([
677
+ false,
678
+ true,
679
+ ],
680
+ [
681
+ parent_test_case.test_defined?(:line => line_child),
682
+ child_test_case.test_defined?(:line => line_child),
683
+ ])
684
+ end
685
+ end
686
+
687
+ class TestMethodStyle < self
688
+ def test_before
689
+ line_before = nil
690
+ test_case = Class.new(TestCase) do
691
+ line_before = __LINE__
692
+ test "nothing" do
693
+ end
694
+ end
695
+ assert_false(test_case.test_defined?(:line => line_before))
696
+ end
697
+
698
+ def test_method
699
+ line_method = nil
700
+ test_case = Class.new(TestCase) do
701
+ line_method = __LINE__; test "nothing" do
702
+ end
703
+ end
704
+ assert_true(test_case.test_defined?(:line => line_method))
705
+ end
706
+
707
+ def test_after
708
+ line_after = nil
709
+ test_case = Class.new(TestCase) do
710
+ test "nothing" do
711
+ end
712
+ line_after = __LINE__
713
+ end
714
+ assert_true(test_case.test_defined?(:line => line_after))
715
+ end
716
+
717
+ def test_child
718
+ child_test_case = nil
719
+ line_child = nil
720
+ parent_test_case = Class.new(TestCase) do
721
+ test "parent" do
722
+ end
723
+
724
+ child_test_case = Class.new(self) do
725
+ line_child = __LINE__; test "child" do
726
+ end
727
+ end
728
+ end
729
+ assert_equal([
730
+ false,
731
+ true,
732
+ ],
733
+ [
734
+ parent_test_case.test_defined?(:line => line_child),
735
+ child_test_case.test_defined?(:line => line_child),
736
+ ])
737
+ end
738
+ end
739
+ end
740
+
741
+ class TestMethodName < self
742
+ class TestDefStyle < self
743
+ def test_match
744
+ test_case = Class.new(TestCase) do
745
+ def test_nothing
746
+ end
747
+ end
748
+ query = {:method_name => "test_nothing"}
749
+ assert_true(test_case.test_defined?(query))
750
+ end
751
+
752
+ def test_not_match
753
+ test_case = Class.new(TestCase) do
754
+ def test_nothing
755
+ end
756
+ end
757
+ query = {:method_name => "test_nonexistent"}
758
+ assert_false(test_case.test_defined?(query))
759
+ end
760
+ end
761
+
762
+ class TestMethodStyle < self
763
+ def test_match
764
+ test_case = Class.new(TestCase) do
765
+ test "nothing" do
766
+ end
767
+ end
768
+ query = {:method_name => "test: nothing"}
769
+ assert_true(test_case.test_defined?(query))
770
+ end
771
+
772
+ def test_not_match
773
+ test_case = Class.new(TestCase) do
774
+ test "nothing" do
775
+ end
776
+ end
777
+ query = {:method_name => "test: nonexistent"}
778
+ assert_false(test_case.test_defined?(query))
779
+ end
780
+ end
781
+ end
782
+
783
+ class TestCombine < self
784
+ class TestDefStyle < self
785
+ def test_line_middle
786
+ line_middle = nil
787
+ test_case = Class.new(TestCase) do
788
+ def test_before
789
+ end
790
+ line_middle = __LINE__
791
+ def test_after
792
+ end
793
+ end
794
+ query = {
795
+ :path => __FILE__,
796
+ :line => line_middle,
797
+ :method_name => "test_before",
798
+ }
799
+ assert_true(test_case.test_defined?(query))
800
+ end
801
+
802
+ def test_line_after_def
803
+ line_after_def = nil
804
+ test_case = Class.new(TestCase) do
805
+ def test_before
806
+ end
807
+
808
+ line_after_def = __LINE__; def test_after
809
+ end
810
+ end
811
+ query = {
812
+ :path => __FILE__,
813
+ :line => line_after_def,
814
+ :method_name => "test_before",
815
+ }
816
+ assert_false(test_case.test_defined?(query))
817
+ end
818
+ end
819
+
820
+ class TestMethodStyle < self
821
+ def test_line_middle
822
+ line_middle = nil
823
+ test_case = Class.new(TestCase) do
824
+ test "before" do
825
+ end
826
+ line_middle = __LINE__
827
+ test "after" do
828
+ end
829
+ end
830
+ query = {
831
+ :path => __FILE__,
832
+ :line => line_middle,
833
+ :method_name => "test: before",
834
+ }
835
+ assert_true(test_case.test_defined?(query))
836
+ end
837
+
838
+ def test_line_after_method
839
+ line_after_method = nil
840
+ test_case = Class.new(TestCase) do
841
+ test "before" do
842
+ end
843
+
844
+ line_after_method = __LINE__; test "after" do
845
+ end
846
+ end
847
+ query = {
848
+ :path => __FILE__,
849
+ :line => line_after_method,
850
+ :method_name => "test: before",
851
+ }
852
+ assert_false(test_case.test_defined?(query))
853
+ end
854
+ end
855
+ end
856
+ end
857
+
858
+ class TestSubTestCase < self
859
+ class TestName < self
860
+ def test_anonymous
861
+ test_case = Class.new(TestCase)
862
+ sub_test_case = test_case.sub_test_case("sub test case") do
863
+ end
864
+ assert_equal("sub test case", sub_test_case.name)
865
+ end
866
+
867
+ def test_named
868
+ test_case = Class.new(TestCase)
869
+ def test_case.name
870
+ "ParentTestCase"
871
+ end
872
+ sub_test_case = test_case.sub_test_case("sub test case") do
873
+ end
874
+ assert_equal("ParentTestCase::sub test case", sub_test_case.name)
875
+ end
876
+ end
877
+
878
+ def test_suite
879
+ test_case = Class.new(TestCase)
880
+ sub_test_case = test_case.sub_test_case("sub test case") do
881
+ def test_nothing
882
+ end
883
+ end
884
+ test_method_names = sub_test_case.suite.tests.collect do |test|
885
+ test.method_name
886
+ end
887
+ assert_equal(["test_nothing"], test_method_names)
888
+ end
889
+
890
+ def test_duplicated_name
891
+ test_case = Class.new(TestCase) do
892
+ def test_nothing
893
+ end
894
+ end
895
+ sub_test_case = test_case.sub_test_case("sub test case") do
896
+ def test_nothing
897
+ end
898
+ end
899
+
900
+ test_method_names = test_case.suite.tests.collect do |test|
901
+ test.method_name
902
+ end
903
+ sub_test_method_names = sub_test_case.suite.tests.collect do |test|
904
+ test.method_name
905
+ end
906
+
907
+ assert_equal([
908
+ ["test_nothing"],
909
+ ["test_nothing"],
910
+ ],
911
+ [
912
+ test_method_names,
913
+ sub_test_method_names,
914
+ ])
915
+ end
916
+ end
917
+
918
+ class TestStartupShutdown < self
919
+ class TestOrder < self
920
+ module CallLogger
921
+ def called
922
+ @@called ||= []
923
+ end
924
+ end
925
+
926
+ def call_order(test_case)
927
+ test_case.called.clear
928
+ test_suite = test_case.suite
929
+ test_suite.run(TestResult.new) {}
930
+ test_case.called
931
+ end
932
+
933
+ class TestNoInheritance < self
934
+ def setup
935
+ @test_case = Class.new(TestCase) do
936
+ extend CallLogger
937
+
938
+ class << self
939
+ def startup
940
+ called << :startup
941
+ end
942
+
943
+ def shutdown
944
+ called << :shutdown
945
+ end
946
+ end
947
+
948
+ def setup
949
+ self.class.called << :setup
950
+ end
951
+
952
+ def teardown
953
+ self.class.called << :teardown
954
+ end
955
+
956
+ def test1
957
+ end
958
+
959
+ def test2
960
+ end
961
+ end
962
+ end
963
+
964
+ def test_call_order
965
+ assert_equal([
966
+ :startup,
967
+ :setup, :teardown,
968
+ :setup, :teardown,
969
+ :shutdown,
970
+ ],
971
+ call_order(@test_case))
972
+ end
973
+ end
974
+
975
+ class TestInheritance < self
976
+ def setup
977
+ @original_descendants = TestCase::DESCENDANTS.dup
978
+ TestCase::DESCENDANTS.clear
979
+
980
+ @parent_test_case = Class.new(TestCase) do
981
+ extend CallLogger
982
+
983
+ class << self
984
+ def startup
985
+ called << :startup_parent
986
+ end
987
+
988
+ def shutdown
989
+ called << :shutdown_parent
990
+ end
991
+ end
992
+
993
+ def setup
994
+ self.class.called << :setup_parent
995
+ end
996
+
997
+ def teardown
998
+ self.class.called << :teardown_parent
999
+ end
1000
+
1001
+ def test1_parent
1002
+ self.class.called << :test1_parent
1003
+ end
1004
+
1005
+ def test2_parent
1006
+ self.class.called << :test2_parent
1007
+ end
1008
+ end
1009
+
1010
+ @child_test_case = Class.new(@parent_test_case) do
1011
+ class << self
1012
+ def startup
1013
+ called << :startup_child
1014
+ end
1015
+
1016
+ def shutdown
1017
+ called << :shutdown_child
1018
+ end
1019
+ end
1020
+
1021
+ def setup
1022
+ self.class.called << :setup_child
1023
+ end
1024
+
1025
+ def teardown
1026
+ self.class.called << :teardown_child
1027
+ end
1028
+
1029
+ def test1_child
1030
+ self.class.called << :test1_child
1031
+ end
1032
+
1033
+ def test2_child
1034
+ self.class.called << :test2_child
1035
+ end
1036
+ end
1037
+ end
1038
+
1039
+ def teardown
1040
+ TestCase::DESCENDANTS.replace(@original_descendants)
1041
+ end
1042
+
1043
+ def test_call_order
1044
+ collector = Collector::Descendant.new
1045
+ test_suite = collector.collect
1046
+ test_suite.run(TestResult.new) {}
1047
+ called = @parent_test_case.called
1048
+ assert_equal([
1049
+ :startup_parent,
1050
+ :setup_parent, :test1_parent, :teardown_parent,
1051
+ :setup_parent, :test2_parent, :teardown_parent,
1052
+ :startup_child,
1053
+ :setup_child, :test1_child, :teardown_child,
1054
+ :setup_child, :test2_child, :teardown_child,
1055
+ :shutdown_child,
1056
+ :shutdown_parent,
1057
+ ],
1058
+ called)
1059
+ end
1060
+ end
1061
+ end
1062
+
1063
+ class TestError < self
1064
+ def run_test_case(test_case)
1065
+ test_suite = test_case.suite
1066
+ result = TestResult.new
1067
+ test_suite.run(result) {}
1068
+ result
1069
+ end
1070
+
1071
+ def error_count(test_case)
1072
+ run_test_case(test_case).error_count
1073
+ end
1074
+
1075
+ def test_on_startup
1076
+ test_case = Class.new(TestCase) do
1077
+ class << self
1078
+ def startup
1079
+ raise "from startup"
1080
+ end
1081
+ end
1082
+
1083
+ def test_nothing
1084
+ end
1085
+ end
1086
+
1087
+ assert_equal(1, error_count(test_case))
1088
+ end
1089
+
1090
+ def test_pass_through_on_startup
1091
+ test_case = Class.new(TestCase) do
1092
+ class << self
1093
+ def startup
1094
+ raise Interrupt, "from startup"
1095
+ end
1096
+ end
1097
+
1098
+ def test_nothing
1099
+ end
1100
+ end
1101
+
1102
+ assert_raise(Interrupt) do
1103
+ run_test_case(test_case)
1104
+ end
1105
+ end
1106
+
1107
+ def test_on_shutdown
1108
+ test_case = Class.new(TestCase) do
1109
+ class << self
1110
+ def shutdown
1111
+ raise "from shutdown"
1112
+ end
1113
+ end
1114
+
1115
+ def test_nothing
1116
+ end
1117
+ end
1118
+
1119
+ assert_equal(1, error_count(test_case))
1120
+ end
1121
+
1122
+ def test_pass_through_on_shutdown
1123
+ test_case = Class.new(TestCase) do
1124
+ class << self
1125
+ def shutdown
1126
+ raise Interrupt, "from shutdown"
1127
+ end
1128
+ end
1129
+
1130
+ def test_nothing
1131
+ end
1132
+ end
1133
+
1134
+ assert_raise(Interrupt) do
1135
+ run_test_case(test_case)
1136
+ end
1137
+ end
1138
+
1139
+ def test_pass_through_in_test
1140
+ test_case = Class.new(TestCase) do
1141
+ @called = []
1142
+ class << self
1143
+ def called
1144
+ @called
1145
+ end
1146
+
1147
+ def startup
1148
+ @called << :startup
1149
+ end
1150
+
1151
+ def shutdown
1152
+ @called << :shutdown
1153
+ end
1154
+ end
1155
+
1156
+ def test_error
1157
+ raise Interrupt, "from test"
1158
+ end
1159
+ end
1160
+
1161
+ assert_raise(Interrupt) do
1162
+ run_test_case(test_case)
1163
+ end
1164
+ assert_equal([:startup, :shutdown],
1165
+ test_case.called)
1166
+ end
1167
+ end
1168
+ end
1169
+ end
1170
+ end
1171
+ end