Skip to content

Commit 6dc9ee1

Browse files
committed
Rubocop - Style/BlockComments
1 parent a9d9573 commit 6dc9ee1

File tree

5 files changed

+51
-54
lines changed

5 files changed

+51
-54
lines changed

ios_tests/lib/ios/specs/common/helper.rb

+22-25
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ def before_first
1010

1111
wait_opts = { timeout: 0.2, interval: 0.2 } # max_wait, interval
1212

13-
=begin
14-
There's no `must_not_raise` as the opposite of must_raise
15-
16-
By default code is expected to not raise exceptions.
17-
must_not_raise is a no-op.
18-
=end
13+
# There's no `must_not_raise` as the opposite of must_raise
14+
#
15+
# By default code is expected to not raise exceptions.
16+
# must_not_raise is a no-op.
1917

2018
# wait is a success unless an error is raised
2119
# max_wait=0 is infinity to use 0.1
@@ -180,23 +178,22 @@ def uibutton_text
180178
# 8 local. 9 on sauce.
181179
get_page_class.split("\n").length.must_be :>=, 8
182180
end
183-
=begin
184-
todo:
185-
get_page_class
186-
page_class
187-
tag
188-
tags
189-
px_to_window_rel
190-
lazy_load_strings
191-
xml_keys
192-
xml_values
193-
resolve_id
194-
string_visible_contains
195-
xpath_visible_contains
196-
xpaths_visible_contains
197-
string_visible_exact
198-
xpath_visible_exact
199-
xpaths_visible_exact
200-
raise_no_element_error
201-
=end
181+
182+
# TODO: write tests
183+
# get_page_class
184+
# page_class
185+
# tag
186+
# tags
187+
# px_to_window_rel
188+
# lazy_load_strings
189+
# xml_keys
190+
# xml_values
191+
# resolve_id
192+
# string_visible_contains
193+
# xpath_visible_contains
194+
# xpaths_visible_contains
195+
# string_visible_exact
196+
# xpath_visible_exact
197+
# xpaths_visible_exact
198+
# raise_no_element_error
202199
end

ios_tests/lib/ios/specs/common/patch.rb

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
=begin
2-
Skip:
3-
status # status patches are already tested in driver.rb
4-
raw_execute # debug output for Pry
5-
=end
1+
#
2+
# Skip:
3+
# status # status patches are already tested in driver.rb
4+
# raw_execute # debug output for Pry
5+
#
6+
67
# rake ios[common/patch]
78
describe 'common/patch.rb' do
89
def before_first

ios_tests/lib/ios/specs/device/multi_touch.rb

+5-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
end
44

55
# TODO: write tests
6-
=begin
7-
pinch
8-
zoom
9-
initialize
10-
add
11-
perform
12-
=end
6+
# pinch
7+
# zoom
8+
# initialize
9+
# add
10+
# perform
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
describe 'device/touch_actions' do
22
t {} # place holder test
33
end
4+
45
# TODO: write tests
5-
=begin
6-
move_to
7-
long_press
8-
press
9-
release
10-
tap
11-
wait
12-
swipe
13-
perform
14-
cancel
15-
=end
6+
#
7+
# move_to
8+
# long_press
9+
# press
10+
# release
11+
# tap
12+
# wait
13+
# swipe
14+
# perform
15+
# cancel

ios_tests/lib/ios/specs/driver.rb

+7-6
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,13 @@ def sauce?
152152
driver.browser.must_equal :iOS
153153
end
154154

155-
=begin
156-
Skip:
157-
screenshot # this is slow and already tested by Appium
158-
driver_quit # tested by restart
159-
start_driver # tested by restart
160-
=end
155+
#
156+
# Skip:
157+
# screenshot # this is slow and already tested by Appium
158+
# driver_quit # tested by restart
159+
# start_driver # tested by restart
160+
#
161+
161162
t 'set_wait' do
162163
# fill the @last_waits array with: [30, 30]
163164
set_wait(30).must_equal(30)

0 commit comments

Comments
 (0)