blob: 7c66392dc0cf2f233d8f8f3a4f278633391bc62e [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.bin.cli.TestThread</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.bin-module.html">Package&nbsp;bin</a> ::
42 <a href="TestON.bin.cli-module.html">Module&nbsp;cli</a> ::
43 Class&nbsp;TestThread
44 </span>
45 </td>
46 <td>
47 <table cellpadding="0" cellspacing="0">
48 <!-- hide/show private -->
49 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
50 onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
51 <tr><td align="right"><span class="options"
52 >[<a href="frames.html" target="_top">frames</a
53 >]&nbsp;|&nbsp;<a href="TestON.bin.cli.TestThread-class.html"
54 target="_top">no&nbsp;frames</a>]</span></td></tr>
55 </table>
56 </td>
57 </tr>
58</table>
59<!-- ==================== CLASS DESCRIPTION ==================== -->
60<h1 class="epydoc">Class TestThread</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread">source&nbsp;code</a></span></p>
61<pre class="base-tree">
62 object --+
63 |
64threading._Verbose --+
65 |
66 threading.Thread --+
67 |
68 <strong class="uidshort">TestThread</strong>
69</pre>
70
71<hr />
72<p>TestThread class will handle the test execution and will communicate
73 with the thread in the do_run.</p>
74
75<!-- ==================== INSTANCE METHODS ==================== -->
76<a name="section-InstanceMethods"></a>
77<table class="summary" border="1" cellpadding="3"
78 cellspacing="0" width="100%" bgcolor="white">
79<tr bgcolor="#70b0f0" class="table-header">
80 <td colspan="2" class="table-header">
81 <table border="0" cellpadding="0" cellspacing="0" width="100%">
82 <tr valign="top">
83 <td align="left"><span class="table-header">Instance Methods</span></td>
84 <td align="right" valign="top"
85 ><span class="options">[<a href="#section-InstanceMethods"
86 class="privatelink" onclick="toggle_private();"
87 >hide private</a>]</span></td>
88 </tr>
89 </table>
90 </td>
91</tr>
92<tr>
93 <td width="15%" align="right" valign="top" class="summary">
94 <span class="summary-type">&nbsp;</span>
95 </td><td class="summary">
96 <table width="100%" cellpadding="0" cellspacing="0" border="0">
97 <tr>
98 <td><span class="summary-sig"><a href="TestON.bin.cli.TestThread-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
99 <span class="summary-sig-arg">options</span>)</span><br />
100 x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
101 <td align="right" valign="top">
102 <span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.__init__">source&nbsp;code</a></span>
103
104 </td>
105 </tr>
106 </table>
107
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 href="TestON.bin.cli.TestThread-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
117 Will execute the test.</td>
118 <td align="right" valign="top">
119 <span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.run">source&nbsp;code</a></span>
120
121 </td>
122 </tr>
123 </table>
124
125 </td>
126 </tr>
127<tr>
128 <td width="15%" align="right" valign="top" class="summary">
129 <span class="summary-type">&nbsp;</span>
130 </td><td class="summary">
131 <table width="100%" cellpadding="0" cellspacing="0" border="0">
132 <tr>
133 <td><span class="summary-sig"><a name="pause"></a><span class="summary-sig-name">pause</span>(<span class="summary-sig-arg">self</span>)</span><br />
134 Will pause the test.</td>
135 <td align="right" valign="top">
136 <span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.pause">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="play"></a><span class="summary-sig-name">play</span>(<span class="summary-sig-arg">self</span>)</span><br />
151 Will resume the paused test.</td>
152 <td align="right" valign="top">
153 <span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.play">source&nbsp;code</a></span>
154
155 </td>
156 </tr>
157 </table>
158
159 </td>
160 </tr>
161<tr>
162 <td width="15%" align="right" valign="top" class="summary">
163 <span class="summary-type">&nbsp;</span>
164 </td><td class="summary">
165 <table width="100%" cellpadding="0" cellspacing="0" border="0">
166 <tr>
167 <td><span class="summary-sig"><a name="stop"></a><span class="summary-sig-name">stop</span>(<span class="summary-sig-arg">self</span>)</span><br />
168 Will stop the test execution.</td>
169 <td align="right" valign="top">
170 <span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.stop">source&nbsp;code</a></span>
171
172 </td>
173 </tr>
174 </table>
175
176 </td>
177 </tr>
178 <tr>
179 <td colspan="2" class="summary">
180 <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
181 <code>__repr__</code>,
182 <code>daemon</code>,
183 <code>getName</code>,
184 <code>ident</code>,
185 <code>isAlive</code>,
186 <code>isDaemon</code>,
187 <code>is_alive</code>,
188 <code>join</code>,
189 <code>name</code>,
190 <code>setDaemon</code>,
191 <code>setName</code>,
192 <code>start</code>
193 </p>
194 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
195 <code>_set_daemon</code>,
196 <code>_set_ident</code>
197 </p></div>
198 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>threading._Verbose</code></b> (private):
199 <code>_note</code>
200 </p></div>
201 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
202 <code>__delattr__</code>,
203 <code>__format__</code>,
204 <code>__getattribute__</code>,
205 <code>__hash__</code>,
206 <code>__new__</code>,
207 <code>__reduce__</code>,
208 <code>__reduce_ex__</code>,
209 <code>__setattr__</code>,
210 <code>__sizeof__</code>,
211 <code>__str__</code>,
212 <code>__subclasshook__</code>
213 </p>
214 </td>
215 </tr>
216</table>
217<!-- ==================== PROPERTIES ==================== -->
218<a name="section-Properties"></a>
219<table class="summary" border="1" cellpadding="3"
220 cellspacing="0" width="100%" bgcolor="white">
221<tr bgcolor="#70b0f0" class="table-header">
222 <td colspan="2" class="table-header">
223 <table border="0" cellpadding="0" cellspacing="0" width="100%">
224 <tr valign="top">
225 <td align="left"><span class="table-header">Properties</span></td>
226 <td align="right" valign="top"
227 ><span class="options">[<a href="#section-Properties"
228 class="privatelink" onclick="toggle_private();"
229 >hide private</a>]</span></td>
230 </tr>
231 </table>
232 </td>
233</tr>
234 <tr>
235 <td colspan="2" class="summary">
236 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
237 <code>__class__</code>
238 </p>
239 </td>
240 </tr>
241</table>
242<!-- ==================== METHOD DETAILS ==================== -->
243<a name="section-MethodDetails"></a>
244<table class="details" border="1" cellpadding="3"
245 cellspacing="0" width="100%" bgcolor="white">
246<tr bgcolor="#70b0f0" class="table-header">
247 <td colspan="2" class="table-header">
248 <table border="0" cellpadding="0" cellspacing="0" width="100%">
249 <tr valign="top">
250 <td align="left"><span class="table-header">Method Details</span></td>
251 <td align="right" valign="top"
252 ><span class="options">[<a href="#section-MethodDetails"
253 class="privatelink" onclick="toggle_private();"
254 >hide private</a>]</span></td>
255 </tr>
256 </table>
257 </td>
258</tr>
259</table>
260<a name="__init__"></a>
261<div>
262<table class="details" border="1" cellpadding="3"
263 cellspacing="0" width="100%" bgcolor="white">
264<tr><td>
265 <table width="100%" cellpadding="0" cellspacing="0" border="0">
266 <tr valign="top"><td>
267 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
268 <span class="sig-arg">options</span>)</span>
269 <br /><em class="fname">(Constructor)</em>
270 </h3>
271 </td><td align="right" valign="top"
272 ><span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.__init__">source&nbsp;code</a></span>&nbsp;
273 </td>
274 </tr></table>
275
276 <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
277 signature</p>
278 <dl class="fields">
279 <dt>Overrides:
280 object.__init__
281 <dd><em class="note">(inherited documentation)</em></dd>
282 </dt>
283 </dl>
284</td></tr></table>
285</div>
286<a name="run"></a>
287<div>
288<table class="details" border="1" cellpadding="3"
289 cellspacing="0" width="100%" bgcolor="white">
290<tr><td>
291 <table width="100%" cellpadding="0" cellspacing="0" border="0">
292 <tr valign="top"><td>
293 <h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
294 </h3>
295 </td><td align="right" valign="top"
296 ><span class="codelink"><a href="TestON.bin.cli-pysrc.html#TestThread.run">source&nbsp;code</a></span>&nbsp;
297 </td>
298 </tr></table>
299
300 <p>Will execute the test.</p>
301 <dl class="fields">
302 <dt>Overrides:
303 threading.Thread.run
304 </dt>
305 </dl>
306</td></tr></table>
307</div>
308<br />
309<!-- ==================== NAVIGATION BAR ==================== -->
310<table class="navbar" border="0" width="100%" cellpadding="0"
311 bgcolor="#a0c0ff" cellspacing="0">
312 <tr valign="middle">
313 <!-- Home link -->
314 <th>&nbsp;&nbsp;&nbsp;<a
315 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
316
317 <!-- Tree link -->
318 <th>&nbsp;&nbsp;&nbsp;<a
319 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
320
321 <!-- Index link -->
322 <th>&nbsp;&nbsp;&nbsp;<a
323 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
324
325 <!-- Help link -->
326 <th>&nbsp;&nbsp;&nbsp;<a
327 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
328
329 <th class="navbar" width="100%"></th>
330 </tr>
331</table>
332<table border="0" cellpadding="0" cellspacing="0" width="100%%">
333 <tr>
334 <td align="left" class="footer">
335 Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013
336 </td>
337 <td align="right" class="footer">
338 <a target="mainFrame" href="http://epydoc.sourceforge.net"
339 >http://epydoc.sourceforge.net</a>
340 </td>
341 </tr>
342</table>
343
344<script type="text/javascript">
345 <!--
346 // Private objects are initially displayed (because if
347 // javascript is turned off then we want them to be
348 // visible); but by default, we want to hide them. So hide
349 // them unless we have a cookie that says to show them.
350 checkCookie();
351 // -->
352</script>
353</body>
354</html>