class TestGdkEvent::TestOwnerChange

Public Instance Methods

event() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 647
def event
  @owner_change
end
setup() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 643
def setup
  @owner_change = Gdk::EventOwnerChange.new(:owner_change)
end
test_owner() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 651
def test_owner
  assert_nothing_raised do
    @owner_change.owner
  end
end
test_reason() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 657
def test_reason
  assert_nothing_raised do
    @owner_change.reason
  end
end
test_selection() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 663
def test_selection
  assert_nothing_raised do
    @owner_change.selection
  end
end
test_selection_time() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 673
def test_selection_time
  assert_kind_of(Integer, @owner_change.selection_time)
end
test_time() click to toggle source
# File gdk3/test/test-gdk-event.rb, line 669
def test_time
  assert_kind_of(Integer, @owner_change.time)
end