Documentation/Source/eric5.eric5-unittest.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.eric5-unittest</h1> 23 <h1>eric5.eric5-unittest</h1>
24 <p> 24 <p>
25 &#69;&#114;&#105;&#99;&#53; &#85;&#110;&#105;&#116;&#116;&#101;&#115;&#116; 25 Eric5 Unittest
26 </p><p> 26 </p><p>
27 &#84;&#104;&#105;&#115; &#105;&#115; &#116;&#104;&#101; &#109;&#97;&#105;&#110; &#80;y&#116;&#104;&#111;&#110; &#115;&#99;&#114;&#105;&#112;&#116; &#116;&#104;&#97;&#116; &#112;&#101;&#114;&#102;&#111;&#114;&#109;&#115; &#116;&#104;&#101; &#110;&#101;&#99;&#101;&#115;&#115;&#97;&#114;y &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#97;&#116;&#105;&#111;&#110; 27 This is the main Python script that performs the necessary initialization
28 &#111;&#102; &#116;&#104;&#101; &#117;&#110;&#105;&#116;&#116;&#101;&#115;&#116; &#109;&#111;&#100;&#117;&#108;&#101; &#97;&#110;&#100; &#115;&#116;&#97;&#114;&#116;&#115; &#116;&#104;&#101; &#81;&#116; &#101;v&#101;&#110;&#116; &#108;&#111;&#111;&#112;. &#84;&#104;&#105;&#115; &#105;&#115; &#97; &#115;&#116;&#97;&#110;&#100;&#97;&#108;&#111;&#110;&#101; 28 of the unittest module and starts the Qt event loop. This is a standalone
29 v&#101;&#114;&#115;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#103;&#114;&#97;&#116;&#101;&#100; &#117;&#110;&#105;&#116;&#116;&#101;&#115;&#116; &#109;&#111;&#100;&#117;&#108;&#101;. 29 version of the integrated unittest module.
30 </p> 30 </p>
31 <h3>Global Attributes</h3> 31 <h3>Global Attributes</h3>
32 <table> 32 <table>
33 <tr><td>None</td></tr> 33 <tr><td>None</td></tr>
34 </table> 34 </table>
38 </table> 38 </table>
39 <h3>Functions</h3> 39 <h3>Functions</h3>
40 <table> 40 <table>
41 <tr> 41 <tr>
42 <td><a href="#createMainWidget">createMainWidget</a></td> 42 <td><a href="#createMainWidget">createMainWidget</a></td>
43 <td>&#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#97;&#105;&#110; w&#105;&#100;&#103;&#101;&#116;.</td> 43 <td>Function to create the main widget.</td>
44 </tr><tr> 44 </tr><tr>
45 <td><a href="#main">main</a></td> 45 <td><a href="#main">main</a></td>
46 <td>&#77;&#97;&#105;&#110; &#101;&#110;&#116;&#114;y &#112;&#111;&#105;&#110;&#116; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#97;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;.</td> 46 <td>Main entry point into the application.</td>
47 </tr> 47 </tr>
48 </table> 48 </table>
49 <hr /><hr /> 49 <hr /><hr />
50 <a NAME="createMainWidget" ID="createMainWidget"></a> 50 <a NAME="createMainWidget" ID="createMainWidget"></a>
51 <h2>createMainWidget</h2> 51 <h2>createMainWidget</h2>
52 <b>createMainWidget</b>(<i>argv</i>) 52 <b>createMainWidget</b>(<i>argv</i>)
53 <p> 53 <p>
54 &#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#97;&#105;&#110; w&#105;&#100;&#103;&#101;&#116;. 54 Function to create the main widget.
55 </p><dl> 55 </p><dl>
56 <dt><i>argv</i></dt> 56 <dt><i>argv</i></dt>
57 <dd> 57 <dd>
58 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#108;&#105;&#110;&#101; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 58 list of commandline parameters (list of strings)
59 </dd> 59 </dd>
60 </dl><dl> 60 </dl><dl>
61 <dt>Returns:</dt> 61 <dt>Returns:</dt>
62 <dd> 62 <dd>
63 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#97;&#105;&#110; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 63 reference to the main widget (QWidget)
64 </dd> 64 </dd>
65 </dl> 65 </dl>
66 <div align="right"><a href="#top">Up</a></div> 66 <div align="right"><a href="#top">Up</a></div>
67 <hr /><hr /> 67 <hr /><hr />
68 <a NAME="main" ID="main"></a> 68 <a NAME="main" ID="main"></a>
69 <h2>main</h2> 69 <h2>main</h2>
70 <b>main</b>(<i></i>) 70 <b>main</b>(<i></i>)
71 <p> 71 <p>
72 &#77;&#97;&#105;&#110; &#101;&#110;&#116;&#114;y &#112;&#111;&#105;&#110;&#116; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#97;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;. 72 Main entry point into the application.
73 </p> 73 </p>
74 <div align="right"><a href="#top">Up</a></div> 74 <div align="right"><a href="#top">Up</a></div>
75 <hr /> 75 <hr />
76 </body></html> 76 </body></html>

eric ide

mercurial