calabash-android 0.3.3 → 0.3.4
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 +5 -0
- data/bin/calabash-android-helpers.rb +1 -3
- data/bin/calabash-android-run.rb +1 -1
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/build.xml +7 -10
- metadata +2 -13
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapBounds.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapCenter.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapMarker.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapMarkers.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapZoom.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/PanMapTo.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/SetMapCenter.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/SetMapZoom.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/TapAwayFromMarkers.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/TapMapMarker.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/UnsupportedMapAction.java +0 -21
data/CHANGES.txt
CHANGED
@@ -17,7 +17,7 @@ def print_usage
|
|
17
17
|
prints more detailed help information.
|
18
18
|
gen
|
19
19
|
generate a features folder structure.
|
20
|
-
setup
|
20
|
+
setup
|
21
21
|
sets up a non-default keystore to use with this test project.
|
22
22
|
build <apk>
|
23
23
|
builds the test server that will be used when testing the app.
|
@@ -29,8 +29,6 @@ def print_usage
|
|
29
29
|
<options> can be
|
30
30
|
-v, --verbose
|
31
31
|
Turns on verbose logging
|
32
|
-
--google-maps-support
|
33
|
-
Adds supports for Google Maps to the test server
|
34
32
|
EOF
|
35
33
|
end
|
36
34
|
|
data/bin/calabash-android-run.rb
CHANGED
Binary file
|
data/test-server/build.xml
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
</description>
|
6
6
|
|
7
7
|
<property name="adb.device.arg" value="" />
|
8
|
-
<property environment="env"/>
|
8
|
+
<property environment="env"/>
|
9
9
|
<property file="build.properties"/>
|
10
10
|
<property name="staging.dir" location="staging"/>
|
11
11
|
<property name="bin.dir" location="bin"/>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<taskdef name="apkbuilder" classname="com.android.ant.ApkBuilderTask" classpathref="android.antlibs" />
|
32
32
|
|
33
33
|
|
34
|
-
|
34
|
+
|
35
35
|
|
36
36
|
<path id="jar.libs.ref">
|
37
37
|
<fileset dir="${staging.dir}/libs/" includes="*.jar" />
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<path id="cucumber.path">
|
41
41
|
<fileset dir="cucumber/" includes="*.jar" />
|
42
42
|
</path>
|
43
|
-
|
43
|
+
|
44
44
|
<path id="android.target.classpath">
|
45
45
|
<fileset dir="${env.ANDROID_HOME}/platforms/android-${android.api.level}/" includes="*.jar"/>
|
46
46
|
</path>
|
@@ -60,10 +60,7 @@
|
|
60
60
|
|
61
61
|
<target name="-prepare.testserver" description="Makes sure the testserver matches the tested application by looking at its manifest file">
|
62
62
|
<copy todir="${staging.dir}">
|
63
|
-
<fileset dir="instrumentation-backend"
|
64
|
-
<exclude name="src/sh/calaba/instrumentationbackend/actions/map_unsupported/*.java" if="${google_maps_support}"/>
|
65
|
-
<exclude name="src/sh/calaba/instrumentationbackend/actions/map/*.java" unless="${google_maps_support}"/>
|
66
|
-
</fileset>
|
63
|
+
<fileset dir="instrumentation-backend" />
|
67
64
|
</copy>
|
68
65
|
<copy todir="${staging.dir}/libs">
|
69
66
|
<fileset erroronmissingdir="false" dir="${env.ANDROID_HOME}/add-ons/addon-google_apis-google_inc_-${android.api.level}/libs"/>
|
@@ -77,7 +74,7 @@
|
|
77
74
|
|
78
75
|
<target name="-compile">
|
79
76
|
<antcall target="-stage" />
|
80
|
-
<javac
|
77
|
+
<javac
|
81
78
|
srcdir="${staging.dir}/src"
|
82
79
|
destdir="${bin.dir}"
|
83
80
|
verbose="${verbose}"
|
@@ -90,7 +87,7 @@
|
|
90
87
|
</javac>
|
91
88
|
</target>
|
92
89
|
|
93
|
-
|
90
|
+
|
94
91
|
<target name="package" depends="-check.preconditions">
|
95
92
|
<antcall target="-compile" />
|
96
93
|
<antcall target="-aapt" />
|
@@ -98,7 +95,7 @@
|
|
98
95
|
<antcall target="-apk" />
|
99
96
|
</target>
|
100
97
|
|
101
|
-
|
98
|
+
|
102
99
|
<target name="clean" description="clean up">
|
103
100
|
<delete dir="${staging.dir}"/>
|
104
101
|
<delete dir="${bin.dir}"/>
|
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.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
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: 2012-11-
|
12
|
+
date: 2012-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|
@@ -215,17 +215,6 @@ files:
|
|
215
215
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapZoom.java
|
216
216
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/TapAwayFromMarkers.java
|
217
217
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/TapMapMarker.java
|
218
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapBounds.java
|
219
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapCenter.java
|
220
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapMarker.java
|
221
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapMarkers.java
|
222
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/GetMapZoom.java
|
223
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/PanMapTo.java
|
224
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/SetMapCenter.java
|
225
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/SetMapZoom.java
|
226
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/TapAwayFromMarkers.java
|
227
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/TapMapMarker.java
|
228
|
-
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map_unsupported/UnsupportedMapAction.java
|
229
218
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollDown.java
|
230
219
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/scrolling/ScrollUp.java
|
231
220
|
- test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/search/EnterQueryByIndex.java
|
@@ -1,21 +0,0 @@
|
|
1
|
-
package sh.calaba.instrumentationbackend.actions.map_unsupported;
|
2
|
-
|
3
|
-
import sh.calaba.instrumentationbackend.Result;
|
4
|
-
import sh.calaba.instrumentationbackend.actions.Action;
|
5
|
-
|
6
|
-
public class UnsupportedMapAction implements Action {
|
7
|
-
|
8
|
-
@Override
|
9
|
-
public Result execute(String... args) {
|
10
|
-
throw new RuntimeException(
|
11
|
-
"Google Maps is not supported by default.\n" +
|
12
|
-
"You can add support by following running calabash-android with --google-maps-support\n" +
|
13
|
-
"See more at: https://github.com/calabash/calabash-android/wiki/Google-Maps-Support"
|
14
|
-
);
|
15
|
-
}
|
16
|
-
|
17
|
-
@Override
|
18
|
-
public String key() {
|
19
|
-
return null;
|
20
|
-
}
|
21
|
-
}
|