Class: Rcodetools::XMPTestUnitFilter

Inherits:
XMPFilter
  • Object
show all
Defined in:
lib/rcodetools/xmptestunitfilter.rb

Direct Known Subclasses

XMPExpectationsFilter, XMPRSpecFilter

Defined Under Namespace

Modules: Poetry, WithParentheses

Constant Summary

Constants inherited from XMPFilter

Rcodetools::XMPFilter::INITIALIZE_OPTS, Rcodetools::XMPFilter::INTERPRETER_FORK, Rcodetools::XMPFilter::INTERPRETER_RBTEST, Rcodetools::XMPFilter::INTERPRETER_RUBY, Rcodetools::XMPFilter::MARKER, Rcodetools::XMPFilter::MULTI_LINE_RE, Rcodetools::XMPFilter::SINGLE_LINE_RE, Rcodetools::XMPFilter::VAR, Rcodetools::XMPFilter::VERSION, Rcodetools::XMPFilter::WARNING_RE, Rcodetools::XMPFilter::XMP_RE

Instance Method Summary collapse

Methods inherited from XMPFilter

#add_markers, #annotate, #annotated_multi_line, #common_path, #debugprint, detect_rbtest, #execute, #execute_popen, #execute_ruby, #execute_script, #execute_tmpfile, #extract_data, #final_decoration, #get_test_method_from_lineno, #initialize_for_test_script, #initialize_rbtest, #initialize_rct_fork, #interpreter_command, #oneline_ize, #prepare_line_annotation, run, #windows?

Constructor Details

#initialize(opts = {}) ⇒ XMPTestUnitFilter

Returns a new instance of XMPTestUnitFilter.



7
8
9
10
11
12
# File 'lib/rcodetools/xmptestunitfilter.rb', line 7

def initialize(opts = {})
  super
  @output_stdout = false
  mod = @parentheses ? :WithParentheses : :Poetry
  extend self.class.const_get(mod) unless opts[:_no_extend_module]
end