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.2.1 test/test_gdk.rb
gtk2-3.2.0-x86-mingw32 test/test_gdk.rb
gtk2-3.2.0-x64-mingw32 test/test_gdk.rb
gtk2-3.2.0 test/test_gdk.rb
gtk2-3.1.9-x86-mingw32 test/test_gdk.rb
gtk2-3.1.9-x64-mingw32 test/test_gdk.rb
gtk2-3.1.9 test/test_gdk.rb
gtk2-3.1.8-x64-mingw32 test/test_gdk.rb
gtk2-3.1.8-x86-mingw32 test/test_gdk.rb
gtk2-3.1.8 test/test_gdk.rb
gtk2-3.1.7-x64-mingw32 test/test_gdk.rb
gtk2-3.1.7-x86-mingw32 test/test_gdk.rb
gtk2-3.1.7 test/test_gdk.rb
gtk2-3.1.6-x64-mingw32 test/test_gdk.rb
gtk2-3.1.6-x86-mingw32 test/test_gdk.rb
gtk2-3.1.6 test/test_gdk.rb
gtk2-3.1.5-x64-mingw32 test/test_gdk.rb
gtk2-3.1.5-x86-mingw32 test/test_gdk.rb
gtk2-3.1.4-x64-mingw32 test/test_gdk.rb
gtk2-3.1.4-x86-mingw32 test/test_gdk.rb