class Oktest::Traverser

Public Instance Methods

on_case(case_cond, tag, depth) { || ... } click to toggle source
# File lib/oktest.rb, line 1470
def on_case(case_cond, tag, depth)
  yield
end
on_scope(scope_filename, tag, depth) { || ... } click to toggle source
# File lib/oktest.rb, line 1462
def on_scope(scope_filename, tag, depth)
  yield
end
on_spec(spec_desc, tag, depth) click to toggle source
# File lib/oktest.rb, line 1474
def on_spec(spec_desc, tag, depth)
end
on_topic(topic_target, tag, depth) { || ... } click to toggle source
# File lib/oktest.rb, line 1466
def on_topic(topic_target, tag, depth)
  yield
end
start() click to toggle source
# File lib/oktest.rb, line 1429
def start()
  #; [!5zonp] visits topics and specs and calls callbacks.
  #; [!gkopz] doesn't change Oktest::THE_GLOBAL_SCOPE.
  #visit_scope(THE_GLOBAL_SCOPE, -1, nil)
  THE_GLOBAL_SCOPE.each_child {|c| c.accept_visitor(self, 0, nil) }
end