calabash-android 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.13:
2
+ Added missing file EnterKey.java
3
+
1
4
  0.0.12:
2
5
  Added "I press the enter button" step
3
6
 
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.0.12"
4
- FRAMEWORK_VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
+ FRAMEWORK_VERSION = "0.0.13"
5
5
  end
6
6
  end
@@ -0,0 +1,24 @@
1
+ package sh.calaba.instrumentationbackend.actions.softkey;
2
+
3
+
4
+ import com.jayway.android.robotium.solo.Solo;
5
+
6
+ import sh.calaba.instrumentationbackend.InstrumentationBackend;
7
+ import sh.calaba.instrumentationbackend.Result;
8
+ import sh.calaba.instrumentationbackend.actions.Action;
9
+
10
+
11
+ public class EnterKey implements Action {
12
+
13
+ @Override
14
+ public Result execute(String... args) {
15
+ InstrumentationBackend.solo.sendKey(Solo.ENTER);
16
+ return Result.successResult();
17
+ }
18
+
19
+ @Override
20
+ public String key() {
21
+ return "send_key_enter";
22
+ }
23
+
24
+ }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.12
5
+ version: 0.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jonas Maturana Larsen
@@ -145,6 +145,7 @@ files:
145
145
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollDown.java
146
146
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollUp.java
147
147
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/DownKey.java
148
+ - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/EnterKey.java
148
149
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/GoBack.java
149
150
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/PressMenu.java
150
151
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/SelectFromMenuByText.java