Sha256: 23af046698a848683363649f6791c32ed9f5a5aa077843b7d831279034e138b6

Contents?: true

Size: 468 Bytes

Versions: 207

Compression:

Stored size: 468 Bytes

Contents

class TestGtkEntry < Test::Unit::TestCase
  include GtkTestUtils

  def setup
    @entry = Gtk::Entry.new
  end

  def test_cursor_hadjustment
    only_gtk_version(2, 12)

    assert_nil(@entry.cursor_hadjustment)
    adjustment = Gtk::Adjustment.new(0.0, 0.0,
                                     100.0, 100.0,
                                     1.0, 1.0)
    @entry.cursor_hadjustment = adjustment
    assert_equal(adjustment, @entry.cursor_hadjustment)
  end
end

Version data entries

207 entries across 207 versions & 2 rubygems

Version Path
gtk2-3.4.3 test/test_gtk_entry.rb
gtk2-3.4.2 test/test_gtk_entry.rb
gtk2-3.4.1 test/test_gtk_entry.rb
gtk2-3.4.0 test/test_gtk_entry.rb
gtk2-3.3.9 test/test_gtk_entry.rb
gtk2-3.3.8 test/test_gtk_entry.rb
gtk2-3.3.7 test/test_gtk_entry.rb
gtk2-3.3.6 test/test_gtk_entry.rb
gtk2-3.3.5 test/test_gtk_entry.rb
gtk2-3.3.4 test/test_gtk_entry.rb
gtk2-3.3.3 test/test_gtk_entry.rb
gtk2-3.3.2 test/test_gtk_entry.rb
gtk2-3.3.1 test/test_gtk_entry.rb
gtk2-3.3.0 test/test_gtk_entry.rb
gtk2-3.2.9-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.9-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.9 test/test_gtk_entry.rb
gtk2-3.2.8-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.8-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.8 test/test_gtk_entry.rb