Sha256: 31c736a21ccd77754cb277e00e04aed9ef21cd882684eee3972a38e41a6792dc
Contents?: true
Size: 735 Bytes
Versions: 7
Compression:
Stored size: 735 Bytes
Contents
activity org.ruboto.test_app.DirAndFileActivity 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('__FILE__ is set OK') do |activity| assert_matches %r{jar:file:/data/app/org.ruboto.test_app-[123](?:/base)?.apk!/dir_and_file_activity.rb}, activity.find_view_by_id(42).text.to_s assert_matches %r{jar:file:/data/app/org.ruboto.test_app-[123](?:/base)?.apk!}, activity.find_view_by_id(43).text.to_s assert_matches %r{file:/data/app/org.ruboto.test_app-[123](?:/base)?.apk!/AndroidManifest.xml}, activity.find_view_by_id(44).text.to_s end
Version data entries
7 entries across 7 versions & 1 rubygems