1 <?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">
6 <title>lxml.tests.test_xpathevaluator.ETreeXPathClassTestCase</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.tests-module.html">Package tests</a> ::
47 <a href="lxml.tests.test_xpathevaluator-module.html">Module test_xpathevaluator</a> ::
48 Class ETreeXPathClassTestCase
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.tests.test_xpathevaluator.ETreeXPathClassTestCase-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class ETreeXPathClassTestCase</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase">source code</a></span></p>
66 <pre class="base-tree">
69 unittest.case.TestCase --+
71 <a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a> --+
73 <strong class="uidshort">ETreeXPathClassTestCase</strong>
77 Tests for the XPath class
79 <!-- ==================== NESTED CLASSES ==================== -->
80 <a name="section-NestedClasses"></a>
81 <table class="summary" border="1" cellpadding="3"
82 cellspacing="0" width="100%" bgcolor="white">
83 <tr bgcolor="#70b0f0" class="table-header">
84 <td colspan="2" class="table-header">
85 <table border="0" cellpadding="0" cellspacing="0" width="100%">
87 <td align="left"><span class="table-header">Nested Classes</span></td>
88 <td align="right" valign="top"
89 ><span class="options">[<a href="#section-NestedClasses"
90 class="privatelink" onclick="toggle_private();"
91 >hide private</a>]</span></td>
97 <td colspan="2" class="summary">
98 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
99 <code><a href="exceptions.AssertionError-class.html">failureException</a></code>
104 <!-- ==================== INSTANCE METHODS ==================== -->
105 <a name="section-InstanceMethods"></a>
106 <table class="summary" border="1" cellpadding="3"
107 cellspacing="0" width="100%" bgcolor="white">
108 <tr bgcolor="#70b0f0" class="table-header">
109 <td colspan="2" class="table-header">
110 <table border="0" cellpadding="0" cellspacing="0" width="100%">
112 <td align="left"><span class="table-header">Instance Methods</span></td>
113 <td align="right" valign="top"
114 ><span class="options">[<a href="#section-InstanceMethods"
115 class="privatelink" onclick="toggle_private();"
116 >hide private</a>]</span></td>
122 <td width="15%" align="right" valign="top" class="summary">
123 <span class="summary-type"> </span>
124 </td><td class="summary">
125 <table width="100%" cellpadding="0" cellspacing="0" border="0">
127 <td><span class="summary-sig"><a name="test_xpath_compile_doc"></a><span class="summary-sig-name">test_xpath_compile_doc</span>(<span class="summary-sig-arg">self</span>)</span></td>
128 <td align="right" valign="top">
129 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_doc">source code</a></span>
138 <td width="15%" align="right" valign="top" class="summary">
139 <span class="summary-type"> </span>
140 </td><td class="summary">
141 <table width="100%" cellpadding="0" cellspacing="0" border="0">
143 <td><span class="summary-sig"><a name="test_xpath_compile_element"></a><span class="summary-sig-name">test_xpath_compile_element</span>(<span class="summary-sig-arg">self</span>)</span></td>
144 <td align="right" valign="top">
145 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_element">source code</a></span>
154 <td width="15%" align="right" valign="top" class="summary">
155 <span class="summary-type"> </span>
156 </td><td class="summary">
157 <table width="100%" cellpadding="0" cellspacing="0" border="0">
159 <td><span class="summary-sig"><a name="test_xpath_compile_vars"></a><span class="summary-sig-name">test_xpath_compile_vars</span>(<span class="summary-sig-arg">self</span>)</span></td>
160 <td align="right" valign="top">
161 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_vars">source code</a></span>
170 <td width="15%" align="right" valign="top" class="summary">
171 <span class="summary-type"> </span>
172 </td><td class="summary">
173 <table width="100%" cellpadding="0" cellspacing="0" border="0">
175 <td><span class="summary-sig"><a name="test_xpath_compile_error"></a><span class="summary-sig-name">test_xpath_compile_error</span>(<span class="summary-sig-arg">self</span>)</span></td>
176 <td align="right" valign="top">
177 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_error">source code</a></span>
186 <td width="15%" align="right" valign="top" class="summary">
187 <span class="summary-type"> </span>
188 </td><td class="summary">
189 <table width="100%" cellpadding="0" cellspacing="0" border="0">
191 <td><span class="summary-sig"><a name="test_xpath_elementtree_error"></a><span class="summary-sig-name">test_xpath_elementtree_error</span>(<span class="summary-sig-arg">self</span>)</span></td>
192 <td align="right" valign="top">
193 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_elementtree_error">source code</a></span>
202 <td colspan="2" class="summary">
203 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
204 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#parse">parse</a></code>,
205 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#tearDown">tearDown</a></code>
207 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b> (private):
208 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#_rootstring" onclick="show_private();">_rootstring</a></code>
210 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
211 <code>__call__</code>,
213 <code>__hash__</code>,
214 <code>__init__</code>,
216 <code>__repr__</code>,
217 <code>__str__</code>,
218 <code>addCleanup</code>,
219 <code>addTypeEqualityFunc</code>,
220 <code>assertAlmostEqual</code>,
221 <code>assertAlmostEquals</code>,
222 <code>assertDictContainsSubset</code>,
223 <code>assertDictEqual</code>,
224 <code>assertEqual</code>,
225 <code>assertEquals</code>,
226 <code>assertGreater</code>,
227 <code>assertGreaterEqual</code>,
228 <code>assertIn</code>,
229 <code>assertIs</code>,
230 <code>assertIsInstance</code>,
231 <code>assertIsNone</code>,
232 <code>assertIsNot</code>,
233 <code>assertIsNotNone</code>,
234 <code>assertItemsEqual</code>,
235 <code>assertLess</code>,
236 <code>assertLessEqual</code>,
237 <code>assertListEqual</code>,
238 <code>assertMultiLineEqual</code>,
239 <code>assertNotAlmostEqual</code>,
240 <code>assertNotAlmostEquals</code>,
241 <code>assertNotEqual</code>,
242 <code>assertNotEquals</code>,
243 <code>assertNotIn</code>,
244 <code>assertNotIsInstance</code>,
245 <code>assertNotRegexpMatches</code>,
246 <code>assertRaises</code>,
247 <code>assertRaisesRegexp</code>,
248 <code>assertRegexpMatches</code>,
249 <code>assertSequenceEqual</code>,
250 <code>assertSetEqual</code>,
251 <code>assertTrue</code>,
252 <code>assertTupleEqual</code>,
253 <code>assert_</code>,
254 <code>countTestCases</code>,
256 <code>defaultTestResult</code>,
257 <code>doCleanups</code>,
260 <code>failIfAlmostEqual</code>,
261 <code>failIfEqual</code>,
262 <code>failUnless</code>,
263 <code>failUnlessAlmostEqual</code>,
264 <code>failUnlessEqual</code>,
265 <code>failUnlessRaises</code>,
269 <code>shortDescription</code>,
270 <code>skipTest</code>
272 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
273 <code>_addSkip</code>,
274 <code>_baseAssertEqual</code>,
275 <code>_deprecate</code>,
276 <code>_formatMessage</code>,
277 <code>_getAssertEqualityFunc</code>,
278 <code>_truncateMessage</code>
280 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
281 <code>__delattr__</code>,
282 <code>__format__</code>,
283 <code>__getattribute__</code>,
284 <code>__new__</code>,
285 <code>__reduce__</code>,
286 <code>__reduce_ex__</code>,
287 <code>__setattr__</code>,
288 <code>__sizeof__</code>,
289 <code>__subclasshook__</code>
294 <!-- ==================== CLASS METHODS ==================== -->
295 <a name="section-ClassMethods"></a>
296 <table class="summary" border="1" cellpadding="3"
297 cellspacing="0" width="100%" bgcolor="white">
298 <tr bgcolor="#70b0f0" class="table-header">
299 <td colspan="2" class="table-header">
300 <table border="0" cellpadding="0" cellspacing="0" width="100%">
302 <td align="left"><span class="table-header">Class Methods</span></td>
303 <td align="right" valign="top"
304 ><span class="options">[<a href="#section-ClassMethods"
305 class="privatelink" onclick="toggle_private();"
306 >hide private</a>]</span></td>
312 <td colspan="2" class="summary">
313 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
314 <code>setUpClass</code>,
315 <code>tearDownClass</code>
320 <!-- ==================== CLASS VARIABLES ==================== -->
321 <a name="section-ClassVariables"></a>
322 <table class="summary" border="1" cellpadding="3"
323 cellspacing="0" width="100%" bgcolor="white">
324 <tr bgcolor="#70b0f0" class="table-header">
325 <td colspan="2" class="table-header">
326 <table border="0" cellpadding="0" cellspacing="0" width="100%">
328 <td align="left"><span class="table-header">Class Variables</span></td>
329 <td align="right" valign="top"
330 ><span class="options">[<a href="#section-ClassVariables"
331 class="privatelink" onclick="toggle_private();"
332 >hide private</a>]</span></td>
338 <td colspan="2" class="summary">
339 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
340 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#assertFalse">assertFalse</a></code>
342 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
343 <code>longMessage</code>,
346 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
347 <code>_classSetupFailed</code>,
348 <code>_diffThreshold</code>
353 <!-- ==================== PROPERTIES ==================== -->
354 <a name="section-Properties"></a>
355 <table class="summary" border="1" cellpadding="3"
356 cellspacing="0" width="100%" bgcolor="white">
357 <tr bgcolor="#70b0f0" class="table-header">
358 <td colspan="2" class="table-header">
359 <table border="0" cellpadding="0" cellspacing="0" width="100%">
361 <td align="left"><span class="table-header">Properties</span></td>
362 <td align="right" valign="top"
363 ><span class="options">[<a href="#section-Properties"
364 class="privatelink" onclick="toggle_private();"
365 >hide private</a>]</span></td>
371 <td colspan="2" class="summary">
372 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
373 <code>__class__</code>
378 <!-- ==================== NAVIGATION BAR ==================== -->
379 <table class="navbar" border="0" width="100%" cellpadding="0"
380 bgcolor="#a0c0ff" cellspacing="0">
383 <th> <a
384 href="lxml-module.html">Home</a> </th>
387 <th> <a
388 href="module-tree.html">Trees</a> </th>
391 <th> <a
392 href="identifier-index.html">Indices</a> </th>
395 <th> <a
396 href="help.html">Help</a> </th>
398 <!-- Project homepage -->
399 <th class="navbar" align="right" width="100%">
400 <table border="0" cellpadding="0" cellspacing="0">
401 <tr><th class="navbar" align="center"
402 ><a class="navbar" target="_top" href="/">lxml API</a></th>
406 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
408 <td align="left" class="footer">
409 Generated by Epydoc 3.0.1 on Thu Apr 3 21:52:43 2014
411 <td align="right" class="footer">
412 <a target="mainFrame" href="http://epydoc.sourceforge.net"
413 >http://epydoc.sourceforge.net</a>
418 <script type="text/javascript">
420 // Private objects are initially displayed (because if
421 // javascript is turned off then we want them to be
422 // visible); but by default, we want to hide them. So hide
423 // them unless we have a cookie that says to show them.