oats 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/oats/commandline_options.rb +8 -3
- data/lib/oats/user_api.rb +2 -2
- data/lib/oats/version.rb +1 -1
- data/oats_tests/examples/keywords/keywordsTestlist.yml +2 -2
- metadata +3 -57
- data/Gemfile.lock +0 -60
- data/doc/classes/ApplicationLogs.html +0 -239
- data/doc/classes/Campaign.html +0 -843
- data/doc/classes/CommandlineOptions.html +0 -131
- data/doc/classes/Driver.html +0 -182
- data/doc/classes/Hash.html +0 -137
- data/doc/classes/Ide.html +0 -194
- data/doc/classes/MapSelenium.html +0 -197
- data/doc/classes/Net.html +0 -107
- data/doc/classes/Oats/OatsFilterError.html +0 -119
- data/doc/classes/Oats.html +0 -998
- data/doc/classes/OatsAssertError.html +0 -119
- data/doc/classes/OatsBadInput.html +0 -119
- data/doc/classes/OatsData.html +0 -290
- data/doc/classes/OatsError.html +0 -117
- data/doc/classes/OatsExit.html +0 -117
- data/doc/classes/OatsLock.html +0 -254
- data/doc/classes/OatsMain.html +0 -182
- data/doc/classes/OatsMysqlError.html +0 -113
- data/doc/classes/OatsMysqlMissingInput.html +0 -113
- data/doc/classes/OatsReportError.html +0 -113
- data/doc/classes/OatsSetupError.html +0 -119
- data/doc/classes/OatsTestError.html +0 -119
- data/doc/classes/OatsTestExit.html +0 -119
- data/doc/classes/OatsTestLocateError.html +0 -120
- data/doc/classes/OatsVerifyError.html +0 -119
- data/doc/classes/Ragent.html +0 -397
- data/doc/classes/Rclient.html +0 -236
- data/doc/classes/Report.html +0 -368
- data/doc/classes/Reports.html +0 -244
- data/doc/classes/RestApi.html +0 -333
- data/doc/classes/RhttpClient.html +0 -236
- data/doc/classes/Rimap.html +0 -170
- data/doc/classes/Rmysql.html +0 -176
- data/doc/classes/Roptions.html +0 -131
- data/doc/classes/Rselenium.html +0 -233
- data/doc/classes/Rssh.html +0 -138
- data/doc/classes/Runnable.html +0 -174
- data/doc/classes/SFTriggers.html +0 -206
- data/doc/classes/Selenium/Client/Driver.html +0 -211
- data/doc/classes/Selenium/Client.html +0 -107
- data/doc/classes/Selenium.html +0 -107
- data/doc/classes/SystemCapture.html +0 -304
- data/doc/classes/TestCase.html +0 -418
- data/doc/classes/TestData.html +0 -235
- data/doc/classes/TestList.html +0 -264
- data/doc/classes/Tools.html +0 -244
- data/doc/classes/Util.html +0 -201
- data/doc/classes/Variation.html +0 -206
- data/doc/fr_class_index.html +0 -92
- data/doc/fr_method_index.html +0 -465
- data/doc/index.html +0 -23
- data/doc/rdoc-style.css +0 -208
- data/oats_tests/examples/core/ok_verify.rb_ok/rats_test.log +0 -2
data/doc/classes/TestCase.html
DELETED
@@ -1,418 +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: TestCase</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">TestCase</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/test_case_rb.html">
|
59
|
-
lib/test_case.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="#M000082">backtrace</a>
|
90
|
-
<a href="#M000081">backtrace</a>
|
91
|
-
<a href="#M000085">collect_downloaded_output</a>
|
92
|
-
<a href="#M000086">locate_test_rb</a>
|
93
|
-
<a href="#M000087">name</a>
|
94
|
-
<a href="#M000080">new</a>
|
95
|
-
<a href="#M000090">ok</a>
|
96
|
-
<a href="#M000091">ok_out</a>
|
97
|
-
<a href="#M000089">out</a>
|
98
|
-
<a href="#M000088">root</a>
|
99
|
-
<a href="#M000083">run</a>
|
100
|
-
<a href="#M000084">timed_out?</a>
|
101
|
-
</div>
|
102
|
-
</div>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if includes -->
|
108
|
-
|
109
|
-
<div id="section">
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<div id="attribute-list">
|
116
|
-
<h3 class="section-bar">Attributes</h3>
|
117
|
-
|
118
|
-
<div class="name-list">
|
119
|
-
<table>
|
120
|
-
<tr class="top-aligned-row context-row">
|
121
|
-
<td class="context-item-name">dir</td>
|
122
|
-
<td class="context-item-value"> [R] </td>
|
123
|
-
<td class="context-item-desc">
|
124
|
-
Absolute path of the test
|
125
|
-
|
126
|
-
</td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">downloaded_files</td>
|
130
|
-
<td class="context-item-value"> [R] </td>
|
131
|
-
<td class="context-item-desc">
|
132
|
-
Array containing names of the downloded files during the test
|
133
|
-
|
134
|
-
</td>
|
135
|
-
</tr>
|
136
|
-
<tr class="top-aligned-row context-row">
|
137
|
-
<td class="context-item-name">end_time</td>
|
138
|
-
<td class="context-item-value"> [RW] </td>
|
139
|
-
<td class="context-item-desc">
|
140
|
-
Time object referring to the end time of the test.
|
141
|
-
|
142
|
-
</td>
|
143
|
-
</tr>
|
144
|
-
<tr class="top-aligned-row context-row">
|
145
|
-
<td class="context-item-name">errors</td>
|
146
|
-
<td class="context-item-value"> [R] </td>
|
147
|
-
<td class="context-item-desc">
|
148
|
-
List of exceptions encountered on the test so far
|
149
|
-
|
150
|
-
</td>
|
151
|
-
</tr>
|
152
|
-
<tr class="top-aligned-row context-row">
|
153
|
-
<td class="context-item-name">id</td>
|
154
|
-
<td class="context-item-value"> [R] </td>
|
155
|
-
<td class="context-item-desc">
|
156
|
-
Path of test relative to the dir_tests library
|
157
|
-
|
158
|
-
</td>
|
159
|
-
</tr>
|
160
|
-
<tr class="top-aligned-row context-row">
|
161
|
-
<td class="context-item-name">error_capture_file</td>
|
162
|
-
<td class="context-item-value"> [RW] </td>
|
163
|
-
<td class="context-item-desc">
|
164
|
-
System capture sets this to true if error files are created
|
165
|
-
|
166
|
-
</td>
|
167
|
-
</tr>
|
168
|
-
<tr class="top-aligned-row context-row">
|
169
|
-
<td class="context-item-name">is_file</td>
|
170
|
-
<td class="context-item-value"> [R] </td>
|
171
|
-
<td class="context-item-desc">
|
172
|
-
true if the test is a single rb file instead of a directory
|
173
|
-
|
174
|
-
</td>
|
175
|
-
</tr>
|
176
|
-
<tr class="top-aligned-row context-row">
|
177
|
-
<td class="context-item-name">result</td>
|
178
|
-
<td class="context-item-value"> [R] </td>
|
179
|
-
<td class="context-item-desc">
|
180
|
-
Output result directory
|
181
|
-
|
182
|
-
</td>
|
183
|
-
</tr>
|
184
|
-
<tr class="top-aligned-row context-row">
|
185
|
-
<td class="context-item-name">start_time</td>
|
186
|
-
<td class="context-item-value"> [R] </td>
|
187
|
-
<td class="context-item-desc">
|
188
|
-
Time object referring to the start time of the test.
|
189
|
-
|
190
|
-
</td>
|
191
|
-
</tr>
|
192
|
-
<tr class="top-aligned-row context-row">
|
193
|
-
<td class="context-item-name">status</td>
|
194
|
-
<td class="context-item-value"> [RW] </td>
|
195
|
-
<td class="context-item-desc">
|
196
|
-
Current status of the test 0:pass, 1:fail, 2:skip
|
197
|
-
|
198
|
-
</td>
|
199
|
-
</tr>
|
200
|
-
<tr class="top-aligned-row context-row">
|
201
|
-
<td class="context-item-name">type</td>
|
202
|
-
<td class="context-item-value"> [R] </td>
|
203
|
-
<td class="context-item-desc">
|
204
|
-
Type of last executed rtest file 1:rb, 2:ide, 3:sql
|
205
|
-
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
</table>
|
209
|
-
</div>
|
210
|
-
</div>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
<!-- if method_list -->
|
215
|
-
<div id="methods">
|
216
|
-
<h3 class="section-bar">Public Class methods</h3>
|
217
|
-
|
218
|
-
<div id="method-M000082" class="method-detail">
|
219
|
-
<a name="M000082"></a>
|
220
|
-
|
221
|
-
<div class="method-heading">
|
222
|
-
<a href="TestCase.src/M000082.html" target="Code" class="method-signature"
|
223
|
-
onclick="popupCode('TestCase.src/M000082.html');return false;">
|
224
|
-
<span class="method-name">backtrace</span><span class="method-args">(obj=nil)</span>
|
225
|
-
</a>
|
226
|
-
</div>
|
227
|
-
|
228
|
-
<div class="method-description">
|
229
|
-
</div>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div id="method-M000086" class="method-detail">
|
233
|
-
<a name="M000086"></a>
|
234
|
-
|
235
|
-
<div class="method-heading">
|
236
|
-
<a href="TestCase.src/M000086.html" target="Code" class="method-signature"
|
237
|
-
onclick="popupCode('TestCase.src/M000086.html');return false;">
|
238
|
-
<span class="method-name">locate_test_rb</span><span class="method-args">(ruby_file_name)</span>
|
239
|
-
</a>
|
240
|
-
</div>
|
241
|
-
|
242
|
-
<div class="method-description">
|
243
|
-
</div>
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div id="method-M000080" class="method-detail">
|
247
|
-
<a name="M000080"></a>
|
248
|
-
|
249
|
-
<div class="method-heading">
|
250
|
-
<a href="TestCase.src/M000080.html" target="Code" class="method-signature"
|
251
|
-
onclick="popupCode('TestCase.src/M000080.html');return false;">
|
252
|
-
<span class="method-name">new</span><span class="method-args">(id,path, is_file = nil)</span>
|
253
|
-
</a>
|
254
|
-
</div>
|
255
|
-
|
256
|
-
<div class="method-description">
|
257
|
-
</div>
|
258
|
-
</div>
|
259
|
-
|
260
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
261
|
-
|
262
|
-
<div id="method-M000081" class="method-detail">
|
263
|
-
<a name="M000081"></a>
|
264
|
-
|
265
|
-
<div class="method-heading">
|
266
|
-
<a href="TestCase.src/M000081.html" target="Code" class="method-signature"
|
267
|
-
onclick="popupCode('TestCase.src/M000081.html');return false;">
|
268
|
-
<span class="method-name">backtrace</span><span class="method-args">(obj=nil)</span>
|
269
|
-
</a>
|
270
|
-
</div>
|
271
|
-
|
272
|
-
<div class="method-description">
|
273
|
-
</div>
|
274
|
-
</div>
|
275
|
-
|
276
|
-
<div id="method-M000085" class="method-detail">
|
277
|
-
<a name="M000085"></a>
|
278
|
-
|
279
|
-
<div class="method-heading">
|
280
|
-
<a href="TestCase.src/M000085.html" target="Code" class="method-signature"
|
281
|
-
onclick="popupCode('TestCase.src/M000085.html');return false;">
|
282
|
-
<span class="method-name">collect_downloaded_output</span><span class="method-args">()</span>
|
283
|
-
</a>
|
284
|
-
</div>
|
285
|
-
|
286
|
-
<div class="method-description">
|
287
|
-
<p>
|
288
|
-
Collect any downloaded browser files into the test directory
|
289
|
-
</p>
|
290
|
-
</div>
|
291
|
-
</div>
|
292
|
-
|
293
|
-
<div id="method-M000087" class="method-detail">
|
294
|
-
<a name="M000087"></a>
|
295
|
-
|
296
|
-
<div class="method-heading">
|
297
|
-
<a href="TestCase.src/M000087.html" target="Code" class="method-signature"
|
298
|
-
onclick="popupCode('TestCase.src/M000087.html');return false;">
|
299
|
-
<span class="method-name">name</span><span class="method-args">()</span>
|
300
|
-
</a>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
<div class="method-description">
|
304
|
-
<p>
|
305
|
-
Basename of test.dir
|
306
|
-
</p>
|
307
|
-
</div>
|
308
|
-
</div>
|
309
|
-
|
310
|
-
<div id="method-M000090" class="method-detail">
|
311
|
-
<a name="M000090"></a>
|
312
|
-
|
313
|
-
<div class="method-heading">
|
314
|
-
<a href="TestCase.src/M000090.html" target="Code" class="method-signature"
|
315
|
-
onclick="popupCode('TestCase.src/M000090.html');return false;">
|
316
|
-
<span class="method-name">ok</span><span class="method-args">()</span>
|
317
|
-
</a>
|
318
|
-
</div>
|
319
|
-
|
320
|
-
<div class="method-description">
|
321
|
-
<p>
|
322
|
-
Directory of expected results, manually checked in to svn under test.dir
|
323
|
-
</p>
|
324
|
-
</div>
|
325
|
-
</div>
|
326
|
-
|
327
|
-
<div id="method-M000091" class="method-detail">
|
328
|
-
<a name="M000091"></a>
|
329
|
-
|
330
|
-
<div class="method-heading">
|
331
|
-
<a href="TestCase.src/M000091.html" target="Code" class="method-signature"
|
332
|
-
onclick="popupCode('TestCase.src/M000091.html');return false;">
|
333
|
-
<span class="method-name">ok_out</span><span class="method-args">()</span>
|
334
|
-
</a>
|
335
|
-
</div>
|
336
|
-
|
337
|
-
<div class="method-description">
|
338
|
-
<p>
|
339
|
-
Directory under test.ok, contains expected result output files
|
340
|
-
</p>
|
341
|
-
</div>
|
342
|
-
</div>
|
343
|
-
|
344
|
-
<div id="method-M000089" class="method-detail">
|
345
|
-
<a name="M000089"></a>
|
346
|
-
|
347
|
-
<div class="method-heading">
|
348
|
-
<a href="TestCase.src/M000089.html" target="Code" class="method-signature"
|
349
|
-
onclick="popupCode('TestCase.src/M000089.html');return false;">
|
350
|
-
<span class="method-name">out</span><span class="method-args">()</span>
|
351
|
-
</a>
|
352
|
-
</div>
|
353
|
-
|
354
|
-
<div class="method-description">
|
355
|
-
<p>
|
356
|
-
Directory under test.result, contains output files to be compared
|
357
|
-
</p>
|
358
|
-
</div>
|
359
|
-
</div>
|
360
|
-
|
361
|
-
<div id="method-M000088" class="method-detail">
|
362
|
-
<a name="M000088"></a>
|
363
|
-
|
364
|
-
<div class="method-heading">
|
365
|
-
<a href="TestCase.src/M000088.html" target="Code" class="method-signature"
|
366
|
-
onclick="popupCode('TestCase.src/M000088.html');return false;">
|
367
|
-
<span class="method-name">root</span><span class="method-args">()</span>
|
368
|
-
</a>
|
369
|
-
</div>
|
370
|
-
|
371
|
-
<div class="method-description">
|
372
|
-
<p>
|
373
|
-
Parent test.dir of test plus the test.name
|
374
|
-
</p>
|
375
|
-
</div>
|
376
|
-
</div>
|
377
|
-
|
378
|
-
<div id="method-M000083" class="method-detail">
|
379
|
-
<a name="M000083"></a>
|
380
|
-
|
381
|
-
<div class="method-heading">
|
382
|
-
<a href="TestCase.src/M000083.html" target="Code" class="method-signature"
|
383
|
-
onclick="popupCode('TestCase.src/M000083.html');return false;">
|
384
|
-
<span class="method-name">run</span><span class="method-args">()</span>
|
385
|
-
</a>
|
386
|
-
</div>
|
387
|
-
|
388
|
-
<div class="method-description">
|
389
|
-
</div>
|
390
|
-
</div>
|
391
|
-
|
392
|
-
<div id="method-M000084" class="method-detail">
|
393
|
-
<a name="M000084"></a>
|
394
|
-
|
395
|
-
<div class="method-heading">
|
396
|
-
<a href="TestCase.src/M000084.html" target="Code" class="method-signature"
|
397
|
-
onclick="popupCode('TestCase.src/M000084.html');return false;">
|
398
|
-
<span class="method-name">timed_out?</span><span class="method-args">()</span>
|
399
|
-
</a>
|
400
|
-
</div>
|
401
|
-
|
402
|
-
<div class="method-description">
|
403
|
-
</div>
|
404
|
-
</div>
|
405
|
-
|
406
|
-
|
407
|
-
</div>
|
408
|
-
|
409
|
-
|
410
|
-
</div>
|
411
|
-
|
412
|
-
|
413
|
-
<div id="validator-badges">
|
414
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
415
|
-
</div>
|
416
|
-
|
417
|
-
</body>
|
418
|
-
</html>
|
data/doc/classes/TestData.html
DELETED
@@ -1,235 +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>Module: TestData</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>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">TestData</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/test_data_rb.html">
|
59
|
-
lib/test_data.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
Interface module for <a href="TestCase.html">TestCase</a> or <a
|
78
|
-
href="TestList.html">TestList</a> related operations
|
79
|
-
</p>
|
80
|
-
|
81
|
-
</div>
|
82
|
-
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<div id="method-list">
|
87
|
-
<h3 class="section-bar">Methods</h3>
|
88
|
-
|
89
|
-
<div class="name-list">
|
90
|
-
<a href="#M000364">current_test</a>
|
91
|
-
<a href="#M000368">error</a>
|
92
|
-
<a href="#M000369">locate</a>
|
93
|
-
<a href="#M000366">pause_after_error</a>
|
94
|
-
<a href="#M000367">pause_after_error=</a>
|
95
|
-
<a href="#M000365">previous_test</a>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
<!-- if includes -->
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
<div id="methods">
|
115
|
-
<h3 class="section-bar">Public Class methods</h3>
|
116
|
-
|
117
|
-
<div id="method-M000364" class="method-detail">
|
118
|
-
<a name="M000364"></a>
|
119
|
-
|
120
|
-
<div class="method-heading">
|
121
|
-
<a href="TestData.src/M000364.html" target="Code" class="method-signature"
|
122
|
-
onclick="popupCode('TestData.src/M000364.html');return false;">
|
123
|
-
<span class="method-name">current_test</span><span class="method-args">(index = -1)</span>
|
124
|
-
</a>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div class="method-description">
|
128
|
-
<p>
|
129
|
-
Returns last test in the currently executing list
|
130
|
-
</p>
|
131
|
-
<table>
|
132
|
-
<tr><td valign="top">index:</td><td>of the test in tests array. Default is last
|
133
|
-
|
134
|
-
</td></tr>
|
135
|
-
</table>
|
136
|
-
<pre>
|
137
|
-
Example
|
138
|
-
</pre>
|
139
|
-
<p>
|
140
|
-
<a href="TestData.html#M000364">TestData.current_test(-2)</a> =>
|
141
|
-
Previous test
|
142
|
-
</p>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
<div id="method-M000368" class="method-detail">
|
147
|
-
<a name="M000368"></a>
|
148
|
-
|
149
|
-
<div class="method-heading">
|
150
|
-
<a href="TestData.src/M000368.html" target="Code" class="method-signature"
|
151
|
-
onclick="popupCode('TestData.src/M000368.html');return false;">
|
152
|
-
<span class="method-name">error</span><span class="method-args">(exception)</span>
|
153
|
-
</a>
|
154
|
-
</div>
|
155
|
-
|
156
|
-
<div class="method-description">
|
157
|
-
</div>
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div id="method-M000369" class="method-detail">
|
161
|
-
<a name="M000369"></a>
|
162
|
-
|
163
|
-
<div class="method-heading">
|
164
|
-
<a href="TestData.src/M000369.html" target="Code" class="method-signature"
|
165
|
-
onclick="popupCode('TestData.src/M000369.html');return false;">
|
166
|
-
<span class="method-name">locate</span><span class="method-args">(test_file, dir = false)</span>
|
167
|
-
</a>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<div class="method-description">
|
171
|
-
<p>
|
172
|
-
Returns absolute path after locating file in test directories If dir is
|
173
|
-
false, do not return a directory
|
174
|
-
</p>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
<div id="method-M000366" class="method-detail">
|
179
|
-
<a name="M000366"></a>
|
180
|
-
|
181
|
-
<div class="method-heading">
|
182
|
-
<a href="TestData.src/M000366.html" target="Code" class="method-signature"
|
183
|
-
onclick="popupCode('TestData.src/M000366.html');return false;">
|
184
|
-
<span class="method-name">pause_after_error</span><span class="method-args">()</span>
|
185
|
-
</a>
|
186
|
-
</div>
|
187
|
-
|
188
|
-
<div class="method-description">
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<div id="method-M000367" class="method-detail">
|
193
|
-
<a name="M000367"></a>
|
194
|
-
|
195
|
-
<div class="method-heading">
|
196
|
-
<a href="TestData.src/M000367.html" target="Code" class="method-signature"
|
197
|
-
onclick="popupCode('TestData.src/M000367.html');return false;">
|
198
|
-
<span class="method-name">pause_after_error=</span><span class="method-args">(do_pause)</span>
|
199
|
-
</a>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
<div class="method-description">
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
|
206
|
-
<div id="method-M000365" class="method-detail">
|
207
|
-
<a name="M000365"></a>
|
208
|
-
|
209
|
-
<div class="method-heading">
|
210
|
-
<a href="TestData.src/M000365.html" target="Code" class="method-signature"
|
211
|
-
onclick="popupCode('TestData.src/M000365.html');return false;">
|
212
|
-
<span class="method-name">previous_test</span><span class="method-args">()</span>
|
213
|
-
</a>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<div class="method-description">
|
217
|
-
<p>
|
218
|
-
Returns <a href="TestData.html#M000364">TestData.current_test(-2)</a>
|
219
|
-
</p>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
|
223
|
-
|
224
|
-
</div>
|
225
|
-
|
226
|
-
|
227
|
-
</div>
|
228
|
-
|
229
|
-
|
230
|
-
<div id="validator-badges">
|
231
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
232
|
-
</div>
|
233
|
-
|
234
|
-
</body>
|
235
|
-
</html>
|