Sha256: dcd02685a0d53199476e3b3c9e584f7f00fc680eac211e340c2bb5ce0a4baf2c
Contents?: true
Size: 888 Bytes
Versions: 3
Compression:
Stored size: 888 Bytes
Contents
require_relative "helper" class RWidgetTest < Test::Unit::TestCase include Glimmer def setup dsl :swt end def test_async_exec @target = shell { @text = text { text "text1" } } @target.async_exec do @text.widget.setText("text2") end @target.async_exec do assert_equal "text2", @text.widget.getText @target.widget.close end @target.open end def test_sync_exec @target = shell { @text = text { text "text1" } } @target.async_exec do assert_equal "text2", @text.widget.getText @text.widget.setText("text3") end @target.sync_exec do @text.widget.setText("text2") end @target.async_exec do @target.widget.close end @target.open end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
glimmer-0.1.5.470 | test/r_widget_test.rb |
glimmer-0.1.4.470 | test/r_widget_test.rb |
glimmer-0.1.4.swt.pre.4.7.0 | test/r_widget_test.rb |