Sha256: 684f2753909fee00c6b0af09d6f1848672af5d841cdf35ff5e228d751e635a48

Contents?: true

Size: 1.09 KB

Versions: 14

Compression:

Stored size: 1.09 KB

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2014  Ruby-GNOME2 Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

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

  def setup
    @tree = Gtk::TreeView.new
    @selection =  @tree.selection
  end

  def test_mode_accessors
    @selection.mode = Gtk::SelectionMode::MULTIPLE
    assert_equal(Gtk::SelectionMode::MULTIPLE, @selection.mode)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gtk3-2.2.5-x64-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.5-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.5 test/test_gtk_tree_selection.rb
gtk3-2.2.4-x64-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.4-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.4 test/test_gtk_tree_selection.rb
gtk3-2.2.3-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.3 test/test_gtk_tree_selection.rb
gtk3-2.2.2-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.2 test/test_gtk_tree_selection.rb
gtk3-2.2.1-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.1 test/test_gtk_tree_selection.rb
gtk3-2.2.0-x86-mingw32 test/test_gtk_tree_selection.rb
gtk3-2.2.0 test/test_gtk_tree_selection.rb