Sha256: cd828ccf728c75060abddac3b294f032489c9d7f681ff02bf112604e76bccb45

Contents?: true

Size: 459 Bytes

Versions: 203

Compression:

Stored size: 459 Bytes

Contents

class TestAttribute < Test::Unit::TestCase
  include PangoTestUtils

  def setup
    @attribute = Pango::AttrLanguage.new(Pango::Language.default)
  end

  def test_start_index
    assert_equal(0, @attribute.start_index)
    @attribute.start_index = 5
    assert_equal(5, @attribute.start_index)
  end

  def test_end_index
    assert_equal(GLib::MAXUINT, @attribute.end_index)
    @attribute.end_index = 5
    assert_equal(5, @attribute.end_index)
  end
end

Version data entries

203 entries across 195 versions & 2 rubygems

Version Path
pango-3.2.8 test/test-attribute.rb
pango-3.2.7-x86-mingw32 test/test-attribute.rb
pango-3.2.7-x64-mingw32 test/test-attribute.rb
pango-3.2.7 test/test-attribute.rb
pango-3.2.6-x64-mingw32 test/test-attribute.rb
pango-3.2.6-x86-mingw32 test/test-attribute.rb
pango-3.2.6 test/test-attribute.rb
pango-3.2.5-x64-mingw32 test/test-attribute.rb
pango-3.2.5-x86-mingw32 test/test-attribute.rb
pango-3.2.5 test/test-attribute.rb
pango-3.2.4-x64-mingw32 test/test-attribute.rb
pango-3.2.4-x86-mingw32 test/test-attribute.rb
pango-3.2.4 test/test-attribute.rb
pango-3.2.3-x64-mingw32 test/test-attribute.rb
pango-3.2.3-x86-mingw32 test/test-attribute.rb
pango-3.2.3 test/test-attribute.rb
pango-3.2.2 test/test-attribute.rb
pango-3.2.2-x64-mingw32 test/test-attribute.rb
pango-3.2.2-x86-mingw32 test/test-attribute.rb
pango-3.2.1-x64-mingw32 test/test-attribute.rb