Sha256: e07f43b02d4152ea8c41b81c27bc17feda8e7a5099f876c9b5c81fd277b3ee5d
Contents?: true
Size: 550 Bytes
Versions: 83
Compression:
Stored size: 550 Bytes
Contents
# -*- coding: utf-8 -*- class TestSourceView < Test::Unit::TestCase def test_mark_category_background view = Gtk::SourceView.new red_rgb = [65535, 0, 0] red_color = Gdk::Color.parse("red") assert_not_equal(red_rgb, view.get_mark_category_background("XXX").to_a) view.set_mark_category_background("XXX", red_color) assert_equal(red_rgb, view.get_mark_category_background("XXX").to_a) view.set_mark_category_background("XXX", nil) assert_not_equal(red_rgb, view.get_mark_category_background("XXX").to_a) end end
Version data entries
83 entries across 83 versions & 2 rubygems
Version | Path |
---|---|
gtksourceview2-0.90.7 | test/test_source_view.rb |
gtksourceview2-0.90.6-x86-mingw32 | test/test_source_view.rb |
gtksourceview2-0.90.6 | test/test_source_view.rb |