test/activity/stack_activity_test.rb in ruboto-0.9.0.rc.1 vs test/activity/stack_activity_test.rb in ruboto-0.9.0

- old
+ new

@@ -9,12 +9,12 @@ end assert @text_view end # ANDROID: 10, PLATFORM: 0.4.7, JRuby: 1.7.0.dev '28334966' expected, but got '28335067' +# ANDROID: 15, PLATFORM: STANDALONE, JRuby: 1.7.0 '[28, 33, 51, 68]' expected, but got '[28, 33, 47, 64]' # ANDROID: 16, PLATFORM: 0.4.8.dev, JRuby: 1.7.0.preview2 '[29, 34, 47, 64]' expected, but got '[28, 33, 47, 64]' - test('stack depth') do |activity| os_offset = { 13 => [1]*4, 15 => [0, 0, 1, 1], 16 => [0, 0, 1, 1], @@ -22,15 +22,16 @@ if org.ruboto.JRubyAdapter.uses_platform_apk? jruby_offset = { '0.4.7' => [0, 0, 0, 0], '0.4.8.dev' => [0, 0, -4, -4], '0.4.8' => [0, 0, -4, -4], + '0.4.9' => [0, 0, -4, -4], }[org.ruboto.JRubyAdapter.platform_version_name] || [0, 0, 0, 0] else # STANDALONE jruby_offset = { '1.7.0.dev' => [1, 1, 1, 1], - '1.7.0.preview2' => [0, 0, -4, -4], - '1.7.0.RC1' => [0, 0, -4, -4], + '1.7.0' => [0, 0, -4, -4], + '1.7.1.dev' => [0, 0, -4, -4], }[org.jruby.runtime.Constants::VERSION] || [0, 0, 0, 0] end version_message ="ANDROID: #{android.os.Build::VERSION::SDK_INT}, PLATFORM: #{org.ruboto.JRubyAdapter.uses_platform_apk ? org.ruboto.JRubyAdapter.platform_version_name : 'STANDALONE'}, JRuby: #{org.jruby.runtime.Constants::VERSION}" assert_equal [28 + os_offset[0] + jruby_offset[0], 33 + os_offset[1] + jruby_offset[1],