mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Upgraded to open_id_authentication plugin at 00d8bc7f97 and unpacked ruby-openid gem version 2.1.2.
This commit is contained in:
parent
6149900e0c
commit
e92dae2ffc
227 changed files with 30857 additions and 669 deletions
36
vendor/gems/ruby-openid-2.1.2/admin/runtests.rb
vendored
Normal file
36
vendor/gems/ruby-openid-2.1.2/admin/runtests.rb
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#!/usr/bin/ruby
|
||||
|
||||
require "logger"
|
||||
require "stringio"
|
||||
require "pathname"
|
||||
|
||||
require 'test/unit/collector/dir'
|
||||
require 'test/unit/ui/console/testrunner'
|
||||
|
||||
def main
|
||||
old_verbose = $VERBOSE
|
||||
$VERBOSE = true
|
||||
|
||||
tests_dir = Pathname.new(__FILE__).dirname.dirname.join('test')
|
||||
|
||||
# Collect tests from everything named test_*.rb.
|
||||
c = Test::Unit::Collector::Dir.new
|
||||
|
||||
if c.respond_to?(:base=)
|
||||
# In order to supress warnings from ruby 1.8.6 about accessing
|
||||
# undefined member
|
||||
c.base = tests_dir
|
||||
suite = c.collect
|
||||
else
|
||||
# Because base is not defined in ruby < 1.8.6
|
||||
suite = c.collect(tests_dir)
|
||||
end
|
||||
|
||||
|
||||
result = Test::Unit::UI::Console::TestRunner.run(suite)
|
||||
result.passed?
|
||||
ensure
|
||||
$VERBOSE = old_verbose
|
||||
end
|
||||
|
||||
exit(main)
|
||||
Loading…
Add table
Add a link
Reference in a new issue