operawatir 0.6.pre1-jruby → 0.7.pre1-jruby

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ class OperaWatir::Utils
13
13
  end
14
14
 
15
15
  def product
16
- @utils.getProduct
16
+ @utils.getProduct.toString
17
17
  end
18
18
 
19
19
  def binary_path
@@ -5,7 +5,7 @@ describe OperaWatir::Actions do
5
5
  before :each do
6
6
  @actions = browser.actions
7
7
  end
8
-
8
+
9
9
  it 'is available on the browser object' do
10
10
  browser.should.respond_to? :actions
11
11
  actions = browser.actions
@@ -72,8 +72,9 @@ describe OperaWatir::Actions do
72
72
  el.text.should == 'ab'
73
73
  end
74
74
  end
75
-
75
+
76
76
  describe 'mouse' do
77
+
77
78
  it 'can be used to drag and drop' do
78
79
  browser.url = fixture('draggableLists.html')
79
80
  dragReporter = browser.p(:id => 'dragging_reports')
@@ -114,22 +115,21 @@ describe OperaWatir::Actions do
114
115
  dragInto.lis.length.should == 6
115
116
  end
116
117
 
117
- it 'double clicks' do
118
+ it 'double clicks' do # Known to fail on Mac
118
119
  browser.url = fixture('mouse.html')
119
120
  el = browser.div(:id => 'test')
120
-
121
121
  @actions.double_click(el).perform()
122
122
  window.text.should include 'dblclick'
123
123
  end
124
124
 
125
- it 'move and double clicks' do
125
+ it 'move and double clicks' do # Known to fail on Mac
126
126
  browser.url = fixture('mouse.html')
127
127
  el = browser.div(:id => 'test')
128
128
 
129
129
  @actions.move_to_element(el).double_click().perform()
130
130
  window.text.should include 'dblclick'
131
131
  end
132
-
132
+
133
133
  it 'context clicks' do
134
134
  browser.url = fixture('mouse.html')
135
135
  el = browser.div(:id => 'test')
@@ -159,9 +159,9 @@ describe OperaWatir::Actions do
159
159
  @actions.move_to_element(browser.pre(:id => 'log')).move_by_offset(1, -30).click().perform()
160
160
  window.text.should include 'click 0'
161
161
  end
162
-
162
+
163
163
  end
164
-
164
+
165
165
  describe 'combined' do
166
166
  it 'uses form elements' do
167
167
 
@@ -3,13 +3,14 @@ require File.expand_path('../../watirspec_helper', __FILE__)
3
3
  describe OperaWatir::Browser do
4
4
 
5
5
  # Note: This method is deprecated, but still needs to be tested.
6
- describe '#opera_action' do
6
+ describe '#opera_action' do # Known to fail on Mac
7
7
  it 'executes the specified action' do
8
8
  browser.url = fixture('input_fields_value.html')
9
9
  window.find_by_id('one').click
10
10
  browser.opera_action('Select all')
11
+ sleep 2
11
12
  window.eval_js('one = document.getElementById("one");')
12
- window.eval_js('one.value.substr(one.selectionStart, one.selectionEnd - one.selectionStart)').should == 'foobar'
13
+ window.eval_js('one.value.substr(one.selectionStart, one.selectionEnd - one.selectionStart)').should == 'foobar'
13
14
  end
14
15
  end
15
16
 
@@ -79,4 +80,4 @@ describe OperaWatir::Browser do
79
80
  end
80
81
  end
81
82
 
82
- end
83
+ end
@@ -136,12 +136,6 @@ describe OperaWatir::Preferences do
136
136
  end
137
137
  end
138
138
 
139
- describe '#parent' do
140
- it 'contains the parent class' do
141
- @section.parent.should be_kind_of OperaWatir::Preferences
142
- end
143
- end
144
-
145
139
  describe '#method' do
146
140
  it 'has a valid method name' do
147
141
  @section.method.should match /([a-z_]+)/
@@ -219,12 +213,6 @@ describe OperaWatir::Preferences do
219
213
  @key = @section.expiry
220
214
  end
221
215
 
222
- describe '#parent' do
223
- it 'contains the parent class' do
224
- @key.parent.should be_kind_of OperaWatir::Preferences::Section
225
- end
226
- end
227
-
228
216
  describe '#method' do
229
217
  it 'has a valid method name' do
230
218
  @key.method.should match /([a-z_]+)/
@@ -237,46 +225,38 @@ describe OperaWatir::Preferences do
237
225
  end
238
226
  end
239
227
 
240
- describe '#type' do # TODO
241
-
242
- # Note that the types aren't proper Ruby objects, but strings.
243
-
244
- it '`expiry` is a type integer' do
245
- @key.type.should match /integer/i
246
- end
247
-
248
- it '`color` is a type boolean' do
249
- @section.color.type.should match /boolean/i
228
+ describe '#value' do
229
+ it '`expiry` is a type Fixnum' do
230
+ @key.value.should be_kind_of Fixnum
250
231
  end
251
232
 
252
- it '`opera_account.server_address` is a type string' do
253
- @prefs.opera_account.server_address.type.should match /string/i
233
+ it '`developer_tools.proxy_host` is a type String' do
234
+ @prefs.developer_tools.proxy_host.value.should be_kind_of String
254
235
  end
255
- end
256
236
 
257
- describe '#value' do
258
- it 'returns a valid type' do
259
- @key.value.should be_kind_of String
237
+ it '`developer_tools.proxy_auto_connect` is a type TrueClass' do
238
+ @prefs.developer_tools.proxy_auto_connect.value.should be_kind_of TrueClass
260
239
  end
261
240
 
262
241
  it 'is not empty' do
263
- @key.value.should_not be_empty
242
+ @key.value.to_s.should_not be_empty
264
243
  end
265
244
  end
266
245
 
267
246
  describe '#value=' do
268
- it 'is changed when set on a string preference' do
269
- @key.value = '20'
270
- @key.value.should == '20'
271
- end
272
-
273
247
  it 'is changed when set on an integer preference' do
274
- @section.color.value = true
275
- @section.color.value.should be_true
248
+ @key.value = 20
249
+ @key.value.should == 20
250
+ end
251
+
252
+ it 'is changed when you set integer on a string preference' do
253
+ @prefs.developer_tools.proxy_host.value = 1234
254
+ @prefs.developer_tools.proxy_host.value.should be_kind_of String
276
255
  end
277
256
 
278
257
  it 'has effect in the browser when changed' do
279
- @section.strikethrough.value = '1' #true
258
+ @section.strikethrough.value = true
259
+ @section.strikethrough.value.should be_true
280
260
  window.url = fixture('simple.html')
281
261
  window.execute_script('document.getElementsByTagName("a")[0].currentStyle.textDecoration').should include 'line-through'
282
262
  end
@@ -296,13 +276,17 @@ describe OperaWatir::Preferences do
296
276
 
297
277
  describe '#default' do
298
278
  it 'returns the default value' do
299
- @key.default.should == '10'
279
+ @key.default.should == 10
280
+ end
281
+
282
+ it 'returns correct type for the default value' do
283
+ @key.default.should be_kind_of Fixnum
300
284
  end
301
285
  end
302
286
 
303
287
  describe '#default!' do
304
288
  before :each do
305
- @key.value = '1337'
289
+ @key.value = 1337
306
290
  end
307
291
 
308
292
  it 'returns and sets default value' do
@@ -1,17 +1,114 @@
1
1
  # encoding: utf-8
2
2
  require 'sinatra/base'
3
+ require 'socket'
3
4
 
4
5
  class WatirSpec::Server < ::Sinatra::Base
5
6
 
6
- set :app_file, __FILE__
7
- set :root, File.dirname(__FILE__)
8
- set :public, lambda { File.join(root, 'fixtures')}
9
- set :static, true
10
- set :run, false
11
- set :environment, :production
12
- set :bind, 'localhost'
13
- set :port, 2000
14
- set :server, %w[thin mongrel webrick]
7
+ class << self
8
+ attr_accessor :autorun
9
+
10
+ def run_async
11
+ case RUBY_PLATFORM
12
+ when /java/
13
+ Thread.new { run! }
14
+ sleep 0.1 until WatirSpec::Server.running?
15
+ when /windows/
16
+ run_in_child_process
17
+ sleep 0.5 until listening?
18
+ else
19
+ pid = fork { run! }
20
+ sleep 0.5 until listening?
21
+ end
22
+
23
+ if pid
24
+ # is this really necessary?
25
+ at_exit {
26
+ begin
27
+ Process.kill 0, pid
28
+ alive = true
29
+ rescue Errno::ESRCH
30
+ alive = false
31
+ end
32
+
33
+ Process.kill(9, pid) if alive
34
+ }
35
+ end
36
+ end
37
+
38
+ def run!
39
+ handler = detect_rack_handler
40
+ handler.run(self, :Host => bind, :Port => port) { @running = true }
41
+ end
42
+
43
+ def listening?
44
+ $stderr.puts "trying #{bind}:#{port}..."
45
+
46
+ TCPSocket.new(bind, port).close
47
+ true
48
+ rescue
49
+ false
50
+ end
51
+
52
+ def find_free_port_above(int)
53
+ port = int
54
+
55
+ until free_port?(port)
56
+ port += 1
57
+ end
58
+
59
+ port
60
+ end
61
+
62
+ def autorun
63
+ @autorun ||= true
64
+ end
65
+
66
+ def should_run?
67
+ autorun && !running?
68
+ end
69
+
70
+ def running?
71
+ defined?(@running) && @running
72
+ end
73
+
74
+ SOCKET_ERRORS = [Errno::EADDRINUSE]
75
+ SOCKET_ERRORS << SocketError if defined?(SocketError) # ruby versions...
76
+
77
+ def free_port?(port)
78
+ s = TCPServer.new(@host, port)
79
+ s.close
80
+ true
81
+ rescue *SOCKET_ERRORS
82
+ false
83
+ end
84
+
85
+ private
86
+
87
+ def run_in_child_process
88
+ begin
89
+ require 'childprocess'
90
+ rescue LoadError => ex
91
+ raise "please run `gem install childprocess` for WatirSpec on Windows + MRI\n\t(caught: #{ex.message})"
92
+ end
93
+
94
+ path = File.expand_path('../../spec_helper.rb', __FILE__)
95
+
96
+ process = ChildProcess.build(WatirSpec.ruby, path)
97
+ process.io.inherit! if $DEBUG
98
+ process.start
99
+
100
+ at_exit { process.stop }
101
+ end
102
+ end
103
+
104
+ set :app_file, __FILE__
105
+ set :root, File.dirname(__FILE__)
106
+ set :public_folder, File.join(root, 'fixtures')
107
+ set :static, true
108
+ set :run, false
109
+ set :environment, :production
110
+ set :bind, 'localhost'# if Config::CONFIG['host_os'] =~ /windows/
111
+ set :port, find_free_port_above(2000)
15
112
 
16
113
  get '/' do
17
114
  self.class.name
@@ -54,7 +54,13 @@ RSpec.configure do |config|
54
54
  config.include WatirSpec::Helpers
55
55
 
56
56
  config.before(:suite) do
57
- Thread.new { WatirSpec::Server.run! }
57
+ #Thread.new { WatirSpec::Server.run! }
58
+ #Thread.new { WatirSpec::Server.start }
59
+ if WatirSpec::Server.should_run?
60
+ WatirSpec::Server.run_async
61
+ else
62
+ $stderr.puts 'not running WatirSpec::Server'
63
+ end
58
64
  end
59
65
  end
60
66
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: operawatir
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 0.6.pre1
5
+ version: 0.7.pre1
6
6
  platform: jruby
7
7
  authors:
8
8
  - Andreas Tolf Tolfsen
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-12-01 00:00:00 Z
16
+ date: 2012-03-12 00:00:00 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: bundler
@@ -276,6 +276,7 @@ files:
276
276
  - AUTHORS
277
277
  - CHANGES
278
278
  - Gemfile
279
+ - Gemfile.lock
279
280
  - LICENSE
280
281
  - README.md
281
282
  - Rakefile
@@ -286,11 +287,14 @@ files:
286
287
  - lib/operadriver/NEW_BSD_LICENSE.txt
287
288
  - lib/operadriver/commons-exec-1.1.jar
288
289
  - lib/operadriver/commons-jxpath-1.3.jar
289
- - lib/operadriver/guava-10.0.1.jar
290
+ - lib/operadriver/guava-11.0.1.jar
291
+ - lib/operadriver/ini4j-0.5.2.jar
292
+ - lib/operadriver/json-20080701.jar
293
+ - lib/operadriver/operadriver-v0.11.jar
290
294
  - lib/operadriver/operadriver-v0.8.1.jar
291
- - lib/operadriver/operalaunchers-0.3.jar
295
+ - lib/operadriver/operalaunchers-0.6.jar
292
296
  - lib/operadriver/protobuf-java-2.4.1.jar
293
- - lib/operadriver/selenium-java-2.13.0.jar
297
+ - lib/operadriver/selenium-java-2.17.jar
294
298
  - lib/operawatir.rb
295
299
  - lib/operawatir/actions.rb
296
300
  - lib/operawatir/browser.rb
@@ -345,7 +349,6 @@ files:
345
349
  - lib/operawatir/utils.rb
346
350
  - lib/operawatir/version.rb
347
351
  - lib/operawatir/window.rb
348
- - operawatir.gemspec
349
352
  - spec/fire_event/fire_event.rb
350
353
  - spec/fire_event/interactive/onBlur.html
351
354
  - spec/fire_event/interactive/onChange.html
@@ -534,9 +537,8 @@ files:
534
537
  - spec/watir2/uls_spec.rb
535
538
  - spec/watir2/watir_compatibility_spec.rb
536
539
  - spec/watir2/watirspec_helper.rb
537
- - utils/Rakefile
538
540
  - utils/formatters/new_spartan_formatter.rb
539
- - utils/formatters/operahelper_formatter.rb
541
+ - utils/formatters/opera_helper_formatter.rb
540
542
  - utils/formatters/spartan_formatter.rb
541
543
  homepage: http://www.opera.com/developer/tools/operawatir/
542
544
  licenses: []
@@ -561,7 +563,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
561
563
  requirements: []
562
564
 
563
565
  rubyforge_project: operawatir
564
- rubygems_version: 1.8.9
566
+ rubygems_version: 1.8.15
565
567
  signing_key:
566
568
  specification_version: 3
567
569
  summary: Toolkit for automating interactions with the Opera web browser.
Binary file
Binary file
data/operawatir.gemspec DELETED
@@ -1,376 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{operawatir}
8
- s.version = "0.6.pre1"
9
- s.platform = %q{jruby}
10
-
11
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
12
- s.authors = [%q{Andreas Tolf Tolfsen}, %q{Chris Lloyd}, %q{Stuart Knightley}, %q{Deniz Turkoglu}]
13
- s.date = %q{2011-12-01}
14
- s.description = %q{ OperaWatir is a part of the Watir (pronounced water) family of
15
- free software Ruby libraries for automating web browsers.
16
- OperaWatir provides a querying engine and Ruby bindings for a
17
- backend Java library, OperaDriver, for driving the Opera web
18
- browser. It aims for full compliancy with the Watir 2 and Watir 3
19
- specifications.
20
- }
21
- s.email = [%q{andreastt@opera.com}, %q{christopherl@opera.com}, %q{stuartk@opera.com}, %q{dturkoglu@opera.com}]
22
- s.executables = [%q{desktopwatir}, %q{operawatir}]
23
- s.extra_rdoc_files = [
24
- "README.md"
25
- ]
26
- s.files = [
27
- ".gitmodules",
28
- ".yardopts",
29
- "AUTHORS",
30
- "CHANGES",
31
- "Gemfile",
32
- "LICENSE",
33
- "README.md",
34
- "Rakefile",
35
- "VERSION",
36
- "bin/desktopwatir",
37
- "bin/operawatir",
38
- "lib/operadriver/APACHE_2.0_LICENSE.txt",
39
- "lib/operadriver/NEW_BSD_LICENSE.txt",
40
- "lib/operadriver/commons-exec-1.1.jar",
41
- "lib/operadriver/commons-jxpath-1.3.jar",
42
- "lib/operadriver/guava-10.0.1.jar",
43
- "lib/operadriver/operadriver-v0.8.1.jar",
44
- "lib/operadriver/operalaunchers-0.3.jar",
45
- "lib/operadriver/protobuf-java-2.4.1.jar",
46
- "lib/operadriver/selenium-java-2.13.0.jar",
47
- "lib/operawatir.rb",
48
- "lib/operawatir/actions.rb",
49
- "lib/operawatir/browser.rb",
50
- "lib/operawatir/clickable_item.rb",
51
- "lib/operawatir/collection.rb",
52
- "lib/operawatir/compat.rb",
53
- "lib/operawatir/compat/browser.rb",
54
- "lib/operawatir/compat/collection.rb",
55
- "lib/operawatir/compat/element.rb",
56
- "lib/operawatir/compat/element_finders.rb",
57
- "lib/operawatir/compat/selector.rb",
58
- "lib/operawatir/compat/window.rb",
59
- "lib/operawatir/desktop-waiter.rb",
60
- "lib/operawatir/desktop_browser.rb",
61
- "lib/operawatir/desktop_common.rb",
62
- "lib/operawatir/desktop_container.rb",
63
- "lib/operawatir/desktop_enums.rb",
64
- "lib/operawatir/desktop_exceptions.rb",
65
- "lib/operawatir/desktop_helper.rb",
66
- "lib/operawatir/element.rb",
67
- "lib/operawatir/exceptions.rb",
68
- "lib/operawatir/helper.rb",
69
- "lib/operawatir/keys.rb",
70
- "lib/operawatir/platform.rb",
71
- "lib/operawatir/preferences.rb",
72
- "lib/operawatir/quickwidgets.rb",
73
- "lib/operawatir/quickwidgets/quick_addressfield.rb",
74
- "lib/operawatir/quickwidgets/quick_button.rb",
75
- "lib/operawatir/quickwidgets/quick_checkbox.rb",
76
- "lib/operawatir/quickwidgets/quick_dialogtab.rb",
77
- "lib/operawatir/quickwidgets/quick_dropdown.rb",
78
- "lib/operawatir/quickwidgets/quick_dropdownitem.rb",
79
- "lib/operawatir/quickwidgets/quick_editfield.rb",
80
- "lib/operawatir/quickwidgets/quick_find.rb",
81
- "lib/operawatir/quickwidgets/quick_griditem.rb",
82
- "lib/operawatir/quickwidgets/quick_gridlayout.rb",
83
- "lib/operawatir/quickwidgets/quick_label.rb",
84
- "lib/operawatir/quickwidgets/quick_menu.rb",
85
- "lib/operawatir/quickwidgets/quick_menuitem.rb",
86
- "lib/operawatir/quickwidgets/quick_radiobutton.rb",
87
- "lib/operawatir/quickwidgets/quick_searchfield.rb",
88
- "lib/operawatir/quickwidgets/quick_tab.rb",
89
- "lib/operawatir/quickwidgets/quick_thumbnail.rb",
90
- "lib/operawatir/quickwidgets/quick_toolbar.rb",
91
- "lib/operawatir/quickwidgets/quick_treeitem.rb",
92
- "lib/operawatir/quickwidgets/quick_treeview.rb",
93
- "lib/operawatir/quickwidgets/quick_widget.rb",
94
- "lib/operawatir/quickwidgets/quick_window.rb",
95
- "lib/operawatir/screenshot.rb",
96
- "lib/operawatir/selector.rb",
97
- "lib/operawatir/spatnav.rb",
98
- "lib/operawatir/utils.rb",
99
- "lib/operawatir/version.rb",
100
- "lib/operawatir/window.rb",
101
- "operawatir.gemspec",
102
- "spec/fire_event/fire_event.rb",
103
- "spec/fire_event/interactive/onBlur.html",
104
- "spec/fire_event/interactive/onChange.html",
105
- "spec/fire_event/interactive/onClick.html",
106
- "spec/fire_event/interactive/onDblClick.html",
107
- "spec/fire_event/interactive/onFocus.html",
108
- "spec/fire_event/interactive/onMouseDown.html",
109
- "spec/fire_event/interactive/onMouseMove.html",
110
- "spec/fire_event/interactive/onMouseOut.html",
111
- "spec/fire_event/interactive/onMouseOver.html",
112
- "spec/fire_event/interactive/onMouseUp.html",
113
- "spec/fire_event/interactive/onScroll.html",
114
- "spec/operawatir/README.md",
115
- "spec/operawatir/core/actions_spec.rb",
116
- "spec/operawatir/core/browser_spec.rb",
117
- "spec/operawatir/core/element_spec.rb",
118
- "spec/operawatir/core/keys_spec.rb",
119
- "spec/operawatir/core/preferences_spec.rb",
120
- "spec/operawatir/core/screenshot_spec.rb",
121
- "spec/operawatir/core/spatnav_spec.rb",
122
- "spec/operawatir/core/utils_spec.rb",
123
- "spec/operawatir/core/window_spec.rb",
124
- "spec/operawatir/desktop/desktopbrowser_spec.rb",
125
- "spec/operawatir/desktop/quickaddressfield_spec.rb",
126
- "spec/operawatir/desktop/quickbutton_spec.rb",
127
- "spec/operawatir/desktop/quickcheckbox_spec.rb",
128
- "spec/operawatir/desktop/quickdialogtab_spec.rb",
129
- "spec/operawatir/desktop/quickdropdown_spec.rb",
130
- "spec/operawatir/desktop/quickeditfield_spec.rb",
131
- "spec/operawatir/desktop/quickfind_spec.rb",
132
- "spec/operawatir/desktop/quickgriditem_spec.rb",
133
- "spec/operawatir/desktop/quickgridlayout_spec.rb",
134
- "spec/operawatir/desktop/quicklabel_spec.rb",
135
- "spec/operawatir/desktop/quickmenu_spec.rb",
136
- "spec/operawatir/desktop/quickmenuitem_spec.rb",
137
- "spec/operawatir/desktop/quickradiobutton_spec.rb",
138
- "spec/operawatir/desktop/quicksearchfield_spec.rb",
139
- "spec/operawatir/desktop/quicktab_spec.rb",
140
- "spec/operawatir/desktop/quickthumbnail_spec.rb",
141
- "spec/operawatir/desktop/quicktreeitem_spec.rb",
142
- "spec/operawatir/desktop/quicktreeview_spec.rb",
143
- "spec/operawatir/desktop/quickwidget_spec.rb",
144
- "spec/operawatir/desktop/quickwindow_spec.rb",
145
- "spec/operawatir/desktop/shared/shared.rb",
146
- "spec/operawatir/fixtures/boxes.html",
147
- "spec/operawatir/fixtures/browsers.svg",
148
- "spec/operawatir/fixtures/draggableLists.html",
149
- "spec/operawatir/fixtures/formSelectionPage.html",
150
- "spec/operawatir/fixtures/frames.html",
151
- "spec/operawatir/fixtures/grid.html",
152
- "spec/operawatir/fixtures/input_fields_value.html",
153
- "spec/operawatir/fixtures/js/jquery-1.4.4.min.js",
154
- "spec/operawatir/fixtures/js/jquery-ui-1.8.10.custom.min.js",
155
- "spec/operawatir/fixtures/keys.html",
156
- "spec/operawatir/fixtures/label_submit.html",
157
- "spec/operawatir/fixtures/mouse.html",
158
- "spec/operawatir/fixtures/onclick.html",
159
- "spec/operawatir/fixtures/paragraphs.html",
160
- "spec/operawatir/fixtures/simple.html",
161
- "spec/operawatir/fixtures/two_input_fields.html",
162
- "spec/operawatir/guards.rb",
163
- "spec/operawatir/matchers.rb",
164
- "spec/operawatir/server.rb",
165
- "spec/operawatir/watirspec.rake",
166
- "spec/operawatir/watirspec_desktophelper.rb",
167
- "spec/operawatir/watirspec_helper.rb",
168
- "spec/watir2/area_spec.rb",
169
- "spec/watir2/areas_spec.rb",
170
- "spec/watir2/browser_spec.rb",
171
- "spec/watir2/button_spec.rb",
172
- "spec/watir2/buttons_spec.rb",
173
- "spec/watir2/checkbox_spec.rb",
174
- "spec/watir2/checkboxes_spec.rb",
175
- "spec/watir2/collections_spec.rb",
176
- "spec/watir2/dd_spec.rb",
177
- "spec/watir2/dds_spec.rb",
178
- "spec/watir2/del_spec.rb",
179
- "spec/watir2/dels_spec.rb",
180
- "spec/watir2/div_spec.rb",
181
- "spec/watir2/divs_spec.rb",
182
- "spec/watir2/dl_spec.rb",
183
- "spec/watir2/dls_spec.rb",
184
- "spec/watir2/dt_spec.rb",
185
- "spec/watir2/dts_spec.rb",
186
- "spec/watir2/element_spec.rb",
187
- "spec/watir2/em_spec.rb",
188
- "spec/watir2/ems_spec.rb",
189
- "spec/watir2/filefield_spec.rb",
190
- "spec/watir2/filefields_spec.rb",
191
- "spec/watir2/fixtures/2000_spans.html",
192
- "spec/watir2/fixtures/bug_duplicate_attributes.html",
193
- "spec/watir2/fixtures/bug_javascript_001.html",
194
- "spec/watir2/fixtures/buttons_with_duplicate_ids.html",
195
- "spec/watir2/fixtures/collections.html",
196
- "spec/watir2/fixtures/definition_lists.html",
197
- "spec/watir2/fixtures/euc-jp_text.html",
198
- "spec/watir2/fixtures/forms_with_input_elements.html",
199
- "spec/watir2/fixtures/frame_1.html",
200
- "spec/watir2/fixtures/frame_2.html",
201
- "spec/watir2/fixtures/frames.html",
202
- "spec/watir2/fixtures/iframes.html",
203
- "spec/watir2/fixtures/images.html",
204
- "spec/watir2/fixtures/images/1.gif",
205
- "spec/watir2/fixtures/images/2.gif",
206
- "spec/watir2/fixtures/images/3.gif",
207
- "spec/watir2/fixtures/images/button.jpg",
208
- "spec/watir2/fixtures/images/circle.jpg",
209
- "spec/watir2/fixtures/images/map.gif",
210
- "spec/watir2/fixtures/images/map2.gif",
211
- "spec/watir2/fixtures/images/minus.gif",
212
- "spec/watir2/fixtures/images/originaltriangle.jpg",
213
- "spec/watir2/fixtures/images/plus.gif",
214
- "spec/watir2/fixtures/images/square.jpg",
215
- "spec/watir2/fixtures/images/triangle.jpg",
216
- "spec/watir2/fixtures/iso-2022-jp_text.html",
217
- "spec/watir2/fixtures/javascript/helpers.js",
218
- "spec/watir2/fixtures/jquery.html",
219
- "spec/watir2/fixtures/latin1_text.html",
220
- "spec/watir2/fixtures/multiple_ids.html",
221
- "spec/watir2/fixtures/non_control_elements.html",
222
- "spec/watir2/fixtures/parser_bug_001.html",
223
- "spec/watir2/fixtures/prevent_form_submit.html",
224
- "spec/watir2/fixtures/right_click.html",
225
- "spec/watir2/fixtures/shift_jis_text.html",
226
- "spec/watir2/fixtures/tables.html",
227
- "spec/watir2/fixtures/timeout.html",
228
- "spec/watir2/fixtures/timeout_window_location.html",
229
- "spec/watir2/fixtures/tiny_mce.html",
230
- "spec/watir2/fixtures/utf8_text.html",
231
- "spec/watir2/fixtures/watirspec.css",
232
- "spec/watir2/form_spec.rb",
233
- "spec/watir2/forms_spec.rb",
234
- "spec/watir2/frame_spec.rb",
235
- "spec/watir2/frames_spec.rb",
236
- "spec/watir2/guards.rb",
237
- "spec/watir2/hidden_spec.rb",
238
- "spec/watir2/hiddens_spec.rb",
239
- "spec/watir2/hn_spec.rb",
240
- "spec/watir2/hns_spec.rb",
241
- "spec/watir2/image_spec.rb",
242
- "spec/watir2/images_spec.rb",
243
- "spec/watir2/ins_spec.rb",
244
- "spec/watir2/inses_spec.rb",
245
- "spec/watir2/label_spec.rb",
246
- "spec/watir2/labels_spec.rb",
247
- "spec/watir2/li_spec.rb",
248
- "spec/watir2/link_spec.rb",
249
- "spec/watir2/links_spec.rb",
250
- "spec/watir2/lis_spec.rb",
251
- "spec/watir2/map_spec.rb",
252
- "spec/watir2/maps_spec.rb",
253
- "spec/watir2/meta_spec.rb",
254
- "spec/watir2/metas_spec.rb",
255
- "spec/watir2/ol_spec.rb",
256
- "spec/watir2/ols_spec.rb",
257
- "spec/watir2/option_spec.rb",
258
- "spec/watir2/p_spec.rb",
259
- "spec/watir2/pre_spec.rb",
260
- "spec/watir2/pres_spec.rb",
261
- "spec/watir2/ps_spec.rb",
262
- "spec/watir2/radio_spec.rb",
263
- "spec/watir2/radios_spec.rb",
264
- "spec/watir2/select_list_spec.rb",
265
- "spec/watir2/select_lists_spec.rb",
266
- "spec/watir2/server.rb",
267
- "spec/watir2/span_spec.rb",
268
- "spec/watir2/spans_spec.rb",
269
- "spec/watir2/spec_helper.rb",
270
- "spec/watir2/strong_spec.rb",
271
- "spec/watir2/strongs_spec.rb",
272
- "spec/watir2/table_bodies_spec.rb",
273
- "spec/watir2/table_body_spec.rb",
274
- "spec/watir2/table_cell_spec.rb",
275
- "spec/watir2/table_cells_spec.rb",
276
- "spec/watir2/table_footer_spec.rb",
277
- "spec/watir2/table_footers_spec.rb",
278
- "spec/watir2/table_header_spec.rb",
279
- "spec/watir2/table_headers_spec.rb",
280
- "spec/watir2/table_row_spec.rb",
281
- "spec/watir2/table_rows_spec.rb",
282
- "spec/watir2/table_spec.rb",
283
- "spec/watir2/tables_spec.rb",
284
- "spec/watir2/text_field_spec.rb",
285
- "spec/watir2/text_fields_spec.rb",
286
- "spec/watir2/ul_spec.rb",
287
- "spec/watir2/uls_spec.rb",
288
- "spec/watir2/watir_compatibility_spec.rb",
289
- "spec/watir2/watirspec_helper.rb",
290
- "utils/Rakefile",
291
- "utils/formatters/new_spartan_formatter.rb",
292
- "utils/formatters/operahelper_formatter.rb",
293
- "utils/formatters/spartan_formatter.rb"
294
- ]
295
- s.homepage = %q{http://www.opera.com/developer/tools/operawatir/}
296
- s.require_paths = [%q{lib}]
297
- s.rubyforge_project = %q{operawatir}
298
- s.rubygems_version = %q{1.8.9}
299
- s.summary = %q{Toolkit for automating interactions with the Opera web browser.}
300
-
301
- if s.respond_to? :specification_version then
302
- s.specification_version = 3
303
-
304
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
305
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
306
- s.add_development_dependency(%q<jeweler>, [">= 0"])
307
- s.add_development_dependency(%q<BlueCloth>, ["= 1.0.1"])
308
- s.add_development_dependency(%q<yard>, [">= 0"])
309
- s.add_development_dependency(%q<mongrel>, [">= 1.1.5"])
310
- s.add_development_dependency(%q<sinatra>, [">= 1.1"])
311
- s.add_development_dependency(%q<rr>, [">= 0"])
312
- s.add_development_dependency(%q<clipboard>, [">= 0"])
313
- s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
314
- s.add_development_dependency(%q<ci_reporter>, [">= 0"])
315
- s.add_development_dependency(%q<deprecated>, [">= 0"])
316
- s.add_development_dependency(%q<builder>, [">= 0"])
317
- s.add_runtime_dependency(%q<rspec>, ["~> 2.6.0"])
318
- s.add_runtime_dependency(%q<deprecated>, [">= 0"])
319
- s.add_development_dependency(%q<jeweler>, [">= 0"])
320
- s.add_development_dependency(%q<rake>, [">= 0"])
321
- s.add_development_dependency(%q<BlueCloth>, ["= 1.0.1"])
322
- s.add_development_dependency(%q<yard>, [">= 0"])
323
- s.add_development_dependency(%q<mongrel>, [">= 1.1.5"])
324
- s.add_development_dependency(%q<sinatra>, [">= 1.1"])
325
- s.add_development_dependency(%q<rr>, [">= 0"])
326
- s.add_development_dependency(%q<clipboard>, [">= 0"])
327
- else
328
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
329
- s.add_dependency(%q<jeweler>, [">= 0"])
330
- s.add_dependency(%q<BlueCloth>, ["= 1.0.1"])
331
- s.add_dependency(%q<yard>, [">= 0"])
332
- s.add_dependency(%q<mongrel>, [">= 1.1.5"])
333
- s.add_dependency(%q<sinatra>, [">= 1.1"])
334
- s.add_dependency(%q<rr>, [">= 0"])
335
- s.add_dependency(%q<clipboard>, [">= 0"])
336
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
337
- s.add_dependency(%q<ci_reporter>, [">= 0"])
338
- s.add_dependency(%q<deprecated>, [">= 0"])
339
- s.add_dependency(%q<builder>, [">= 0"])
340
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
341
- s.add_dependency(%q<deprecated>, [">= 0"])
342
- s.add_dependency(%q<jeweler>, [">= 0"])
343
- s.add_dependency(%q<rake>, [">= 0"])
344
- s.add_dependency(%q<BlueCloth>, ["= 1.0.1"])
345
- s.add_dependency(%q<yard>, [">= 0"])
346
- s.add_dependency(%q<mongrel>, [">= 1.1.5"])
347
- s.add_dependency(%q<sinatra>, [">= 1.1"])
348
- s.add_dependency(%q<rr>, [">= 0"])
349
- s.add_dependency(%q<clipboard>, [">= 0"])
350
- end
351
- else
352
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
353
- s.add_dependency(%q<jeweler>, [">= 0"])
354
- s.add_dependency(%q<BlueCloth>, ["= 1.0.1"])
355
- s.add_dependency(%q<yard>, [">= 0"])
356
- s.add_dependency(%q<mongrel>, [">= 1.1.5"])
357
- s.add_dependency(%q<sinatra>, [">= 1.1"])
358
- s.add_dependency(%q<rr>, [">= 0"])
359
- s.add_dependency(%q<clipboard>, [">= 0"])
360
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
361
- s.add_dependency(%q<ci_reporter>, [">= 0"])
362
- s.add_dependency(%q<deprecated>, [">= 0"])
363
- s.add_dependency(%q<builder>, [">= 0"])
364
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
365
- s.add_dependency(%q<deprecated>, [">= 0"])
366
- s.add_dependency(%q<jeweler>, [">= 0"])
367
- s.add_dependency(%q<rake>, [">= 0"])
368
- s.add_dependency(%q<BlueCloth>, ["= 1.0.1"])
369
- s.add_dependency(%q<yard>, [">= 0"])
370
- s.add_dependency(%q<mongrel>, [">= 1.1.5"])
371
- s.add_dependency(%q<sinatra>, [">= 1.1"])
372
- s.add_dependency(%q<rr>, [">= 0"])
373
- s.add_dependency(%q<clipboard>, [">= 0"])
374
- end
375
- end
376
-