calabash-android 0.4.3.pre3 → 0.4.3.pre4

Sign up to get free protection for your applications and to get access to all the features.
@@ -297,7 +297,7 @@ module Operations
297
297
  end
298
298
 
299
299
  def wake_up
300
- wake_up_cmd = "#{adb_command} shell am start -a android.intent.action.MAIN -n sh.calaba.android.test/sh.calaba.instrumentationbackend.WakeUp"
300
+ wake_up_cmd = "#{adb_command} shell am start -a android.intent.action.MAIN -n #{package_name(@test_server_path)}/sh.calaba.instrumentationbackend.WakeUp"
301
301
  log "Waking up device using:"
302
302
  log wake_up_cmd
303
303
  raise "Could not wake up the device" unless system(wake_up_cmd)
@@ -308,7 +308,7 @@ module Operations
308
308
  end
309
309
 
310
310
  def clear_app_data
311
- cmd = "#{adb_command} shell am instrument sh.calaba.android.test/sh.calaba.instrumentationbackend.ClearAppData"
311
+ cmd = "#{adb_command} shell am instrument #{package_name(@test_server_path)}/sh.calaba.instrumentationbackend.ClearAppData"
312
312
  raise "Could not clear data" unless system(cmd)
313
313
  end
314
314
 
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.4.3.pre3"
3
+ VERSION = "0.4.3.pre4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3.pre3
4
+ version: 0.4.3.pre4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-07 00:00:00.000000000 Z
12
+ date: 2013-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber