calabash-android 0.2.0.pre2 → 0.2.0.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.
- data/CHANGES.txt +4 -0
- data/bin/calabash-android-helpers.rb +2 -2
- data/lib/calabash-android/management/app_installation.rb +1 -0
- data/lib/calabash-android/version.rb +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollDown.java +1 -7
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollUp.java +1 -7
- metadata +5 -4
data/CHANGES.txt
CHANGED
@@ -22,10 +22,10 @@ def print_usage
|
|
22
22
|
application.
|
23
23
|
Will ask you some questions about you application, development
|
24
24
|
environment and key store to user for signing.
|
25
|
-
build
|
25
|
+
build <apk>
|
26
26
|
builds the test server that will be used when testing the app.
|
27
27
|
You need to run this command every time you make changes to the app.
|
28
|
-
run
|
28
|
+
run <apk>
|
29
29
|
runs Cucumber in the current folder with the enviroment needed.
|
30
30
|
submit
|
31
31
|
submits an apk along with your features to www.lesspainful.com
|
@@ -0,0 +1 @@
|
|
1
|
+
#Will be deleted. Only here because skeletons might refer to it.
|
@@ -4,19 +4,13 @@ package sh.calaba.instrumentationbackend.actions.scrolling;
|
|
4
4
|
import sh.calaba.instrumentationbackend.InstrumentationBackend;
|
5
5
|
import sh.calaba.instrumentationbackend.Result;
|
6
6
|
import sh.calaba.instrumentationbackend.actions.Action;
|
7
|
-
import sh.calaba.instrumentationbackend.actions.Actions;
|
8
|
-
import android.test.TouchUtils;
|
9
7
|
|
10
8
|
|
11
9
|
public class ScrollDown implements Action {
|
12
10
|
|
13
11
|
@Override
|
14
12
|
public Result execute(String... args) {
|
15
|
-
|
16
|
-
TouchUtils.dragQuarterScreenUp(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
17
|
-
TouchUtils.dragQuarterScreenUp(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
18
|
-
TouchUtils.dragQuarterScreenUp(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
19
|
-
|
13
|
+
InstrumentationBackend.solo.scrollDown();
|
20
14
|
return Result.successResult();
|
21
15
|
}
|
22
16
|
|
@@ -4,19 +4,13 @@ package sh.calaba.instrumentationbackend.actions.scrolling;
|
|
4
4
|
import sh.calaba.instrumentationbackend.InstrumentationBackend;
|
5
5
|
import sh.calaba.instrumentationbackend.Result;
|
6
6
|
import sh.calaba.instrumentationbackend.actions.Action;
|
7
|
-
import sh.calaba.instrumentationbackend.actions.Actions;
|
8
|
-
import android.test.TouchUtils;
|
9
7
|
|
10
8
|
|
11
9
|
public class ScrollUp implements Action {
|
12
10
|
|
13
11
|
@Override
|
14
12
|
public Result execute(String... args) {
|
15
|
-
|
16
|
-
TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
17
|
-
TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
18
|
-
TouchUtils.dragQuarterScreenDown(Actions.parentTestCase, InstrumentationBackend.solo.getCurrentActivity());
|
19
|
-
|
13
|
+
InstrumentationBackend.solo.scrollUp();
|
20
14
|
return Result.successResult();
|
21
15
|
}
|
22
16
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 2063487833
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 0.2.0.
|
11
|
+
- 3
|
12
|
+
version: 0.2.0.pre3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Jonas Maturana Larsen
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-07-
|
20
|
+
date: 2012-07-30 00:00:00 +02:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/calabash-android/lib/AXMLPrinter2.jar
|
106
106
|
- lib/calabash-android/lib/screenShotTaker.jar
|
107
107
|
- lib/calabash-android/management/adb.rb
|
108
|
+
- lib/calabash-android/management/app_installation.rb
|
108
109
|
- lib/calabash-android/operations.rb
|
109
110
|
- lib/calabash-android/steps/additions_manual_steps.rb
|
110
111
|
- lib/calabash-android/steps/app_steps.rb
|