Sha256: a99a54df8626c07cac10167b2f045e57e3e7b20bbddce3323d9ed2a7a3ef4ef2

Contents?: true

Size: 358 Bytes

Versions: 16

Compression:

Stored size: 358 Bytes

Contents

activity org.ruboto.test_app.NoOnCreateActivity

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 without onCreate implemented') do |activity|
  assert_equal 'No On Create', @text_view.text.to_s
end

Version data entries

16 entries across 16 versions & 1 rubygems

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