appium-espresso-driver 2.8.4 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -283,6 +283,7 @@ el | `Map<string, long>` | Intent long integer parameters | {'foo': 1L, 'bar': 2
|
|
|
283
283
|
ef | `Map<string, float>` | Intent float parameters | {'foo': 1.ff, 'bar': 2.2f}
|
|
284
284
|
eu | `Map<string, string>` | Intent URI-data parameters | {'foo': 'content://contacts/people/1'}
|
|
285
285
|
ecn | `Map<string, string>` | Intent component name parameters | {'foo': 'com.example.app/.ExampleActivity'}
|
|
286
|
+
esa | `Map<string, List<string>>` | Intent string array parameters | {'foo': ['bar1','bar2','bar3','bar4']}
|
|
286
287
|
eia | `Map<string, string>` | Intent integer array parameters | {'foo': '1,2,3,4'}
|
|
287
288
|
ela | `Map<string, string>` | Intent long array parameters | {'foo': '1L,2L,3L,4L'}
|
|
288
289
|
efa | `Map<string, string>` | Intent float array parameters | {'foo': '1.1,2.2,3.2,4.4'}
|
|
Binary file
|
|
@@ -142,6 +142,8 @@ private fun String.toComponentName(): ComponentName = ComponentName.unflattenFro
|
|
|
142
142
|
* keys and values of type string->string, such as {'foo': 'content://contacts/people/1'}
|
|
143
143
|
* - `ecn`: Component name data as key-value pairs stored in a map with
|
|
144
144
|
* keys and values of type string->string, such as {'foo': 'com.example.app/.ExampleActivity'}
|
|
145
|
+
* - `esa`: Array of strings data as key-value pairs stored in a map with
|
|
146
|
+
* keys and values of type string->list, such as {'foo': ['bar1','bar2','bar3','bar4']}
|
|
145
147
|
* - `eia`: Array of integers data as key-value pairs stored in a map with
|
|
146
148
|
* keys and values of type string->string, such as {'foo': '1,2,3,4'}
|
|
147
149
|
* - `ela`: Array of long data as key-value pairs stored in a map with
|
|
@@ -243,6 +245,18 @@ fun makeIntent(context: Context?, options: Map<String, Any?>): Intent {
|
|
|
243
245
|
intent.putExtra(it.key as String, requireBool(it.key as String, it.value))
|
|
244
246
|
}
|
|
245
247
|
},
|
|
248
|
+
"esa" to fun(key, value) {
|
|
249
|
+
requireMap(key, value)
|
|
250
|
+
.filter { it.key is String }
|
|
251
|
+
.forEach { entry ->
|
|
252
|
+
requireList(entry.key as String, entry.value)
|
|
253
|
+
.map {
|
|
254
|
+
it.toString()
|
|
255
|
+
}
|
|
256
|
+
.toTypedArray()
|
|
257
|
+
.let { intent.putExtra(entry.key as String, it) }
|
|
258
|
+
}
|
|
259
|
+
},
|
|
246
260
|
"eia" to fun(key, value) {
|
|
247
261
|
requireMap(key, value)
|
|
248
262
|
.filter { it.key is String }
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.9.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.4.3",
|