oats 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/.gitignore +1 -0
  2. data/lib/oats/commandline_options.rb +8 -3
  3. data/lib/oats/user_api.rb +2 -2
  4. data/lib/oats/version.rb +1 -1
  5. data/oats_tests/examples/keywords/keywordsTestlist.yml +2 -2
  6. metadata +3 -57
  7. data/Gemfile.lock +0 -60
  8. data/doc/classes/ApplicationLogs.html +0 -239
  9. data/doc/classes/Campaign.html +0 -843
  10. data/doc/classes/CommandlineOptions.html +0 -131
  11. data/doc/classes/Driver.html +0 -182
  12. data/doc/classes/Hash.html +0 -137
  13. data/doc/classes/Ide.html +0 -194
  14. data/doc/classes/MapSelenium.html +0 -197
  15. data/doc/classes/Net.html +0 -107
  16. data/doc/classes/Oats/OatsFilterError.html +0 -119
  17. data/doc/classes/Oats.html +0 -998
  18. data/doc/classes/OatsAssertError.html +0 -119
  19. data/doc/classes/OatsBadInput.html +0 -119
  20. data/doc/classes/OatsData.html +0 -290
  21. data/doc/classes/OatsError.html +0 -117
  22. data/doc/classes/OatsExit.html +0 -117
  23. data/doc/classes/OatsLock.html +0 -254
  24. data/doc/classes/OatsMain.html +0 -182
  25. data/doc/classes/OatsMysqlError.html +0 -113
  26. data/doc/classes/OatsMysqlMissingInput.html +0 -113
  27. data/doc/classes/OatsReportError.html +0 -113
  28. data/doc/classes/OatsSetupError.html +0 -119
  29. data/doc/classes/OatsTestError.html +0 -119
  30. data/doc/classes/OatsTestExit.html +0 -119
  31. data/doc/classes/OatsTestLocateError.html +0 -120
  32. data/doc/classes/OatsVerifyError.html +0 -119
  33. data/doc/classes/Ragent.html +0 -397
  34. data/doc/classes/Rclient.html +0 -236
  35. data/doc/classes/Report.html +0 -368
  36. data/doc/classes/Reports.html +0 -244
  37. data/doc/classes/RestApi.html +0 -333
  38. data/doc/classes/RhttpClient.html +0 -236
  39. data/doc/classes/Rimap.html +0 -170
  40. data/doc/classes/Rmysql.html +0 -176
  41. data/doc/classes/Roptions.html +0 -131
  42. data/doc/classes/Rselenium.html +0 -233
  43. data/doc/classes/Rssh.html +0 -138
  44. data/doc/classes/Runnable.html +0 -174
  45. data/doc/classes/SFTriggers.html +0 -206
  46. data/doc/classes/Selenium/Client/Driver.html +0 -211
  47. data/doc/classes/Selenium/Client.html +0 -107
  48. data/doc/classes/Selenium.html +0 -107
  49. data/doc/classes/SystemCapture.html +0 -304
  50. data/doc/classes/TestCase.html +0 -418
  51. data/doc/classes/TestData.html +0 -235
  52. data/doc/classes/TestList.html +0 -264
  53. data/doc/classes/Tools.html +0 -244
  54. data/doc/classes/Util.html +0 -201
  55. data/doc/classes/Variation.html +0 -206
  56. data/doc/fr_class_index.html +0 -92
  57. data/doc/fr_method_index.html +0 -465
  58. data/doc/index.html +0 -23
  59. data/doc/rdoc-style.css +0 -208
  60. data/oats_tests/examples/core/ok_verify.rb_ok/rats_test.log +0 -2
@@ -1,244 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Reports</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Reports</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/tests/lib/campaign_reports_rb.html">
59
- tests/lib/campaign_reports.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000173">advertiser_churn_report</a>&nbsp;&nbsp;
90
- <a href="#M000174">affiliate_activity_report</a>&nbsp;&nbsp;
91
- <a href="#M000172">agency_activity_report</a>&nbsp;&nbsp;
92
- <a href="#M000169">campaign_activity_report</a>&nbsp;&nbsp;
93
- <a href="#M000170">campaign_status_report</a>&nbsp;&nbsp;
94
- <a href="#M000175">download_campaign_summary_activity_report</a>&nbsp;&nbsp;
95
- <a href="#M000171">invoice_report</a>&nbsp;&nbsp;
96
- <a href="#M000168">new</a>&nbsp;&nbsp;
97
- </div>
98
- </div>
99
-
100
- </div>
101
-
102
-
103
- <!-- if includes -->
104
-
105
- <div id="section">
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- <!-- if method_list -->
115
- <div id="methods">
116
- <h3 class="section-bar">Public Class methods</h3>
117
-
118
- <div id="method-M000168" class="method-detail">
119
- <a name="M000168"></a>
120
-
121
- <div class="method-heading">
122
- <a href="Reports.src/M000168.html" target="Code" class="method-signature"
123
- onclick="popupCode('Reports.src/M000168.html');return false;">
124
- <span class="method-name">new</span><span class="method-args">(env_name, advertiser = nil)</span>
125
- </a>
126
- </div>
127
-
128
- <div class="method-description">
129
- </div>
130
- </div>
131
-
132
- <h3 class="section-bar">Public Instance methods</h3>
133
-
134
- <div id="method-M000173" class="method-detail">
135
- <a name="M000173"></a>
136
-
137
- <div class="method-heading">
138
- <a href="Reports.src/M000173.html" target="Code" class="method-signature"
139
- onclick="popupCode('Reports.src/M000173.html');return false;">
140
- <span class="method-name">advertiser_churn_report</span><span class="method-args">()</span>
141
- </a>
142
- </div>
143
-
144
- <div class="method-description">
145
- </div>
146
- </div>
147
-
148
- <div id="method-M000174" class="method-detail">
149
- <a name="M000174"></a>
150
-
151
- <div class="method-heading">
152
- <a href="Reports.src/M000174.html" target="Code" class="method-signature"
153
- onclick="popupCode('Reports.src/M000174.html');return false;">
154
- <span class="method-name">affiliate_activity_report</span><span class="method-args">()</span>
155
- </a>
156
- </div>
157
-
158
- <div class="method-description">
159
- </div>
160
- </div>
161
-
162
- <div id="method-M000172" class="method-detail">
163
- <a name="M000172"></a>
164
-
165
- <div class="method-heading">
166
- <a href="Reports.src/M000172.html" target="Code" class="method-signature"
167
- onclick="popupCode('Reports.src/M000172.html');return false;">
168
- <span class="method-name">agency_activity_report</span><span class="method-args">()</span>
169
- </a>
170
- </div>
171
-
172
- <div class="method-description">
173
- </div>
174
- </div>
175
-
176
- <div id="method-M000169" class="method-detail">
177
- <a name="M000169"></a>
178
-
179
- <div class="method-heading">
180
- <a href="Reports.src/M000169.html" target="Code" class="method-signature"
181
- onclick="popupCode('Reports.src/M000169.html');return false;">
182
- <span class="method-name">campaign_activity_report</span><span class="method-args">()</span>
183
- </a>
184
- </div>
185
-
186
- <div class="method-description">
187
- </div>
188
- </div>
189
-
190
- <div id="method-M000170" class="method-detail">
191
- <a name="M000170"></a>
192
-
193
- <div class="method-heading">
194
- <a href="Reports.src/M000170.html" target="Code" class="method-signature"
195
- onclick="popupCode('Reports.src/M000170.html');return false;">
196
- <span class="method-name">campaign_status_report</span><span class="method-args">()</span>
197
- </a>
198
- </div>
199
-
200
- <div class="method-description">
201
- </div>
202
- </div>
203
-
204
- <div id="method-M000175" class="method-detail">
205
- <a name="M000175"></a>
206
-
207
- <div class="method-heading">
208
- <a href="Reports.src/M000175.html" target="Code" class="method-signature"
209
- onclick="popupCode('Reports.src/M000175.html');return false;">
210
- <span class="method-name">download_campaign_summary_activity_report</span><span class="method-args">()</span>
211
- </a>
212
- </div>
213
-
214
- <div class="method-description">
215
- </div>
216
- </div>
217
-
218
- <div id="method-M000171" class="method-detail">
219
- <a name="M000171"></a>
220
-
221
- <div class="method-heading">
222
- <a href="Reports.src/M000171.html" target="Code" class="method-signature"
223
- onclick="popupCode('Reports.src/M000171.html');return false;">
224
- <span class="method-name">invoice_report</span><span class="method-args">()</span>
225
- </a>
226
- </div>
227
-
228
- <div class="method-description">
229
- </div>
230
- </div>
231
-
232
-
233
- </div>
234
-
235
-
236
- </div>
237
-
238
-
239
- <div id="validator-badges">
240
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
241
- </div>
242
-
243
- </body>
244
- </html>
@@ -1,333 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: RestApi</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">RestApi</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/tests/lib/rest_api_rb.html">
59
- tests/lib/rest_api.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000069">create</a>&nbsp;&nbsp;
90
- <a href="#M000063">current</a>&nbsp;&nbsp;
91
- <a href="#M000064">current_site_api</a>&nbsp;&nbsp;
92
- <a href="#M000066">delete</a>&nbsp;&nbsp;
93
- <a href="#M000065">fields</a>&nbsp;&nbsp;
94
- <a href="#M000067">list</a>&nbsp;&nbsp;
95
- <a href="#M000062">new</a>&nbsp;&nbsp;
96
- <a href="#M000068">read</a>&nbsp;&nbsp;
97
- <a href="#M000070">update</a>&nbsp;&nbsp;
98
- </div>
99
- </div>
100
-
101
- </div>
102
-
103
-
104
- <!-- if includes -->
105
-
106
- <div id="section">
107
-
108
-
109
-
110
-
111
-
112
- <div id="attribute-list">
113
- <h3 class="section-bar">Attributes</h3>
114
-
115
- <div class="name-list">
116
- <table>
117
- <tr class="top-aligned-row context-row">
118
- <td class="context-item-name">continue_on_bad_code</td>
119
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
120
- <td class="context-item-desc"></td>
121
- </tr>
122
- <tr class="top-aligned-row context-row">
123
- <td class="context-item-name">last_id</td>
124
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
125
- <td class="context-item-desc"></td>
126
- </tr>
127
- <tr class="top-aligned-row context-row">
128
- <td class="context-item-name">last_response</td>
129
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
130
- <td class="context-item-desc"></td>
131
- </tr>
132
- <tr class="top-aligned-row context-row">
133
- <td class="context-item-name">rest_obj</td>
134
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
135
- <td class="context-item-desc"></td>
136
- </tr>
137
- </table>
138
- </div>
139
- </div>
140
-
141
-
142
-
143
- <!-- if method_list -->
144
- <div id="methods">
145
- <h3 class="section-bar">Public Class methods</h3>
146
-
147
- <div id="method-M000063" class="method-detail">
148
- <a name="M000063"></a>
149
-
150
- <div class="method-heading">
151
- <a href="RestApi.src/M000063.html" target="Code" class="method-signature"
152
- onclick="popupCode('RestApi.src/M000063.html');return false;">
153
- <span class="method-name">current</span><span class="method-args">(rest_obj = Oats.data('RestApi.object'))</span>
154
- </a>
155
- </div>
156
-
157
- <div class="method-description">
158
- <p>
159
- Returns the last used REST API object or creates a <a
160
- href="RestApi.html#M000062">new</a> one with the indicated rest_obj
161
- rest_obj: String, name of the REST resource, e.g. &#8216;site&#8216;
162
- </p>
163
- <pre>
164
- defaults via Oats.data 'RestApi.object'.
165
- Calling RestApi.new directly does not change current.
166
- </pre>
167
- </div>
168
- </div>
169
-
170
- <div id="method-M000064" class="method-detail">
171
- <a name="M000064"></a>
172
-
173
- <div class="method-heading">
174
- <a href="RestApi.src/M000064.html" target="Code" class="method-signature"
175
- onclick="popupCode('RestApi.src/M000064.html');return false;">
176
- <span class="method-name">current_site_api</span><span class="method-args">()</span>
177
- </a>
178
- </div>
179
-
180
- <div class="method-description">
181
- </div>
182
- </div>
183
-
184
- <div id="method-M000065" class="method-detail">
185
- <a name="M000065"></a>
186
-
187
- <div class="method-heading">
188
- <a href="RestApi.src/M000065.html" target="Code" class="method-signature"
189
- onclick="popupCode('RestApi.src/M000065.html');return false;">
190
- <span class="method-name">fields</span><span class="method-args">( field_name = 'requiredFields')</span>
191
- </a>
192
- </div>
193
-
194
- <div class="method-description">
195
- <p>
196
- Verifies obj/XXXFields output
197
- </p>
198
- </div>
199
- </div>
200
-
201
- <div id="method-M000062" class="method-detail">
202
- <a name="M000062"></a>
203
-
204
- <div class="method-heading">
205
- <a href="RestApi.src/M000062.html" target="Code" class="method-signature"
206
- onclick="popupCode('RestApi.src/M000062.html');return false;">
207
- <span class="method-name">new</span><span class="method-args">(rest_obj = nil)</span>
208
- </a>
209
- </div>
210
-
211
- <div class="method-description">
212
- <p>
213
- Creates a <a href="RestApi.html#M000062">new</a> REST API object rest_obj:
214
- String, name of the REST resource, e.g. &#8216;site&#8216;
215
- </p>
216
- </div>
217
- </div>
218
-
219
- <h3 class="section-bar">Public Instance methods</h3>
220
-
221
- <div id="method-M000069" class="method-detail">
222
- <a name="M000069"></a>
223
-
224
- <div class="method-heading">
225
- <a href="RestApi.src/M000069.html" target="Code" class="method-signature"
226
- onclick="popupCode('RestApi.src/M000069.html');return false;">
227
- <span class="method-name">create</span><span class="method-args">(input, code = nil)</span>
228
- </a>
229
- </div>
230
-
231
- <div class="method-description">
232
- <p>
233
- Returns id of created object, or nil if errors Prints returned Message
234
- Raises <a href="OatsTestError.html">OatsTestError</a> if code does not
235
- match expected
236
- </p>
237
- <table>
238
- <tr><td valign="top">input:</td><td>HASH or JSON string of input resources
239
-
240
- </td></tr>
241
- </table>
242
- </div>
243
- </div>
244
-
245
- <div id="method-M000066" class="method-detail">
246
- <a name="M000066"></a>
247
-
248
- <div class="method-heading">
249
- <a href="RestApi.src/M000066.html" target="Code" class="method-signature"
250
- onclick="popupCode('RestApi.src/M000066.html');return false;">
251
- <span class="method-name">delete</span><span class="method-args">(id,in_code = nil)</span>
252
- </a>
253
- </div>
254
-
255
- <div class="method-description">
256
- <p>
257
- Deletes the object for the requested ID Returns HTTP response object Prints
258
- returned message
259
- </p>
260
- </div>
261
- </div>
262
-
263
- <div id="method-M000067" class="method-detail">
264
- <a name="M000067"></a>
265
-
266
- <div class="method-heading">
267
- <a href="RestApi.src/M000067.html" target="Code" class="method-signature"
268
- onclick="popupCode('RestApi.src/M000067.html');return false;">
269
- <span class="method-name">list</span><span class="method-args">(action = nil, in_code = nil)</span>
270
- </a>
271
- </div>
272
-
273
- <div class="method-description">
274
- <p>
275
- Returns Array of existing object ids Prints the Array
276
- </p>
277
- </div>
278
- </div>
279
-
280
- <div id="method-M000068" class="method-detail">
281
- <a name="M000068"></a>
282
-
283
- <div class="method-heading">
284
- <a href="RestApi.src/M000068.html" target="Code" class="method-signature"
285
- onclick="popupCode('RestApi.src/M000068.html');return false;">
286
- <span class="method-name">read</span><span class="method-args">(id , in_code = nil)</span>
287
- </a>
288
- </div>
289
-
290
- <div class="method-description">
291
- <p>
292
- Returns <a href="Hash.html">Hash</a> for requested object Prints returned
293
- JSON
294
- </p>
295
- </div>
296
- </div>
297
-
298
- <div id="method-M000070" class="method-detail">
299
- <a name="M000070"></a>
300
-
301
- <div class="method-heading">
302
- <a href="RestApi.src/M000070.html" target="Code" class="method-signature"
303
- onclick="popupCode('RestApi.src/M000070.html');return false;">
304
- <span class="method-name">update</span><span class="method-args">(id, input, code = nil)</span>
305
- </a>
306
- </div>
307
-
308
- <div class="method-description">
309
- <p>
310
- Returns response code Prints returned Message Raises <a
311
- href="OatsTestError.html">OatsTestError</a> if code does not match expected
312
- </p>
313
- <table>
314
- <tr><td valign="top">input:</td><td>HASH or JSON string of input resources
315
-
316
- </td></tr>
317
- </table>
318
- </div>
319
- </div>
320
-
321
-
322
- </div>
323
-
324
-
325
- </div>
326
-
327
-
328
- <div id="validator-badges">
329
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
330
- </div>
331
-
332
- </body>
333
- </html>