Flowdock
method

collect

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::Collector::ObjectSpace
collect(name=NAME) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/test/unit/collector/objectspace.rb, line 20
        def collect(name=NAME)
          suite = TestSuite.new(name)
          sub_suites = []
          @source.each_object(Class) do |klass|
            if(Test::Unit::TestCase > klass)
              add_suite(sub_suites, klass.suite)
            end
          end
          sort(sub_suites).each{|s| suite << s}
          suite
        end
Register or log in to add new notes.