From 6c19a440f5d7faa3955e039749a3a907af012acc Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Thu, 15 Nov 2012 16:04:09 -0800 Subject: [PATCH] CB-1864: Figured out how to simulate back button, test both the CordovaWebView back button and the general DroidGap case using the default implementation --- .../cordova/test/BackButtonMultiPageTest.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/test/src/org/apache/cordova/test/BackButtonMultiPageTest.java b/test/src/org/apache/cordova/test/BackButtonMultiPageTest.java index fa3e0b04..6d4a7ac8 100644 --- a/test/src/org/apache/cordova/test/BackButtonMultiPageTest.java +++ b/test/src/org/apache/cordova/test/BackButtonMultiPageTest.java @@ -26,6 +26,7 @@ import org.apache.cordova.test.actions.backbuttonmultipage; import android.test.ActivityInstrumentationTestCase2; import android.view.KeyEvent; +import android.view.inputmethod.BaseInputConnection; import android.widget.FrameLayout; import android.widget.LinearLayout; @@ -97,6 +98,54 @@ public class BackButtonMultiPageTest extends ActivityInstrumentationTestCase2