hammer_cli 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +1 -1
  3. data/config/cli_config.template.yml +4 -1
  4. data/doc/release_notes.md +5 -0
  5. data/lib/hammer_cli/abstract.rb +9 -4
  6. data/lib/hammer_cli/apipie/api_connection.rb +1 -1
  7. data/lib/hammer_cli/ca_cert_fetcher.rb +15 -4
  8. data/lib/hammer_cli/ca_cert_manager.rb +18 -33
  9. data/lib/hammer_cli/exceptions.rb +1 -0
  10. data/lib/hammer_cli/exit_codes.rb +2 -1
  11. data/lib/hammer_cli/ssloptions.rb +19 -10
  12. data/lib/hammer_cli/version.rb +1 -1
  13. data/lib/hammer_cli.rb +1 -0
  14. data/man/hammer.1.gz +0 -0
  15. data/test/unit/apipie/api_connection_test.rb +0 -1
  16. data/test/unit/ca_cert_manager_test.rb +23 -33
  17. data/test/unit/fixtures/certs/non_ca_cert.pem +27 -0
  18. metadata +50 -322
  19. data/test/reports/TEST-Fields-ContainerField-display-.xml +0 -7
  20. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +0 -15
  21. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +0 -15
  22. data/test/reports/TEST-Fields-ContainerField.xml +0 -7
  23. data/test/reports/TEST-Fields-Field-display-.xml +0 -7
  24. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +0 -11
  25. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +0 -11
  26. data/test/reports/TEST-Fields-Field-hide-blank-.xml +0 -11
  27. data/test/reports/TEST-Fields-Field-parameters.xml +0 -9
  28. data/test/reports/TEST-Fields-Field.xml +0 -13
  29. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +0 -15
  30. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +0 -13
  31. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +0 -21
  32. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +0 -11
  33. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +0 -11
  34. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +0 -19
  35. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +0 -11
  36. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +0 -13
  37. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +0 -11
  38. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +0 -7
  39. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +0 -11
  40. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +0 -11
  41. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +0 -9
  42. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +0 -19
  43. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +0 -9
  44. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +0 -13
  45. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +0 -15
  46. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +0 -11
  47. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +0 -9
  48. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +0 -11
  49. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +0 -15
  50. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +0 -7
  51. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +0 -29
  52. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +0 -17
  53. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +0 -19
  54. data/test/reports/TEST-HammerCLI-Completer.xml +0 -7
  55. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +0 -25
  56. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +0 -29
  57. data/test/reports/TEST-HammerCLI-CompleterLine.xml +0 -7
  58. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +0 -23
  59. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +0 -15
  60. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +0 -13
  61. data/test/reports/TEST-HammerCLI-CompleterWord.xml +0 -7
  62. data/test/reports/TEST-HammerCLI-Connection.xml +0 -21
  63. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +0 -21
  64. data/test/reports/TEST-HammerCLI-I18n.xml +0 -11
  65. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +0 -11
  66. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +0 -11
  67. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +0 -9
  68. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +0 -7
  69. data/test/reports/TEST-HammerCLI-MainCommand.xml +0 -7
  70. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +0 -13
  71. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +0 -13
  72. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +0 -13
  73. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +0 -15
  74. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +0 -7
  75. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +0 -9
  76. data/test/reports/TEST-HammerCLI-Modules-names.xml +0 -13
  77. data/test/reports/TEST-HammerCLI-Modules.xml +0 -7
  78. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +0 -7
  79. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +0 -11
  80. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +0 -9
  81. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +0 -31
  82. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +0 -17
  83. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +0 -15
  84. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +0 -21
  85. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +0 -15
  86. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +0 -17
  87. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +0 -15
  88. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +0 -7
  89. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +0 -9
  90. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +0 -11
  91. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +0 -7
  92. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +0 -15
  93. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +0 -11
  94. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +0 -15
  95. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +0 -17
  96. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +0 -9
  97. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +0 -27
  98. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +0 -7
  99. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +0 -11
  100. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +0 -13
  101. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +0 -11
  102. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +0 -11
  103. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +0 -11
  104. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +0 -11
  105. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +0 -7
  106. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +0 -15
  107. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +0 -11
  108. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +0 -11
  109. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +0 -9
  110. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +0 -11
  111. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +0 -7
  112. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +0 -11
  113. data/test/reports/TEST-HammerCLI-Output-Definition.xml +0 -11
  114. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +0 -13
  115. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +0 -11
  116. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +0 -15
  117. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +0 -13
  118. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +0 -13
  119. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +0 -9
  120. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +0 -13
  121. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +0 -11
  122. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +0 -9
  123. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +0 -11
  124. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +0 -13
  125. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +0 -13
  126. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +0 -11
  127. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +0 -13
  128. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +0 -13
  129. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +0 -13
  130. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +0 -17
  131. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +0 -15
  132. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +0 -9
  133. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +0 -19
  134. data/test/reports/TEST-HammerCLI-Output-Output.xml +0 -7
  135. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +0 -13
  136. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +0 -15
  137. data/test/reports/TEST-HammerCLI-Settings.xml +0 -25
  138. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +0 -11
  139. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +0 -15
  140. data/test/reports/TEST-HammerCLI-ShellHistory.xml +0 -7
  141. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
  142. data/test/reports/TEST-String-camelize.xml +0 -11
  143. data/test/reports/TEST-String-formatting.xml +0 -17
  144. data/test/reports/TEST-String-indent.xml +0 -11
  145. data/test/reports/TEST-String-interactive-.xml +0 -13
  146. data/test/reports/TEST-String.xml +0 -7
  147. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +0 -13
  148. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +0 -7
  149. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +0 -13
  150. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +0 -7
  151. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +0 -9
  152. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +0 -13
  153. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +0 -13
  154. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +0 -7
  155. data/test/reports/TEST-constraints.xml +0 -7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-25 00:00:00.000000000 Z
12
+ date: 2017-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -131,22 +131,22 @@ executables:
131
131
  - hammer
132
132
  extensions: []
133
133
  extra_rdoc_files:
134
- - doc/writing_a_plugin.md
134
+ - doc/design.png
135
+ - doc/design.uml
135
136
  - doc/creating_apipie_commands.md
137
+ - doc/creating_commands.md
136
138
  - doc/developer_docs.md
137
- - doc/option_builders.md
138
- - doc/i18n.md
139
- - doc/design.uml
140
139
  - doc/development_tips.md
141
- - doc/release_notes.md
140
+ - doc/i18n.md
142
141
  - doc/installation.md
143
- - doc/creating_commands.md
142
+ - doc/installation_gem.md
144
143
  - doc/installation_rpm.md
145
- - doc/option_normalizers.md
146
144
  - doc/installation_source.md
145
+ - doc/option_builders.md
146
+ - doc/option_normalizers.md
147
+ - doc/writing_a_plugin.md
147
148
  - doc/installation_deb.md
148
- - doc/design.png
149
- - doc/installation_gem.md
149
+ - doc/release_notes.md
150
150
  - config/cli.modules.d/module_config_template.yml
151
151
  - config/cli_config.template.yml
152
152
  - README.md
@@ -254,143 +254,6 @@ files:
254
254
  - test/functional/defaults_test.rb
255
255
  - test/functional/help_test.rb
256
256
  - test/functional/test_helper.rb
257
- - test/reports/TEST-Fields-ContainerField-display-.xml
258
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
259
- - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
260
- - test/reports/TEST-Fields-ContainerField.xml
261
- - test/reports/TEST-Fields-Field-display-.xml
262
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
263
- - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
264
- - test/reports/TEST-Fields-Field-hide-blank-.xml
265
- - test/reports/TEST-Fields-Field-parameters.xml
266
- - test/reports/TEST-Fields-Field.xml
267
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
268
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
269
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
270
- - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
271
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
272
- - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
273
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
274
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
275
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
276
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
277
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
278
- - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
279
- - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
280
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
281
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
282
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
283
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
284
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
285
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
286
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
287
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
288
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
289
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
290
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
291
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
292
- - test/reports/TEST-HammerCLI-Completer.xml
293
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
294
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
295
- - test/reports/TEST-HammerCLI-CompleterLine.xml
296
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
297
- - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
298
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
299
- - test/reports/TEST-HammerCLI-CompleterWord.xml
300
- - test/reports/TEST-HammerCLI-Connection.xml
301
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
302
- - test/reports/TEST-HammerCLI-I18n.xml
303
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
304
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
305
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
306
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
307
- - test/reports/TEST-HammerCLI-MainCommand.xml
308
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
309
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
310
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
311
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
312
- - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
313
- - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
314
- - test/reports/TEST-HammerCLI-Modules-names.xml
315
- - test/reports/TEST-HammerCLI-Modules.xml
316
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
317
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
318
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
319
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
320
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
321
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
322
- - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
323
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
324
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
325
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
326
- - test/reports/TEST-HammerCLI-Options-Normalizers.xml
327
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
328
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
329
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
330
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
331
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
332
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
333
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
334
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
335
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
336
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
337
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
338
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
339
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
340
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
341
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
342
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
343
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
344
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
345
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
346
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
347
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
348
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
349
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
350
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
351
- - test/reports/TEST-HammerCLI-Output-Definition.xml
352
- - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
353
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
354
- - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
355
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
356
- - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
357
- - test/reports/TEST-HammerCLI-Output-Dsl.xml
358
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
359
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
360
- - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
361
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
362
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
363
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
364
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
365
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
366
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
367
- - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
368
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
369
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
370
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
371
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
372
- - test/reports/TEST-HammerCLI-Output-Output.xml
373
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
374
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
375
- - test/reports/TEST-HammerCLI-Settings.xml
376
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
377
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
378
- - test/reports/TEST-HammerCLI-ShellHistory.xml
379
- - test/reports/TEST-MiniTest-Spec.xml
380
- - test/reports/TEST-String-camelize.xml
381
- - test/reports/TEST-String-formatting.xml
382
- - test/reports/TEST-String-indent.xml
383
- - test/reports/TEST-String-interactive-.xml
384
- - test/reports/TEST-String.xml
385
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
386
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
387
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
388
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
389
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
390
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
391
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
392
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
393
- - test/reports/TEST-constraints.xml
394
257
  - test/test_helper.rb
395
258
  - test/unit/abstract_test.rb
396
259
  - test/unit/apipie/api_connection_test.rb
@@ -405,6 +268,7 @@ files:
405
268
  - test/unit/fixtures/apipie/architectures.json
406
269
  - test/unit/fixtures/apipie/documented.json
407
270
  - test/unit/fixtures/certs/ca_cert.pem
271
+ - test/unit/fixtures/certs/non_ca_cert.pem
408
272
  - test/unit/fixtures/defaults/defaults.yml
409
273
  - test/unit/fixtures/defaults/defaults_dashed.yml
410
274
  - test/unit/fixtures/json_input/invalid.json
@@ -460,197 +324,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
460
324
  version: '0'
461
325
  requirements: []
462
326
  rubyforge_project:
463
- rubygems_version: 2.5.2
327
+ rubygems_version: 2.5.1
464
328
  signing_key:
465
329
  specification_version: 4
466
330
  summary: Universal command-line interface
467
331
  test_files:
468
- - test/functional/test_helper.rb
469
- - test/functional/help_test.rb
470
- - test/functional/defaults_test.rb
471
- - test/unit/ca_cert_manager_test.rb
472
- - test/unit/modules_test.rb
473
- - test/unit/main_test.rb
474
- - test/unit/validator_test.rb
475
- - test/unit/history_test.rb
476
- - test/unit/exception_handler_test.rb
477
- - test/unit/i18n_test.rb
478
- - test/unit/settings_test.rb
332
+ - test/unit/apipie/command_test.rb
333
+ - test/unit/apipie/option_builder_test.rb
334
+ - test/unit/apipie/option_definition_test.rb
335
+ - test/unit/apipie/api_connection_test.rb
336
+ - test/unit/options/matcher_test.rb
479
337
  - test/unit/options/normalizers_test.rb
480
338
  - test/unit/options/option_collector_test.rb
481
- - test/unit/options/matcher_test.rb
482
339
  - test/unit/options/option_definition_test.rb
483
340
  - test/unit/options/sources/command_line_test.rb
484
341
  - test/unit/options/sources/saved_defaults_test.rb
485
- - test/unit/abstract_test.rb
486
- - test/unit/test_helper.rb
487
- - test/unit/connection_test.rb
488
- - test/unit/apipie/api_connection_test.rb
489
- - test/unit/apipie/command_test.rb
490
- - test/unit/apipie/option_builder_test.rb
491
- - test/unit/apipie/option_definition_test.rb
492
- - test/unit/output/formatters_test.rb
493
- - test/unit/output/output_test.rb
494
- - test/unit/output/field_filter_test.rb
495
- - test/unit/output/adapter/table_test.rb
496
- - test/unit/output/adapter/json_test.rb
497
342
  - test/unit/output/adapter/abstract_test.rb
498
343
  - test/unit/output/adapter/base_test.rb
499
- - test/unit/output/adapter/yaml_test.rb
500
344
  - test/unit/output/adapter/csv_test.rb
345
+ - test/unit/output/adapter/json_test.rb
346
+ - test/unit/output/adapter/table_test.rb
347
+ - test/unit/output/adapter/yaml_test.rb
348
+ - test/unit/output/definition_test.rb
501
349
  - test/unit/output/dsl_test.rb
502
- - test/unit/output/record_collection_test.rb
350
+ - test/unit/output/field_filter_test.rb
503
351
  - test/unit/output/fields_test.rb
504
- - test/unit/output/definition_test.rb
505
- - test/unit/help/builder_test.rb
506
- - test/unit/help/text_builder_test.rb
352
+ - test/unit/output/formatters_test.rb
353
+ - test/unit/output/output_test.rb
354
+ - test/unit/output/record_collection_test.rb
355
+ - test/unit/abstract_test.rb
356
+ - test/unit/completer_test.rb
357
+ - test/unit/connection_test.rb
358
+ - test/unit/defaults_test.rb
359
+ - test/unit/fixtures/apipie/architectures.json
360
+ - test/unit/fixtures/apipie/documented.json
361
+ - test/unit/fixtures/defaults/defaults.yml
362
+ - test/unit/fixtures/defaults/defaults_dashed.yml
507
363
  - test/unit/fixtures/json_input/invalid.json
508
364
  - test/unit/fixtures/json_input/valid.json
509
365
  - test/unit/fixtures/certs/ca_cert.pem
510
- - test/unit/fixtures/defaults/defaults_dashed.yml
511
- - test/unit/fixtures/defaults/defaults.yml
512
- - test/unit/fixtures/apipie/documented.json
513
- - test/unit/fixtures/apipie/architectures.json
514
- - test/unit/defaults_test.rb
515
- - test/unit/completer_test.rb
366
+ - test/unit/fixtures/certs/non_ca_cert.pem
367
+ - test/unit/help/builder_test.rb
368
+ - test/unit/help/text_builder_test.rb
369
+ - test/unit/history_test.rb
370
+ - test/unit/i18n_test.rb
371
+ - test/unit/logger_test.rb
372
+ - test/unit/main_test.rb
373
+ - test/unit/modules_test.rb
516
374
  - test/unit/option_builder_test.rb
375
+ - test/unit/settings_test.rb
376
+ - test/unit/test_helper.rb
517
377
  - test/unit/utils_test.rb
518
- - test/unit/logger_test.rb
378
+ - test/unit/validator_test.rb
379
+ - test/unit/exception_handler_test.rb
380
+ - test/unit/ca_cert_manager_test.rb
381
+ - test/functional/defaults_test.rb
382
+ - test/functional/help_test.rb
383
+ - test/functional/test_helper.rb
519
384
  - test/test_helper.rb
520
- - test/reports/TEST-String-indent.xml
521
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
522
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
523
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
524
- - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
525
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
526
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
527
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
528
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
529
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
530
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
531
- - test/reports/TEST-String.xml
532
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
533
- - test/reports/TEST-MiniTest-Spec.xml
534
- - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
535
- - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
536
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
537
- - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
538
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
539
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
540
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
541
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
542
- - test/reports/TEST-Fields-Field-display-.xml
543
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
544
- - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
545
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
546
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
547
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
548
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
549
- - test/reports/TEST-HammerCLI-I18n.xml
550
- - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
551
- - test/reports/TEST-HammerCLI-Output-Dsl.xml
552
- - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
553
- - test/reports/TEST-HammerCLI-Completer.xml
554
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
555
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
556
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
557
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
558
- - test/reports/TEST-HammerCLI-Modules-names.xml
559
- - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
560
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
561
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
562
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
563
- - test/reports/TEST-String-camelize.xml
564
- - test/reports/TEST-Fields-ContainerField-display-.xml
565
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
566
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
567
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
568
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
569
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
570
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
571
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
572
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
573
- - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
574
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
575
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
576
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
577
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
578
- - test/reports/TEST-HammerCLI-Modules.xml
579
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
580
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
581
- - test/reports/TEST-Fields-ContainerField.xml
582
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
583
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
584
- - test/reports/TEST-String-formatting.xml
585
- - test/reports/TEST-HammerCLI-Output-Output.xml
586
- - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
587
- - test/reports/TEST-String-interactive-.xml
588
- - test/reports/TEST-HammerCLI-ShellHistory.xml
589
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
590
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
591
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
592
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
593
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
594
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
595
- - test/reports/TEST-HammerCLI-CompleterWord.xml
596
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
597
- - test/reports/TEST-Fields-Field-parameters.xml
598
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
599
- - test/reports/TEST-HammerCLI-Connection.xml
600
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
601
- - test/reports/TEST-HammerCLI-Output-Definition.xml
602
- - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
603
- - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
604
- - test/reports/TEST-HammerCLI-CompleterLine.xml
605
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
606
- - test/reports/TEST-HammerCLI-Options-Normalizers.xml
607
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
608
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
609
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
610
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
611
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
612
- - test/reports/TEST-Fields-Field-hide-blank-.xml
613
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
614
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
615
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
616
- - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
617
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
618
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
619
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
620
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
621
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
622
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
623
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
624
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
625
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
626
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
627
- - test/reports/TEST-HammerCLI-Settings.xml
628
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
629
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
630
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
631
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
632
- - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
633
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
634
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
635
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
636
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
637
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
638
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
639
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
640
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
641
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
642
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
643
- - test/reports/TEST-HammerCLI-MainCommand.xml
644
- - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
645
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
646
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
647
- - test/reports/TEST-Fields-Field.xml
648
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
649
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
650
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
651
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
652
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
653
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
654
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
655
- - test/reports/TEST-constraints.xml
656
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?" tests="0" time="0.000195743" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is allowed" tests="4" time="0.000514044" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000160735" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_returns false the value is empty hash" time="5.924e-05" assertions="1">
6
- </testcase>
7
- <testcase name="test_0004_returns true when there is some data under the path" time="5.1533e-05" assertions="1">
8
- </testcase>
9
- <testcase name="test_0002_returns false the value is empty array" time="4.7909e-05" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is not allowed" tests="4" time="0.00050542" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000104095" assertions="1">
4
- </testcase>
5
- <testcase name="test_0004_returns true when there is some data under the path" time="5.5074e-05" assertions="1">
6
- </testcase>
7
- <testcase name="test_0002_returns false the value is empty array" time="4.9163e-05" assertions="1">
8
- </testcase>
9
- <testcase name="test_0003_returns false the value is empty hash" time="4.4524e-05" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField" tests="0" time="0.000180394" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?" tests="0" time="0.000177184" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?::blank is allowed" tests="2" time="0.000346718" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0002_returns true when there is some data under the path" time="9.5291e-05" assertions="1">
4
- </testcase>
5
- <testcase name="test_0001_returns false the value is nil" time="5.3478e-05" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?::blank is not allowed" tests="2" time="0.000332031" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0002_returns true when there is some data under the path" time="8.2527e-05" assertions="1">
4
- </testcase>
5
- <testcase name="test_0001_returns false the value is nil" time="5.4331e-05" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::hide_blank?" tests="2" time="0.000327248" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0001_defaults to false" time="7.399e-05" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_can be set to true in the constructor" time="5.3648e-05" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::parameters" tests="1" time="0.000281758" failures="0" errors="0" skipped="0" assertions="1">
3
- <testcase name="test_0001_returns all parameters passed to a filed" time="0.00010987" assertions="1">
4
- </testcase>
5
- <system-out>
6
- </system-out>
7
- <system-err>
8
- </system-err>
9
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field" tests="3" time="0.000378872" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0001_stores label from constructor" time="8.5904e-05" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_stores path from constructor" time="5.3075e-05" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_default path should be empty array" time="4.294e-05" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLI::AbstractCommand::build options" tests="4" time="0.001351635" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0004_accepts block" time="0.000477899" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_passes params to the builders" time="0.00028496" assertions="1">
6
- </testcase>
7
- <testcase name="test_0002_should skip options that already exist" time="0.000216207" assertions="1">
8
- </testcase>
9
- <testcase name="test_0001_should use option builder" time="0.000177748" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLI::AbstractCommand::exception handler" tests="3" time="0.001065241" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0003_should return instance of exception handler class defined deeper in a module hierrarchy" time="0.00029177" assertions="2">
4
- </testcase>
5
- <testcase name="test_0002_should return instance of exception handler class defined in a module" time="0.000228844" assertions="2">
6
- </testcase>
7
- <testcase name="test_0001_should return instance of hammer cli exception handler by default" time="0.000359925" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLI::AbstractCommand::logging" tests="7" time="0.005629746" failures="0" errors="0" skipped="0" assertions="12">
3
- <testcase name="test_0007_should have logger.watch colorized output switch in settings" time="0.001215608" assertions="2">
4
- </testcase>
5
- <testcase name="test_0003_should have logger named by the class by default" time="0.00071257" assertions="2">
6
- </testcase>
7
- <testcase name="test_0002_password should be hidden in logs" time="0.000708892" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should have logger that accepts custom name" time="0.000841507" assertions="2">
10
- </testcase>
11
- <testcase name="test_0005_should have logger that can inspect object" time="0.000748318" assertions="2">
12
- </testcase>
13
- <testcase name="test_0001_should log what has been executed" time="0.000352436" assertions="1">
14
- </testcase>
15
- <testcase name="test_0006_should have logger.watch output without colors" time="0.000799178" assertions="2">
16
- </testcase>
17
- <system-out>
18
- </system-out>
19
- <system-err>
20
- </system-err>
21
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLI::AbstractCommand::option builder" tests="2" time="0.000349776" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0001_uses builder container as default" time="9.1626e-05" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_Default builder container is empty" time="4.5179e-05" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLI::AbstractCommand::options" tests="2" time="0.000433705" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0002_should set options' formatters" time="0.000197632" assertions="1">
4
- </testcase>
5
- <testcase name="test_0001_should create instances of hammer options" time="5.6937e-05" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>