Sha256: e6652795ec42e6f2d377c9643e7f7e76f4cfc6bd1fdcdac8b7f3b3d012f5a59a
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
activity org.ruboto.test_app.LocationActivity 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('distanceBetween') do |activity| assert_equal '12531.119140625', activity.find_view_by_id(42).text.to_s assert_match /27.2149505615234/, activity.find_view_by_id(43).text.to_s assert_match /27.3007125854492/, activity.find_view_by_id(44).text.to_s end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruboto-1.6.1 | test/activity/location_activity_test.rb |
ruboto-1.6.0 | test/activity/location_activity_test.rb |