honeydew 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cac2f4b2164b66961030b667b958103850010f6
4
- data.tar.gz: 7de69972e4ece0cf9eb8eacb2822df34ce76a8b1
3
+ metadata.gz: c0cb468d6db8a43c6fdc8c374a58d784f4360e03
4
+ data.tar.gz: d3b9c1dacfd2a75d70275a3e55ec9c2f7e8df30f
5
5
  SHA512:
6
- metadata.gz: 5b0f99984887c6009dfa3dd23c99e2c2f64ce0d09c23becc0dc41f4162dbde5b01528b4717508076efdbad97484e9dcb66e811f060b8c1245247417fe80f9abf
7
- data.tar.gz: e66f961e716c2daa375553173b30354a388739afc70249c6cb68dedb83164372ae9ca7bce8a00f3db217ab22486b8b5f2cd7bcc533389d355f7e8c7f07f6368e
6
+ metadata.gz: 00ec02db1e1d236ee12af16dc08a623a1bc3aec885629734b482fd086f1311e53fe8193e0231036eaddbcb2030cec0d7f46cede08f6eaf78ace7a0c43ccaedbd
7
+ data.tar.gz: 3e81c39f567e8bfa1fec029babba2f5de795cd2308cd4387b7b514763e8a3bd9be285ea6a27441fbc2fc0449d1dd71f27262b418bf57da62626ab35ad5f3b1c4
data/.java-version CHANGED
@@ -1 +1 @@
1
- oracle64-1.6.0.65
1
+ 1.6
@@ -37,19 +37,20 @@ module Honeydew
37
37
  perform_assertion :is_button_present, :text => button_text
38
38
  end
39
39
 
40
- # TODO: Look for a better way to express these similar looking matchers
41
- def has_child_count?(parent_element_description, child_element_description, child_count)
42
- perform_assertion :is_child_count_equal_to,
43
- :parent_description => parent_element_description,
44
- :child_description => child_element_description,
45
- :child_count => child_count
46
- end
47
-
48
- def has_child_count_greater_than?(parent_element_description, child_element_description, child_count)
49
- perform_assertion :is_child_count_greater_than,
50
- :parent_description => parent_element_description,
51
- :child_description => child_element_description,
52
- :child_count => child_count
40
+ def has_child_count? parent_description, child_description, child_count
41
+ child_count_assertion 'equal_to', parent_description, child_description, child_count
42
+ end
43
+
44
+ def has_child_count_greater_than? parent_description, child_description, child_count
45
+ child_count_assertion 'greater_than', parent_description, child_description, child_count
46
+ end
47
+
48
+ def child_count_assertion count_type, parent_description, child_description, child_count
49
+ assertion_type = "is_child_count_#{count_type}".to_sym
50
+ perform_assertion assertion_type,
51
+ :parent_description => parent_description,
52
+ :child_description => child_description,
53
+ :child_count => child_count
53
54
  end
54
55
 
55
56
  def has_element_with_nested_text?(parent_description, child_text)
@@ -1,3 +1,3 @@
1
1
  module Honeydew
2
- VERSION = '0.28.0'
2
+ VERSION = '0.29.0'
3
3
  end
data/server/pom.xml CHANGED
@@ -10,7 +10,7 @@
10
10
  <version>${version}</version>
11
11
 
12
12
  <properties>
13
- <platform.version>4.2.2_r2</platform.version>
13
+ <platform.version>4.4.2_r4</platform.version>
14
14
  </properties>
15
15
 
16
16
  <repositories>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeydew
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Selvakumar Natesan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-06-22 00:00:00.000000000 Z
14
+ date: 2015-07-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -193,7 +193,7 @@ files:
193
193
  - spec/honeydew/device_matchers_spec.rb
194
194
  - spec/honeydew/device_spec.rb
195
195
  - spec/spec_helper.rb
196
- - server/target/honeydew-server-0.28.0.jar
196
+ - server/target/honeydew-server-0.29.0.jar
197
197
  homepage:
198
198
  licenses: []
199
199
  metadata: {}
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 2.1.9
216
+ rubygems_version: 2.1.11
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: Ruby DSL for controlling Android devices