require File.expand_path('test_helper', File.dirname(__FILE__)) class SqldroidTest < Minitest::Test def setup generate_app :bundle => :sqldroid end def teardown cleanup_app end def test_sqldroid Dir.chdir APP_DIR do File.open('src/ruboto_test_app_activity.rb', 'w'){|f| f << < LinearLayout::VERTICAL do @text_view_margins = text_view :text => 'What hath Matz wrought?', :id => 42 @list_view = list_view :adapter => adapter, :id => 43 end end end EOF File.open('test/src/ruboto_test_app_activity_test.rb', 'w'){|f| f << < 60) sleep 1 end assert @text_view assert @list_view end test("activity starts") do |activity| assert true end EOF end run_app_tests end end if RubotoTest::ANDROID_OS != 24 # FIXME: (uwe) Remove check when the proxy compile is fixed