test/test_helper.rb in ruboto-0.10.2.rc.0 vs test/test_helper.rb in ruboto-0.10.2

- old
+ new

@@ -31,18 +31,9 @@ PACKAGE = 'org.ruboto.test_app' APP_NAME = 'RubotoTestApp' TMP_DIR = File.join PROJECT_DIR, 'tmp' APP_DIR = File.join TMP_DIR, APP_NAME ANDROID_TARGET = (ENV['ANDROID_TARGET'] && ENV['ANDROID_TARGET'].slice(/\d+/).to_i) || MINIMUM_SUPPORTED_SDK_LEVEL - VERSION_TO_API_LEVEL = { - '2.1' => 'android-7', '2.1-update1' => 'android-7', '2.2' => 'android-8', - '2.3' => 'android-9', '2.3.1' => 'android-9', '2.3.2' => 'android-9', - '2.3.3' => 'android-10', '2.3.4' => 'android-10', - '3.0' => 'android-11', '3.1' => 'android-12', '3.2' => 'android-13', - '4.0.1' => 'android-14', '4.0.3' => 'android-15', '4.0.4' => 'android-15', - '4.1' => 'android-16', '4.1.1' => 'android-16', '4.1.2' => 'android-16', - '4.2' => 'android-17', - } def self.version_from_device puts 'Reading OS version from device/emulator' system 'adb wait-for-device' IO.popen('adb bugreport').each_line do |line|