appium_instrumenter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/appium_instrumenter.rb +4 -0
- data/lib/appium_instrumenter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f58d03911f246df79ab4110c138c3a9e8520c49c
|
4
|
+
data.tar.gz: 5f10ec293f81a46b70873c800c90622f41c6d932
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df07e87c2ffb8cec666d37a74388908dad3afb62c8393ddca15e5ea666c779354ba8f49d16c5082a06640d1a14427046e5f4c13c010af8f2c088af07d5085825
|
7
|
+
data.tar.gz: be169588fc24f993776636c2c764d0728cd7fa3e4738edfbcc4058177ed04aa174e77b20b51316fb58edb0443f6d0b079cdd829429445039f297cd669dc00072
|
data/lib/appium_instrumenter.rb
CHANGED
@@ -5,6 +5,9 @@ require "appium_instrumenter/java_keystore"
|
|
5
5
|
module AppiumInstrumenter
|
6
6
|
def self.instrument(app_under_test)
|
7
7
|
test_server_apk = File.join(File.dirname(__FILE__), 'appium_instrumenter/resources/appium-uiautomator2-server-debug-androidTest.apk')
|
8
|
+
#iornically
|
9
|
+
useless_needed_server_apk = File.join(File.dirname(__FILE__), 'appium_instrumenter/resources/appium-uiautomator2-server-v0.3.0.apk')
|
10
|
+
|
8
11
|
apk_fingerprint = fingerprint_from_apk(app_under_test)
|
9
12
|
log "#{app_under_test} was signed with a certificate with fingerprint #{apk_fingerprint}"
|
10
13
|
|
@@ -68,6 +71,7 @@ module AppiumInstrumenter
|
|
68
71
|
raise "Could not sign test server"
|
69
72
|
end
|
70
73
|
end
|
74
|
+
FileUtils.cp(useless_needed_server_apk, "./test_servers")
|
71
75
|
puts "Done signing the test server. Moved it to #{test_server_file_name}"
|
72
76
|
end
|
73
77
|
|