[Ruby-activeldap-commit] [ruby-activeldap commit] r735 - in trunk: . test

codesite-noreply at google.com codesite-noreply at google.com
Wed Jun 11 10:51:23 EDT 2008


Author: koutou
Date: Wed Jun 11 07:51:01 2008
New Revision: 735

Modified:
   trunk/   (props changed)
   trunk/test/al-test-utils.rb
   trunk/test/run-test.rb

Log:
* use extended test-unit not test-unit-ext.


Modified: trunk/test/al-test-utils.rb
==============================================================================
--- trunk/test/al-test-utils.rb	(original)
+++ trunk/test/al-test-utils.rb	Wed Jun 11 07:51:01 2008
@@ -1,5 +1,4 @@
 require 'test/unit'
-require 'test-unit-ext'

 require 'erb'
 require 'yaml'

Modified: trunk/test/run-test.rb
==============================================================================
--- trunk/test/run-test.rb	(original)
+++ trunk/test/run-test.rb	Wed Jun 11 07:51:01 2008
@@ -3,16 +3,15 @@
 $KCODE = 'u'

 require 'yaml'
-require "test/unit"

 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-ext", "lib"))
-require 'test-unit-ext'
-Test::Unit::TestSuite.priority_mode = true
+$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|


More information about the Ruby-activeldap-commit mailing list