Sha256: 651ebb036b4cc9ed848ed3f920f03085877be8ec6dab60631a4a29c45dc8cf00

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

activity Java::org.ruboto.test_app.GenerateActivity

setup do |activity|
  start = Time.now
  loop do
    @text_view = activity.findViewById(42)
    @list_view = activity.findViewById(43)
    break if (@text_view && @list_view) || (Time.now - start > 60)
    sleep 1
  end
  assert @text_view
  assert @list_view
end

test("activity starts") do |activity|
  assert true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruboto-0.8.1 test/activity/generate_activity_test.rb