Sha256: 7947cecf535c5c7048c829cb37f35ed0eaa0e63009c3a146c890a9a5a52176cc

Contents?: true

Size: 351 Bytes

Versions: 36

Compression:

Stored size: 351 Bytes

Contents

activity org.ruboto.test_app.CallSuperActivity

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('super called correctly') do |activity|
  assert_equal 'With Super', activity.find_view_by_id(42).text.to_s
end

Version data entries

36 entries across 36 versions & 1 rubygems

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