Class: FluentCommandBuilder::DotCover::V11::Cover
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V11::Cover
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_11.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, configuration_file = nil) ⇒ Cover
Returns a new instance of Cover.
117
118
119
120
121
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 117
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' cover'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#analyse_target_arguments(bool) {|@b| ... } ⇒ Object
122
123
124
125
126
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 122
def analyse_target_arguments(bool)
@b.append " /analyseTargetArguments=#{@b.format bool}"
yield @b if block_given?
self
end
|
#filters(filters) {|@b| ... } ⇒ Object
127
128
129
130
131
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 127
def filters(filters)
@b.append " /filters=#{@b.format filters, ';'}"
yield @b if block_given?
self
end
|
#inherit_console(bool) {|@b| ... } ⇒ Object
132
133
134
135
136
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 132
def inherit_console(bool)
@b.append " /inheritConsole=#{@b.format bool}"
yield @b if block_given?
self
end
|
#log_file(log_file) {|@b| ... } ⇒ Object
137
138
139
140
141
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 137
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
142
143
144
145
146
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 142
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#target_arguments(target_arguments) {|@b| ... } ⇒ Object
147
148
149
150
151
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 147
def target_arguments(target_arguments)
@b.append " /targetArguments=#{@b.format target_arguments}"
yield @b if block_given?
self
end
|
#target_executable(target_executable) {|@b| ... } ⇒ Object
152
153
154
155
156
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 152
def target_executable(target_executable)
@b.append " /targetExecutable=#{@b.format target_executable}"
yield @b if block_given?
self
end
|
#target_working_dir(target_working_dir) {|@b| ... } ⇒ Object
157
158
159
160
161
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 157
def target_working_dir(target_working_dir)
@b.append " /targetWorkingDir=#{@b.format target_working_dir}"
yield @b if block_given?
self
end
|
#temp_dir(temp_dir) {|@b| ... } ⇒ Object
162
163
164
165
166
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 162
def temp_dir(temp_dir)
@b.append " /tempDir=#{@b.format temp_dir}"
yield @b if block_given?
self
end
|