Sha256: 6e423c48b9309f8611e3890bd5cc0b33f1cf23c4a692644f5b4c8425cf5ffe6c

Contents?: true

Size: 589 Bytes

Versions: 41

Compression:

Stored size: 589 Bytes

Contents

require 'test_helper'

class ErrorsTest < Test::Unit::TestCase

  # Inherits from StandardError
  def test_error_inheritance
    assert_kind_of  StandardError,
                    PublicSuffix::Error.new
  end

  # Inherits from PublicSuffix::Error
  def test_domain_invalid_inheritance
    assert_kind_of  PublicSuffix::Error,
                    PublicSuffix::DomainInvalid.new
  end

  # Inherits from PublicSuffix::DomainInvalid
  def test_domain_not_allowed_inheritance
    assert_kind_of  PublicSuffix::DomainInvalid,
                    PublicSuffix::DomainNotAllowed.new
  end

end

Version data entries

41 entries across 41 versions & 4 rubygems

Version Path
test_track_rails_client-2.0.0 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-1.3.0 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-1.2.0 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-1.1.0 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-1.0.0 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.20 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.19 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/errors_test.rb
test_track_rails_client-0.9.18 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.17 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.16 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.15 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.14 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.13 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.12 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.11 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.10 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.9 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
test_track_rails_client-0.9.8 vendor/gems/publicsuffix-ruby/test/unit/errors_test.rb
public_suffix-1.5.1 test/unit/errors_test.rb