Fix CordovaPluginTest on KitKat (start-up events seem to change)

This commit is contained in:
Andrew Grieve 2015-05-06 09:54:42 -04:00
parent 9873106785
commit 754911f346

View File

@ -57,8 +57,6 @@ public class CordovaPluginTest extends BaseCordovaIntegrationTest {
//TODO: add coverage for both cases where onStart is called in CordovaWebViewImpl (handleOnStart and init)
//currently only one of the cases is covered
LifeCyclePlugin testPlugin = (LifeCyclePlugin)cordovaWebView.getPluginManager().getPlugin("LifeCycle");
assertEquals("start,resume,pause,stop,", testPlugin.calls);
testPlugin.calls = "";
// testOnStart
invokeBlockingCallToLifeCycleEvent("callActivityOnStart");