calabash-android 0.9.14 → 0.9.16
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c9d04b019926835a04fbc8b2a6ceb564330f3edf856714f6c29eea0503c5a51
|
4
|
+
data.tar.gz: 438bc3d451e570d80acaeb5120f38b3bf4037c1812fc6125ce4a710a836ad85f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2efd50e4d2b63e59f0e5c6efca391deebbff7c528b702570f871add5735ea7d61a72f793788719bfd029e6041391d6b6f07daedbf40bd3907f1e409adc6ad427
|
7
|
+
data.tar.gz: 93c14fc2ba44719060b022242bd6d6ded10d4a0664319496a2e32ca6f309ed6d17901e617ee191fd688462e3255f9e5eedae8169c3ca4378377a9d9f61211126
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
4
4
|
package="#testPackage#"
|
5
|
-
android:versionCode="
|
6
|
-
android:versionName="0.9.
|
5
|
+
android:versionCode="15"
|
6
|
+
android:versionName="0.9.15">
|
7
7
|
|
8
|
-
<uses-sdk android:minSdkVersion="
|
8
|
+
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="28" />
|
9
9
|
|
10
10
|
<application android:label="instrumentation_backend"
|
11
11
|
android:largeHeap="true"
|
@@ -44,6 +44,7 @@
|
|
44
44
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner" />
|
45
45
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData" />
|
46
46
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData2" />
|
47
|
+
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData3" />
|
47
48
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearPreferences" />
|
48
49
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.SetPreferences" />
|
49
50
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.GetPreferences" />
|
Binary file
|
@@ -733,11 +733,17 @@ module Calabash module Android
|
|
733
733
|
|
734
734
|
cmd_arr << "#{package_name(@test_server_path)}/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner"
|
735
735
|
|
736
|
-
|
736
|
+
if options[:with_uiautomator]
|
737
|
+
cmd_arr.insert(2, "-w")
|
738
|
+
shutdown_test_server
|
739
|
+
@adb_shell_pid = Process.spawn(cmd_arr.join(" "), :in => '/dev/null') rescue "Could not execute command to start test server with uiautomator"
|
740
|
+
else
|
741
|
+
cmd = cmd_arr.join(" ")
|
737
742
|
|
738
|
-
|
739
|
-
|
740
|
-
|
743
|
+
log "Starting test server using:"
|
744
|
+
log cmd
|
745
|
+
raise "Could not execute command to start test server" unless system("#{cmd} 2>&1")
|
746
|
+
end
|
741
747
|
|
742
748
|
Calabash::Android::Retry.retry :tries => 600, :interval => 0.1 do
|
743
749
|
raise "App did not start see adb logcat for details" unless app_running?
|
@@ -832,6 +838,10 @@ Run 'reinstall_test_server' to make sure you have the correct version
|
|
832
838
|
|
833
839
|
def shutdown_test_server
|
834
840
|
begin
|
841
|
+
unless @adb_shell_pid.nil?
|
842
|
+
Process.kill("HUP",@adb_shell_pid)
|
843
|
+
@adb_shell_pid = nil
|
844
|
+
end
|
835
845
|
http("/kill")
|
836
846
|
Timeout::timeout(3) do
|
837
847
|
sleep 0.3 while app_running?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -56,22 +56,16 @@ dependencies:
|
|
56
56
|
name: rubyzip
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.2.2
|
62
|
-
- - "<"
|
59
|
+
- - '='
|
63
60
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
61
|
+
version: 1.3.0
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: 1.2.2
|
72
|
-
- - "<"
|
66
|
+
- - '='
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
68
|
+
version: 1.3.0
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: awesome_print
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,16 +118,16 @@ dependencies:
|
|
124
118
|
name: rake
|
125
119
|
requirement: !ruby/object:Gem::Requirement
|
126
120
|
requirements:
|
127
|
-
- -
|
121
|
+
- - '='
|
128
122
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
123
|
+
version: 13.0.3
|
130
124
|
type: :development
|
131
125
|
prerelease: false
|
132
126
|
version_requirements: !ruby/object:Gem::Requirement
|
133
127
|
requirements:
|
134
|
-
- -
|
128
|
+
- - '='
|
135
129
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
130
|
+
version: 13.0.3
|
137
131
|
- !ruby/object:Gem::Dependency
|
138
132
|
name: yard
|
139
133
|
requirement: !ruby/object:Gem::Requirement
|