Sha256: 47039ae8fd78152c9868ea4a6337439fffd3c8c6dcf29292ea5d6ad66184b4b1
Contents?: true
Size: 539 Bytes
Versions: 16
Compression:
Stored size: 539 Bytes
Contents
activity org.ruboto.test_app.SslActivity setup do |activity| start = Time.now loop do @text_view = activity.findViewById(42) break if @text_view || (Time.now - start > 60) sleep 1 end assert @text_view end test('load net/https', :ui => false) do |activity| start = Time.now expected = 'net/https loaded OK' loop do result = activity.run_on_ui_thread { activity.find_view_by_id(42).text.to_s } break if result == expected || (Time.now - start > 120) sleep 5 end assert_equal expected, result end
Version data entries
16 entries across 16 versions & 1 rubygems