Sha256: 1f92a796f96b7bf46010a55712b7a78f26ae25bdb029ba062ac1c702da812995

Contents?: true

Size: 921 Bytes

Versions: 15

Compression:

Stored size: 921 Bytes

Contents

class Test::Unit::TestCase
  #
  # @example
  #   class TestBase64
  #     unsupported :test_urlsafe_encode64
  #     unsupported :test_strict_encode64
  #   end
  #
  def self.unsupported name, message = 'unsupported'
    define_method name do
      skip message
    end
  end

  #
  # @example
  #   class TestBase64
  #     bug :test_strict_decode64
  #   end
  #
  def self.bug name, message = 'BUG'
    define_method name do
      skip message
    end
  end
end

class TestBase64
  bug :test_strict_decode64
  bug :test_urlsafe_decode64_unpadded
end

class TestCall
  # They work fine if `"a".sub! "b"` is replaced by `[].slice 1`
  unsupported :test_safe_call_block_command
  unsupported :test_safe_call_block_call
  unsupported :test_safe_call_block_call_brace
  unsupported :test_safe_call_block_call_command
end

class TestBenchmark
  # sleep is unsupported if not awaited
  unsupported :test_realtime_output
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
opal-1.6.1 test/opal/unsupported_and_bugs.rb
opal-1.6.0 test/opal/unsupported_and_bugs.rb
opal-1.6.0.rc1 test/opal/unsupported_and_bugs.rb
opal-1.6.0.alpha1 test/opal/unsupported_and_bugs.rb
opal-1.5.1 test/opal/unsupported_and_bugs.rb
opal-1.5.0 test/opal/unsupported_and_bugs.rb
opal-1.5.0.rc1 test/opal/unsupported_and_bugs.rb
opal-1.4.1 test/opal/unsupported_and_bugs.rb
opal-1.4.0 test/opal/unsupported_and_bugs.rb
opal-1.4.0.alpha1 test/opal/unsupported_and_bugs.rb
opal-1.3.2 test/opal/unsupported_and_bugs.rb
opal-1.3.1 test/opal/unsupported_and_bugs.rb
opal-1.3.0 test/opal/unsupported_and_bugs.rb
opal-1.3.0.rc1 test/opal/unsupported_and_bugs.rb
opal-1.3.0.alpha1 test/opal/unsupported_and_bugs.rb