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.2.7-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.7-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.7 test/test_gtk_entry.rb
gtk2-3.2.6-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.6-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.6 test/test_gtk_entry.rb
gtk2-3.2.5-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.5-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.5 test/test_gtk_entry.rb
gtk2-3.2.4-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.4-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.4 test/test_gtk_entry.rb
gtk2-3.2.3-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.3-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.3 test/test_gtk_entry.rb
gtk2-3.2.2-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.2-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.2.2 test/test_gtk_entry.rb
gtk2-3.2.1-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.2.1-x86-mingw32 test/test_gtk_entry.rb