Sha256: 0a16c4605fe1a8bad11c01f53dc92654cc34db1472c6f0397081d691e3071960
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
require File.expand_path('test_helper', File.dirname(__FILE__)) class RubotoActivityTest < Minitest::Test def setup super generate_app end def teardown cleanup_app super end def test_ruboto_activity_as_entry_point check_platform_installation Dir.chdir APP_DIR do package = 'org.ruboto.test_app' app_element = verify_manifest(reload: true).elements['application'] activity_element = app_element.elements["activity[@android:name='org.ruboto.RubotoActivity']"] activity_element.attributes['android:exported'] = true save_manifest system 'rake install' system "adb shell am start -n #{package}/org.ruboto.RubotoActivity -e ClassName RubotoTestAppActivity" assert_equal 0, $?, "tests failed with return code #$?" # FIXME(uwe): Assert that the activity was started correctly. end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruboto-1.6.1 | test/ruboto_activity_test.rb |
ruboto-1.6.0 | test/ruboto_activity_test.rb |