require abstract_unit directly since test is in load path

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2008-01-05 13:31:04 +00:00
parent b144818698
commit f6d8526659
45 changed files with 49 additions and 48 deletions

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'stringio'
class BufferedLoggerTest < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
class CacheStoreSettingTest < Test::Unit::TestCase
def test_file_fragment_cache_store

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'stringio'
class CleanLoggerTest < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
require 'bigdecimal'
class ArrayExtAccessTests < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class EmptyTrue
def empty?() true; end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class EscapeSkippingSlashesTest < Test::Unit::TestCase
def test_array

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
class ClassAttributeAccessorTest < Test::Unit::TestCase
def setup
@ -28,4 +28,4 @@ class ClassAttributeAccessorTest < Test::Unit::TestCase
assert @object.respond_to?(:bar)
assert !@object.respond_to?(:bar=)
end
end
end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
class ClassInheritableAttributesTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
module DelegatingFixtures
class Parent
@ -102,4 +102,4 @@ class DelegatingAttributesTest < Test::Unit::TestCase
assert_nil Mokopuna.some_attribute
end
end
end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class A
end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class DateExtCalculationsTest < Test::Unit::TestCase
def test_to_s

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class DateTimeExtCalculationsTest < Test::Unit::TestCase
def test_to_s

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class DuplicableTest < Test::Unit::TestCase
NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56')]

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class DurationTest < Test::Unit::TestCase
def test_inspect

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
Payment = Struct.new(:price)
class SummablePayment < Payment

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class ExceptionExtTests < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class AtomicWriteTest < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class FloatExtRoundingTests < Test::Unit::TestCase
def test_round_for_positive_number

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class HashExtTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class IntegerExtTest < Test::Unit::TestCase
def test_even

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class KernelTest < Test::Unit::TestCase
def test_silence_warnings

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
class AttrAccessorWithDefaultTest < Test::Unit::TestCase
def setup
@ -27,4 +27,4 @@ class AttrAccessorWithDefaultTest < Test::Unit::TestCase
def test_invalid_args
assert_raise(RuntimeError) {@target.attr_accessor_with_default :foo}
end
end
end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
class AttrInternalTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
class ModuleAttributeAccessorTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'abstract_unit'
module AttributeAliasing
class Content

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
module One
Constant1 = "Hello World"

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class NameErrorTest < Test::Unit::TestCase
def test_name_error_should_set_missing_name

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class NumericExtTimeAndDateTimeTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class ClassA; end
class ClassB < ClassA; end

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class TestPathname < Test::Unit::TestCase
def test_clean_within

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class ProcTests < Test::Unit::TestCase
def test_bind_returns_method_with_changed_self

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class RangeTest < Test::Unit::TestCase
def test_to_s_from_dates

View File

@ -1,5 +1,5 @@
require 'date'
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
require 'inflector_test_cases'
class StringInflectionsTest < Test::Unit::TestCase

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class SymbolTests < Test::Unit::TestCase
def test_to_proc

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class TimeExtCalculationsTest < Test::Unit::TestCase
def test_seconds_since_midnight

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'pp'
module ModuleWithMissing

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
class Deprecatee
def initialize

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'inflector_test_cases'
module Ace

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class TestJSONDecoding < Test::Unit::TestCase
TESTS = {

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'abstract_unit'
class TestJSONEncoding < Test::Unit::TestCase
class Foo

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
class OptionMergerTest < Test::Unit::TestCase
def setup

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
class OrderedHashTest < Test::Unit::TestCase
def setup

View File

@ -1,5 +1,6 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'active_support/test_case'
class AssertDifferenceTest < Test::Unit::TestCase
def setup
@object = Class.new do

View File

@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
class TimeZoneTest < Test::Unit::TestCase
class MockTime

View File

@ -6,7 +6,7 @@ module ActiveRecord
end
end
require File.dirname(__FILE__) + '/abstract_unit'
require 'abstract_unit'
require 'active_support/whiny_nil'
class WhinyNilTest < Test::Unit::TestCase