1 |
3132
|
perry
|
<?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: EmlTest</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">EmlTest</td>
|
54 |
|
|
</tr>
|
55 |
|
|
<tr class="top-aligned-row">
|
56 |
|
|
<td><strong>In:</strong></td>
|
57 |
|
|
<td>
|
58 |
|
|
<a href="../files/test/eml_test_rb.html">
|
59 |
|
|
test/eml_test.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 |
|
|
Test::Unit::TestCase
|
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="#M000001">setup</a>
|
90 |
|
|
<a href="#M000002">teardown</a>
|
91 |
|
|
<a href="#M000009">test_correct_docid</a>
|
92 |
|
|
<a href="#M000004">test_has_data_tables</a>
|
93 |
|
|
<a href="#M000008">test_has_xml_doc</a>
|
94 |
|
|
<a href="#M000006">test_largest_of_many_data_table</a>
|
95 |
|
|
<a href="#M000005">test_largest_of_one_data_table</a>
|
96 |
|
|
<a href="#M000003">test_temporal_coverage</a>
|
97 |
|
|
<a href="#M000007">test_to_s</a>
|
98 |
|
|
<a href="#M000010">text_to_xml</a>
|
99 |
|
|
</div>
|
100 |
|
|
</div>
|
101 |
|
|
|
102 |
|
|
</div>
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
<!-- if includes -->
|
106 |
|
|
|
107 |
|
|
<div id="section">
|
108 |
|
|
|
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-M000001" class="method-detail">
|
121 |
|
|
<a name="M000001"></a>
|
122 |
|
|
|
123 |
|
|
<div class="method-heading">
|
124 |
|
|
<a href="EmlTest.src/M000001.html" target="Code" class="method-signature"
|
125 |
|
|
onclick="popupCode('EmlTest.src/M000001.html');return false;">
|
126 |
|
|
<span class="method-name">setup</span><span class="method-args">()</span>
|
127 |
|
|
</a>
|
128 |
|
|
</div>
|
129 |
|
|
|
130 |
|
|
<div class="method-description">
|
131 |
|
|
</div>
|
132 |
|
|
</div>
|
133 |
|
|
|
134 |
|
|
<div id="method-M000002" class="method-detail">
|
135 |
|
|
<a name="M000002"></a>
|
136 |
|
|
|
137 |
|
|
<div class="method-heading">
|
138 |
|
|
<a href="EmlTest.src/M000002.html" target="Code" class="method-signature"
|
139 |
|
|
onclick="popupCode('EmlTest.src/M000002.html');return false;">
|
140 |
|
|
<span class="method-name">teardown</span><span class="method-args">()</span>
|
141 |
|
|
</a>
|
142 |
|
|
</div>
|
143 |
|
|
|
144 |
|
|
<div class="method-description">
|
145 |
|
|
</div>
|
146 |
|
|
</div>
|
147 |
|
|
|
148 |
|
|
<div id="method-M000009" class="method-detail">
|
149 |
|
|
<a name="M000009"></a>
|
150 |
|
|
|
151 |
|
|
<div class="method-heading">
|
152 |
|
|
<a href="EmlTest.src/M000009.html" target="Code" class="method-signature"
|
153 |
|
|
onclick="popupCode('EmlTest.src/M000009.html');return false;">
|
154 |
|
|
<span class="method-name">test_correct_docid</span><span class="method-args">()</span>
|
155 |
|
|
</a>
|
156 |
|
|
</div>
|
157 |
|
|
|
158 |
|
|
<div class="method-description">
|
159 |
|
|
</div>
|
160 |
|
|
</div>
|
161 |
|
|
|
162 |
|
|
<div id="method-M000004" class="method-detail">
|
163 |
|
|
<a name="M000004"></a>
|
164 |
|
|
|
165 |
|
|
<div class="method-heading">
|
166 |
|
|
<a href="EmlTest.src/M000004.html" target="Code" class="method-signature"
|
167 |
|
|
onclick="popupCode('EmlTest.src/M000004.html');return false;">
|
168 |
|
|
<span class="method-name">test_has_data_tables</span><span class="method-args">()</span>
|
169 |
|
|
</a>
|
170 |
|
|
</div>
|
171 |
|
|
|
172 |
|
|
<div class="method-description">
|
173 |
|
|
</div>
|
174 |
|
|
</div>
|
175 |
|
|
|
176 |
|
|
<div id="method-M000008" class="method-detail">
|
177 |
|
|
<a name="M000008"></a>
|
178 |
|
|
|
179 |
|
|
<div class="method-heading">
|
180 |
|
|
<a href="EmlTest.src/M000008.html" target="Code" class="method-signature"
|
181 |
|
|
onclick="popupCode('EmlTest.src/M000008.html');return false;">
|
182 |
|
|
<span class="method-name">test_has_xml_doc</span><span class="method-args">()</span>
|
183 |
|
|
</a>
|
184 |
|
|
</div>
|
185 |
|
|
|
186 |
|
|
<div class="method-description">
|
187 |
|
|
</div>
|
188 |
|
|
</div>
|
189 |
|
|
|
190 |
|
|
<div id="method-M000006" class="method-detail">
|
191 |
|
|
<a name="M000006"></a>
|
192 |
|
|
|
193 |
|
|
<div class="method-heading">
|
194 |
|
|
<a href="EmlTest.src/M000006.html" target="Code" class="method-signature"
|
195 |
|
|
onclick="popupCode('EmlTest.src/M000006.html');return false;">
|
196 |
|
|
<span class="method-name">test_largest_of_many_data_table</span><span class="method-args">()</span>
|
197 |
|
|
</a>
|
198 |
|
|
</div>
|
199 |
|
|
|
200 |
|
|
<div class="method-description">
|
201 |
|
|
</div>
|
202 |
|
|
</div>
|
203 |
|
|
|
204 |
|
|
<div id="method-M000005" class="method-detail">
|
205 |
|
|
<a name="M000005"></a>
|
206 |
|
|
|
207 |
|
|
<div class="method-heading">
|
208 |
|
|
<a href="EmlTest.src/M000005.html" target="Code" class="method-signature"
|
209 |
|
|
onclick="popupCode('EmlTest.src/M000005.html');return false;">
|
210 |
|
|
<span class="method-name">test_largest_of_one_data_table</span><span class="method-args">()</span>
|
211 |
|
|
</a>
|
212 |
|
|
</div>
|
213 |
|
|
|
214 |
|
|
<div class="method-description">
|
215 |
|
|
</div>
|
216 |
|
|
</div>
|
217 |
|
|
|
218 |
|
|
<div id="method-M000003" class="method-detail">
|
219 |
|
|
<a name="M000003"></a>
|
220 |
|
|
|
221 |
|
|
<div class="method-heading">
|
222 |
|
|
<a href="EmlTest.src/M000003.html" target="Code" class="method-signature"
|
223 |
|
|
onclick="popupCode('EmlTest.src/M000003.html');return false;">
|
224 |
|
|
<span class="method-name">test_temporal_coverage</span><span class="method-args">()</span>
|
225 |
|
|
</a>
|
226 |
|
|
</div>
|
227 |
|
|
|
228 |
|
|
<div class="method-description">
|
229 |
|
|
</div>
|
230 |
|
|
</div>
|
231 |
|
|
|
232 |
|
|
<div id="method-M000007" class="method-detail">
|
233 |
|
|
<a name="M000007"></a>
|
234 |
|
|
|
235 |
|
|
<div class="method-heading">
|
236 |
|
|
<a href="EmlTest.src/M000007.html" target="Code" class="method-signature"
|
237 |
|
|
onclick="popupCode('EmlTest.src/M000007.html');return false;">
|
238 |
|
|
<span class="method-name">test_to_s</span><span class="method-args">()</span>
|
239 |
|
|
</a>
|
240 |
|
|
</div>
|
241 |
|
|
|
242 |
|
|
<div class="method-description">
|
243 |
|
|
</div>
|
244 |
|
|
</div>
|
245 |
|
|
|
246 |
|
|
<div id="method-M000010" class="method-detail">
|
247 |
|
|
<a name="M000010"></a>
|
248 |
|
|
|
249 |
|
|
<div class="method-heading">
|
250 |
|
|
<a href="EmlTest.src/M000010.html" target="Code" class="method-signature"
|
251 |
|
|
onclick="popupCode('EmlTest.src/M000010.html');return false;">
|
252 |
|
|
<span class="method-name">text_to_xml</span><span class="method-args">()</span>
|
253 |
|
|
</a>
|
254 |
|
|
</div>
|
255 |
|
|
|
256 |
|
|
<div class="method-description">
|
257 |
|
|
</div>
|
258 |
|
|
</div>
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
</div>
|
262 |
|
|
|
263 |
|
|
|
264 |
|
|
</div>
|
265 |
|
|
|
266 |
|
|
|
267 |
|
|
<div id="validator-badges">
|
268 |
|
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
269 |
|
|
</div>
|
270 |
|
|
|
271 |
|
|
</body>
|
272 |
|
|
</html>
|