blob: 29e89f29ccd53b0cb63d5b9f27694c0c748b17c7 [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6 <title>TestON.core.teston</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12 alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
16 <tr valign="middle">
17 <!-- Home link -->
18 <th>&nbsp;&nbsp;&nbsp;<a
19 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21 <!-- Tree link -->
22 <th>&nbsp;&nbsp;&nbsp;<a
23 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25 <!-- Index link -->
26 <th>&nbsp;&nbsp;&nbsp;<a
27 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29 <!-- Help link -->
30 <th>&nbsp;&nbsp;&nbsp;<a
31 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33 <th class="navbar" width="100%"></th>
34 </tr>
35</table>
36<table width="100%" cellpadding="0" cellspacing="0">
37 <tr valign="top">
38 <td width="100%">
39 <span class="breadcrumbs">
40 <a href="TestON-module.html">Package&nbsp;TestON</a> ::
41 <a href="TestON.core-module.html">Package&nbsp;core</a> ::
42 Module&nbsp;teston
43 </span>
44 </td>
45 <td>
46 <table cellpadding="0" cellspacing="0">
47 <!-- hide/show private -->
48 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
49 onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
50 <tr><td align="right"><span class="options"
51 >[<a href="frames.html" target="_top">frames</a
52 >]&nbsp;|&nbsp;<a href="TestON.core.teston-module.html"
53 target="_top">no&nbsp;frames</a>]</span></td></tr>
54 </table>
55 </td>
56 </tr>
57</table>
58<!-- ==================== MODULE DESCRIPTION ==================== -->
59<h1 class="epydoc">Module teston</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.core.teston-pysrc.html">source&nbsp;code</a></span></p>
60<p>Created on 22-Oct-2012</p>
61
62<hr />
63<div class="fields"> <p><strong>Author:</strong>
64 Anil Kumar (anilkumar.s@paxterrasolutions.com)
65 <p>teston is the main module.</p>
66 </p>
67</div><!-- ==================== CLASSES ==================== -->
68<a name="section-Classes"></a>
69<table class="summary" border="1" cellpadding="3"
70 cellspacing="0" width="100%" bgcolor="white">
71<tr bgcolor="#70b0f0" class="table-header">
72 <td colspan="2" class="table-header">
73 <table border="0" cellpadding="0" cellspacing="0" width="100%">
74 <tr valign="top">
75 <td align="left"><span class="table-header">Classes</span></td>
76 <td align="right" valign="top"
77 ><span class="options">[<a href="#section-Classes"
78 class="privatelink" onclick="toggle_private();"
79 >hide private</a>]</span></td>
80 </tr>
81 </table>
82 </td>
83</tr>
84<tr>
85 <td width="15%" align="right" valign="top" class="summary">
86 <span class="summary-type">&nbsp;</span>
87 </td><td class="summary">
88 <a href="TestON.core.teston.TestON-class.html" class="summary-name">TestON</a><br />
89 TestON will initiate the specified test.
90 </td>
91 </tr>
92</table>
93<!-- ==================== FUNCTIONS ==================== -->
94<a name="section-Functions"></a>
95<table class="summary" border="1" cellpadding="3"
96 cellspacing="0" width="100%" bgcolor="white">
97<tr bgcolor="#70b0f0" class="table-header">
98 <td colspan="2" class="table-header">
99 <table border="0" cellpadding="0" cellspacing="0" width="100%">
100 <tr valign="top">
101 <td align="left"><span class="table-header">Functions</span></td>
102 <td align="right" valign="top"
103 ><span class="options">[<a href="#section-Functions"
104 class="privatelink" onclick="toggle_private();"
105 >hide private</a>]</span></td>
106 </tr>
107 </table>
108 </td>
109</tr>
110<tr>
111 <td width="15%" align="right" valign="top" class="summary">
112 <span class="summary-type">&nbsp;</span>
113 </td><td class="summary">
114 <table width="100%" cellpadding="0" cellspacing="0" border="0">
115 <tr>
116 <td><span class="summary-sig"><a name="verifyOptions"></a><span class="summary-sig-name">verifyOptions</span>(<span class="summary-sig-arg">options</span>)</span><br />
117 This will verify the command line options and set to default values,
118 if any option not given in command line.</td>
119 <td align="right" valign="top">
120 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyOptions">source&nbsp;code</a></span>
121
122 </td>
123 </tr>
124 </table>
125
126 </td>
127 </tr>
128<tr>
129 <td width="15%" align="right" valign="top" class="summary">
130 <span class="summary-type">&nbsp;</span>
131 </td><td class="summary">
132 <table width="100%" cellpadding="0" cellspacing="0" border="0">
133 <tr>
134 <td><span class="summary-sig"><a name="verifyTest"></a><span class="summary-sig-name">verifyTest</span>(<span class="summary-sig-arg">options</span>)</span></td>
135 <td align="right" valign="top">
136 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyTest">source&nbsp;code</a></span>
137
138 </td>
139 </tr>
140 </table>
141
142 </td>
143 </tr>
144<tr>
145 <td width="15%" align="right" valign="top" class="summary">
146 <span class="summary-type">&nbsp;</span>
147 </td><td class="summary">
148 <table width="100%" cellpadding="0" cellspacing="0" border="0">
149 <tr>
150 <td><span class="summary-sig"><a name="verifyExample"></a><span class="summary-sig-name">verifyExample</span>(<span class="summary-sig-arg">options</span>)</span></td>
151 <td align="right" valign="top">
152 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyExample">source&nbsp;code</a></span>
153
154 </td>
155 </tr>
156 </table>
157
158 </td>
159 </tr>
160<tr>
161 <td width="15%" align="right" valign="top" class="summary">
162 <span class="summary-type">&nbsp;</span>
163 </td><td class="summary">
164 <table width="100%" cellpadding="0" cellspacing="0" border="0">
165 <tr>
166 <td><span class="summary-sig"><a name="verifyLogdir"></a><span class="summary-sig-name">verifyLogdir</span>(<span class="summary-sig-arg">options</span>)</span></td>
167 <td align="right" valign="top">
168 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyLogdir">source&nbsp;code</a></span>
169
170 </td>
171 </tr>
172 </table>
173
174 </td>
175 </tr>
176<tr>
177 <td width="15%" align="right" valign="top" class="summary">
178 <span class="summary-type">&nbsp;</span>
179 </td><td class="summary">
180 <table width="100%" cellpadding="0" cellspacing="0" border="0">
181 <tr>
182 <td><span class="summary-sig"><a name="verifyMail"></a><span class="summary-sig-name">verifyMail</span>(<span class="summary-sig-arg">options</span>)</span></td>
183 <td align="right" valign="top">
184 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyMail">source&nbsp;code</a></span>
185
186 </td>
187 </tr>
188 </table>
189
190 </td>
191 </tr>
192<tr>
193 <td width="15%" align="right" valign="top" class="summary">
194 <span class="summary-type">&nbsp;</span>
195 </td><td class="summary">
196 <table width="100%" cellpadding="0" cellspacing="0" border="0">
197 <tr>
198 <td><span class="summary-sig"><a name="verifyTestCases"></a><span class="summary-sig-name">verifyTestCases</span>(<span class="summary-sig-arg">options</span>)</span></td>
199 <td align="right" valign="top">
200 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyTestCases">source&nbsp;code</a></span>
201
202 </td>
203 </tr>
204 </table>
205
206 </td>
207 </tr>
208<tr>
209 <td width="15%" align="right" valign="top" class="summary">
210 <span class="summary-type">&nbsp;</span>
211 </td><td class="summary">
212 <table width="100%" cellpadding="0" cellspacing="0" border="0">
213 <tr>
214 <td><span class="summary-sig"><a name="verifyTestScript"></a><span class="summary-sig-name">verifyTestScript</span>(<span class="summary-sig-arg">options</span>)</span><br />
215 Verifyies test script.</td>
216 <td align="right" valign="top">
217 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyTestScript">source&nbsp;code</a></span>
218
219 </td>
220 </tr>
221 </table>
222
223 </td>
224 </tr>
225<tr>
226 <td width="15%" align="right" valign="top" class="summary">
227 <span class="summary-type">&nbsp;</span>
228 </td><td class="summary">
229 <table width="100%" cellpadding="0" cellspacing="0" border="0">
230 <tr>
231 <td><span class="summary-sig"><a name="verifyParams"></a><span class="summary-sig-name">verifyParams</span>()</span></td>
232 <td align="right" valign="top">
233 <span class="codelink"><a href="TestON.core.teston-pysrc.html#verifyParams">source&nbsp;code</a></span>
234
235 </td>
236 </tr>
237 </table>
238
239 </td>
240 </tr>
241<tr>
242 <td width="15%" align="right" valign="top" class="summary">
243 <span class="summary-type">&nbsp;</span>
244 </td><td class="summary">
245 <table width="100%" cellpadding="0" cellspacing="0" border="0">
246 <tr>
247 <td><span class="summary-sig"><a href="TestON.core.teston-module.html#load_parser" class="summary-sig-name">load_parser</a>()</span><br />
248 It facilitates the loading customised parser for topology and params
249 file.</td>
250 <td align="right" valign="top">
251 <span class="codelink"><a href="TestON.core.teston-pysrc.html#load_parser">source&nbsp;code</a></span>
252
253 </td>
254 </tr>
255 </table>
256
257 </td>
258 </tr>
259<tr>
260 <td width="15%" align="right" valign="top" class="summary">
261 <span class="summary-type">&nbsp;</span>
262 </td><td class="summary">
263 <table width="100%" cellpadding="0" cellspacing="0" border="0">
264 <tr>
265 <td><span class="summary-sig"><a name="load_defaultParser"></a><span class="summary-sig-name">load_defaultParser</span>()</span><br />
266 It will load the default parser which is xml parser to parse the
267 params and topology file.</td>
268 <td align="right" valign="top">
269 <span class="codelink"><a href="TestON.core.teston-pysrc.html#load_defaultParser">source&nbsp;code</a></span>
270
271 </td>
272 </tr>
273 </table>
274
275 </td>
276 </tr>
277<tr>
278 <td width="15%" align="right" valign="top" class="summary">
279 <span class="summary-type">&nbsp;</span>
280 </td><td class="summary">
281 <table width="100%" cellpadding="0" cellspacing="0" border="0">
282 <tr>
283 <td><span class="summary-sig"><a href="TestON.core.teston-module.html#load_logger" class="summary-sig-name">load_logger</a>()</span><br />
284 It facilitates the loading customised parser for topology and params
285 file.</td>
286 <td align="right" valign="top">
287 <span class="codelink"><a href="TestON.core.teston-pysrc.html#load_logger">source&nbsp;code</a></span>
288
289 </td>
290 </tr>
291 </table>
292
293 </td>
294 </tr>
295<tr>
296 <td width="15%" align="right" valign="top" class="summary">
297 <span class="summary-type">&nbsp;</span>
298 </td><td class="summary">
299 <table width="100%" cellpadding="0" cellspacing="0" border="0">
300 <tr>
301 <td><span class="summary-sig"><a name="load_defaultlogger"></a><span class="summary-sig-name">load_defaultlogger</span>()</span><br />
302 It will load the default parser which is xml parser to parse the
303 params and topology file.</td>
304 <td align="right" valign="top">
305 <span class="codelink"><a href="TestON.core.teston-pysrc.html#load_defaultlogger">source&nbsp;code</a></span>
306
307 </td>
308 </tr>
309 </table>
310
311 </td>
312 </tr>
313<tr class="private">
314 <td width="15%" align="right" valign="top" class="summary">
315 <span class="summary-type">&nbsp;</span>
316 </td><td class="summary">
317 <table width="100%" cellpadding="0" cellspacing="0" border="0">
318 <tr>
319 <td><span class="summary-sig"><a name="_echo"></a><span class="summary-sig-name">_echo</span>(<span class="summary-sig-arg">self</span>)</span></td>
320 <td align="right" valign="top">
321 <span class="codelink"><a href="TestON.core.teston-pysrc.html#_echo">source&nbsp;code</a></span>
322
323 </td>
324 </tr>
325 </table>
326
327 </td>
328 </tr>
329</table>
330<!-- ==================== VARIABLES ==================== -->
331<a name="section-Variables"></a>
332<table class="summary" border="1" cellpadding="3"
333 cellspacing="0" width="100%" bgcolor="white">
334<tr bgcolor="#70b0f0" class="table-header">
335 <td colspan="2" class="table-header">
336 <table border="0" cellpadding="0" cellspacing="0" width="100%">
337 <tr valign="top">
338 <td align="left"><span class="table-header">Variables</span></td>
339 <td align="right" valign="top"
340 ><span class="options">[<a href="#section-Variables"
341 class="privatelink" onclick="toggle_private();"
342 >hide private</a>]</span></td>
343 </tr>
344 </table>
345 </td>
346</tr>
347<tr>
348 <td width="15%" align="right" valign="top" class="summary">
349 <span class="summary-type">&nbsp;</span>
350 </td><td class="summary">
351 <a name="module"></a><span class="summary-name">module</span> = <code title="new.module(&quot;test&quot;)">new.module(&quot;test&quot;)</code>
352 </td>
353 </tr>
354<tr>
355 <td width="15%" align="right" valign="top" class="summary">
356 <span class="summary-type">&nbsp;</span>
357 </td><td class="summary">
358 <a name="path"></a><span class="summary-name">path</span> = <code title="re.sub(&quot;(core|bin)$&quot;, &quot;&quot;, os.getcwd())">re.sub(&quot;(core|bin)$&quot;, &quot;&quot;, os.getcwd())</code>
359 </td>
360 </tr>
361<tr>
362 <td width="15%" align="right" valign="top" class="summary">
363 <span class="summary-type">&nbsp;</span>
364 </td><td class="summary">
365 <a name="drivers_path"></a><span class="summary-name">drivers_path</span> = <code title="path+ &quot;drivers/&quot;">path+ &quot;drivers/&quot;</code>
366 </td>
367 </tr>
368<tr>
369 <td width="15%" align="right" valign="top" class="summary">
370 <span class="summary-type">&nbsp;</span>
371 </td><td class="summary">
372 <a name="core_path"></a><span class="summary-name">core_path</span> = <code title="path+ &quot;core&quot;">path+ &quot;core&quot;</code>
373 </td>
374 </tr>
375<tr>
376 <td width="15%" align="right" valign="top" class="summary">
377 <span class="summary-type">&nbsp;</span>
378 </td><td class="summary">
379 <a name="tests_path"></a><span class="summary-name">tests_path</span> = <code title="path+ &quot;tests&quot;">path+ &quot;tests&quot;</code>
380 </td>
381 </tr>
382<tr>
383 <td width="15%" align="right" valign="top" class="summary">
384 <span class="summary-type">&nbsp;</span>
385 </td><td class="summary">
386 <a name="logs_path"></a><span class="summary-name">logs_path</span> = <code title="path+ &quot;logs/&quot;">path+ &quot;logs/&quot;</code>
387 </td>
388 </tr>
389<tr>
390 <td width="15%" align="right" valign="top" class="summary">
391 <span class="summary-type">&nbsp;</span>
392 </td><td class="summary">
393 <a name="config_path"></a><span class="summary-name">config_path</span> = <code title="path+ &quot;config/&quot;">path+ &quot;config/&quot;</code>
394 </td>
395 </tr>
396</table>
397<!-- ==================== FUNCTION DETAILS ==================== -->
398<a name="section-FunctionDetails"></a>
399<table class="details" border="1" cellpadding="3"
400 cellspacing="0" width="100%" bgcolor="white">
401<tr bgcolor="#70b0f0" class="table-header">
402 <td colspan="2" class="table-header">
403 <table border="0" cellpadding="0" cellspacing="0" width="100%">
404 <tr valign="top">
405 <td align="left"><span class="table-header">Function Details</span></td>
406 <td align="right" valign="top"
407 ><span class="options">[<a href="#section-FunctionDetails"
408 class="privatelink" onclick="toggle_private();"
409 >hide private</a>]</span></td>
410 </tr>
411 </table>
412 </td>
413</tr>
414</table>
415<a name="load_parser"></a>
416<div>
417<table class="details" border="1" cellpadding="3"
418 cellspacing="0" width="100%" bgcolor="white">
419<tr><td>
420 <table width="100%" cellpadding="0" cellspacing="0" border="0">
421 <tr valign="top"><td>
422 <h3 class="epydoc"><span class="sig"><span class="sig-name">load_parser</span>()</span>
423 </h3>
424 </td><td align="right" valign="top"
425 ><span class="codelink"><a href="TestON.core.teston-pysrc.html#load_parser">source&nbsp;code</a></span>&nbsp;
426 </td>
427 </tr></table>
428
429 <p>It facilitates the loading customised parser for topology and params
430 file. It loads parser mentioned in tab named parser of ofa.cfg file. It
431 also loads default xmlparser if no parser have specified in ofa.cfg
432 file.</p>
433 <dl class="fields">
434 </dl>
435</td></tr></table>
436</div>
437<a name="load_logger"></a>
438<div>
439<table class="details" border="1" cellpadding="3"
440 cellspacing="0" width="100%" bgcolor="white">
441<tr><td>
442 <table width="100%" cellpadding="0" cellspacing="0" border="0">
443 <tr valign="top"><td>
444 <h3 class="epydoc"><span class="sig"><span class="sig-name">load_logger</span>()</span>
445 </h3>
446 </td><td align="right" valign="top"
447 ><span class="codelink"><a href="TestON.core.teston-pysrc.html#load_logger">source&nbsp;code</a></span>&nbsp;
448 </td>
449 </tr></table>
450
451 <p>It facilitates the loading customised parser for topology and params
452 file. It loads parser mentioned in tab named parser of ofa.cfg file. It
453 also loads default xmlparser if no parser have specified in ofa.cfg
454 file.</p>
455 <dl class="fields">
456 </dl>
457</td></tr></table>
458</div>
459<br />
460<!-- ==================== NAVIGATION BAR ==================== -->
461<table class="navbar" border="0" width="100%" cellpadding="0"
462 bgcolor="#a0c0ff" cellspacing="0">
463 <tr valign="middle">
464 <!-- Home link -->
465 <th>&nbsp;&nbsp;&nbsp;<a
466 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
467
468 <!-- Tree link -->
469 <th>&nbsp;&nbsp;&nbsp;<a
470 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
471
472 <!-- Index link -->
473 <th>&nbsp;&nbsp;&nbsp;<a
474 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
475
476 <!-- Help link -->
477 <th>&nbsp;&nbsp;&nbsp;<a
478 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
479
480 <th class="navbar" width="100%"></th>
481 </tr>
482</table>
483<table border="0" cellpadding="0" cellspacing="0" width="100%%">
484 <tr>
485 <td align="left" class="footer">
486 Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013
487 </td>
488 <td align="right" class="footer">
489 <a target="mainFrame" href="http://epydoc.sourceforge.net"
490 >http://epydoc.sourceforge.net</a>
491 </td>
492 </tr>
493</table>
494
495<script type="text/javascript">
496 <!--
497 // Private objects are initially displayed (because if
498 // javascript is turned off then we want them to be
499 // visible); but by default, we want to hide them. So hide
500 // them unless we have a cookie that says to show them.
501 checkCookie();
502 // -->
503</script>
504</body>
505</html>