218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
# File 'lib/res/formatters/ruby_cucumber2.rb', line 218
def after_table_row(table_row)
if table_row.class == Cucumber::Formatter::LegacyApi::Ast::ExampleTableRow
@_current_table_row[:name] = table_row.name
if table_row.exception
@_current_table_row[:message] = table_row.exception.to_s
end
if table_row.status and table_row.status != "skipped" and table_row.status != nil
@_current_table_row[:status] = table_row.status
end
@_current_table_row[:line] = table_row.line
@_current_table_row[:urn] = @_feature_element[:file] + ":" + table_row.line.to_s
@_table << @_current_table_row
end
end
|