Sha256: 9b8b1b83ec1b6a6deaccd32e9263def78fc21d0e7cd7419cab8c34d49ffee360

Contents?: true

Size: 355 Bytes

Versions: 16

Compression:

Stored size: 355 Bytes

Contents

activity org.ruboto.test_app.StartupExceptionActivity

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('activity starts with caught exception') do |activity|
  assert_equal 'Startup OK', @text_view.text.to_s
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruboto-1.6.1 test/activity/startup_exception_activity_test.rb
ruboto-1.6.0 test/activity/startup_exception_activity_test.rb
ruboto-1.5.0 test/activity/startup_exception_activity_test.rb
ruboto-1.4.1 test/activity/startup_exception_activity_test.rb
ruboto-1.4.0 test/activity/startup_exception_activity_test.rb
ruboto-1.3.1 test/activity/startup_exception_activity_test.rb
ruboto-1.3.0 test/activity/startup_exception_activity_test.rb
ruboto-1.2.0 test/activity/startup_exception_activity_test.rb
ruboto-1.1.2 test/activity/startup_exception_activity_test.rb
ruboto-1.1.1 test/activity/startup_exception_activity_test.rb
ruboto-1.1.0 test/activity/startup_exception_activity_test.rb
ruboto-1.0.3 test/activity/startup_exception_activity_test.rb
ruboto-1.0.2 test/activity/startup_exception_activity_test.rb
ruboto-1.0.1 test/activity/startup_exception_activity_test.rb
ruboto-1.0.0 test/activity/startup_exception_activity_test.rb
ruboto-0.16.0 test/activity/startup_exception_activity_test.rb