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.1.4 test/test_gtk_entry.rb
gtk2-3.1.3-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.1.3-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.1.3 test/test_gtk_entry.rb
gtk2-3.1.2-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.1.2-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.1.2 test/test_gtk_entry.rb
gtk2-3.1.1-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.1.1-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.1.1 test/test_gtk_entry.rb
gtk2-3.1.0-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.1.0-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.1.0 test/test_gtk_entry.rb
gtk2-3.0.9-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.0.9-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.0.9 test/test_gtk_entry.rb
gtk2-3.0.8-x86-mingw32 test/test_gtk_entry.rb
gtk2-3.0.8-x64-mingw32 test/test_gtk_entry.rb
gtk2-3.0.8 test/test_gtk_entry.rb
gtk2-3.0.7-x86-mingw32 test/test_gtk_entry.rb