operawatir 0.4.3.pre1-jruby → 0.5-jruby
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +1 -1
- data/CHANGES +230 -0
- data/Gemfile +4 -0
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/bin/desktopwatir +1 -1
- data/bin/operawatir +16 -4
- data/lib/operadriver/guava-r09.jar +0 -0
- data/lib/operadriver/operadriver-v0.7.2.jar +0 -0
- data/lib/operadriver/selenium-nodeps-20100909.jar +0 -0
- data/lib/operawatir.rb +10 -3
- data/lib/operawatir/actions.rb +111 -0
- data/lib/operawatir/browser.rb +24 -20
- data/lib/operawatir/clickable_item.rb +68 -0
- data/lib/operawatir/compat.rb +4 -4
- data/lib/operawatir/compat/collection.rb +1 -1
- data/lib/operawatir/compat/element.rb +1 -1
- data/lib/operawatir/compat/window.rb +4 -3
- data/lib/operawatir/desktop_browser.rb +299 -95
- data/lib/operawatir/desktop_common.rb +88 -23
- data/lib/operawatir/desktop_container.rb +103 -34
- data/lib/operawatir/desktop_enums.rb +4 -4
- data/lib/operawatir/desktop_exceptions.rb +2 -2
- data/lib/operawatir/desktop_helper.rb +31 -8
- data/lib/operawatir/element.rb +6 -2
- data/lib/operawatir/exceptions.rb +4 -4
- data/lib/operawatir/helper.rb +6 -6
- data/lib/operawatir/keys.rb +4 -4
- data/lib/operawatir/preferences.rb +126 -155
- data/lib/operawatir/quickwidgets.rb +3 -3
- data/lib/operawatir/quickwidgets/quick_addressfield.rb +12 -5
- data/lib/operawatir/quickwidgets/quick_button.rb +39 -53
- data/lib/operawatir/quickwidgets/quick_checkbox.rb +6 -6
- data/lib/operawatir/quickwidgets/quick_dialogtab.rb +5 -5
- data/lib/operawatir/quickwidgets/quick_dropdown.rb +28 -4
- data/lib/operawatir/quickwidgets/quick_dropdownitem.rb +46 -0
- data/lib/operawatir/quickwidgets/quick_editfield.rb +16 -13
- data/lib/operawatir/quickwidgets/quick_label.rb +1 -1
- data/lib/operawatir/quickwidgets/quick_menu.rb +155 -0
- data/lib/operawatir/quickwidgets/quick_menuitem.rb +387 -0
- data/lib/operawatir/quickwidgets/quick_searchfield.rb +7 -4
- data/lib/operawatir/quickwidgets/quick_tab.rb +23 -12
- data/lib/operawatir/quickwidgets/quick_thumbnail.rb +4 -4
- data/lib/operawatir/quickwidgets/quick_toolbar.rb +1 -1
- data/lib/operawatir/quickwidgets/quick_treeitem.rb +45 -29
- data/lib/operawatir/quickwidgets/quick_treeview.rb +2 -2
- data/lib/operawatir/quickwidgets/quick_widget.rb +267 -77
- data/lib/operawatir/quickwidgets/quick_window.rb +64 -38
- data/lib/operawatir/screenshot.rb +1 -1
- data/lib/operawatir/utils.rb +31 -0
- data/lib/operawatir/window.rb +1 -1
- data/operawatir.gemspec +38 -132
- data/spec/operawatir/core/actions_spec.rb +202 -0
- data/spec/operawatir/core/browser_spec.rb +8 -8
- data/spec/operawatir/core/element_spec.rb +11 -2
- data/spec/operawatir/core/keys_spec.rb +50 -2
- data/spec/operawatir/core/preferences_spec.rb +44 -128
- data/spec/operawatir/core/spatnav_spec.rb +16 -16
- data/spec/operawatir/core/utils_spec.rb +47 -0
- data/spec/operawatir/core/window_spec.rb +1 -1
- data/spec/operawatir/desktop/desktopbrowser_spec.rb +191 -22
- data/spec/operawatir/desktop/quickbutton_spec.rb +197 -164
- data/spec/operawatir/desktop/quickcheckbox_spec.rb +12 -12
- data/spec/operawatir/desktop/quickdialogtab_spec.rb +11 -11
- data/spec/operawatir/desktop/quickdropdown_spec.rb +25 -25
- data/spec/operawatir/desktop/quickeditfield_spec.rb +31 -31
- data/spec/operawatir/desktop/quickmenu_spec.rb +57 -0
- data/spec/operawatir/desktop/quickmenuitem_spec.rb +168 -0
- data/spec/operawatir/desktop/quicktab_spec.rb +26 -15
- data/spec/operawatir/desktop/quickthumbnail_spec.rb +18 -4
- data/spec/operawatir/desktop/quicktreeitem_spec.rb +72 -72
- data/spec/operawatir/desktop/quicktreeview_spec.rb +13 -13
- data/spec/operawatir/desktop/quickwidget_spec.rb +51 -13
- data/spec/operawatir/desktop/quickwindow_spec.rb +4 -0
- data/spec/operawatir/desktop/shared/shared.rb +25 -9
- data/spec/operawatir/fixtures/draggableLists.html +67 -0
- data/spec/operawatir/fixtures/formSelectionPage.html +46 -0
- data/spec/operawatir/fixtures/js/jquery-1.4.4.min.js +167 -0
- data/spec/operawatir/fixtures/js/jquery-ui-1.8.10.custom.min.js +782 -0
- data/spec/operawatir/fixtures/keys.html +40 -0
- data/spec/operawatir/fixtures/label_submit.html +5 -0
- data/spec/operawatir/fixtures/mouse.html +59 -0
- data/spec/operawatir/fixtures/simple.html +10 -0
- data/spec/operawatir/matchers.rb +20 -19
- data/spec/operawatir/watirspec_desktophelper.rb +51 -3
- data/spec/operawatir/watirspec_helper.rb +0 -2
- metadata +91 -220
- data/lib/operadriver/client-combined-nodeps.jar +0 -0
- data/lib/operadriver/webdriver-opera.jar +0 -0
- data/spec/watir3/browser_spec.rb +0 -190
- data/spec/watir3/clipboard_spec.rb +0 -64
- data/spec/watir3/collection_spec.rb +0 -387
- data/spec/watir3/element_spec.rb +0 -474
- data/spec/watir3/guards.rb +0 -39
- data/spec/watir3/keys_spec.rb +0 -204
- data/spec/watir3/server.rb +0 -91
- data/spec/watir3/watirspec_helper.rb +0 -62
- data/spec/watir3/window_spec.rb +0 -295
@@ -6,7 +6,7 @@ module OperaWatir
|
|
6
6
|
# @private
|
7
7
|
def initialize(container, method, selector=nil)
|
8
8
|
@container = container
|
9
|
-
|
9
|
+
|
10
10
|
if method.is_a? Java::ComOperaCoreSystems::QuickWindow
|
11
11
|
@elm = method
|
12
12
|
else
|
@@ -18,7 +18,7 @@ module OperaWatir
|
|
18
18
|
######################################################################
|
19
19
|
# Checks whether a window exists or not
|
20
20
|
#
|
21
|
-
# @return [Boolean] true if the
|
21
|
+
# @return [Boolean] true if the window exists otherwise false
|
22
22
|
#
|
23
23
|
def exist?
|
24
24
|
!!element
|
@@ -26,90 +26,98 @@ module OperaWatir
|
|
26
26
|
false
|
27
27
|
end
|
28
28
|
alias_method :exists?, :exist?
|
29
|
-
|
29
|
+
|
30
|
+
######################################################################
|
31
|
+
#
|
32
|
+
# @return [Boolean] true if window is active
|
33
|
+
#
|
34
|
+
def active?
|
35
|
+
element.isActive()
|
36
|
+
end
|
37
|
+
|
30
38
|
######################################################################
|
31
39
|
# Gets the type of a window
|
32
40
|
#
|
33
|
-
# @return [Symbol] type of the window
|
41
|
+
# @return [Symbol] type of the window
|
34
42
|
#
|
35
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
43
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
36
44
|
# using the specified method
|
37
45
|
def type
|
38
46
|
return WINDOW_ENUM_MAP.invert[@elm.getType] unless @elm == nil
|
39
|
-
return WINDOW_ENUM_MAP.invert[element.getType]
|
47
|
+
return WINDOW_ENUM_MAP.invert[element.getType]
|
40
48
|
end
|
41
|
-
|
49
|
+
|
42
50
|
######################################################################
|
43
51
|
# Gets the name of the window
|
44
52
|
#
|
45
|
-
# @return [String] name of the
|
53
|
+
# @return [String] name of the window
|
46
54
|
#
|
47
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
55
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
48
56
|
# using the specified method
|
49
57
|
def name
|
50
58
|
element.getName
|
51
59
|
end
|
52
|
-
|
60
|
+
|
53
61
|
######################################################################
|
54
62
|
# Gets the title of the window
|
55
63
|
#
|
56
64
|
# @return [String] title of window
|
57
65
|
#
|
58
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
66
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
59
67
|
# using the specified method
|
60
68
|
def title
|
61
69
|
element.getTitle
|
62
70
|
end
|
63
|
-
|
64
|
-
|
71
|
+
|
72
|
+
|
65
73
|
######################################################################
|
66
74
|
# Gets a string representation of the window
|
67
75
|
#
|
68
|
-
# @return [String] representation of the
|
76
|
+
# @return [String] representation of the window
|
69
77
|
#
|
70
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
78
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
71
79
|
# using the specified method
|
72
80
|
def to_s
|
73
|
-
"#{type} #{name}, title=#{title}, id=#{id}, on_screen=#{on_screen?}"
|
81
|
+
"#{type} #{name}, title=#{title}, id=#{id}, on_screen=#{on_screen?}, active=#{active?}"
|
74
82
|
end
|
75
|
-
|
83
|
+
|
76
84
|
######################################################################
|
77
85
|
#
|
78
86
|
# @return [bool] true if window is on screen
|
79
87
|
#
|
80
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
81
|
-
#
|
88
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
89
|
+
#
|
82
90
|
def on_screen?
|
83
91
|
element.isOnScreen
|
84
92
|
end
|
85
|
-
|
93
|
+
|
86
94
|
######################################################################
|
87
95
|
# Gets this windows window id
|
88
96
|
#
|
89
97
|
# @return [int] the windows window_id
|
90
98
|
#
|
91
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
92
|
-
#
|
99
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
100
|
+
#
|
93
101
|
def window_id
|
94
102
|
element.getWindowID
|
95
103
|
end
|
96
|
-
|
104
|
+
|
97
105
|
alias_method :id, :window_id
|
98
|
-
|
106
|
+
|
99
107
|
######################################################################
|
100
108
|
# Prints out all of the internal information about the window. Used
|
101
109
|
# to discover the names of widgets and windows to use in the tests.
|
102
110
|
#
|
103
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
104
|
-
#
|
111
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
112
|
+
#
|
105
113
|
#@private
|
106
114
|
def print_window_info
|
107
115
|
puts window_info_string
|
108
116
|
end
|
109
|
-
|
117
|
+
|
110
118
|
########################################################################
|
111
119
|
#
|
112
|
-
# @return width of
|
120
|
+
# @return width of window
|
113
121
|
#
|
114
122
|
def width
|
115
123
|
element.getRect().width
|
@@ -117,7 +125,7 @@ module OperaWatir
|
|
117
125
|
|
118
126
|
########################################################################
|
119
127
|
#
|
120
|
-
# @return height of
|
128
|
+
# @return height of window
|
121
129
|
#
|
122
130
|
def height
|
123
131
|
element.getRect().height
|
@@ -132,16 +140,17 @@ module OperaWatir
|
|
132
140
|
def y
|
133
141
|
element.getRect().y
|
134
142
|
end
|
135
|
-
|
143
|
+
|
136
144
|
######################################################################
|
137
145
|
# Returns a string of the internal information about the window. Used
|
138
146
|
# to discover the names of widgets and windows to use in the tests.
|
139
147
|
#
|
140
|
-
# @raise [Exceptions::UnknownObjectException] if the
|
141
|
-
#
|
148
|
+
# @raise [Exceptions::UnknownObjectException] if the window could not be found
|
149
|
+
#
|
142
150
|
def window_info_string
|
143
151
|
" Name: " + name +
|
144
152
|
"\n Title: " + title +
|
153
|
+
"\n Active: " + active?.to_s +
|
145
154
|
"\n ID: " + id.to_s +
|
146
155
|
"\n Type: " + type.to_s +
|
147
156
|
"\nOnScreen: " + on_screen?.to_s +
|
@@ -149,11 +158,28 @@ module OperaWatir
|
|
149
158
|
"\n Size: width=" + element.getRect().width.to_s + ", height=" + element.getRect().height.to_s + "\n"
|
150
159
|
end
|
151
160
|
|
152
|
-
# @private
|
161
|
+
# @private
|
153
162
|
def driver
|
154
163
|
@container.driver
|
155
164
|
end
|
156
165
|
|
166
|
+
#TODO: common with widget
|
167
|
+
##################################################################
|
168
|
+
#
|
169
|
+
# quick_widgets
|
170
|
+
#
|
171
|
+
# @example
|
172
|
+
# browser.quick_window(:name, "Document Window").quick_widgets
|
173
|
+
# @note
|
174
|
+
# You can also retrieve only widgets of a given type, using for example
|
175
|
+
# browser.quick_window(:name, "Document Window").quick_toolbars
|
176
|
+
#
|
177
|
+
# @return array of widgets in this window
|
178
|
+
#
|
179
|
+
def quick_widgets
|
180
|
+
widgets(window_id)
|
181
|
+
end
|
182
|
+
|
157
183
|
private
|
158
184
|
|
159
185
|
# Gets the parent widget name of which there is none here
|
@@ -166,12 +192,12 @@ private
|
|
166
192
|
if (@elm == nil || refresh == true)
|
167
193
|
@elm = find
|
168
194
|
end
|
169
|
-
|
170
|
-
raise(Exceptions::UnknownObjectException, "Window #{@selector} not found using #{@method}") unless @elm
|
195
|
+
|
196
|
+
raise(Exceptions::UnknownObjectException, "Window #{@selector} not found using #{@method}") unless @elm
|
171
197
|
@elm
|
172
198
|
end
|
173
|
-
|
174
|
-
# Finds the element on the page.
|
199
|
+
|
200
|
+
# Finds the element on the page.
|
175
201
|
def find
|
176
202
|
#puts "<find> Find Window by " + @method.to_s + ", selector = " + @selector.to_s
|
177
203
|
case @method
|
@@ -188,7 +214,7 @@ private
|
|
188
214
|
when :id
|
189
215
|
@element = driver.findWindowById(@selector)
|
190
216
|
end
|
191
|
-
raise(Exceptions::UnknownObjectException, "Window #{@selector} not found using #{@method}") unless @element
|
217
|
+
raise(Exceptions::UnknownObjectException, "Window #{@selector} not found using #{@method}") unless @element
|
192
218
|
@element
|
193
219
|
end
|
194
220
|
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
class OperaWatir::Utils
|
2
|
+
|
3
|
+
def initialize(browser)
|
4
|
+
@utils = browser.driver.utils
|
5
|
+
end
|
6
|
+
|
7
|
+
def core_version
|
8
|
+
@utils.getCoreVersion
|
9
|
+
end
|
10
|
+
|
11
|
+
def os
|
12
|
+
@utils.getOS
|
13
|
+
end
|
14
|
+
|
15
|
+
def product
|
16
|
+
@utils.getProduct
|
17
|
+
end
|
18
|
+
|
19
|
+
def binary_path
|
20
|
+
@utils.getBinaryPath
|
21
|
+
end
|
22
|
+
|
23
|
+
def user_agent
|
24
|
+
@utils.getUserAgent
|
25
|
+
end
|
26
|
+
|
27
|
+
def pid
|
28
|
+
@utils.getPID
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
data/lib/operawatir/window.rb
CHANGED
@@ -122,7 +122,7 @@ class OperaWatir::Window
|
|
122
122
|
# Creates a Screenshot interface or saves screenshot to specified
|
123
123
|
# location if a file path is given.
|
124
124
|
#
|
125
|
-
# @param [String] file_name The absolute path to the location where
|
125
|
+
# @param [String] file_name The absolute path to the location where
|
126
126
|
# you want the screenshot saved.
|
127
127
|
#
|
128
128
|
# @return [Object] A Screenshot object.
|
data/operawatir.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{operawatir}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.5"
|
9
9
|
s.platform = %q{jruby}
|
10
10
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Andreas Tolf Tolfsen", "Chris Lloyd", "Stuart Knightley", "Deniz Turkoglu"]
|
13
|
-
s.date = %q{2011-
|
13
|
+
s.date = %q{2011-09-12}
|
14
14
|
s.description = %q{ OperaWatir is a part of the Watir (pronounced water) family of
|
15
15
|
free software Ruby libraries for automating web browsers.
|
16
16
|
OperaWatir provides a querying engine and Ruby bindings for a
|
@@ -37,13 +37,16 @@ Gem::Specification.new do |s|
|
|
37
37
|
"bin/operawatir",
|
38
38
|
"lib/operadriver/APACHE_2.0_LICENSE.txt",
|
39
39
|
"lib/operadriver/NEW_BSD_LICENSE.txt",
|
40
|
-
"lib/operadriver/client-combined-nodeps.jar",
|
41
40
|
"lib/operadriver/commons-io-2.0.1.jar",
|
42
41
|
"lib/operadriver/commons-jxpath-1.3.jar",
|
42
|
+
"lib/operadriver/guava-r09.jar",
|
43
|
+
"lib/operadriver/operadriver-v0.7.2.jar",
|
43
44
|
"lib/operadriver/protobuf-java-2.3.0.jar",
|
44
|
-
"lib/operadriver/
|
45
|
+
"lib/operadriver/selenium-nodeps-20100909.jar",
|
45
46
|
"lib/operawatir.rb",
|
47
|
+
"lib/operawatir/actions.rb",
|
46
48
|
"lib/operawatir/browser.rb",
|
49
|
+
"lib/operawatir/clickable_item.rb",
|
47
50
|
"lib/operawatir/collection.rb",
|
48
51
|
"lib/operawatir/compat.rb",
|
49
52
|
"lib/operawatir/compat/browser.rb",
|
@@ -71,11 +74,14 @@ Gem::Specification.new do |s|
|
|
71
74
|
"lib/operawatir/quickwidgets/quick_checkbox.rb",
|
72
75
|
"lib/operawatir/quickwidgets/quick_dialogtab.rb",
|
73
76
|
"lib/operawatir/quickwidgets/quick_dropdown.rb",
|
77
|
+
"lib/operawatir/quickwidgets/quick_dropdownitem.rb",
|
74
78
|
"lib/operawatir/quickwidgets/quick_editfield.rb",
|
75
79
|
"lib/operawatir/quickwidgets/quick_find.rb",
|
76
80
|
"lib/operawatir/quickwidgets/quick_griditem.rb",
|
77
81
|
"lib/operawatir/quickwidgets/quick_gridlayout.rb",
|
78
82
|
"lib/operawatir/quickwidgets/quick_label.rb",
|
83
|
+
"lib/operawatir/quickwidgets/quick_menu.rb",
|
84
|
+
"lib/operawatir/quickwidgets/quick_menuitem.rb",
|
79
85
|
"lib/operawatir/quickwidgets/quick_radiobutton.rb",
|
80
86
|
"lib/operawatir/quickwidgets/quick_searchfield.rb",
|
81
87
|
"lib/operawatir/quickwidgets/quick_tab.rb",
|
@@ -88,6 +94,7 @@ Gem::Specification.new do |s|
|
|
88
94
|
"lib/operawatir/screenshot.rb",
|
89
95
|
"lib/operawatir/selector.rb",
|
90
96
|
"lib/operawatir/spatnav.rb",
|
97
|
+
"lib/operawatir/utils.rb",
|
91
98
|
"lib/operawatir/version.rb",
|
92
99
|
"lib/operawatir/window.rb",
|
93
100
|
"operawatir.gemspec",
|
@@ -104,11 +111,14 @@ Gem::Specification.new do |s|
|
|
104
111
|
"spec/fire_event/interactive/onMouseUp.html",
|
105
112
|
"spec/fire_event/interactive/onScroll.html",
|
106
113
|
"spec/operawatir/README.md",
|
114
|
+
"spec/operawatir/core/actions_spec.rb",
|
107
115
|
"spec/operawatir/core/browser_spec.rb",
|
108
116
|
"spec/operawatir/core/element_spec.rb",
|
117
|
+
"spec/operawatir/core/keys_spec.rb",
|
109
118
|
"spec/operawatir/core/preferences_spec.rb",
|
110
119
|
"spec/operawatir/core/screenshot_spec.rb",
|
111
120
|
"spec/operawatir/core/spatnav_spec.rb",
|
121
|
+
"spec/operawatir/core/utils_spec.rb",
|
112
122
|
"spec/operawatir/core/window_spec.rb",
|
113
123
|
"spec/operawatir/desktop/desktopbrowser_spec.rb",
|
114
124
|
"spec/operawatir/desktop/quickaddressfield_spec.rb",
|
@@ -121,6 +131,8 @@ Gem::Specification.new do |s|
|
|
121
131
|
"spec/operawatir/desktop/quickgriditem_spec.rb",
|
122
132
|
"spec/operawatir/desktop/quickgridlayout_spec.rb",
|
123
133
|
"spec/operawatir/desktop/quicklabel_spec.rb",
|
134
|
+
"spec/operawatir/desktop/quickmenu_spec.rb",
|
135
|
+
"spec/operawatir/desktop/quickmenuitem_spec.rb",
|
124
136
|
"spec/operawatir/desktop/quickradiobutton_spec.rb",
|
125
137
|
"spec/operawatir/desktop/quicksearchfield_spec.rb",
|
126
138
|
"spec/operawatir/desktop/quicktab_spec.rb",
|
@@ -132,11 +144,19 @@ Gem::Specification.new do |s|
|
|
132
144
|
"spec/operawatir/desktop/shared/shared.rb",
|
133
145
|
"spec/operawatir/fixtures/boxes.html",
|
134
146
|
"spec/operawatir/fixtures/browsers.svg",
|
147
|
+
"spec/operawatir/fixtures/draggableLists.html",
|
148
|
+
"spec/operawatir/fixtures/formSelectionPage.html",
|
135
149
|
"spec/operawatir/fixtures/frames.html",
|
136
150
|
"spec/operawatir/fixtures/grid.html",
|
137
151
|
"spec/operawatir/fixtures/input_fields_value.html",
|
152
|
+
"spec/operawatir/fixtures/js/jquery-1.4.4.min.js",
|
153
|
+
"spec/operawatir/fixtures/js/jquery-ui-1.8.10.custom.min.js",
|
154
|
+
"spec/operawatir/fixtures/keys.html",
|
155
|
+
"spec/operawatir/fixtures/label_submit.html",
|
156
|
+
"spec/operawatir/fixtures/mouse.html",
|
138
157
|
"spec/operawatir/fixtures/onclick.html",
|
139
158
|
"spec/operawatir/fixtures/paragraphs.html",
|
159
|
+
"spec/operawatir/fixtures/simple.html",
|
140
160
|
"spec/operawatir/fixtures/two_input_fields.html",
|
141
161
|
"spec/operawatir/guards.rb",
|
142
162
|
"spec/operawatir/matchers.rb",
|
@@ -273,136 +293,10 @@ Gem::Specification.new do |s|
|
|
273
293
|
s.homepage = %q{http://www.opera.com/developer/tools/operawatir/}
|
274
294
|
s.require_paths = ["lib"]
|
275
295
|
s.rubyforge_project = %q{operawatir}
|
276
|
-
s.rubygems_version = %q{1.
|
296
|
+
s.rubygems_version = %q{1.5.1}
|
277
297
|
s.summary = %q{Toolkit for automating interactions with the Opera web browser.}
|
278
|
-
s.test_files = [
|
279
|
-
"spec/fire_event/fire_event.rb",
|
280
|
-
"spec/operawatir/core/browser_spec.rb",
|
281
|
-
"spec/operawatir/core/element_spec.rb",
|
282
|
-
"spec/operawatir/core/keys_spec.rb",
|
283
|
-
"spec/operawatir/core/preferences_spec.rb",
|
284
|
-
"spec/operawatir/core/screenshot_spec.rb",
|
285
|
-
"spec/operawatir/core/spatnav_spec.rb",
|
286
|
-
"spec/operawatir/core/window_spec.rb",
|
287
|
-
"spec/operawatir/desktop/desktopbrowser_spec.rb",
|
288
|
-
"spec/operawatir/desktop/quickaddressfield_spec.rb",
|
289
|
-
"spec/operawatir/desktop/quickbutton_spec.rb",
|
290
|
-
"spec/operawatir/desktop/quickcheckbox_spec.rb",
|
291
|
-
"spec/operawatir/desktop/quickdialogtab_spec.rb",
|
292
|
-
"spec/operawatir/desktop/quickdropdown_spec.rb",
|
293
|
-
"spec/operawatir/desktop/quickeditfield_spec.rb",
|
294
|
-
"spec/operawatir/desktop/quickfind_spec.rb",
|
295
|
-
"spec/operawatir/desktop/quickgriditem_spec.rb",
|
296
|
-
"spec/operawatir/desktop/quickgridlayout_spec.rb",
|
297
|
-
"spec/operawatir/desktop/quicklabel_spec.rb",
|
298
|
-
"spec/operawatir/desktop/quickradiobutton_spec.rb",
|
299
|
-
"spec/operawatir/desktop/quicksearchfield_spec.rb",
|
300
|
-
"spec/operawatir/desktop/quicktab_spec.rb",
|
301
|
-
"spec/operawatir/desktop/quickthumbnail_spec.rb",
|
302
|
-
"spec/operawatir/desktop/quicktreeitem_spec.rb",
|
303
|
-
"spec/operawatir/desktop/quicktreeview_spec.rb",
|
304
|
-
"spec/operawatir/desktop/quickwidget_spec.rb",
|
305
|
-
"spec/operawatir/desktop/quickwindow_spec.rb",
|
306
|
-
"spec/operawatir/desktop/shared/shared.rb",
|
307
|
-
"spec/operawatir/guards.rb",
|
308
|
-
"spec/operawatir/matchers.rb",
|
309
|
-
"spec/operawatir/server.rb",
|
310
|
-
"spec/operawatir/watirspec_desktophelper.rb",
|
311
|
-
"spec/operawatir/watirspec_helper.rb",
|
312
|
-
"spec/watir2/area_spec.rb",
|
313
|
-
"spec/watir2/areas_spec.rb",
|
314
|
-
"spec/watir2/browser_spec.rb",
|
315
|
-
"spec/watir2/button_spec.rb",
|
316
|
-
"spec/watir2/buttons_spec.rb",
|
317
|
-
"spec/watir2/checkbox_spec.rb",
|
318
|
-
"spec/watir2/checkboxes_spec.rb",
|
319
|
-
"spec/watir2/collections_spec.rb",
|
320
|
-
"spec/watir2/dd_spec.rb",
|
321
|
-
"spec/watir2/dds_spec.rb",
|
322
|
-
"spec/watir2/del_spec.rb",
|
323
|
-
"spec/watir2/dels_spec.rb",
|
324
|
-
"spec/watir2/div_spec.rb",
|
325
|
-
"spec/watir2/divs_spec.rb",
|
326
|
-
"spec/watir2/dl_spec.rb",
|
327
|
-
"spec/watir2/dls_spec.rb",
|
328
|
-
"spec/watir2/dt_spec.rb",
|
329
|
-
"spec/watir2/dts_spec.rb",
|
330
|
-
"spec/watir2/element_spec.rb",
|
331
|
-
"spec/watir2/em_spec.rb",
|
332
|
-
"spec/watir2/ems_spec.rb",
|
333
|
-
"spec/watir2/filefield_spec.rb",
|
334
|
-
"spec/watir2/filefields_spec.rb",
|
335
|
-
"spec/watir2/form_spec.rb",
|
336
|
-
"spec/watir2/forms_spec.rb",
|
337
|
-
"spec/watir2/frame_spec.rb",
|
338
|
-
"spec/watir2/frames_spec.rb",
|
339
|
-
"spec/watir2/guards.rb",
|
340
|
-
"spec/watir2/hidden_spec.rb",
|
341
|
-
"spec/watir2/hiddens_spec.rb",
|
342
|
-
"spec/watir2/hn_spec.rb",
|
343
|
-
"spec/watir2/hns_spec.rb",
|
344
|
-
"spec/watir2/image_spec.rb",
|
345
|
-
"spec/watir2/images_spec.rb",
|
346
|
-
"spec/watir2/ins_spec.rb",
|
347
|
-
"spec/watir2/inses_spec.rb",
|
348
|
-
"spec/watir2/label_spec.rb",
|
349
|
-
"spec/watir2/labels_spec.rb",
|
350
|
-
"spec/watir2/li_spec.rb",
|
351
|
-
"spec/watir2/link_spec.rb",
|
352
|
-
"spec/watir2/links_spec.rb",
|
353
|
-
"spec/watir2/lis_spec.rb",
|
354
|
-
"spec/watir2/map_spec.rb",
|
355
|
-
"spec/watir2/maps_spec.rb",
|
356
|
-
"spec/watir2/meta_spec.rb",
|
357
|
-
"spec/watir2/metas_spec.rb",
|
358
|
-
"spec/watir2/ol_spec.rb",
|
359
|
-
"spec/watir2/ols_spec.rb",
|
360
|
-
"spec/watir2/option_spec.rb",
|
361
|
-
"spec/watir2/p_spec.rb",
|
362
|
-
"spec/watir2/pre_spec.rb",
|
363
|
-
"spec/watir2/pres_spec.rb",
|
364
|
-
"spec/watir2/ps_spec.rb",
|
365
|
-
"spec/watir2/radio_spec.rb",
|
366
|
-
"spec/watir2/radios_spec.rb",
|
367
|
-
"spec/watir2/select_list_spec.rb",
|
368
|
-
"spec/watir2/select_lists_spec.rb",
|
369
|
-
"spec/watir2/server.rb",
|
370
|
-
"spec/watir2/span_spec.rb",
|
371
|
-
"spec/watir2/spans_spec.rb",
|
372
|
-
"spec/watir2/spec_helper.rb",
|
373
|
-
"spec/watir2/strong_spec.rb",
|
374
|
-
"spec/watir2/strongs_spec.rb",
|
375
|
-
"spec/watir2/table_bodies_spec.rb",
|
376
|
-
"spec/watir2/table_body_spec.rb",
|
377
|
-
"spec/watir2/table_cell_spec.rb",
|
378
|
-
"spec/watir2/table_cells_spec.rb",
|
379
|
-
"spec/watir2/table_footer_spec.rb",
|
380
|
-
"spec/watir2/table_footers_spec.rb",
|
381
|
-
"spec/watir2/table_header_spec.rb",
|
382
|
-
"spec/watir2/table_headers_spec.rb",
|
383
|
-
"spec/watir2/table_row_spec.rb",
|
384
|
-
"spec/watir2/table_rows_spec.rb",
|
385
|
-
"spec/watir2/table_spec.rb",
|
386
|
-
"spec/watir2/tables_spec.rb",
|
387
|
-
"spec/watir2/text_field_spec.rb",
|
388
|
-
"spec/watir2/text_fields_spec.rb",
|
389
|
-
"spec/watir2/ul_spec.rb",
|
390
|
-
"spec/watir2/uls_spec.rb",
|
391
|
-
"spec/watir2/watir_compatibility_spec.rb",
|
392
|
-
"spec/watir2/watirspec_helper.rb",
|
393
|
-
"spec/watir3/browser_spec.rb",
|
394
|
-
"spec/watir3/clipboard_spec.rb",
|
395
|
-
"spec/watir3/collection_spec.rb",
|
396
|
-
"spec/watir3/element_spec.rb",
|
397
|
-
"spec/watir3/guards.rb",
|
398
|
-
"spec/watir3/keys_spec.rb",
|
399
|
-
"spec/watir3/server.rb",
|
400
|
-
"spec/watir3/watirspec_helper.rb",
|
401
|
-
"spec/watir3/window_spec.rb"
|
402
|
-
]
|
403
298
|
|
404
299
|
if s.respond_to? :specification_version then
|
405
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
406
300
|
s.specification_version = 3
|
407
301
|
|
408
302
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -414,6 +308,10 @@ Gem::Specification.new do |s|
|
|
414
308
|
s.add_development_dependency(%q<sinatra>, [">= 1.1"])
|
415
309
|
s.add_development_dependency(%q<rr>, [">= 0"])
|
416
310
|
s.add_development_dependency(%q<clipboard>, [">= 0"])
|
311
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
312
|
+
s.add_development_dependency(%q<ci_reporter>, [">= 0"])
|
313
|
+
s.add_development_dependency(%q<deprecated>, [">= 0"])
|
314
|
+
s.add_development_dependency(%q<builder>, [">= 0"])
|
417
315
|
s.add_runtime_dependency(%q<rspec>, ["~> 2.6.0"])
|
418
316
|
s.add_runtime_dependency(%q<deprecated>, [">= 0"])
|
419
317
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
@@ -434,6 +332,10 @@ Gem::Specification.new do |s|
|
|
434
332
|
s.add_dependency(%q<rr>, [">= 0"])
|
435
333
|
s.add_dependency(%q<clipboard>, [">= 0"])
|
436
334
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
335
|
+
s.add_dependency(%q<ci_reporter>, [">= 0"])
|
336
|
+
s.add_dependency(%q<deprecated>, [">= 0"])
|
337
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
338
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
437
339
|
s.add_dependency(%q<deprecated>, [">= 0"])
|
438
340
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
439
341
|
s.add_dependency(%q<rake>, [">= 0"])
|
@@ -454,6 +356,10 @@ Gem::Specification.new do |s|
|
|
454
356
|
s.add_dependency(%q<rr>, [">= 0"])
|
455
357
|
s.add_dependency(%q<clipboard>, [">= 0"])
|
456
358
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
359
|
+
s.add_dependency(%q<ci_reporter>, [">= 0"])
|
360
|
+
s.add_dependency(%q<deprecated>, [">= 0"])
|
361
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
362
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
457
363
|
s.add_dependency(%q<deprecated>, [">= 0"])
|
458
364
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
459
365
|
s.add_dependency(%q<rake>, [">= 0"])
|