Class: FluentCommandBuilder::DotCover::V11::Cover
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V11::Cover
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_11.rb
Instance Method Summary collapse
- #analyse_target_arguments(bool) {|@builder| ... } ⇒ Object
- #filters(filters) {|@builder| ... } ⇒ Object
- #inherit_console(bool) {|@builder| ... } ⇒ Object
-
#initialize(builder, configuration_file = nil) ⇒ Cover
constructor
A new instance of Cover.
- #log_file(log_file) {|@builder| ... } ⇒ Object
- #output(snapshot_path) {|@builder| ... } ⇒ Object
- #target_arguments(target_arguments) {|@builder| ... } ⇒ Object
- #target_executable(target_executable) {|@builder| ... } ⇒ Object
- #target_working_dir(target_working_dir) {|@builder| ... } ⇒ Object
- #temp_dir(temp_dir) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, configuration_file = nil) ⇒ Cover
Returns a new instance of Cover.
102 103 104 105 106 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 102 def initialize(builder, configuration_file=nil) super builder @builder.append ' cover' @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil? end |
Instance Method Details
#analyse_target_arguments(bool) {|@builder| ... } ⇒ Object
107 108 109 110 111 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 107 def analyse_target_arguments(bool) @builder.append " /analyseTargetArguments=#{@builder.format bool}" yield @builder if block_given? self end |
#filters(filters) {|@builder| ... } ⇒ Object
112 113 114 115 116 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 112 def filters(filters) @builder.append " /filters=#{@builder.format filters, ';'}" yield @builder if block_given? self end |
#inherit_console(bool) {|@builder| ... } ⇒ Object
117 118 119 120 121 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 117 def inherit_console(bool) @builder.append " /inheritConsole=#{@builder.format bool}" yield @builder if block_given? self end |
#log_file(log_file) {|@builder| ... } ⇒ Object
122 123 124 125 126 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 122 def log_file(log_file) @builder.append " /logFile=#{@builder.format log_file}" yield @builder if block_given? self end |
#output(snapshot_path) {|@builder| ... } ⇒ Object
127 128 129 130 131 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 127 def output(snapshot_path) @builder.append " /output=#{@builder.format snapshot_path}" yield @builder if block_given? self end |
#target_arguments(target_arguments) {|@builder| ... } ⇒ Object
132 133 134 135 136 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 132 def target_arguments(target_arguments) @builder.append " /targetArguments=#{@builder.format target_arguments}" yield @builder if block_given? self end |
#target_executable(target_executable) {|@builder| ... } ⇒ Object
137 138 139 140 141 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 137 def target_executable(target_executable) @builder.append " /targetExecutable=#{@builder.format target_executable}" yield @builder if block_given? self end |
#target_working_dir(target_working_dir) {|@builder| ... } ⇒ Object
142 143 144 145 146 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 142 def target_working_dir(target_working_dir) @builder.append " /targetWorkingDir=#{@builder.format target_working_dir}" yield @builder if block_given? self end |
#temp_dir(temp_dir) {|@builder| ... } ⇒ Object
147 148 149 150 151 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 147 def temp_dir(temp_dir) @builder.append " /tempDir=#{@builder.format temp_dir}" yield @builder if block_given? self end |