Sha256: ea43b706c464f10e1f5e68170c88e60db66dfec6f794c71723bbe58948e2566e
Contents?: true
Size: 927 Bytes
Versions: 5
Compression:
Stored size: 927 Bytes
Contents
#!/usr/bin/env ruby $VERBOSE = true $KCODE = 'u' if RUBY_VERSION < "1.9" require 'yaml' base_dir = File.expand_path(File.dirname(__FILE__)) top_dir = File.expand_path(File.join(base_dir, "..")) $LOAD_PATH.unshift(File.join(top_dir, "lib")) $LOAD_PATH.unshift(File.join(top_dir, "test")) $LOAD_PATH.unshift(File.join(top_dir, "test-unit", "lib")) require "test/unit" ARGV.unshift("--priority-mode") test_file = "test/test_*.rb" Dir.glob(test_file) do |file| require file end target_adapters = [nil] # target_adapters << "ldap" # target_adapters << "net-ldap" # target_adapters << "jndi" target_adapters.each do |adapter| ENV["ACTIVE_LDAP_TEST_ADAPTER"] = adapter puts "using adapter: #{adapter ? adapter : 'default'}" args = [File.dirname($0), ARGV.dup] if Test::Unit::AutoRunner.respond_to?(:standalone?) args.unshift(false) else args.unshift($0) end Test::Unit::AutoRunner.run(*args) puts end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
activeldap-1.2.2 | test/run-test.rb |
activeldap-1.2.1 | test/run-test.rb |
activeldap-1.2.0 | test/run-test.rb |
activeldap-1.1.0 | test/run-test.rb |
activeldap-1.0.9 | test/run-test.rb |