calabash-android 0.7.3.pre2 → 0.7.3.pre3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6f2060b5f9a4091bdfa818737799ee9de3e7631
|
|
4
|
+
data.tar.gz: 62bf5ce157fa90ba541763660faf92389f292d98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c7822d097054783bdf78eb101660e1eecb0ede01f43d34d6b0d2ace8f8d6cdb23c21961f784334abb274802b8ea9640eb694a0f8352f15794e46db362c360ed
|
|
7
|
+
data.tar.gz: 90ce2bd879dc42b3908fb4995e5a6b7e59291859716935a1b354b1175f94fdfbe9d88cb16a416a133a7a53bbaf85b95de2f8d2675b9d6af328026d15781bf72b
|
|
Binary file
|
|
@@ -26,6 +26,8 @@ module Calabash
|
|
|
26
26
|
|
|
27
27
|
sleep(args.fetch(:hang_time))
|
|
28
28
|
monkey_touch(:up, to_x, to_y)
|
|
29
|
+
|
|
30
|
+
kill_existing_monkey_processes
|
|
29
31
|
end
|
|
30
32
|
|
|
31
33
|
def get_monkey_port
|
|
@@ -65,6 +67,7 @@ module Calabash
|
|
|
65
67
|
end
|
|
66
68
|
|
|
67
69
|
def kill_monkey_processes_on_device
|
|
70
|
+
perform_action('send_tcp', @@monkey_port, "quit", true) unless @@monkey_port.nil?
|
|
68
71
|
existing_monkey_pids.each do |pid|
|
|
69
72
|
`#{adb_command} shell kill -9 #{pid}`
|
|
70
73
|
end
|
|
@@ -102,6 +105,7 @@ module Calabash
|
|
|
102
105
|
start_monkey if should_start_monkey
|
|
103
106
|
monkey_touch(:down, x, y)
|
|
104
107
|
monkey_touch(:up, x, y)
|
|
108
|
+
kill_existing_monkey_processes
|
|
105
109
|
end
|
|
106
110
|
|
|
107
111
|
def monkey_touch(touch_type, x, y)
|
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.7.3.
|
|
4
|
+
version: 0.7.3.pre3
|
|
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: 2016-
|
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|