calios-uikit-extension 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calios-uikit-extension.rb +2 -0
- data/lib/calios-uikit-extension/version.rb +3 -0
- data/spec/spec_ui_base.rb +103 -0
- data/spec/spec_ui_button.rb +0 -99
- data/spec/spec_ui_collection_view.rb +0 -99
- data/spec/spec_ui_collection_view_cell.rb +0 -99
- data/spec/spec_ui_keyboard_automatic.rb +1 -98
- data/spec/spec_ui_label.rb +0 -99
- data/spec/spec_ui_navigation_bar.rb +1 -98
- data/spec/spec_ui_search_bar.rb +0 -99
- data/spec/spec_ui_segmented_control.rb +0 -99
- data/spec/spec_ui_switch.rb +0 -99
- data/spec/spec_ui_table_view.rb +0 -99
- data/spec/spec_ui_table_view_cell.rb +0 -83
- data/spec/spec_ui_text_field.rb +0 -99
- data/spec/spec_ui_view.rb +1 -98
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9cca12ae4e14e5cf8739415fbeee0f09845ebd3
|
4
|
+
data.tar.gz: 5f97532ab707c2c8ec5515fdccdbe9a102abbe75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8753dc90cb213449b612d1ee47e155da87d44153bf2988104a645c38ffdfb729fcf8249f971f67b794ef42bce446719da605cc9855203428f111332e2784b5
|
7
|
+
data.tar.gz: f4157e2a6ee1c0e54402c92fe65c61f0e29abd5549b73b958b3847b64b144c19296d9de52895262f4edb3d10738219024287420d184e99dcdcead520105b189b
|
data/spec/spec_ui_base.rb
CHANGED
@@ -11,6 +11,109 @@ class SpecUIBase < Minitest::Spec
|
|
11
11
|
end
|
12
12
|
|
13
13
|
describe 'UIBase' do
|
14
|
+
classes = [UIButton, UICollectionView, UICollectionViewCell, UIKeyboardAutomatic, UILabel, UINavigationBar, UISearchBar,
|
15
|
+
UISegmentedControl, UISwitch, UITableView, UITableViewCell, UITextField, UIView]
|
16
|
+
classes.each do |klass|
|
17
|
+
describe "#{klass}.class_name" do
|
18
|
+
it 'should return class name' do
|
19
|
+
klass.class_name.must_equal(klass.to_s)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe "#{klass}.touch and aliases" do
|
24
|
+
it 'should call Calabash touch method with correct parameters' do
|
25
|
+
klass.touch
|
26
|
+
$uiquery.must_equal("#{klass.class_name}")
|
27
|
+
|
28
|
+
klass.touch(0)
|
29
|
+
$uiquery.must_equal("#{klass.class_name} index:0")
|
30
|
+
|
31
|
+
klass.touch('myId')
|
32
|
+
$uiquery.must_equal("#{klass.class_name} marked:'myId'")
|
33
|
+
|
34
|
+
klass.tap
|
35
|
+
$uiquery.must_equal("#{klass.class_name}")
|
36
|
+
|
37
|
+
klass.tap(0)
|
38
|
+
$uiquery.must_equal("#{klass.class_name} index:0")
|
39
|
+
|
40
|
+
klass.tap('myId')
|
41
|
+
$uiquery.must_equal("#{klass.class_name} marked:'myId'")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe "#{klass}.double_tap" do
|
46
|
+
it 'should call Calabash double_tap method with correct parameters' do
|
47
|
+
klass.double_tap
|
48
|
+
$uiquery.must_equal(klass.class_name)
|
49
|
+
|
50
|
+
klass.double_tap(0)
|
51
|
+
$uiquery.must_equal("#{klass.class_name} index:0")
|
52
|
+
|
53
|
+
klass.double_tap('myId')
|
54
|
+
$uiquery.must_equal("#{klass.class_name} marked:'myId'")
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe "#{klass}.property and aliases" do
|
59
|
+
it 'should call Calabash query method with correct parameters' do
|
60
|
+
klass.property(:finland)
|
61
|
+
$uiquery.must_equal("#{klass.class_name}")
|
62
|
+
$args.first.must_equal(:finland)
|
63
|
+
|
64
|
+
klass.prop(:finland)
|
65
|
+
$uiquery.must_equal("#{klass.class_name}")
|
66
|
+
$args.first.must_equal(:finland)
|
67
|
+
|
68
|
+
klass.p(:finland)
|
69
|
+
$uiquery.must_equal("#{klass.class_name}")
|
70
|
+
$args.first.must_equal(:finland)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe "#{klass}.accessibility_label and aliases" do
|
75
|
+
it 'should call Calabash query method with correct parameters' do
|
76
|
+
klass.accessibility_label
|
77
|
+
$uiquery.must_equal("#{klass.class_name}")
|
78
|
+
$args.first.must_equal(:accessibilityLabel)
|
79
|
+
|
80
|
+
klass.label
|
81
|
+
$uiquery.must_equal("#{klass.class_name}")
|
82
|
+
$args.first.must_equal(:accessibilityLabel)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
describe "#{klass}.accessibility_identifier and aliases" do
|
87
|
+
it 'should call Calabash query method with correct parameters' do
|
88
|
+
klass.accessibility_identifier
|
89
|
+
$uiquery.must_equal("#{klass.class_name}")
|
90
|
+
$args.first.must_equal(:accessibilityIdentifier)
|
91
|
+
|
92
|
+
klass.identifier
|
93
|
+
$uiquery.must_equal("#{klass.class_name}")
|
94
|
+
$args.first.must_equal(:accessibilityIdentifier)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
describe "#{klass}.enabled?" do
|
99
|
+
it 'should call Calabash query method with correct parameters' do
|
100
|
+
$stub_query_response = [true, false]
|
101
|
+
|
102
|
+
klass.enabled?.must_equal(true)
|
103
|
+
$uiquery.must_equal("#{klass.class_name}")
|
104
|
+
$args.first.must_equal(:isEnabled)
|
105
|
+
|
106
|
+
klass.enabled?(0).must_equal(true)
|
107
|
+
$uiquery.must_equal("#{klass.class_name} index:0")
|
108
|
+
$args.first.must_equal(:isEnabled)
|
109
|
+
|
110
|
+
klass.enabled?('myId').must_equal(true)
|
111
|
+
$uiquery.must_equal("#{klass.class_name} marked:'myId'")
|
112
|
+
$args.first.must_equal(:isEnabled)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
14
117
|
describe 'UIBase.raise_if_invalid' do
|
15
118
|
it 'should raise' do
|
16
119
|
proc { UIButton.text(:symbol) }.must_raise(RuntimeError)
|
data/spec/spec_ui_button.rb
CHANGED
@@ -11,12 +11,6 @@ class SpecUIButton < Minitest::Spec
|
|
11
11
|
end
|
12
12
|
|
13
13
|
describe 'UIButton' do
|
14
|
-
describe 'UIButton.class_name' do
|
15
|
-
it 'should return class name' do
|
16
|
-
UIButton.class_name.must_equal('UIButton')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
14
|
describe 'UIButton.text' do
|
21
15
|
it 'should call Calabash query method with correct parameters' do
|
22
16
|
$stub_query_response = %w(abc def ghi)
|
@@ -56,98 +50,5 @@ class SpecUIButton < Minitest::Spec
|
|
56
50
|
$args.first.must_equal(:isSelected)
|
57
51
|
end
|
58
52
|
end
|
59
|
-
|
60
|
-
describe 'UIButton.touch and aliases' do
|
61
|
-
it 'should call Calabash touch method with correct parameters' do
|
62
|
-
UIButton.touch
|
63
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
64
|
-
|
65
|
-
UIButton.touch(0)
|
66
|
-
$uiquery.must_equal("#{UIButton.class_name} index:0")
|
67
|
-
|
68
|
-
UIButton.touch('myId')
|
69
|
-
$uiquery.must_equal("#{UIButton.class_name} marked:'myId'")
|
70
|
-
|
71
|
-
UIButton.tap
|
72
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
73
|
-
|
74
|
-
UIButton.tap(0)
|
75
|
-
$uiquery.must_equal("#{UIButton.class_name} index:0")
|
76
|
-
|
77
|
-
UIButton.tap('myId')
|
78
|
-
$uiquery.must_equal("#{UIButton.class_name} marked:'myId'")
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
describe 'UIButton.double_tap' do
|
83
|
-
it 'should call Calabash double_tap method with correct parameters' do
|
84
|
-
UIButton.double_tap
|
85
|
-
$uiquery.must_equal(UIButton.class_name)
|
86
|
-
|
87
|
-
UIButton.double_tap(0)
|
88
|
-
$uiquery.must_equal("#{UIButton.class_name} index:0")
|
89
|
-
|
90
|
-
UIButton.double_tap('myId')
|
91
|
-
$uiquery.must_equal("#{UIButton.class_name} marked:'myId'")
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'UIButton.property and aliases' do
|
96
|
-
it 'should call Calabash query method with correct parameters' do
|
97
|
-
UIButton.property(:finland)
|
98
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
99
|
-
$args.first.must_equal(:finland)
|
100
|
-
|
101
|
-
UIButton.prop(:finland)
|
102
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
103
|
-
$args.first.must_equal(:finland)
|
104
|
-
|
105
|
-
UIButton.p(:finland)
|
106
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
107
|
-
$args.first.must_equal(:finland)
|
108
|
-
end
|
109
|
-
end
|
110
|
-
|
111
|
-
describe 'UIButton.accessibility_label and aliases' do
|
112
|
-
it 'should call Calabash query method with correct parameters' do
|
113
|
-
UIButton.accessibility_label
|
114
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
115
|
-
$args.first.must_equal(:accessibilityLabel)
|
116
|
-
|
117
|
-
UIButton.label
|
118
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
119
|
-
$args.first.must_equal(:accessibilityLabel)
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
describe 'UIButton.accessibility_identifier and aliases' do
|
124
|
-
it 'should call Calabash query method with correct parameters' do
|
125
|
-
UIButton.accessibility_identifier
|
126
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
127
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
128
|
-
|
129
|
-
UIButton.identifier
|
130
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
131
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
describe 'UIButton.enabled?' do
|
136
|
-
it 'should call Calabash query method with correct parameters' do
|
137
|
-
$stub_query_response = [true, false]
|
138
|
-
|
139
|
-
UIButton.enabled?.must_equal(true)
|
140
|
-
$uiquery.must_equal("#{UIButton.class_name}")
|
141
|
-
$args.first.must_equal(:isEnabled)
|
142
|
-
|
143
|
-
UIButton.enabled?(0).must_equal(true)
|
144
|
-
$uiquery.must_equal("#{UIButton.class_name} index:0")
|
145
|
-
$args.first.must_equal(:isEnabled)
|
146
|
-
|
147
|
-
UIButton.enabled?('myId').must_equal(true)
|
148
|
-
$uiquery.must_equal("#{UIButton.class_name} marked:'myId'")
|
149
|
-
$args.first.must_equal(:isEnabled)
|
150
|
-
end
|
151
|
-
end
|
152
53
|
end
|
153
54
|
end
|
@@ -15,12 +15,6 @@ class SpecUICollectionView < Minitest::Spec
|
|
15
15
|
end
|
16
16
|
|
17
17
|
describe 'UICollectionView' do
|
18
|
-
describe 'UICollectionView.class_name' do
|
19
|
-
it 'should return class name' do
|
20
|
-
UICollectionView.class_name.must_equal('UICollectionView')
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
18
|
describe 'UICollectionView.number_of_items_in_section' do
|
25
19
|
it 'should call Calabash query method with correct parameters' do
|
26
20
|
$stub_query_response = [10, 20, 30]
|
@@ -78,98 +72,5 @@ class SpecUICollectionView < Minitest::Spec
|
|
78
72
|
$uiquery.must_equal("#{UICollectionView.class_name} marked:'myId'")
|
79
73
|
end
|
80
74
|
end
|
81
|
-
|
82
|
-
describe 'UICollectionView.touch and aliases' do
|
83
|
-
it 'should call Calabash touch method with correct parameters' do
|
84
|
-
UICollectionView.touch
|
85
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
86
|
-
|
87
|
-
UICollectionView.touch(0)
|
88
|
-
$uiquery.must_equal("#{UICollectionView.class_name} index:0")
|
89
|
-
|
90
|
-
UICollectionView.touch('myId')
|
91
|
-
$uiquery.must_equal("#{UICollectionView.class_name} marked:'myId'")
|
92
|
-
|
93
|
-
UICollectionView.tap
|
94
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
95
|
-
|
96
|
-
UICollectionView.tap(0)
|
97
|
-
$uiquery.must_equal("#{UICollectionView.class_name} index:0")
|
98
|
-
|
99
|
-
UICollectionView.tap('myId')
|
100
|
-
$uiquery.must_equal("#{UICollectionView.class_name} marked:'myId'")
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
describe 'UICollectionView.double_tap' do
|
105
|
-
it 'should call Calabash double_tap method with correct parameters' do
|
106
|
-
UICollectionView.double_tap
|
107
|
-
$uiquery.must_equal(UICollectionView.class_name)
|
108
|
-
|
109
|
-
UICollectionView.double_tap(0)
|
110
|
-
$uiquery.must_equal("#{UICollectionView.class_name} index:0")
|
111
|
-
|
112
|
-
UICollectionView.double_tap('myId')
|
113
|
-
$uiquery.must_equal("#{UICollectionView.class_name} marked:'myId'")
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
describe 'UICollectionView.property and aliases' do
|
118
|
-
it 'should call Calabash query method with correct parameters' do
|
119
|
-
UICollectionView.property(:myParam)
|
120
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
121
|
-
$args.first.must_equal(:myParam)
|
122
|
-
|
123
|
-
UICollectionView.prop(:myParam)
|
124
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
125
|
-
$args.first.must_equal(:myParam)
|
126
|
-
|
127
|
-
UICollectionView.p(:myParam)
|
128
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
129
|
-
$args.first.must_equal(:myParam)
|
130
|
-
end
|
131
|
-
end
|
132
|
-
|
133
|
-
describe 'UICollectionView.accessibility_label and aliases' do
|
134
|
-
it 'should call Calabash query method with correct parameters' do
|
135
|
-
UICollectionView.accessibility_label
|
136
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
137
|
-
$args.first.must_equal(:accessibilityLabel)
|
138
|
-
|
139
|
-
UICollectionView.label
|
140
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
141
|
-
$args.first.must_equal(:accessibilityLabel)
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
describe 'UICollectionView.accessibility_identifier and aliases' do
|
146
|
-
it 'should call Calabash query method with correct parameters' do
|
147
|
-
UICollectionView.accessibility_identifier
|
148
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
149
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
150
|
-
|
151
|
-
UICollectionView.identifier
|
152
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
153
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
|
-
describe 'UICollectionView.enabled?' do
|
158
|
-
it 'should call Calabash query method with correct parameters' do
|
159
|
-
$stub_query_response = [true, false]
|
160
|
-
|
161
|
-
UICollectionView.enabled?.must_equal(true)
|
162
|
-
$uiquery.must_equal("#{UICollectionView.class_name}")
|
163
|
-
$args.first.must_equal(:isEnabled)
|
164
|
-
|
165
|
-
UICollectionView.enabled?(0).must_equal(true)
|
166
|
-
$uiquery.must_equal("#{UICollectionView.class_name} index:0")
|
167
|
-
$args.first.must_equal(:isEnabled)
|
168
|
-
|
169
|
-
UICollectionView.enabled?('myId').must_equal(true)
|
170
|
-
$uiquery.must_equal("#{UICollectionView.class_name} marked:'myId'")
|
171
|
-
$args.first.must_equal(:isEnabled)
|
172
|
-
end
|
173
|
-
end
|
174
75
|
end
|
175
76
|
end
|
@@ -11,12 +11,6 @@ class SpecUICollectionViewCell < Minitest::Spec
|
|
11
11
|
end
|
12
12
|
|
13
13
|
describe 'UICollectionViewCell' do
|
14
|
-
describe 'UICollectionViewCell.class_name' do
|
15
|
-
it 'should return class name' do
|
16
|
-
UICollectionViewCell.class_name.must_equal('UICollectionViewCell')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
14
|
describe 'UICollectionViewCell.selected?' do
|
21
15
|
it 'should call Calabash query method with correct parameters' do
|
22
16
|
$stub_query_response = [false, true]
|
@@ -38,98 +32,5 @@ class SpecUICollectionViewCell < Minitest::Spec
|
|
38
32
|
$args.first.must_equal(:isSelected)
|
39
33
|
end
|
40
34
|
end
|
41
|
-
|
42
|
-
describe 'UICollectionViewCell.touch and aliases' do
|
43
|
-
it 'should call Calabash touch method with correct parameters' do
|
44
|
-
UICollectionViewCell.touch
|
45
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
46
|
-
|
47
|
-
UICollectionViewCell.touch(0)
|
48
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} index:0")
|
49
|
-
|
50
|
-
UICollectionViewCell.touch('myId')
|
51
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} marked:'myId'")
|
52
|
-
|
53
|
-
UICollectionViewCell.tap
|
54
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
55
|
-
|
56
|
-
UICollectionViewCell.tap(0)
|
57
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} index:0")
|
58
|
-
|
59
|
-
UICollectionViewCell.tap('myId')
|
60
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} marked:'myId'")
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
describe 'UICollectionViewCell.double_tap' do
|
65
|
-
it 'should call Calabash double_tap method with correct parameters' do
|
66
|
-
UICollectionViewCell.double_tap
|
67
|
-
$uiquery.must_equal(UICollectionViewCell.class_name)
|
68
|
-
|
69
|
-
UICollectionViewCell.double_tap(0)
|
70
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} index:0")
|
71
|
-
|
72
|
-
UICollectionViewCell.double_tap('myId')
|
73
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} marked:'myId'")
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'UICollectionViewCell.property and aliases' do
|
78
|
-
it 'should call Calabash query method with correct parameters' do
|
79
|
-
UICollectionViewCell.property(:varkaus)
|
80
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
81
|
-
$args.first.must_equal(:varkaus)
|
82
|
-
|
83
|
-
UICollectionViewCell.prop(:varkaus)
|
84
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
85
|
-
$args.first.must_equal(:varkaus)
|
86
|
-
|
87
|
-
UICollectionViewCell.p(:varkaus)
|
88
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
89
|
-
$args.first.must_equal(:varkaus)
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
describe 'UICollectionViewCell.accessibility_label and aliases' do
|
94
|
-
it 'should call Calabash query method with correct parameters' do
|
95
|
-
UICollectionViewCell.accessibility_label
|
96
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
97
|
-
$args.first.must_equal(:accessibilityLabel)
|
98
|
-
|
99
|
-
UICollectionViewCell.label
|
100
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
101
|
-
$args.first.must_equal(:accessibilityLabel)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
describe 'UICollectionViewCell.accessibility_identifier and aliases' do
|
106
|
-
it 'should call Calabash query method with correct parameters' do
|
107
|
-
UICollectionViewCell.accessibility_identifier
|
108
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
109
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
110
|
-
|
111
|
-
UICollectionViewCell.identifier
|
112
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
113
|
-
$args.first.must_equal(:accessibilityIdentifier)
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
describe 'UICollectionView.enabled?' do
|
118
|
-
it 'should call Calabash query method with correct parameters' do
|
119
|
-
$stub_query_response = [true, false]
|
120
|
-
|
121
|
-
UICollectionViewCell.enabled?.must_equal(true)
|
122
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name}")
|
123
|
-
$args.first.must_equal(:isEnabled)
|
124
|
-
|
125
|
-
UICollectionViewCell.enabled?(0).must_equal(true)
|
126
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} index:0")
|
127
|
-
$args.first.must_equal(:isEnabled)
|
128
|
-
|
129
|
-
UICollectionViewCell.enabled?('myId').must_equal(true)
|
130
|
-
$uiquery.must_equal("#{UICollectionViewCell.class_name} marked:'myId'")
|
131
|
-
$args.first.must_equal(:isEnabled)
|
132
|
-
end
|
133
|
-
end
|
134
35
|
end
|
135
36
|
end
|