Sha256: e0bf63842282351997924e076c582869800572c981e9be66d10e0bed0a8e3743

Contents?: true

Size: 422 Bytes

Versions: 199

Compression:

Stored size: 422 Bytes

Contents

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

  def test_notify_startup_complete
    assert_nothing_raised do
      Gdk.notify_startup_complete
    end

    notify_with_id = Proc.new do
      Gdk.notify_startup_complete("startup-id")
    end
    if Gtk.check_version?(2, 12, 0)
      assert_nothing_raised(&notify_with_id)
    else
      assert_raise(NotImplementedError, &notify_with_id)
    end
  end
end

Version data entries

199 entries across 199 versions & 2 rubygems

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