calabash-android 0.0.17 → 0.0.18

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 CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.17:
2
+ Fixed bug. HTML text fields are now cleared when using set_text.
3
+
1
4
  0.0.17:
2
5
  Upgraded to Robotium 3.3
3
6
 
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.0.17"
4
- FRAMEWORK_VERSION = "0.0.17"
3
+ VERSION = "0.0.18"
4
+ FRAMEWORK_VERSION = "0.0.18"
5
5
  end
6
6
  end
@@ -17,6 +17,7 @@
17
17
 
18
18
 
19
19
  function enterTextIntoInputField(elem, text) {
20
+ elem.value = "";
20
21
  for (var i = 0; i < text.length; i++) {
21
22
  var ch = text.charAt(i);
22
23
  elem.value += ch;
@@ -5,6 +5,6 @@
5
5
  <classpathentry kind="src" path="assets"/>
6
6
  <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
7
7
  <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
8
- <classpathentry kind="lib" path="libs/robotium-solo-3.2.1.jar"/>
8
+ <classpathentry kind="lib" path="libs/robotium-solo-3.3.jar"/>
9
9
  <classpathentry kind="output" path="bin/classes"/>
10
10
  </classpath>
@@ -0,0 +1,9 @@
1
+ package sh.calaba.instrumentationbackend.actions.webview;
2
+
3
+ public class CalabashResultJavaScriptInterface {
4
+
5
+ public void result(String result) {
6
+ System.out.println("CalabashResultJavaScriptInterface.result");
7
+ System.out.println(result);
8
+ }
9
+ }
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.0.17
4
+ version: 0.0.18
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-06-14 00:00:00.000000000 Z
12
+ date: 2012-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
@@ -181,6 +181,7 @@ files:
181
181
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForScreen.java
182
182
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForText.java
183
183
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/CalabashChromeClient.java
184
+ - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/CalabashResultJavaScriptInterface.java
184
185
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpBodyHtml.java
185
186
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpHtml.java
186
187
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/EnterTextByCssSelector.java