testunitxml 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/docs/html/classes/REXML.html +111 -0
- data/docs/html/classes/REXML/Attributes.html +151 -0
- data/docs/html/classes/REXML/Attributes.src/M000001.html +24 -0
- data/docs/html/classes/Test.html +131 -0
- data/docs/html/classes/Test/Unit.html +124 -0
- data/docs/html/classes/Test/Unit/TestCase.html +125 -0
- data/docs/html/classes/Test/Unit/XML.html +237 -0
- data/docs/html/classes/Test/Unit/XML.src/M000002.html +23 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator.html +195 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator.src/M000003.html +27 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator.src/M000004.html +19 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator.src/M000005.html +18 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator.src/M000006.html +20 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator/NullNodeFilter.html +137 -0
- data/docs/html/classes/Test/Unit/XML/NodeIterator/NullNodeFilter.src/M000007.html +18 -0
- data/docs/html/classes/Test/Unit/XML/XmlEqualFilter.html +144 -0
- data/docs/html/classes/Test/Unit/XML/XmlEqualFilter.src/M000008.html +23 -0
- data/docs/html/created.rid +1 -0
- data/docs/html/files/MIT-LICENSE.html +130 -0
- data/docs/html/files/README.html +226 -0
- data/docs/html/files/lib/test/unit/xml/attributes_mixin_rb.html +101 -0
- data/docs/html/files/lib/test/unit/xml/nodeiterator_rb.html +101 -0
- data/docs/html/files/lib/test/unit/xml/xml_assertions_rb.html +112 -0
- data/docs/html/files/lib/test/unit/xml/xmlequalfilter_rb.html +101 -0
- data/docs/html/files/lib/test/unit/xml_rb.html +120 -0
- data/docs/html/fr_class_index.html +35 -0
- data/docs/html/fr_file_index.html +33 -0
- data/docs/html/fr_method_index.html +34 -0
- data/docs/html/index.html +24 -0
- data/lib/test/unit/xml.rb +21 -0
- data/lib/test/unit/xml/attributes_mixin.rb +21 -0
- data/lib/test/unit/xml/nodeiterator.rb +61 -0
- data/lib/test/unit/xml/xml_assertions.rb +187 -0
- data/lib/test/unit/xml/xmlequalfilter.rb +27 -0
- data/test/data/test1.xml +23 -0
- data/test/tc_testunitxml.rb +123 -0
- metadata +101 -0
@@ -0,0 +1,125 @@
|
|
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: Test::Unit::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">Test::Unit::TestCase</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../files/lib/test/unit/xml_rb.html">
|
59
|
+
lib/test/unit/xml.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
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
The module <a href="XML.html">Test::Unit::XML</a> is mixed in into the
|
84
|
+
class <a href="TestCase.html">Test::Unit::TestCase</a>
|
85
|
+
</p>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
</div>
|
91
|
+
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
<!-- if includes -->
|
97
|
+
<div id="includes">
|
98
|
+
<h3 class="section-bar">Included Modules</h3>
|
99
|
+
|
100
|
+
<div id="includes-list">
|
101
|
+
<span class="include-name"><a href="XML.html">Test::Unit::XML</a></span>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div id="section">
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<!-- if method_list -->
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
|
120
|
+
<div id="validator-badges">
|
121
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
</body>
|
125
|
+
</html>
|
@@ -0,0 +1,237 @@
|
|
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: Test::Unit::XML</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">Test::Unit::XML</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../files/lib/test/unit/xml/xmlequalfilter_rb.html">
|
59
|
+
lib/test/unit/xml/xmlequalfilter.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../../../files/lib/test/unit/xml/nodeiterator_rb.html">
|
63
|
+
lib/test/unit/xml/nodeiterator.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../../../files/lib/test/unit/xml/xml_assertions_rb.html">
|
67
|
+
lib/test/unit/xml/xml_assertions.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="method-list">
|
88
|
+
<h3 class="section-bar">Methods</h3>
|
89
|
+
|
90
|
+
<div class="name-list">
|
91
|
+
<a href="#M000002">assert_xml_equal</a>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if includes -->
|
99
|
+
|
100
|
+
<div id="section">
|
101
|
+
|
102
|
+
<div id="class-list">
|
103
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
104
|
+
|
105
|
+
Class <a href="XML/NodeIterator.html" class="link">Test::Unit::XML::NodeIterator</a><br />
|
106
|
+
Class <a href="XML/XmlEqualFilter.html" class="link">Test::Unit::XML::XmlEqualFilter</a><br />
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
<!-- if method_list -->
|
117
|
+
<div id="methods">
|
118
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
119
|
+
|
120
|
+
<div id="method-M000002" class="method-detail">
|
121
|
+
<a name="M000002"></a>
|
122
|
+
|
123
|
+
<div class="method-heading">
|
124
|
+
<a href="XML.src/M000002.html" target="Code" class="method-signature"
|
125
|
+
onclick="popupCode('XML.src/M000002.html');return false;">
|
126
|
+
<span class="method-name">assert_xml_equal</span><span class="method-args">(expected_doc, actual_doc, message = nil)</span>
|
127
|
+
</a>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div class="method-description">
|
131
|
+
<p>
|
132
|
+
This method checks whether two well-formed <a href="XML.html">XML</a>
|
133
|
+
documents are equal. Doctype declarations are ignored for the purposes of
|
134
|
+
comparison. Two <a href="XML.html">XML</a> documents are considered equal
|
135
|
+
if:
|
136
|
+
</p>
|
137
|
+
<ul>
|
138
|
+
<li>They contain the same type of nodes, in the same order, except for text
|
139
|
+
nodes that are empty, or contain only whitespace. Such text nodes are
|
140
|
+
ignored.
|
141
|
+
|
142
|
+
</li>
|
143
|
+
<li>The corresponding nodes in the two documents are equal.
|
144
|
+
|
145
|
+
</li>
|
146
|
+
</ul>
|
147
|
+
<p>
|
148
|
+
Nodes are tested for equality as follows:
|
149
|
+
</p>
|
150
|
+
<table>
|
151
|
+
<tr><td valign="top"><a href="XML.html">XML</a> Declarations:</td><td><a href="XML.html">XML</a> declarations are equal if they have the same
|
152
|
+
version, encoding, and stand-alone pseudo-attributes.
|
153
|
+
|
154
|
+
</td></tr>
|
155
|
+
<tr><td valign="top">Doctype:</td><td>Doctype declarations are ignored.
|
156
|
+
|
157
|
+
</td></tr>
|
158
|
+
<tr><td valign="top">Elements:</td><td>Elements are considered equal if they have the same generic identifier (tag
|
159
|
+
name) and belong to the same namespace. The namespace <em>prefixes</em> may
|
160
|
+
be different.
|
161
|
+
|
162
|
+
</td></tr>
|
163
|
+
<tr><td valign="top">Attributes:</td><td>Attributes are equal if they belong to the same namespace, have the same
|
164
|
+
name, and the same value.
|
165
|
+
|
166
|
+
</td></tr>
|
167
|
+
<tr><td valign="top">Namespace Declarations:</td><td>Namespace <em>declarations</em> (attributes named
|
168
|
+
<tt>xmlns:<em>prefix</em></tt>) are ignored. There are several reasons for
|
169
|
+
this:
|
170
|
+
|
171
|
+
<ul>
|
172
|
+
<li>As long as two elements or attributes belong to the same namespace, it does
|
173
|
+
not matter what prefixes are used. <a href="XML.html">XML</a> processors
|
174
|
+
may also change prefixes in unpredictable ways without this being an error.
|
175
|
+
|
176
|
+
</li>
|
177
|
+
<li><a href="XML.html">XML</a> processors may <em>move</em> namespace
|
178
|
+
declarations from one element to another (usually an ancestor, sometimes a
|
179
|
+
descendant) without this being an error, or under control by the
|
180
|
+
programmer.
|
181
|
+
|
182
|
+
</li>
|
183
|
+
<li><a href="XML.html">XML</a> processors may <em>add</em> extraneous namespace
|
184
|
+
declarations in a manner that is hard for programmers to control.
|
185
|
+
|
186
|
+
</li>
|
187
|
+
</ul>
|
188
|
+
</td></tr>
|
189
|
+
<tr><td valign="top">Processing Instructions:</td><td>Processing instructions are considered equal if the string values of their
|
190
|
+
targets and contents are equal.
|
191
|
+
|
192
|
+
</td></tr>
|
193
|
+
<tr><td valign="top">Text:</td><td>Text nodes are equal if their values are equal. However, empty text nodes,
|
194
|
+
and text nodes containing only whitespace are ignored.
|
195
|
+
|
196
|
+
</td></tr>
|
197
|
+
<tr><td valign="top">CDATA:</td><td>CDATA nodes are equal if their text content is equal. Whitespace is
|
198
|
+
<em>not</em> normalized.
|
199
|
+
|
200
|
+
</td></tr>
|
201
|
+
<tr><td valign="top">Comments:</td><td>Comments are equal if they have the same content.
|
202
|
+
|
203
|
+
</td></tr>
|
204
|
+
</table>
|
205
|
+
<p>
|
206
|
+
The <tt>expected_doc</tt> and <tt>actual_doc</tt> arguments to this method
|
207
|
+
may be of the following types:
|
208
|
+
</p>
|
209
|
+
<ul>
|
210
|
+
<li>A <tt><a href="../../REXML.html">REXML</a></tt> node, usually a
|
211
|
+
<tt>REXML::Document</tt> or <tt>REXML::Element</tt>
|
212
|
+
|
213
|
+
</li>
|
214
|
+
<li>A <tt>File</tt> or other <tt>IO</tt> object representing an <a
|
215
|
+
href="XML.html">XML</a> document
|
216
|
+
|
217
|
+
</li>
|
218
|
+
<li>A string containing an <a href="XML.html">XML</a> document
|
219
|
+
|
220
|
+
</li>
|
221
|
+
</ul>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
|
225
|
+
|
226
|
+
</div>
|
227
|
+
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
<div id="validator-badges">
|
233
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
</body>
|
237
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>assert_xml_equal (Test::Unit::XML)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/test/unit/xml/xml_assertions.rb, line 68</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert_xml_equal</span>(<span class="ruby-identifier">expected_doc</span>, <span class="ruby-identifier">actual_doc</span>, <span class="ruby-identifier">message</span> = <span class="ruby-keyword kw">nil</span>)
|
15
|
+
<span class="ruby-identifier">expected_doc</span> = <span class="ruby-identifier">parse_xml</span>(<span class="ruby-identifier">expected_doc</span>)
|
16
|
+
<span class="ruby-identifier">actual_doc</span> = <span class="ruby-identifier">parse_xml</span>(<span class="ruby-identifier">actual_doc</span>)
|
17
|
+
<span class="ruby-identifier">_wrap_assertion</span> <span class="ruby-keyword kw">do</span>
|
18
|
+
<span class="ruby-identifier">full_message</span> = <span class="ruby-identifier">build_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-value str">"\n<?> expected to be equal to\n<?> but was not.\n"</span>, <span class="ruby-identifier">actual_doc</span>.<span class="ruby-identifier">inspect</span>, <span class="ruby-identifier">expected_doc</span>.<span class="ruby-identifier">inspect</span>)
|
19
|
+
<span class="ruby-identifier">assert_block</span>(<span class="ruby-identifier">full_message</span>){<span class="ruby-identifier">are_equal?</span>(<span class="ruby-identifier">expected_doc</span>, <span class="ruby-identifier">actual_doc</span>)}
|
20
|
+
<span class="ruby-keyword kw">end</span>
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,195 @@
|
|
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: Test::Unit::XML::NodeIterator</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">Test::Unit::XML::NodeIterator</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../../files/lib/test/unit/xml/nodeiterator_rb.html">
|
59
|
+
lib/test/unit/xml/nodeiterator.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="#M000003">find_next_node</a>
|
90
|
+
<a href="#M000005">has_next</a>
|
91
|
+
<a href="#M000004">new</a>
|
92
|
+
<a href="#M000006">next</a>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<!-- if includes -->
|
100
|
+
|
101
|
+
<div id="section">
|
102
|
+
|
103
|
+
<div id="class-list">
|
104
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
105
|
+
|
106
|
+
Class <a href="NodeIterator/NullNodeFilter.html" class="link">Test::Unit::XML::NodeIterator::NullNodeFilter</a><br />
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
<!-- if method_list -->
|
117
|
+
<div id="methods">
|
118
|
+
<h3 class="section-bar">Public Class methods</h3>
|
119
|
+
|
120
|
+
<div id="method-M000003" class="method-detail">
|
121
|
+
<a name="M000003"></a>
|
122
|
+
|
123
|
+
<div class="method-heading">
|
124
|
+
<a href="NodeIterator.src/M000003.html" target="Code" class="method-signature"
|
125
|
+
onclick="popupCode('NodeIterator.src/M000003.html');return false;">
|
126
|
+
<span class="method-name">find_next_node</span><span class="method-args">(node, node_filter = NullNodeFilter.new)</span>
|
127
|
+
</a>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div class="method-description">
|
131
|
+
<p>
|
132
|
+
This class method takes a node as an argument and locates the next node.
|
133
|
+
The first argument is a node. The second argument is an optional node
|
134
|
+
filter.
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="method-M000004" class="method-detail">
|
140
|
+
<a name="M000004"></a>
|
141
|
+
|
142
|
+
<div class="method-heading">
|
143
|
+
<a href="NodeIterator.src/M000004.html" target="Code" class="method-signature"
|
144
|
+
onclick="popupCode('NodeIterator.src/M000004.html');return false;">
|
145
|
+
<span class="method-name">new</span><span class="method-args">(node, node_filter = NullNodeFilter.new)</span>
|
146
|
+
</a>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div class="method-description">
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
154
|
+
|
155
|
+
<div id="method-M000005" class="method-detail">
|
156
|
+
<a name="M000005"></a>
|
157
|
+
|
158
|
+
<div class="method-heading">
|
159
|
+
<a href="NodeIterator.src/M000005.html" target="Code" class="method-signature"
|
160
|
+
onclick="popupCode('NodeIterator.src/M000005.html');return false;">
|
161
|
+
<span class="method-name">has_next</span><span class="method-args">()</span>
|
162
|
+
</a>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="method-description">
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
<div id="method-M000006" class="method-detail">
|
170
|
+
<a name="M000006"></a>
|
171
|
+
|
172
|
+
<div class="method-heading">
|
173
|
+
<a href="NodeIterator.src/M000006.html" target="Code" class="method-signature"
|
174
|
+
onclick="popupCode('NodeIterator.src/M000006.html');return false;">
|
175
|
+
<span class="method-name">next</span><span class="method-args">()</span>
|
176
|
+
</a>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
<div class="method-description">
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
<div id="validator-badges">
|
191
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
</body>
|
195
|
+
</html>
|