1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/json.rb, lib/json, ext/json, test/json:

import JSON library.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2007-06-04 12:31:26 +00:00
parent 6b3ef2249c
commit af1c416728
69 changed files with 8551 additions and 70 deletions

24
test/json/runner.rb Normal file
View file

@ -0,0 +1,24 @@
#!/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_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_JSONFixtures.suite
end
end
Test::Unit::UI::Console::TestRunner.run(TS_AllTests)
# vim: set et sw=2 ts=2: