celerity 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +14 -0
- data/Manifest.txt +127 -151
- data/README.txt +15 -20
- data/lib/celerity.rb +13 -5
- data/lib/celerity/browser.rb +296 -0
- data/lib/celerity/clickable_element.rb +1 -0
- data/lib/celerity/collections.rb +4 -0
- data/lib/celerity/container.rb +69 -2
- data/lib/celerity/disabled_element.rb +1 -0
- data/lib/celerity/element.rb +103 -38
- data/lib/celerity/element_collections.rb +14 -8
- data/lib/celerity/element_locator.rb +61 -50
- data/lib/celerity/element_map.rb +51 -0
- data/lib/celerity/elements/button.rb +1 -0
- data/lib/celerity/elements/file_field.rb +3 -2
- data/lib/celerity/elements/form.rb +1 -0
- data/lib/celerity/elements/frame.rb +16 -1
- data/lib/celerity/elements/image.rb +15 -13
- data/lib/celerity/elements/link.rb +4 -1
- data/lib/celerity/elements/option.rb +1 -0
- data/lib/celerity/elements/radio_check.rb +19 -7
- data/lib/celerity/elements/select_list.rb +17 -2
- data/lib/celerity/elements/table.rb +34 -20
- data/lib/celerity/elements/table_body.rb +2 -2
- data/lib/celerity/elements/table_cell.rb +3 -1
- data/lib/celerity/elements/table_footer.rb +2 -2
- data/lib/celerity/elements/table_header.rb +2 -2
- data/lib/celerity/elements/table_row.rb +4 -2
- data/lib/celerity/elements/text_field.rb +20 -9
- data/lib/celerity/exception.rb +11 -18
- data/lib/celerity/extra/method_generator.rb +13 -8
- data/lib/celerity/htmlunit/download.sh +23 -0
- data/lib/celerity/htmlunit/htmlunit-2.2.jar +0 -0
- data/lib/celerity/htmlunit/htmlunit-core-js-2.2.jar +0 -0
- data/lib/celerity/htmlunit/{nekohtml-1.9.7.jar → nekohtml-1.9.8.jar} +0 -0
- data/lib/celerity/input_element.rb +1 -1
- data/lib/celerity/version.rb +1 -1
- data/lib/celerity/watir_compatibility.rb +37 -23
- data/spec/area_spec.rb +19 -4
- data/spec/areas_spec.rb +2 -3
- data/spec/{ie_spec.rb → browser_spec.rb} +66 -15
- data/spec/button_spec.rb +36 -3
- data/spec/buttons_spec.rb +2 -3
- data/spec/checkbox_spec.rb +43 -8
- data/spec/checkboxes_spec.rb +2 -3
- data/spec/div_spec.rb +31 -4
- data/spec/divs_spec.rb +2 -3
- data/spec/element_spec.rb +36 -6
- data/spec/filefield_spec.rb +28 -13
- data/spec/filefields_spec.rb +2 -3
- data/spec/form_spec.rb +6 -3
- data/spec/forms_spec.rb +2 -3
- data/spec/frame_spec.rb +14 -5
- data/spec/frames_spec.rb +71 -0
- data/spec/hidden_spec.rb +21 -3
- data/spec/hiddens_spec.rb +2 -3
- data/spec/hn_spec.rb +30 -12
- data/spec/hns_spec.rb +14 -10
- data/spec/html/form_js_bug.html +11 -0
- data/spec/html/forms_with_input_elements.html +2 -1
- data/spec/html/invalid_js.html +11 -0
- data/spec/html/latin1_text.html +1 -0
- data/spec/html/non_control_elements.html +8 -4
- data/spec/html/simple_ajax.html +22 -0
- data/spec/htmlunit_spec.rb +4 -5
- data/spec/image_spec.rb +33 -3
- data/spec/images_spec.rb +2 -3
- data/spec/label_spec.rb +16 -3
- data/spec/labels_spec.rb +2 -3
- data/spec/li_spec.rb +25 -3
- data/spec/link_spec.rb +35 -3
- data/spec/links_spec.rb +2 -3
- data/spec/lis_spec.rb +2 -3
- data/spec/map_spec.rb +19 -3
- data/spec/maps_spec.rb +2 -3
- data/spec/meta_spec.rb +3 -1
- data/spec/ol_spec.rb +17 -3
- data/spec/ols_spec.rb +2 -3
- data/spec/option_spec.rb +28 -3
- data/spec/p_spec.rb +30 -2
- data/spec/pre_spec.rb +25 -3
- data/spec/pres_spec.rb +2 -3
- data/spec/ps_spec.rb +2 -3
- data/spec/radio_spec.rb +47 -3
- data/spec/radios_spec.rb +2 -3
- data/spec/select_list_spec.rb +42 -3
- data/spec/select_lists_spec.rb +2 -3
- data/spec/span_spec.rb +32 -7
- data/spec/spans_spec.rb +2 -4
- data/spec/spec_helper.rb +5 -25
- data/spec/table_bodies_spec.rb +7 -5
- data/spec/table_body_spec.rb +11 -4
- data/spec/table_cell_spec.rb +15 -4
- data/spec/table_cells_spec.rb +3 -4
- data/spec/table_footer_spec.rb +11 -4
- data/spec/table_footers_spec.rb +7 -5
- data/spec/table_header_spec.rb +11 -4
- data/spec/table_headers_spec.rb +7 -5
- data/spec/table_row_spec.rb +31 -7
- data/spec/table_rows_spec.rb +5 -4
- data/spec/table_spec.rb +36 -7
- data/spec/tables_spec.rb +2 -3
- data/spec/text_field_spec.rb +51 -13
- data/spec/text_fields_spec.rb +2 -3
- data/spec/ul_spec.rb +18 -3
- data/spec/uls_spec.rb +2 -3
- data/spec/{watir_compatability_spec.rb → watir_compatibility_spec.rb} +42 -35
- data/support/spec_server.rb +9 -0
- metadata +167 -161
- metadata.gz.sig +0 -0
- data/benchmark/bm_2000_spans.rb +0 -48
- data/benchmark/bm_digg.rb +0 -26
- data/benchmark/bm_google_images.rb +0 -36
- data/benchmark/bm_input_locator.rb +0 -69
- data/benchmark/loader.rb +0 -9
- data/config/hoe.rb +0 -68
- data/config/requirements.rb +0 -15
- data/lib/celerity/htmlunit/htmlunit-2.2-SNAPSHOT.jar +0 -0
- data/lib/celerity/htmlunit/js-1.7R1.jar +0 -0
- data/lib/celerity/ie.rb +0 -195
- data/setup.rb +0 -1583
- data/support/celerity_viewer/rubycocoa/CelerityViewer.icns +0 -0
- data/support/celerity_viewer/rubycocoa/English.lproj/Main.nib/classes.nib +0 -37
- data/support/celerity_viewer/rubycocoa/English.lproj/Main.nib/info.nib +0 -19
- data/support/celerity_viewer/rubycocoa/English.lproj/Main.nib/keyedobjects.nib +0 -0
- data/support/celerity_viewer/rubycocoa/Info.plist.erb +0 -28
- data/support/celerity_viewer/rubycocoa/MainController.rb +0 -23
- data/support/celerity_viewer/rubycocoa/README +0 -94
- data/support/celerity_viewer/rubycocoa/Rakefile +0 -100
- data/support/celerity_viewer/rubycocoa/distributed_viewer.rb +0 -86
- data/support/celerity_viewer/rubycocoa/main.m +0 -7
- data/support/celerity_viewer/rubycocoa/main.rb +0 -27
- data/tasks/benchmark.rake +0 -4
- data/tasks/environment.rake +0 -7
- data/tasks/simple_ci.rake +0 -94
data/spec/uls_spec.rb
CHANGED
@@ -1,54 +1,65 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper.rb'
|
2
2
|
|
3
|
-
describe IE do
|
3
|
+
describe "IE" do
|
4
4
|
|
5
5
|
before :each do
|
6
|
-
@browser =
|
7
|
-
add_spec_checker(@browser)
|
6
|
+
@browser = Browser.new
|
8
7
|
end
|
9
8
|
|
10
9
|
# Class methods
|
11
10
|
it "should respond to .speed" do
|
12
|
-
|
11
|
+
Browser.should respond_to("speed")
|
13
12
|
end
|
13
|
+
|
14
14
|
it "should respond to .speed=" do
|
15
|
-
|
15
|
+
Browser.should respond_to("speed=")
|
16
16
|
end
|
17
|
+
|
17
18
|
it "should respond to .set_fast_speed" do
|
18
|
-
|
19
|
+
Browser.should respond_to("set_fast_speed")
|
19
20
|
end
|
21
|
+
|
20
22
|
it "should respond to .set_slow_speed" do
|
21
|
-
|
23
|
+
Browser.should respond_to("set_slow_speed")
|
22
24
|
end
|
25
|
+
|
23
26
|
it "should respond to .attach_timeout" do
|
24
|
-
|
27
|
+
Browser.should respond_to("attach_timeout")
|
25
28
|
end
|
29
|
+
|
26
30
|
it "should respond to .attach_timeout=" do
|
27
|
-
|
31
|
+
Browser.should respond_to("attach_timeout=")
|
28
32
|
end
|
33
|
+
|
29
34
|
it "should respond to .reset_attach_timeout" do
|
30
|
-
|
35
|
+
Browser.should respond_to("reset_attach_timeout")
|
31
36
|
end
|
37
|
+
|
32
38
|
it "should respond to .visible" do
|
33
|
-
|
39
|
+
Browser.should respond_to("visible")
|
34
40
|
end
|
41
|
+
|
35
42
|
it "should respond to .each" do
|
36
|
-
|
43
|
+
Browser.should respond_to("each")
|
37
44
|
end
|
45
|
+
|
38
46
|
it "should respond to .quit" do
|
39
|
-
|
47
|
+
Browser.should respond_to("quit")
|
40
48
|
end
|
49
|
+
|
41
50
|
it "should alias .start_window to .start" do
|
42
|
-
|
51
|
+
Browser.should respond_to("start")
|
43
52
|
end
|
44
53
|
|
45
54
|
# Instance methods
|
46
55
|
it "should respond to #visible" do
|
47
56
|
@browser.should respond_to("visible")
|
48
57
|
end
|
58
|
+
|
49
59
|
it "should respond to #visible=" do
|
50
60
|
@browser.should respond_to("visible=")
|
51
61
|
end
|
62
|
+
|
52
63
|
it "should respond to #wait" do
|
53
64
|
@browser.should respond_to("wait")
|
54
65
|
end
|
@@ -61,17 +72,20 @@ describe IE do
|
|
61
72
|
|
62
73
|
describe "#checkBox" do
|
63
74
|
it "should behave like #checkbox" do
|
64
|
-
|
75
|
+
@browser.goto(TEST_HOST + "/forms_with_input_elements.html")
|
76
|
+
@browser.checkbox(:id, "new_user_interests_books").should exist
|
77
|
+
@browser.checkbox(:id, "new_user_interests_cars").should_not be_set
|
78
|
+
@browser.checkbox(:id, "new_user_interests_cars").set
|
79
|
+
@browser.checkbox(:id, "new_user_interests_cars").should be_set
|
65
80
|
end
|
66
81
|
end
|
67
82
|
|
68
83
|
end
|
69
84
|
|
70
|
-
describe Button do
|
85
|
+
describe "Button" do
|
71
86
|
|
72
87
|
before :all do
|
73
|
-
@browser =
|
74
|
-
add_spec_checker(@browser)
|
88
|
+
@browser = Browser.new
|
75
89
|
end
|
76
90
|
|
77
91
|
before :each do
|
@@ -87,11 +101,10 @@ describe Button do
|
|
87
101
|
|
88
102
|
end
|
89
103
|
|
90
|
-
describe Link do
|
104
|
+
describe "Link" do
|
91
105
|
|
92
106
|
before :all do
|
93
|
-
@browser =
|
94
|
-
add_spec_checker(@browser)
|
107
|
+
@browser = Browser.new
|
95
108
|
end
|
96
109
|
|
97
110
|
before :each do
|
@@ -106,13 +119,11 @@ describe Link do
|
|
106
119
|
end
|
107
120
|
|
108
121
|
end
|
109
|
-
|
110
122
|
|
111
|
-
describe Image do
|
123
|
+
describe "Image" do
|
112
124
|
|
113
125
|
before :all do
|
114
|
-
@browser =
|
115
|
-
add_spec_checker(@browser)
|
126
|
+
@browser = Browser.new
|
116
127
|
end
|
117
128
|
|
118
129
|
before :each do
|
@@ -147,11 +158,9 @@ describe Image do
|
|
147
158
|
|
148
159
|
end
|
149
160
|
|
150
|
-
describe RadioCheckCommon do
|
151
|
-
|
161
|
+
describe "RadioCheckCommon" do
|
152
162
|
before :all do
|
153
|
-
@browser =
|
154
|
-
add_spec_checker(@browser)
|
163
|
+
@browser = Browser.new
|
155
164
|
end
|
156
165
|
|
157
166
|
before :each do
|
@@ -184,11 +193,10 @@ describe RadioCheckCommon do
|
|
184
193
|
|
185
194
|
end
|
186
195
|
|
187
|
-
describe SelectList do
|
196
|
+
describe "SelectList" do
|
188
197
|
|
189
198
|
before :all do
|
190
|
-
@browser =
|
191
|
-
add_spec_checker(@browser)
|
199
|
+
@browser = Browser.new
|
192
200
|
end
|
193
201
|
|
194
202
|
before :each do
|
@@ -224,11 +232,10 @@ describe SelectList do
|
|
224
232
|
|
225
233
|
end
|
226
234
|
|
227
|
-
describe TextField do
|
235
|
+
describe "TextField" do
|
228
236
|
|
229
237
|
before :all do
|
230
|
-
@browser =
|
231
|
-
add_spec_checker(@browser)
|
238
|
+
@browser = Browser.new
|
232
239
|
end
|
233
240
|
|
234
241
|
before :each do
|
data/support/spec_server.rb
CHANGED
@@ -17,6 +17,14 @@ module Celerity
|
|
17
17
|
resp.body << "This is text/plain"
|
18
18
|
end
|
19
19
|
end
|
20
|
+
|
21
|
+
class SlowAjaxHandler < WEBrick::HTTPServlet::AbstractServlet
|
22
|
+
def do_GET(req, resp)
|
23
|
+
sleep 10
|
24
|
+
resp['content-type'] = 'text/html'
|
25
|
+
resp.body << "A slooow ajax response"
|
26
|
+
end
|
27
|
+
end
|
20
28
|
|
21
29
|
class SpecServer
|
22
30
|
attr_reader :host, :thread, :log_file
|
@@ -57,6 +65,7 @@ module Celerity
|
|
57
65
|
server.mount("/", WEBrick::HTTPServlet::FileHandler, @doc_root, {:FancyIndexing=>true})
|
58
66
|
server.mount("/post_to_me", PostHandler)
|
59
67
|
server.mount("/plain_text", PlainTextHandler)
|
68
|
+
server.mount("/ajax", SlowAjaxHandler)
|
60
69
|
|
61
70
|
@thread = Thread.new { server.start }
|
62
71
|
end
|
metadata
CHANGED
@@ -1,206 +1,212 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celerity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Jari Bakken
|
7
8
|
- T. Alexander Lystad
|
8
9
|
- Knut Johannes Dahle
|
9
|
-
- Jari Bakken
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
|
-
cert_chain:
|
12
|
+
cert_chain:
|
13
|
+
- |
|
14
|
+
-----BEGIN CERTIFICATE-----
|
15
|
+
MIIDPDCCAiSgAwIBAgIBADANBgkqhkiG9w0BAQUFADBEMRQwEgYDVQQDDAtqYXJp
|
16
|
+
LmJha2tlbjEYMBYGCgmSJomT8ixkARkWCGZpbm50ZWNoMRIwEAYKCZImiZPyLGQB
|
17
|
+
GRYCbm8wHhcNMDgwODE3MjIwNjA5WhcNMDkwODE3MjIwNjA5WjBEMRQwEgYDVQQD
|
18
|
+
DAtqYXJpLmJha2tlbjEYMBYGCgmSJomT8ixkARkWCGZpbm50ZWNoMRIwEAYKCZIm
|
19
|
+
iZPyLGQBGRYCbm8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDUvOwc
|
20
|
+
FlCQByLY3pNlV/SJcEJF5LKKror8oC1bUBKtySld7q1CTIcMm4iKpymcSiyiYheZ
|
21
|
+
iQFPXrm7FpB2cYc+tO+m83YL1wn4eELS8AcVMp0vKEHUs4GA5a9Ryl9qe0Ke7jA2
|
22
|
+
Ipjw4aJhrVms+ySqb9b26TwuzESke30c+O+L7Ko0oGTQcCctWhqYn1hiyDK39Qzy
|
23
|
+
kW2k6lx4ADPKz5JM+2XoU9vFCDVdxThKCMqLu1HQ79DfL9wF4ojiqDKq78fYf/ig
|
24
|
+
EAr7DMH2e50q41qXVglu8vf33Y9pW/SfdlyvvXq4JnkOQwwCs1OuQcgEnN11vyS+
|
25
|
+
chyKwpHg/mEFK+OrAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0G
|
26
|
+
A1UdDgQWBBSP39Jd1XllymdN5J/orNgv5cztkzANBgkqhkiG9w0BAQUFAAOCAQEA
|
27
|
+
cSdruTtmuZO8M3BLmXxGUGsCjmZQufrEOZgoB324A2q4IyRPMMHEUyrskMQmHfVW
|
28
|
+
mPoMLjRI4OM3ZkeUrad+TOhsDbbHBh+YK7uycO33TpJpiwckqLV+fD/SKPBmQ9wc
|
29
|
+
C7IuZwyY/vtqv9B7zhr35j8yw9SdiRTowjQ6/Dk9tjCeEM9HuIL8maQZ2hc1VmzP
|
30
|
+
FywuFukKPVxEs80P9L3Idg1fjYcjfzVF1yA/M2Adz450+HDoTog/gcdlXkbX5JUk
|
31
|
+
EcJoGK83NIPe+jMpvvZG1oeYhQEGGpCumgukULydOvq5zRKwQ2XnOGdfLV2yC19U
|
32
|
+
OPr9SXEzFTX06c9ne4bLSw==
|
33
|
+
-----END CERTIFICATE-----
|
13
34
|
|
14
|
-
date: 2008-
|
35
|
+
date: 2008-08-18 00:00:00 +02:00
|
15
36
|
default_executable:
|
16
|
-
dependencies:
|
17
|
-
|
37
|
+
dependencies:
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: hoe
|
40
|
+
type: :development
|
41
|
+
version_requirement:
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.7.0
|
47
|
+
version:
|
18
48
|
description: Celerity is a JRuby library for easy and fast functional test automation for web applications. It is a wrapper around the HtmlUnit Java library and is currently aimed at providing the same API and functionality as Watir.
|
19
|
-
email:
|
49
|
+
email: jari.bakken@finntech.no
|
20
50
|
executables: []
|
21
51
|
|
22
52
|
extensions: []
|
23
53
|
|
24
54
|
extra_rdoc_files:
|
25
55
|
- History.txt
|
26
|
-
- README.txt
|
27
|
-
- Manifest.txt
|
28
56
|
- License.txt
|
57
|
+
- Manifest.txt
|
58
|
+
- README.txt
|
29
59
|
files:
|
30
60
|
- History.txt
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
34
|
-
-
|
35
|
-
-
|
61
|
+
- License.txt
|
62
|
+
- Manifest.txt
|
63
|
+
- README.txt
|
64
|
+
- Rakefile
|
65
|
+
- lib/celerity.rb
|
66
|
+
- lib/celerity/browser.rb
|
67
|
+
- lib/celerity/clickable_element.rb
|
68
|
+
- lib/celerity/collections.rb
|
69
|
+
- lib/celerity/container.rb
|
70
|
+
- lib/celerity/disabled_element.rb
|
71
|
+
- lib/celerity/element.rb
|
72
|
+
- lib/celerity/element_collections.rb
|
73
|
+
- lib/celerity/element_locator.rb
|
74
|
+
- lib/celerity/element_map.rb
|
75
|
+
- lib/celerity/elements/button.rb
|
76
|
+
- lib/celerity/elements/file_field.rb
|
77
|
+
- lib/celerity/elements/form.rb
|
78
|
+
- lib/celerity/elements/frame.rb
|
79
|
+
- lib/celerity/elements/image.rb
|
80
|
+
- lib/celerity/elements/label.rb
|
81
|
+
- lib/celerity/elements/link.rb
|
82
|
+
- lib/celerity/elements/option.rb
|
83
|
+
- lib/celerity/elements/radio_check.rb
|
84
|
+
- lib/celerity/elements/select_list.rb
|
85
|
+
- lib/celerity/elements/table.rb
|
86
|
+
- lib/celerity/elements/table_body.rb
|
87
|
+
- lib/celerity/elements/table_cell.rb
|
88
|
+
- lib/celerity/elements/table_footer.rb
|
89
|
+
- lib/celerity/elements/table_header.rb
|
90
|
+
- lib/celerity/elements/table_row.rb
|
91
|
+
- lib/celerity/elements/text_field.rb
|
92
|
+
- lib/celerity/exception.rb
|
93
|
+
- lib/celerity/extra/method_generator.rb
|
94
|
+
- lib/celerity/htmlunit/commons-codec-1.3.jar
|
95
|
+
- lib/celerity/htmlunit/commons-collections-3.2.jar
|
96
|
+
- lib/celerity/htmlunit/commons-httpclient-3.1.jar
|
97
|
+
- lib/celerity/htmlunit/commons-io-1.4.jar
|
98
|
+
- lib/celerity/htmlunit/commons-lang-2.4.jar
|
99
|
+
- lib/celerity/htmlunit/commons-logging-1.1.1.jar
|
100
|
+
- lib/celerity/htmlunit/cssparser-0.9.5.jar
|
101
|
+
- lib/celerity/htmlunit/download.sh
|
102
|
+
- lib/celerity/htmlunit/htmlunit-2.2.jar
|
103
|
+
- lib/celerity/htmlunit/htmlunit-core-js-2.2.jar
|
104
|
+
- lib/celerity/htmlunit/nekohtml-1.9.8.jar
|
105
|
+
- lib/celerity/htmlunit/sac-1.3.jar
|
106
|
+
- lib/celerity/htmlunit/xalan-2.7.0.jar
|
107
|
+
- lib/celerity/htmlunit/xercesImpl-2.8.1.jar
|
108
|
+
- lib/celerity/htmlunit/xml-apis-1.0.b2.jar
|
109
|
+
- lib/celerity/identifier.rb
|
110
|
+
- lib/celerity/input_element.rb
|
111
|
+
- lib/celerity/non_control_elements.rb
|
112
|
+
- lib/celerity/version.rb
|
113
|
+
- lib/celerity/watir_compatibility.rb
|
114
|
+
- spec/area_spec.rb
|
36
115
|
- spec/areas_spec.rb
|
37
|
-
- spec/
|
116
|
+
- spec/browser_spec.rb
|
117
|
+
- spec/button_spec.rb
|
118
|
+
- spec/buttons_spec.rb
|
119
|
+
- spec/checkbox_spec.rb
|
120
|
+
- spec/checkboxes_spec.rb
|
121
|
+
- spec/div_spec.rb
|
122
|
+
- spec/divs_spec.rb
|
123
|
+
- spec/element_spec.rb
|
124
|
+
- spec/filefield_spec.rb
|
125
|
+
- spec/filefields_spec.rb
|
126
|
+
- spec/form_spec.rb
|
38
127
|
- spec/forms_spec.rb
|
39
|
-
- spec/
|
40
|
-
- spec/
|
41
|
-
- spec/
|
128
|
+
- spec/frame_spec.rb
|
129
|
+
- spec/frames_spec.rb
|
130
|
+
- spec/hidden_spec.rb
|
131
|
+
- spec/hiddens_spec.rb
|
132
|
+
- spec/hn_spec.rb
|
133
|
+
- spec/hns_spec.rb
|
134
|
+
- spec/html/2000_spans.html
|
135
|
+
- spec/html/bug_duplicate_attributes.html
|
42
136
|
- spec/html/bug_javascript_001.html
|
43
|
-
- spec/html/
|
44
|
-
- spec/html/
|
137
|
+
- spec/html/form_js_bug.html
|
138
|
+
- spec/html/forms_with_input_elements.html
|
139
|
+
- spec/html/frame_1.html
|
140
|
+
- spec/html/frame_2.html
|
141
|
+
- spec/html/frames.html
|
142
|
+
- spec/html/iframes.html
|
143
|
+
- spec/html/images.html
|
45
144
|
- spec/html/images/1.gif
|
46
|
-
- spec/html/images/
|
47
|
-
- spec/html/images/minus.gif
|
48
|
-
- spec/html/images/button.jpg
|
49
|
-
- spec/html/images/map2.gif
|
145
|
+
- spec/html/images/2.gif
|
50
146
|
- spec/html/images/3.gif
|
147
|
+
- spec/html/images/button.jpg
|
148
|
+
- spec/html/images/circle.jpg
|
51
149
|
- spec/html/images/map.gif
|
150
|
+
- spec/html/images/map2.gif
|
151
|
+
- spec/html/images/minus.gif
|
152
|
+
- spec/html/images/originaltriangle.jpg
|
52
153
|
- spec/html/images/plus.gif
|
154
|
+
- spec/html/images/square.jpg
|
53
155
|
- spec/html/images/triangle.jpg
|
54
|
-
- spec/html/
|
55
|
-
- spec/html/frame_2.html
|
56
|
-
- spec/html/iframes.html
|
57
|
-
- spec/html/tables.html
|
58
|
-
- spec/html/frames.html
|
59
|
-
- spec/html/2000_spans.html
|
60
|
-
- spec/html/images.html
|
156
|
+
- spec/html/invalid_js.html
|
61
157
|
- spec/html/latin1_text.html
|
62
158
|
- spec/html/non_control_elements.html
|
63
|
-
- spec/html/
|
64
|
-
- spec/html/
|
159
|
+
- spec/html/simple_ajax.html
|
160
|
+
- spec/html/tables.html
|
65
161
|
- spec/html/utf8_text.html
|
66
|
-
- spec/html/forms_with_input_elements.html
|
67
|
-
- spec/images_spec.rb
|
68
|
-
- spec/spec_helper.rb
|
69
|
-
- spec/ps_spec.rb
|
70
|
-
- spec/hn_spec.rb
|
71
|
-
- spec/filefield_spec.rb
|
72
|
-
- spec/area_spec.rb
|
73
162
|
- spec/htmlunit_spec.rb
|
74
|
-
- spec/
|
75
|
-
- spec/
|
76
|
-
- spec/div_spec.rb
|
77
|
-
- spec/spans_spec.rb
|
78
|
-
- spec/form_spec.rb
|
163
|
+
- spec/image_spec.rb
|
164
|
+
- spec/images_spec.rb
|
79
165
|
- spec/label_spec.rb
|
80
|
-
- spec/
|
81
|
-
- spec/
|
82
|
-
- spec/
|
83
|
-
- spec/text_field_spec.rb
|
84
|
-
- spec/button_spec.rb
|
85
|
-
- spec/spec.opts
|
86
|
-
- spec/radio_spec.rb
|
166
|
+
- spec/labels_spec.rb
|
167
|
+
- spec/li_spec.rb
|
168
|
+
- spec/link_spec.rb
|
87
169
|
- spec/links_spec.rb
|
88
|
-
- spec/
|
89
|
-
- spec/
|
90
|
-
- spec/ie_spec.rb
|
91
|
-
- spec/checkboxes_spec.rb
|
92
|
-
- spec/ul_spec.rb
|
93
|
-
- spec/table_row_spec.rb
|
94
|
-
- spec/pre_spec.rb
|
95
|
-
- spec/watir_compatability_spec.rb
|
96
|
-
- spec/table_header_spec.rb
|
170
|
+
- spec/lis_spec.rb
|
171
|
+
- spec/map_spec.rb
|
97
172
|
- spec/maps_spec.rb
|
173
|
+
- spec/meta_spec.rb
|
174
|
+
- spec/ol_spec.rb
|
175
|
+
- spec/ols_spec.rb
|
98
176
|
- spec/option_spec.rb
|
99
|
-
- spec/
|
100
|
-
- spec/
|
101
|
-
- spec/radios_spec.rb
|
102
|
-
- spec/frame_spec.rb
|
177
|
+
- spec/p_spec.rb
|
178
|
+
- spec/pre_spec.rb
|
103
179
|
- spec/pres_spec.rb
|
104
|
-
- spec/
|
105
|
-
- spec/
|
106
|
-
- spec/
|
107
|
-
- spec/hidden_spec.rb
|
108
|
-
- spec/table_footers_spec.rb
|
109
|
-
- spec/ol_spec.rb
|
180
|
+
- spec/ps_spec.rb
|
181
|
+
- spec/radio_spec.rb
|
182
|
+
- spec/radios_spec.rb
|
110
183
|
- spec/select_list_spec.rb
|
111
|
-
- spec/
|
112
|
-
- spec/
|
113
|
-
- spec/
|
114
|
-
- spec/
|
184
|
+
- spec/select_lists_spec.rb
|
185
|
+
- spec/span_spec.rb
|
186
|
+
- spec/spans_spec.rb
|
187
|
+
- spec/spec.opts
|
188
|
+
- spec/spec_helper.rb
|
189
|
+
- spec/table_bodies_spec.rb
|
190
|
+
- spec/table_body_spec.rb
|
191
|
+
- spec/table_cell_spec.rb
|
115
192
|
- spec/table_cells_spec.rb
|
116
|
-
- spec/
|
117
|
-
- spec/
|
118
|
-
- spec/
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
- lib/celerity/extra/method_generator.rb
|
130
|
-
- lib/celerity/non_control_elements.rb
|
131
|
-
- lib/celerity/exception.rb
|
132
|
-
- lib/celerity/clickable_element.rb
|
133
|
-
- lib/celerity/disabled_element.rb
|
134
|
-
- lib/celerity/ie.rb
|
135
|
-
- lib/celerity/element_collections.rb
|
136
|
-
- lib/celerity/elements/option.rb
|
137
|
-
- lib/celerity/elements/frame.rb
|
138
|
-
- lib/celerity/elements/select_list.rb
|
139
|
-
- lib/celerity/elements/link.rb
|
140
|
-
- lib/celerity/elements/table_header.rb
|
141
|
-
- lib/celerity/elements/image.rb
|
142
|
-
- lib/celerity/elements/label.rb
|
143
|
-
- lib/celerity/elements/table_cell.rb
|
144
|
-
- lib/celerity/elements/table_footer.rb
|
145
|
-
- lib/celerity/elements/table.rb
|
146
|
-
- lib/celerity/elements/button.rb
|
147
|
-
- lib/celerity/elements/table_row.rb
|
148
|
-
- lib/celerity/elements/form.rb
|
149
|
-
- lib/celerity/elements/table_body.rb
|
150
|
-
- lib/celerity/elements/radio_check.rb
|
151
|
-
- lib/celerity/elements/file_field.rb
|
152
|
-
- lib/celerity/elements/text_field.rb
|
153
|
-
- lib/celerity/htmlunit/xml-apis-1.0.b2.jar
|
154
|
-
- lib/celerity/htmlunit/sac-1.3.jar
|
155
|
-
- lib/celerity/htmlunit/cssparser-0.9.5.jar
|
156
|
-
- lib/celerity/htmlunit/nekohtml-1.9.7.jar
|
157
|
-
- lib/celerity/htmlunit/commons-logging-1.1.1.jar
|
158
|
-
- lib/celerity/htmlunit/commons-codec-1.3.jar
|
159
|
-
- lib/celerity/htmlunit/js-1.7R1.jar
|
160
|
-
- lib/celerity/htmlunit/commons-collections-3.2.jar
|
161
|
-
- lib/celerity/htmlunit/xercesImpl-2.8.1.jar
|
162
|
-
- lib/celerity/htmlunit/xalan-2.7.0.jar
|
163
|
-
- lib/celerity/htmlunit/commons-httpclient-3.1.jar
|
164
|
-
- lib/celerity/htmlunit/htmlunit-2.2-SNAPSHOT.jar
|
165
|
-
- lib/celerity/htmlunit/commons-io-1.4.jar
|
166
|
-
- lib/celerity/htmlunit/commons-lang-2.4.jar
|
167
|
-
- lib/celerity/element.rb
|
168
|
-
- lib/celerity.rb
|
193
|
+
- spec/table_footer_spec.rb
|
194
|
+
- spec/table_footers_spec.rb
|
195
|
+
- spec/table_header_spec.rb
|
196
|
+
- spec/table_headers_spec.rb
|
197
|
+
- spec/table_row_spec.rb
|
198
|
+
- spec/table_rows_spec.rb
|
199
|
+
- spec/table_spec.rb
|
200
|
+
- spec/tables_spec.rb
|
201
|
+
- spec/text_field_spec.rb
|
202
|
+
- spec/text_fields_spec.rb
|
203
|
+
- spec/ul_spec.rb
|
204
|
+
- spec/uls_spec.rb
|
205
|
+
- spec/watir_compatibility_spec.rb
|
169
206
|
- support/spec_server.rb
|
170
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.icns
|
171
|
-
- support/celerity_viewer/rubycocoa/distributed_viewer.rb
|
172
|
-
- support/celerity_viewer/rubycocoa/README
|
173
|
-
- support/celerity_viewer/rubycocoa/English.lproj
|
174
|
-
- support/celerity_viewer/rubycocoa/English.lproj/Main.nib
|
175
|
-
- support/celerity_viewer/rubycocoa/English.lproj/Main.nib/info.nib
|
176
|
-
- support/celerity_viewer/rubycocoa/English.lproj/Main.nib/classes.nib
|
177
|
-
- support/celerity_viewer/rubycocoa/English.lproj/Main.nib/keyedobjects.nib
|
178
|
-
- support/celerity_viewer/rubycocoa/MainController.rb
|
179
|
-
- support/celerity_viewer/rubycocoa/main.m
|
180
|
-
- support/celerity_viewer/rubycocoa/Rakefile
|
181
|
-
- support/celerity_viewer/rubycocoa/Info.plist.erb
|
182
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app
|
183
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app/Contents
|
184
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app/Contents/MacOS
|
185
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app/Contents/Resources
|
186
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app/Contents/Resources/English.lproj
|
187
|
-
- support/celerity_viewer/rubycocoa/CelerityViewer.app/Contents/Resources/English.lproj/Main.nib
|
188
|
-
- support/celerity_viewer/rubycocoa/main.rb
|
189
|
-
- Manifest.txt
|
190
|
-
- setup.rb
|
191
|
-
- License.txt
|
192
|
-
- tasks/simple_ci.rake
|
193
207
|
- tasks/rdoc.rake
|
194
|
-
- tasks/specserver.rake
|
195
|
-
- tasks/benchmark.rake
|
196
|
-
- tasks/environment.rake
|
197
208
|
- tasks/rspec.rake
|
198
|
-
-
|
199
|
-
- benchmark/loader.rb
|
200
|
-
- benchmark/bm_2000_spans.rb
|
201
|
-
- benchmark/bm_digg.rb
|
202
|
-
- benchmark/bm_google_images.rb
|
203
|
-
- Rakefile
|
209
|
+
- tasks/specserver.rake
|
204
210
|
has_rdoc: true
|
205
211
|
homepage: http://celerity.rubyforge.org
|
206
212
|
post_install_message:
|
@@ -224,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
230
|
requirements: []
|
225
231
|
|
226
232
|
rubyforge_project: celerity
|
227
|
-
rubygems_version: 1.
|
233
|
+
rubygems_version: 1.2.0
|
228
234
|
signing_key:
|
229
235
|
specification_version: 2
|
230
236
|
summary: Celerity is a JRuby library for easy and fast functional test automation for web applications. It is a wrapper around the HtmlUnit Java library and is currently aimed at providing the same API and functionality as Watir.
|