whirlwind 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/.autotest +23 -0
  2. data/.gemtest +0 -0
  3. data/History.txt +6 -0
  4. data/Manifest.txt +79 -0
  5. data/README.txt +76 -0
  6. data/Rakefile +15 -0
  7. data/bin/whirlwind +99 -0
  8. data/demo_test_site/demo_site.rb +37 -0
  9. data/demo_test_site/public/images/arrow_left_48.png +0 -0
  10. data/demo_test_site/public/images/arrow_right_48.png +0 -0
  11. data/demo_test_site/public/images/down.gif +0 -0
  12. data/demo_test_site/public/images/header.jpg +0 -0
  13. data/demo_test_site/public/images/menu.gif +0 -0
  14. data/demo_test_site/public/images/menuhover.gif +0 -0
  15. data/demo_test_site/public/javascripts/browser.menu.js +61 -0
  16. data/demo_test_site/public/javascripts/cyberconnect_helpers.js +369 -0
  17. data/demo_test_site/public/javascripts/jquery-1.5.1.min.js +16 -0
  18. data/demo_test_site/public/javascripts/jquery-1.6.2.min.js +18 -0
  19. data/demo_test_site/public/javascripts/jquery-ui-1.8.10.custom.min.js +1370 -0
  20. data/demo_test_site/public/javascripts/jquery.layout.min-1.2.0.js +80 -0
  21. data/demo_test_site/public/javascripts/jqueryslidemenu.css +93 -0
  22. data/demo_test_site/public/javascripts/jqueryslidemenu.js +48 -0
  23. data/demo_test_site/public/javascripts/ui.accordion.js +477 -0
  24. data/demo_test_site/public/jquery.ui.all.css +11 -0
  25. data/demo_test_site/public/jquery.ui.base.css +11 -0
  26. data/demo_test_site/public/jquery.ui.theme.css +252 -0
  27. data/demo_test_site/public/jquery_css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  28. data/demo_test_site/public/jquery_css/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  29. data/demo_test_site/public/jquery_css/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  30. data/demo_test_site/public/jquery_css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  31. data/demo_test_site/public/jquery_css/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  32. data/demo_test_site/public/jquery_css/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  33. data/demo_test_site/public/jquery_css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  34. data/demo_test_site/public/jquery_css/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  35. data/demo_test_site/public/jquery_css/images/ui-icons_222222_256x240.png +0 -0
  36. data/demo_test_site/public/jquery_css/images/ui-icons_2e83ff_256x240.png +0 -0
  37. data/demo_test_site/public/jquery_css/images/ui-icons_454545_256x240.png +0 -0
  38. data/demo_test_site/public/jquery_css/images/ui-icons_888888_256x240.png +0 -0
  39. data/demo_test_site/public/jquery_css/images/ui-icons_cd0a0a_256x240.png +0 -0
  40. data/demo_test_site/public/jquery_css/jquery-ui-1.8.10.custom.css +573 -0
  41. data/demo_test_site/public/jquery_layout.css +14 -0
  42. data/demo_test_site/public/jqueryslidemenu.css +93 -0
  43. data/demo_test_site/public/menu.css +12 -0
  44. data/demo_test_site/public/style.css +196 -0
  45. data/demo_test_site/views/index.erb +294 -0
  46. data/images/.placeholder +0 -0
  47. data/lib/browser.rb +22 -0
  48. data/lib/cucumber/formatter/cucumber.css +282 -0
  49. data/lib/cucumber/formatter/html_image.rb +750 -0
  50. data/lib/cucumber/formatter/jquery-min.js +154 -0
  51. data/lib/cucumber.rb +68 -0
  52. data/lib/duration.rb +13 -0
  53. data/lib/io.rb +31 -0
  54. data/lib/ordered_xml_markup.rb +24 -0
  55. data/lib/rspec.rb +75 -0
  56. data/lib/watir.rb +105 -0
  57. data/lib/whirlwind.rb +39 -0
  58. data/sites/demo/conf/base_urls.yml +6 -0
  59. data/sites/demo/conf/browser.yaml +1 -0
  60. data/sites/demo/conf/html_elements.yaml +22 -0
  61. data/sites/demo/conf/remote_machine.yaml +12 -0
  62. data/sites/demo/conf/users.yaml +21 -0
  63. data/sites/demo/elements/demo_common_elements.rb +42 -0
  64. data/sites/demo/elements/demo_elements.rb +18 -0
  65. data/sites/demo/elements/demo_registration_elements.rb +27 -0
  66. data/sites/demo/features/click_links.feature +21 -0
  67. data/sites/demo/features/register_user.feature +27 -0
  68. data/sites/demo/features/step_defn/demo.rb +62 -0
  69. data/sites/demo/flows/home_flows.rb +25 -0
  70. data/sites/demo/flows/registration_flows.rb +21 -0
  71. data/sites/demo/results/.placeholder +0 -0
  72. data/test/features/browser_types.feature +22 -0
  73. data/test/features/open_browser.feature +20 -0
  74. data/test/features/resource_size.feature +13 -0
  75. data/test/features/step_defn/browser.rb +61 -0
  76. data/test/test_whirlwind.rb +8 -0
  77. metadata +198 -0
@@ -0,0 +1,282 @@
1
+ /* cucumber.css is generated from cucumber.sass */
2
+ /* Regenerate with rake sass */
3
+ body {
4
+ font-size: 0px;
5
+ color: white;
6
+ margin: 0px;
7
+ padding: 0px;
8
+ }
9
+
10
+ .hidden {
11
+ display: none
12
+ }
13
+ .cucumber, td, th {
14
+ font: normal 11px "Lucida Grande", Helvetica, sans-serif;
15
+ background: white;
16
+ color: black;
17
+ }
18
+ .cucumber #cucumber-header, td #cucumber-header, th #cucumber-header {
19
+ background: #65c400;
20
+ color: white;
21
+ height: 6em;
22
+ }
23
+ .cucumber #cucumber-header #expand-collapse p, td #cucumber-header #expand-collapse p, th #cucumber-header #expand-collapse p {
24
+ float: right;
25
+ margin: 0 0 0 10px;
26
+ }
27
+ .cucumber .scenario h3, td .scenario h3, th .scenario h3 {
28
+ font-size: 11px;
29
+ padding: 3px;
30
+ margin: 0;
31
+ background: #65c400;
32
+ color: white;
33
+ font-weight: bold;
34
+ }
35
+ .cucumber h1, td h1, th h1 {
36
+ margin: 0px 10px 0px 10px;
37
+ padding: 10px;
38
+ font-family: "Lucida Grande", Helvetica, sans-serif;
39
+ font-size: 2em;
40
+ position: absolute;
41
+ }
42
+ .cucumber h4, td h4, th h4 {
43
+ margin-bottom: 2px;
44
+ }
45
+ .cucumber div.feature, td div.feature, th div.feature {
46
+ padding: 2px;
47
+ margin: 0px 10px 5px 10px;
48
+ }
49
+ .cucumber div.examples, td div.examples, th div.examples {
50
+ padding: 0em 0em 0em 1em;
51
+ }
52
+ .cucumber .stats, td .stats, th .stats {
53
+ margin: 2em;
54
+ }
55
+ .cucumber .summary ul.features li, td .summary ul.features li, th .summary ul.features li {
56
+ display: inline;
57
+ }
58
+ .cucumber .step_name, td .step_name, th .step_name {
59
+ float: left;
60
+ }
61
+ .cucumber .step_file, td .step_file, th .step_file {
62
+ text-align: right;
63
+ color: #999999;
64
+ }
65
+ .cucumber .step_file a, td .step_file a, th .step_file a {
66
+ color: #999999;
67
+ }
68
+ .cucumber .scenario_file, td .scenario_file, th .scenario_file {
69
+ float: right;
70
+ color: #999999;
71
+ }
72
+ .cucumber .tag, td .tag, th .tag {
73
+ font-weight: bold;
74
+ color: #246ac1;
75
+ }
76
+ .cucumber .backtrace, td .backtrace, th .backtrace {
77
+ margin-top: 0;
78
+ margin-bottom: 0;
79
+ margin-left: 1em;
80
+ color: black;
81
+ }
82
+ .cucumber a, td a, th a {
83
+ text-decoration: none;
84
+ color: #be5c00;
85
+ }
86
+ .cucumber a:hover, td a:hover, th a:hover {
87
+ text-decoration: underline;
88
+ }
89
+ .cucumber a:visited, td a:visited, th a:visited {
90
+ font-weight: normal;
91
+ }
92
+ .cucumber a div.examples, td a div.examples, th a div.examples {
93
+ margin: 5px 0px 5px 15px;
94
+ color: black;
95
+ }
96
+ .cucumber .outline table, td .outline table, th .outline table {
97
+ margin: 0px 0px 5px 10px;
98
+ }
99
+ .cucumber table, td table, th table {
100
+ border-collapse: collapse;
101
+ }
102
+ .cucumber table td, td table td, th table td {
103
+ padding: 3px 3px 3px 5px;
104
+ }
105
+ .cucumber table td.failed, .cucumber table td.passed, .cucumber table td.skipped, .cucumber table td.pending, .cucumber table td.undefined, td table td.failed, td table td.passed, td table td.skipped, td table td.pending, td table td.undefined, th table td.failed, th table td.passed, th table td.skipped, th table td.pending, th table td.undefined {
106
+ padding-left: 18px;
107
+ padding-right: 10px;
108
+ }
109
+ .cucumber table td.failed, td table td.failed, th table td.failed {
110
+ border-left: 5px solid #c20000;
111
+ border-bottom: 1px solid #c20000;
112
+ background: #fffbd3;
113
+ color: #c20000;
114
+ }
115
+ .cucumber table td.passed, td table td.passed, th table td.passed {
116
+ border-left: 5px solid #65c400;
117
+ border-bottom: 1px solid #65c400;
118
+ background: #dbffb4;
119
+ color: #3d7700;
120
+ }
121
+ .cucumber table td.skipped, td table td.skipped, th table td.skipped {
122
+ border-left: 5px solid aqua;
123
+ border-bottom: 1px solid aqua;
124
+ background: #e0ffff;
125
+ color: #001111;
126
+ }
127
+ .cucumber table td.pending, td table td.pending, th table td.pending {
128
+ border-left: 5px solid #faf834;
129
+ border-bottom: 1px solid #faf834;
130
+ background: #fcfb98;
131
+ color: #131313;
132
+ }
133
+ .cucumber table td.undefined, td table td.undefined, th table td.undefined {
134
+ border-left: 5px solid #faf834;
135
+ border-bottom: 1px solid #faf834;
136
+ background: #fcfb98;
137
+ color: #131313;
138
+ }
139
+ .cucumber table td.message, td table td.message, th table td.message {
140
+ border-left: 5px solid aqua;
141
+ border-bottom: 1px solid aqua;
142
+ background: #e0ffff;
143
+ color: #001111;
144
+ }
145
+ .cucumber ol, td ol, th ol {
146
+ list-style: none;
147
+ margin: 0px;
148
+ padding: 0px;
149
+ }
150
+ .cucumber ol li.step, td ol li.step, th ol li.step {
151
+ padding: 3px 3px 3px 18px;
152
+ margin: 5px 0px 5px 5px;
153
+ }
154
+ .cucumber ol li, td ol li, th ol li {
155
+ margin: 0em 0em 0em 1em;
156
+ padding: 0em 0em 0em 0.2em;
157
+ }
158
+ .cucumber ol li span.param, td ol li span.param, th ol li span.param {
159
+ font-weight: bold;
160
+ }
161
+ .cucumber ol li.failed, td ol li.failed, th ol li.failed {
162
+ border-left: 5px solid #c20000;
163
+ border-bottom: 1px solid #c20000;
164
+ background: #fffbd3;
165
+ color: #c20000;
166
+ }
167
+ .cucumber ol li.passed, td ol li.passed, th ol li.passed {
168
+ border-left: 5px solid #65c400;
169
+ border-bottom: 1px solid #65c400;
170
+ background: #dbffb4;
171
+ color: #3d7700;
172
+ }
173
+ .cucumber ol li.skipped, td ol li.skipped, th ol li.skipped {
174
+ border-left: 5px solid aqua;
175
+ border-bottom: 1px solid aqua;
176
+ background: #e0ffff;
177
+ color: #001111;
178
+ }
179
+ .cucumber ol li.pending, td ol li.pending, th ol li.pending {
180
+ border-left: 5px solid #faf834;
181
+ border-bottom: 1px solid #faf834;
182
+ background: #fcfb98;
183
+ color: #131313;
184
+ }
185
+ .cucumber ol li.undefined, td ol li.undefined, th ol li.undefined {
186
+ border-left: 5px solid #faf834;
187
+ border-bottom: 1px solid #faf834;
188
+ background: #fcfb98;
189
+ color: #131313;
190
+ }
191
+ .cucumber ol li.message, td ol li.message, th ol li.message {
192
+ border-left: 5px solid aqua;
193
+ border-bottom: 1px solid aqua;
194
+ background: #e0ffff;
195
+ color: #001111;
196
+ margin-left: 10px;
197
+ }
198
+ .cucumber #summary, td #summary, th #summary {
199
+ margin: 0px;
200
+ padding: 5px 10px;
201
+ text-align: right;
202
+ top: 0px;
203
+ right: 0px;
204
+ float: right;
205
+ }
206
+ .cucumber #summary p, td #summary p, th #summary p {
207
+ margin: 0 0 0 2px;
208
+ }
209
+ .cucumber #summary #totals, td #summary #totals, th #summary #totals {
210
+ font-size: 1.2em;
211
+ }
212
+
213
+ .ruby {
214
+ font-size: 12px;
215
+ font-family: monospace;
216
+ color: white;
217
+ background: black;
218
+ padding: 0.1em 0 0.2em 0;
219
+ }
220
+ .ruby .keyword {
221
+ color: #ff6600;
222
+ }
223
+ .ruby .constant {
224
+ color: #339999;
225
+ }
226
+ .ruby .attribute {
227
+ color: white;
228
+ }
229
+ .ruby .global {
230
+ color: white;
231
+ }
232
+ .ruby .module {
233
+ color: white;
234
+ }
235
+ .ruby .class {
236
+ color: white;
237
+ }
238
+ .ruby .string {
239
+ color: #66ff00;
240
+ }
241
+ .ruby .ident {
242
+ color: white;
243
+ }
244
+ .ruby .method {
245
+ color: #ffcc00;
246
+ }
247
+ .ruby .number {
248
+ color: white;
249
+ }
250
+ .ruby .char {
251
+ color: white;
252
+ }
253
+ .ruby .comment {
254
+ color: #9933cc;
255
+ }
256
+ .ruby .symbol {
257
+ color: white;
258
+ }
259
+ .ruby .regex {
260
+ color: #44b4cc;
261
+ }
262
+ .ruby .punct {
263
+ color: white;
264
+ }
265
+ .ruby .escape {
266
+ color: white;
267
+ }
268
+ .ruby .interp {
269
+ color: white;
270
+ }
271
+ .ruby .expr {
272
+ color: white;
273
+ }
274
+ .ruby .offending {
275
+ background: #333333;
276
+ }
277
+ .ruby .linenum {
278
+ width: 75px;
279
+ padding: 0.1em 1em 0.2em 0;
280
+ color: black;
281
+ background: #fffbd3;
282
+ }