Sha256: 8e9a54d9f8d312488bf38894c4f661ab4fef0199a9ddb62c20ce6ab3f0d5b2b2

Contents?: true

Size: 385 Bytes

Versions: 25

Compression:

Stored size: 385 Bytes

Contents

# encoding: utf-8

require 'test/unit'

# Ruby 1.9 uses "minitest". There is no `name` property there
if defined? MiniTest::Unit::TestCase && Test::Unit::TestCase < MiniTest::Unit::TestCase
    module Test
        module Unit
            class TestCase
                def name
                    __name__
                end
            end
        end
    end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rake-delphi-0.0.8 lib/rake/helpers/unittest.rb
rake-delphi-0.0.7 lib/rake/helpers/unittest.rb
rake-delphi-0.0.6 lib/rake/helpers/unittest.rb
rake-delphi-0.0.5 lib/rake/helpers/unittest.rb
rake-delphi-0.0.4 lib/rake/helpers/unittest.rb