Sha256: 767a49a89b5d63a1115554eb357687d531b6f4b61f108a4e51c38d8ba8c4e40c

Contents?: true

Size: 410 Bytes

Versions: 15

Compression:

Stored size: 410 Bytes

Contents

activity org.ruboto.test_app.PsychActivity

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('psych_encode_decode') do |activity|
  assert_equal 'foo', activity.find_view_by_id(42).text.to_s
  #assert_equal "--- foo\n...\n", activity.find_view_by_id(43).text.to_s
end

Version data entries

15 entries across 9 versions & 1 rubygems

Version Path
ruboto-0.9.0 test/block_def_activity/psych_activity_test.rb
ruboto-0.9.0 test/handle_activity/psych_activity_test.rb
ruboto-0.9.0.rc.1 test/handle_activity/psych_activity_test.rb
ruboto-0.9.0.rc.1 test/block_def_activity/psych_activity_test.rb
ruboto-0.9.0.rc.0 test/handle_activity/psych_activity_test.rb
ruboto-0.9.0.rc.0 test/block_def_activity/psych_activity_test.rb
ruboto-0.8.1 test/block_def_activity/psych_activity_test.rb
ruboto-0.8.1 test/handle_activity/psych_activity_test.rb
ruboto-0.8.0 test/block_def_activity/psych_activity_test.rb
ruboto-0.8.0 test/handle_activity/psych_activity_test.rb
ruboto-0.7.0 test/handle_activity/psych_activity_test.rb
ruboto-0.7.0 test/block_def_activity/psych_activity_test.rb
ruboto-0.6.0 test/activity/psych_activity_test.rb
ruboto-0.5.4 test/activity/psych_activity_test.rb
ruboto-0.5.3 test/activity/psych_activity_test.rb