File: runner.rb

package info (click to toggle)
libjson-ruby 1.1.2-1%2Blenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 760 kB
  • ctags: 542
  • sloc: ruby: 3,040; ansic: 2,470; makefile: 19
file content (26 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env ruby

require 'test/unit/ui/console/testrunner'
require 'test/unit/testsuite'
$:.unshift File.expand_path(File.dirname($0))
$:.unshift 'tests'
require 'test_json'
require 'test_json_generate'
require 'test_json_unicode'
require 'test_json_addition'
require 'test_json_rails'
require 'test_json_fixtures'

class TS_AllTests
  def self.suite
    suite = Test::Unit::TestSuite.new name
    suite << TC_JSONGenerate.suite
    suite << TC_JSON.suite
    suite << TC_JSONUnicode.suite
    suite << TC_JSONAddition.suite
    suite << TC_JSONRails.suite
    suite << TC_JSONFixtures.suite
  end
end
Test::Unit::UI::Console::TestRunner.run(TS_AllTests)
  # vim: set et sw=2 ts=2: