Class: FluentCommandBuilder::DotCover::V20::Analyse
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V20::Analyse
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_20.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, configuration_file = nil) ⇒ Analyse
Returns a new instance of Analyse.
60
61
62
63
64
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 60
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' analyse'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#analyse_target_arguments(bool) {|@b| ... } ⇒ Object
65
66
67
68
69
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 65
def analyse_target_arguments(bool)
@b.append " /analyseTargetArguments=#{@b.format bool}"
yield @b if block_given?
self
end
|
#attribute_filters(filters) {|@b| ... } ⇒ Object
70
71
72
73
74
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 70
def attribute_filters(filters)
@b.append " /attributeFilters=#{@b.format filters, ';'}"
yield @b if block_given?
self
end
|
#filters(filters) {|@b| ... } ⇒ Object
75
76
77
78
79
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 75
def filters(filters)
@b.append " /filters=#{@b.format filters, ';'}"
yield @b if block_given?
self
end
|
#inherit_console(bool) {|@b| ... } ⇒ Object
80
81
82
83
84
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 80
def inherit_console(bool)
@b.append " /inheritConsole=#{@b.format bool}"
yield @b if block_given?
self
end
|
#log_file(log_file) {|@b| ... } ⇒ Object
85
86
87
88
89
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 85
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
90
91
92
93
94
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 90
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#report_type(report_type) {|@b| ... } ⇒ Object
95
96
97
98
99
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 95
def report_type(report_type)
@b.append " /reportType=#{@b.format report_type}"
yield @b if block_given?
self
end
|
#target_arguments(target_arguments) {|@b| ... } ⇒ Object
100
101
102
103
104
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 100
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
105
106
107
108
109
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 105
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
110
111
112
113
114
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 110
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
115
116
117
118
119
|
# File 'lib/fluent_command_builder/command_builders/dotcover_20.rb', line 115
def temp_dir(temp_dir)
@b.append " /tempDir=#{@b.format temp_dir}"
yield @b if block_given?
self
end
|