Sha256: 644695d79c2e8a4b9dd249143289fe4a3c56730ab7b8c9939c613b34780384b3

Contents?: true

Size: 544 Bytes

Versions: 42

Compression:

Stored size: 544 Bytes

Contents

require 'fox16'
require 'test/unit'

class TS_All
  def TS_All.suite
    suite = Test::Unit::TestSuite.new
    Object.constants.sort.each do |k|
      next if /^TC_/ !~ k
      constant = Object.const_get(k)
      if constant.kind_of?(Class)
#       puts "adding tests for #{constant.to_s}"
	suite << constant.suite
      end
    end
    suite
  end
end

if __FILE__ == $0
  require 'test/unit/ui/console/testrunner'
  Dir.glob("TC_*.rb").each do |testcase|
    require "#{testcase}"
  end
  Test::Unit::UI::Console::TestRunner.run(TS_All)
end

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 test/TS_All.rb
fxruby-1.6.22.pre2 test/TS_All.rb
fxrubi-1.6.22.pre1-x86-mingw32 test/TS_All.rb
fxrubi-1.6.22.pre1 test/TS_All.rb
fxruby-1.6.20-x86-mingw32 test/TS_All.rb
fxruby-1.6.20-x86-linux test/TS_All.rb
fxruby-1.6.20 test/TS_All.rb
fxruby-1.6.20-universal-darwin-10 test/TS_All.rb
fxruby-1.6.19-x86-mingw32 tests/TS_All.rb
fxruby-1.6.14-mswin32 tests/TS_All.rb
fxruby-1.6.13-mswin32 tests/TS_All.rb
fxruby-1.6.0 tests/TS_All.rb
fxruby-1.6.1 tests/TS_All.rb
fxruby-1.6.11 tests/TS_All.rb
fxruby-1.6.10 tests/TS_All.rb
fxruby-1.6.12 tests/TS_All.rb
fxruby-1.6.13 tests/TS_All.rb
fxruby-1.6.14-universal-darwin-9 tests/TS_All.rb
fxruby-1.6.15-universal-darwin-9 tests/TS_All.rb
fxruby-1.6.14 tests/TS_All.rb