cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [05/10] android commit: Fix broken unit test due to missing Config.init() call
Date Mon, 14 Jul 2014 18:18:36 GMT
Fix broken unit test due to missing Config.init() call


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/a33cdc9c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/a33cdc9c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/a33cdc9c

Branch: refs/heads/master
Commit: a33cdc9c7b106313eb0952c54a4c07e690e4426c
Parents: 62101e8
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jul 14 14:06:47 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Jul 14 14:06:47 2014 -0400

----------------------------------------------------------------------
 test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a33cdc9c/test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java b/test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java
index e35b6e7..06070cc 100644
--- a/test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java
+++ b/test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java
@@ -48,6 +48,7 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
         setContentView(R.layout.main);
 
         cordovaWebView = (CordovaWebView) findViewById(R.id.cordovaWebView);
+        Config.init(this);
         cordovaWebView.init(this, new CordovaWebViewClient(this, cordovaWebView), new CordovaChromeClient(this,
cordovaWebView),
                 Config.getPluginEntries(), Config.getWhitelist(), Config.getPreferences());
 


Mime
View raw message