Sha256: 072bb9cdae636017c1522c5b1f331f70db3f0e9e18515e991b56bde050d64929

Contents?: true

Size: 531 Bytes

Versions: 17

Compression:

Stored size: 531 Bytes

Contents

require 'test/spec/dox'

module Test::Unit::UI           # :nodoc:
  module RDox                   # :nodoc:
    class TestRunner < Test::Unit::UI::SpecDox::TestRunner
      def output_heading(heading)
        output "#{@headprefix} #{heading}"
      end
      
      def output_item(item)
        output_no_nl "* #{item}"
      end
      
      def finished(elapsed_time)
        nl
        output_result
      end

      def indent(depth)
        @prefix = ""
        @headprefix = "==" + "=" * depth
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
jordi-xml_struct-0.1.3 test/vendor/test-spec/lib/test/spec/rdox.rb
jordi-xml_struct-0.2.0 test/vendor/test-spec/lib/test/spec/rdox.rb
jordi-xml_struct-0.2.1 test/vendor/test-spec/lib/test/spec/rdox.rb
nullstyle-test-spec-0.4.1 lib/test/spec/rdox.rb
relevance-test-spec-0.4.0.5 lib/test/spec/rdox.rb
relevance-test-spec-0.4.1.1 lib/test/spec/rdox.rb
relevance-test-spec-0.4.1.2 lib/test/spec/rdox.rb
relevance-test-spec-0.4.1 lib/test/spec/rdox.rb
mofo-0.1.1 vendor/testspec-0.2.0/lib/test/spec/rdox.rb
mofo-0.1.2 vendor/testspec-0.3.0/lib/test/spec/rdox.rb
mofo-0.2.2 vendor/testspec-0.3.0/lib/test/spec/rdox.rb
mofo-0.2.1 vendor/testspec-0.3.0/lib/test/spec/rdox.rb
mofo-0.2 vendor/testspec-0.3.0/lib/test/spec/rdox.rb
test-spec-0.3.0 lib/test/spec/rdox.rb
test-spec-0.4.0 lib/test/spec/rdox.rb
test-spec-0.10.0 lib/test/spec/rdox.rb
test-spec-0.9.0 lib/test/spec/rdox.rb