Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java |
index 66c245f2218c4e1505805d6772384b9b68131cfd..4fcb6f4aae67b819193cd5ca02d2113b6729e591 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java |
@@ -54,8 +54,8 @@ public class AppInfoJsObjectTest extends BaseJsTest |
.build(); |
JsEngine jsEngine = new JsEngine(appInfo); |
- assertEquals("0", jsEngine.evaluate("_appInfo.version").asString()); |
- assertEquals("adblockplusandroid", jsEngine.evaluate("_appInfo.name").asString()); |
+ assertEquals("1.0", jsEngine.evaluate("_appInfo.version").asString()); |
+ assertEquals("libadblockplus-android", jsEngine.evaluate("_appInfo.name").asString()); |
sergei
2017/09/05 12:27:17
One can find the default values which are used in
|
assertEquals("android", jsEngine.evaluate("_appInfo.application").asString()); |
assertEquals("0", jsEngine.evaluate("_appInfo.applicationVersion").asString()); |
assertEquals("en_US", jsEngine.evaluate("_appInfo.locale").asString()); |