test/ruboto_gen_test.rb in ruboto-0.10.0 vs test/ruboto_gen_test.rb in ruboto-0.10.1

- old
+ new

@@ -48,15 +48,16 @@ assert File.read('AndroidManifest.xml') !~ /VeryNewActivity/ end end # APK was smaller than 277.2KB: 61.9KB. PLATFORM: CURRENT, ANDROID_TARGET: 10. - # APK was larger than 7100.0KB: 7341.1KB. PLATFORM: STANDALONE, ANDROID_TARGET: 10, JRuby: 1.7.0.preview2. # APK was smaller than 278.1KB: 67.2KB. PLATFORM: CURRENT, ANDROID_TARGET: 15. # APK was larger than 5800.0KB: 5879.2KB. PLATFORM: STANDALONE, ANDROID_TARGET: 15, JRuby: 1.6.7. + # APK was larger than 7100.0KB: 7341.1KB. PLATFORM: STANDALONE, ANDROID_TARGET: 10, JRuby: 1.7.0.preview2. # APK was larger than 7308.0KB: 7558.3KB. PLATFORM: STANDALONE, ANDROID_TARGET: 15, JRuby: 1.7.0.preview2. # APK was larger than 4200.0KB: 7380.0KB. PLATFORM: STANDALONE, ANDROID_TARGET: 15, JRuby: 1.7.0. + # APK was larger than 7600.0KB: 9962.1KB. PLATFORM: STANDALONE, ANDROID_TARGET: 10, JRuby: 1.7.2.dev. def test_new_apk_size_is_within_limits apk_size = BigDecimal(File.size("#{APP_DIR}/bin/RubotoTestApp-debug.apk").to_s) / 1024 version = " PLATFORM: #{RUBOTO_PLATFORM}" version << ", ANDROID_TARGET: #{ANDROID_TARGET}" @@ -64,9 +65,10 @@ upper_limit = { '1.6.7' => 5900.0, '1.6.8' => 5900.0, '1.7.0' => ANDROID_TARGET < 15 ? 7400.0 : 7600.0, '1.7.1.dev' => ANDROID_TARGET < 15 ? 7400.0 : 7600.0, + '1.7.2.dev' => 9970.0, }[JRUBY_JARS_VERSION.to_s] || 7600.0 version << ", JRuby: #{JRUBY_JARS_VERSION.to_s}" else upper_limit = { 10 => 62.0,