| author | Yves-Marie Haussonne <ymh.work+github@gmail.com> |
| Fri, 09 May 2014 18:35:26 +0200 | |
| changeset 656 | a84519031134 |
| parent 0 | 40c8f766c9b8 |
| permissions | -rw-r--r-- |
| 0 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
3 |
<head> |
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
5 |
<title>API: test TestFormat.js (YUI Library)</title> |
|
6 |
||
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
9 |
||
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
12 |
</head> |
|
13 |
||
14 |
<body id="yahoo-com"> |
|
15 |
||
16 |
<div id="doc3" class="yui-t2"> |
|
17 |
<div id="hd"> |
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
19 |
<h3>test <span class="subtitle">3.0.0</span></h3> |
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 |
> <a href="./module_test.html" title="test">test</a> |
|
22 |
||
23 |
> TestFormat.js (source view) |
|
24 |
<form onsubmit="return false"> |
|
25 |
<div id="propertysearch"> |
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
27 |
<div id="searchresults"> |
|
28 |
|
|
29 |
</div> |
|
30 |
</div> |
|
31 |
</form> |
|
32 |
</div> |
|
33 |
||
34 |
<div id="bd"> |
|
35 |
<div id="yui-main"> |
|
36 |
<div class="yui-b"> |
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
38 |
<fieldset> |
|
39 |
<legend>Filters</legend> |
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
43 |
</fieldset> |
|
44 |
</form> |
|
45 |
||
46 |
<div id="srcout"> |
|
47 |
<style> |
|
48 |
#doc3 .classopts { display:none; } |
|
49 |
</style> |
|
50 |
<div class="highlight" ><pre> |
|
51 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">namespace</span><span class="o">(</span><span class="s2">"Test.Format"</span><span class="o">);</span> |
|
52 |
||
53 |
<span class="c">/* (intentionally not documented)</span> |
|
54 |
<span class="c"> * Basic XML escaping method. Replaces quotes, less-than, greater-than,</span> |
|
55 |
<span class="c"> * apostrophe, and ampersand characters with their corresponding entities.</span> |
|
56 |
<span class="c"> * @param {String} text The text to encode.</span> |
|
57 |
<span class="c"> * @return {String} The XML-escaped text.</span> |
|
58 |
<span class="c"> */</span> |
|
59 |
<span class="k">function</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">text</span><span class="o">){</span> |
|
60 |
||
61 |
<span class="k">return</span> <span class="nx">text</span><span class="o">.</span><span class="nx">replace</span><span class="o">(</span><span class="sr">/[<>"'&]/g</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">){</span> |
|
62 |
<span class="nx">switch</span><span class="o">(</span><span class="nx">value</span><span class="o">){</span> |
|
63 |
<span class="nx">case</span> <span class="s2">"<"</span><span class="o">:</span> <span class="k">return</span> <span class="s2">"&lt;"</span><span class="o">;</span> |
|
64 |
<span class="nx">case</span> <span class="s2">">"</span><span class="o">:</span> <span class="k">return</span> <span class="s2">"&gt;"</span><span class="o">;</span> |
|
65 |
<span class="nx">case</span> <span class="s2">"\""</span><span class="o">:</span> <span class="k">return</span> <span class="s2">"&quot;"</span><span class="o">;</span> |
|
66 |
<span class="nx">case</span> <span class="s2">"'"</span><span class="o">:</span> <span class="k">return</span> <span class="s2">"&apos;"</span><span class="o">;</span> |
|
67 |
<span class="nx">case</span> <span class="s2">"&"</span><span class="o">:</span> <span class="k">return</span> <span class="s2">"&amp;"</span><span class="o">;</span> |
|
68 |
<span class="o">}</span> |
|
69 |
<span class="o">});</span> |
|
70 |
||
71 |
<span class="o">}</span> |
|
72 |
||
73 |
<span class="c">/**</span> |
|
74 |
<span class="c"> * Returns test results formatted as a JSON string. Requires JSON utility.</span> |
|
75 |
<span class="c"> * @param {Object} result The results object created by TestRunner.</span> |
|
76 |
<span class="c"> * @return {String} A JSON-formatted string of results.</span> |
|
77 |
<span class="c"> * @namespace Test.Format</span> |
|
78 |
<span class="c"> * @method JSON</span> |
|
79 |
<span class="c"> * @static</span> |
|
80 |
<span class="c"> */</span> |
|
81 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Test</span><span class="o">.</span><span class="nx">Format</span><span class="o">.</span><span class="nx">JSON</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">results</span><span class="o">)</span> <span class="o">{</span> |
|
82 |
<span class="k">return</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">JSON</span><span class="o">.</span><span class="nx">stringify</span><span class="o">(</span><span class="nx">results</span><span class="o">);</span> |
|
83 |
<span class="o">};</span> |
|
84 |
||
85 |
<span class="c">/**</span> |
|
86 |
<span class="c"> * Returns test results formatted as an XML string.</span> |
|
87 |
<span class="c"> * @param {Object} result The results object created by TestRunner.</span> |
|
88 |
<span class="c"> * @return {String} An XML-formatted string of results.</span> |
|
89 |
<span class="c"> * @namespace Test.Format</span> |
|
90 |
<span class="c"> * @method XML</span> |
|
91 |
<span class="c"> * @static</span> |
|
92 |
<span class="c"> */</span> |
|
93 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Test</span><span class="o">.</span><span class="nx">Format</span><span class="o">.</span><span class="nx">XML</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">results</span><span class="o">)</span> <span class="o">{</span> |
|
94 |
||
95 |
<span class="k">var</span> <span class="nx">l</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span><span class="o">;</span> |
|
96 |
<span class="k">var</span> <span class="nx">xml</span> <span class="o">=</span> <span class="s2">"<"</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">+</span> <span class="s2">" name=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">name</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\""</span><span class="o">;</span> |
|
97 |
||
98 |
<span class="k">if</span> <span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">==</span> <span class="s2">"test"</span><span class="o">){</span> |
|
99 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">" result=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">result</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\" message=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">message</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
100 |
<span class="o">}</span> <span class="k">else</span> <span class="o">{</span> |
|
101 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">" passed=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">passed</span> <span class="o">+</span> <span class="s2">"\" failed=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">failed</span> <span class="o">+</span> <span class="s2">"\" ignored=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">ignored</span> <span class="o">+</span> <span class="s2">"\" total=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">total</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
102 |
<span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">results</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">prop</span><span class="o">){</span> |
|
103 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isObject</span><span class="o">(</span><span class="nx">value</span><span class="o">)</span> <span class="o">&&</span> <span class="o">!</span><span class="nx">l</span><span class="o">.</span><span class="nx">isArray</span><span class="o">(</span><span class="nx">value</span><span class="o">)){</span> |
|
104 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="nx">arguments</span><span class="o">.</span><span class="nx">callee</span><span class="o">(</span><span class="nx">value</span><span class="o">);</span> |
|
105 |
<span class="o">}</span> |
|
106 |
<span class="o">});</span> |
|
107 |
<span class="o">}</span> |
|
108 |
||
109 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">"</"</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">+</span> <span class="s2">">"</span><span class="o">;</span> |
|
110 |
||
111 |
<span class="k">return</span> <span class="nx">xml</span><span class="o">;</span> |
|
112 |
||
113 |
<span class="o">};</span> |
|
114 |
||
115 |
<span class="c">/**</span> |
|
116 |
<span class="c"> * Returns test results formatted as an XML string.</span> |
|
117 |
<span class="c"> * @param {Object} result The results object created by TestRunner.</span> |
|
118 |
<span class="c"> * @return {String} An XML-formatted string of results.</span> |
|
119 |
<span class="c"> * @namespace Test.Format</span> |
|
120 |
<span class="c"> * @method XML</span> |
|
121 |
<span class="c"> * @static</span> |
|
122 |
<span class="c"> */</span> |
|
123 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Test</span><span class="o">.</span><span class="nx">Format</span><span class="o">.</span><span class="nx">XML</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">results</span><span class="o">)</span> <span class="o">{</span> |
|
124 |
||
125 |
<span class="k">function</span> <span class="nx">serializeToXML</span><span class="o">(</span><span class="nx">results</span><span class="o">){</span> |
|
126 |
<span class="k">var</span> <span class="nx">l</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span><span class="o">,</span> |
|
127 |
<span class="nx">xml</span> <span class="o">=</span> <span class="s2">"<"</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">+</span> <span class="s2">" name=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">name</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\""</span><span class="o">;</span> |
|
128 |
||
129 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isNumber</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">duration</span><span class="o">)){</span> |
|
130 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">" duration=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">duration</span> <span class="o">+</span> <span class="s2">"\""</span><span class="o">;</span> |
|
131 |
<span class="o">}</span> |
|
132 |
||
133 |
<span class="k">if</span> <span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">==</span> <span class="s2">"test"</span><span class="o">){</span> |
|
134 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">" result=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">result</span> <span class="o">+</span> <span class="s2">"\" message=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">message</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
135 |
<span class="o">}</span> <span class="k">else</span> <span class="o">{</span> |
|
136 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">" passed=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">passed</span> <span class="o">+</span> <span class="s2">"\" failed=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">failed</span> <span class="o">+</span> <span class="s2">"\" ignored=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">ignored</span> <span class="o">+</span> <span class="s2">"\" total=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">total</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
137 |
<span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">results</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">prop</span><span class="o">){</span> |
|
138 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isObject</span><span class="o">(</span><span class="nx">value</span><span class="o">)</span> <span class="o">&&</span> <span class="o">!</span><span class="nx">l</span><span class="o">.</span><span class="nx">isArray</span><span class="o">(</span><span class="nx">value</span><span class="o">)){</span> |
|
139 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="nx">serializeToXML</span><span class="o">(</span><span class="nx">value</span><span class="o">);</span> |
|
140 |
<span class="o">}</span> |
|
141 |
<span class="o">});</span> |
|
142 |
<span class="o">}</span> |
|
143 |
||
144 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">"</"</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">type</span> <span class="o">+</span> <span class="s2">">"</span><span class="o">;</span> |
|
145 |
||
146 |
<span class="k">return</span> <span class="nx">xml</span><span class="o">;</span> |
|
147 |
<span class="o">}</span> |
|
148 |
||
149 |
<span class="k">return</span> <span class="s2">"<?xml version=\"1.0\" charset=\"UTF-8\"?>"</span> <span class="o">+</span> <span class="nx">serializeToXML</span><span class="o">(</span><span class="nx">results</span><span class="o">);</span> |
|
150 |
||
151 |
<span class="o">};</span> |
|
152 |
||
153 |
||
154 |
<span class="c">/**</span> |
|
155 |
<span class="c"> * Returns test results formatted in JUnit XML format.</span> |
|
156 |
<span class="c"> * @param {Object} result The results object created by TestRunner.</span> |
|
157 |
<span class="c"> * @return {String} An XML-formatted string of results.</span> |
|
158 |
<span class="c"> * @namespace Test.Format</span> |
|
159 |
<span class="c"> * @method JUnitXML</span> |
|
160 |
<span class="c"> * @static</span> |
|
161 |
<span class="c"> */</span> |
|
162 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Test</span><span class="o">.</span><span class="nx">Format</span><span class="o">.</span><span class="nx">JUnitXML</span> <span class="o">=</span> <span class="k">function</span><span class="o">(</span><span class="nx">results</span><span class="o">)</span> <span class="o">{</span> |
|
163 |
||
164 |
||
165 |
<span class="k">function</span> <span class="nx">serializeToJUnitXML</span><span class="o">(</span><span class="nx">results</span><span class="o">){</span> |
|
166 |
<span class="k">var</span> <span class="nx">l</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span><span class="o">,</span> |
|
167 |
<span class="nx">xml</span> <span class="o">=</span> <span class="s2">""</span><span class="o">,</span> |
|
168 |
<span class="nx">prop</span><span class="o">;</span> |
|
169 |
||
170 |
<span class="nx">switch</span> <span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">type</span><span class="o">){</span> |
|
171 |
<span class="c">//equivalent to testcase in JUnit</span> |
|
172 |
<span class="c"></span> <span class="nx">case</span> <span class="s2">"test"</span><span class="o">:</span> |
|
173 |
<span class="k">if</span> <span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">result</span> <span class="o">!=</span> <span class="s2">"ignore"</span><span class="o">){</span> |
|
174 |
<span class="nx">xml</span> <span class="o">=</span> <span class="s2">"<testcase name=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">name</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
175 |
<span class="k">if</span> <span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">result</span> <span class="o">==</span> <span class="s2">"fail"</span><span class="o">){</span> |
|
176 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">"<failure message=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">message</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\"><![CDATA["</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">message</span> <span class="o">+</span> <span class="s2">"]]></failure>"</span><span class="o">;</span> |
|
177 |
<span class="o">}</span> |
|
178 |
<span class="nx">xml</span><span class="o">+=</span> <span class="s2">"</testcase>"</span><span class="o">;</span> |
|
179 |
<span class="o">}</span> |
|
180 |
<span class="k">break</span><span class="o">;</span> |
|
181 |
||
182 |
<span class="c">//equivalent to testsuite in JUnit</span> |
|
183 |
<span class="c"></span> <span class="nx">case</span> <span class="s2">"testcase"</span><span class="o">:</span> |
|
184 |
||
185 |
<span class="nx">xml</span> <span class="o">=</span> <span class="s2">"<testsuite name=\""</span> <span class="o">+</span> <span class="nx">xmlEscape</span><span class="o">(</span><span class="nx">results</span><span class="o">.</span><span class="nx">name</span><span class="o">)</span> <span class="o">+</span> <span class="s2">"\" tests=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">total</span> <span class="o">+</span> <span class="s2">"\" failures=\""</span> <span class="o">+</span> <span class="nx">results</span><span class="o">.</span><span class="nx">failed</span> <span class="o">+</span> <span class="s2">"\">"</span><span class="o">;</span> |
|
186 |
||
187 |
<span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">results</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">prop</span><span class="o">){</span> |
|
188 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isObject</span><span class="o">(</span><span class="nx">value</span><span class="o">)</span> <span class="o">&&</span> <span class="o">!</span><span class="nx">l</span><span class="o">.</span><span class="nx">isArray</span><span class="o">(</span><span class="nx">value</span><span class="o">)){</span> |
|
189 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="nx">serializeToJUnitXML</span><span class="o">(</span><span class="nx">value</span><span class="o">);</span> |
|
190 |
<span class="o">}</span> |
|
191 |
<span class="o">});</span> |
|
192 |
||
193 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">"</testsuite>"</span><span class="o">;</span> |
|
194 |
<span class="k">break</span><span class="o">;</span> |
|
195 |
||
196 |
<span class="nx">case</span> <span class="s2">"testsuite"</span><span class="o">:</span> |
|
197 |
<span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">results</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">prop</span><span class="o">){</span> |
|
198 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isObject</span><span class="o">(</span><span class="nx">value</span><span class="o">)</span> <span class="o">&&</span> <span class="o">!</span><span class="nx">l</span><span class="o">.</span><span class="nx">isArray</span><span class="o">(</span><span class="nx">value</span><span class="o">)){</span> |
|
199 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="nx">serializeToJUnitXML</span><span class="o">(</span><span class="nx">value</span><span class="o">);</span> |
|
200 |
<span class="o">}</span> |
|
201 |
<span class="o">});</span> |
|
202 |
||
203 |
<span class="c">//skip output - no JUnit equivalent </span> |
|
204 |
<span class="c"></span> <span class="k">break</span><span class="o">;</span> |
|
205 |
||
206 |
<span class="nx">case</span> <span class="s2">"report"</span><span class="o">:</span> |
|
207 |
||
208 |
<span class="nx">xml</span> <span class="o">=</span> <span class="s2">"<testsuites>"</span><span class="o">;</span> |
|
209 |
||
210 |
<span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">results</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">prop</span><span class="o">){</span> |
|
211 |
<span class="k">if</span> <span class="o">(</span><span class="nx">l</span><span class="o">.</span><span class="nx">isObject</span><span class="o">(</span><span class="nx">value</span><span class="o">)</span> <span class="o">&&</span> <span class="o">!</span><span class="nx">l</span><span class="o">.</span><span class="nx">isArray</span><span class="o">(</span><span class="nx">value</span><span class="o">)){</span> |
|
212 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="nx">serializeToJUnitXML</span><span class="o">(</span><span class="nx">value</span><span class="o">);</span> |
|
213 |
<span class="o">}</span> |
|
214 |
<span class="o">});</span> |
|
215 |
||
216 |
<span class="nx">xml</span> <span class="o">+=</span> <span class="s2">"</testsuites>"</span><span class="o">;</span> |
|
217 |
||
218 |
<span class="c">//no default</span> |
|
219 |
<span class="c"></span> <span class="o">}</span> |
|
220 |
||
221 |
<span class="k">return</span> <span class="nx">xml</span><span class="o">;</span> |
|
222 |
||
223 |
<span class="o">}</span> |
|
224 |
||
225 |
<span class="k">return</span> <span class="s2">"<?xml version=\"1.0\" charset=\"UTF-8\"?>"</span> <span class="o">+</span> <span class="nx">serializeToJUnitXML</span><span class="o">(</span><span class="nx">results</span><span class="o">);</span> |
|
226 |
<span class="o">};</span> |
|
227 |
||
228 |
</pre></div> |
|
229 |
||
230 |
</div> |
|
231 |
</div> |
|
232 |
</div> |
|
233 |
<div class="yui-b"> |
|
234 |
<div class="nav"> |
|
235 |
||
236 |
<div id="moduleList" class="module"> |
|
237 |
<h4>Modules</h4> |
|
238 |
<ul class="content"> |
|
239 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
240 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
241 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
242 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
243 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
244 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
245 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
246 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
247 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
248 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
249 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
250 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
251 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
252 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
253 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
254 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
255 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
256 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
257 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
258 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
259 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
260 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
261 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
262 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
263 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
264 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
265 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
266 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
267 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
268 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
269 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
270 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
271 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
272 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
273 |
<li class="selected"><a href="module_test.html" title="test">test</a></li> |
|
274 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
275 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
276 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
277 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
278 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
279 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
280 |
</ul> |
|
281 |
</div> |
|
282 |
||
283 |
<div id="classList" class="module"> |
|
284 |
<h4>Classes</h4> |
|
285 |
<ul class="content"> |
|
286 |
<li class=""><a href="Assert.html" title="Assert">Assert</a></li> |
|
287 |
<li class=""><a href="Assert.ComparisonFailure.html" title="Assert.ComparisonFailure">Assert.ComparisonFailure</a></li> |
|
288 |
<li class=""><a href="Assert.Error.html" title="Assert.Error">Assert.Error</a></li> |
|
289 |
<li class=""><a href="Assert.ObjectAssert.html" title="Assert.ObjectAssert">Assert.ObjectAssert</a></li> |
|
290 |
<li class=""><a href="Assert.ShouldError.html" title="Assert.ShouldError">Assert.ShouldError</a></li> |
|
291 |
<li class=""><a href="Assert.ShouldFail.html" title="Assert.ShouldFail">Assert.ShouldFail</a></li> |
|
292 |
<li class=""><a href="Assert.UnexpectedError.html" title="Assert.UnexpectedError">Assert.UnexpectedError</a></li> |
|
293 |
<li class=""><a href="Assert.UnexpectedValue.html" title="Assert.UnexpectedValue">Assert.UnexpectedValue</a></li> |
|
294 |
<li class=""><a href="Test.ArrayAssert.html" title="Test.ArrayAssert">Test.ArrayAssert</a></li> |
|
295 |
<li class=""><a href="Test.Case.html" title="Test.Case">Test.Case</a></li> |
|
296 |
<li class=""><a href="Test.DateAssert.html" title="Test.DateAssert">Test.DateAssert</a></li> |
|
297 |
<li class=""><a href="Test.Format.Mock.html" title="Test.Format.Mock">Test.Format.Mock</a></li> |
|
298 |
<li class=""><a href="Test.Manager.html" title="Test.Manager">Test.Manager</a></li> |
|
299 |
<li class=""><a href="Test.Reporter.html" title="Test.Reporter">Test.Reporter</a></li> |
|
300 |
<li class=""><a href="Test.Runner.html" title="Test.Runner">Test.Runner</a></li> |
|
301 |
<li class=""><a href="Test.Suite.html" title="Test.Suite">Test.Suite</a></li> |
|
302 |
<li class=""><a href="Test.TestNode.html" title="Test.TestNode">Test.TestNode</a></li> |
|
303 |
<li class=""><a href="Test.Wait.html" title="Test.Wait">Test.Wait</a></li> |
|
304 |
</ul> |
|
305 |
</div> |
|
306 |
||
307 |
<div id="fileList" class="module"> |
|
308 |
<h4>Files</h4> |
|
309 |
<ul class="content"> |
|
310 |
<li class=""><a href="ArrayAssert.js.html" title="ArrayAssert.js">ArrayAssert.js</a></li> |
|
311 |
<li class=""><a href="Assert.js.html" title="Assert.js">Assert.js</a></li> |
|
312 |
<li class=""><a href="DateAssert.js.html" title="DateAssert.js">DateAssert.js</a></li> |
|
313 |
<li class=""><a href="Mock.js.html" title="Mock.js">Mock.js</a></li> |
|
314 |
<li class=""><a href="ObjectAssert.js.html" title="ObjectAssert.js">ObjectAssert.js</a></li> |
|
315 |
<li class=""><a href="TestCase.js.html" title="TestCase.js">TestCase.js</a></li> |
|
316 |
<li class="selected"><a href="TestFormat.js.html" title="TestFormat.js">TestFormat.js</a></li> |
|
317 |
<li class=""><a href="TestManager.js.html" title="TestManager.js">TestManager.js</a></li> |
|
318 |
<li class=""><a href="TestReporter.js.html" title="TestReporter.js">TestReporter.js</a></li> |
|
319 |
<li class=""><a href="TestRunner.js.html" title="TestRunner.js">TestRunner.js</a></li> |
|
320 |
<li class=""><a href="TestSuite.js.html" title="TestSuite.js">TestSuite.js</a></li> |
|
321 |
</ul> |
|
322 |
</div> |
|
323 |
||
324 |
||
325 |
||
326 |
||
327 |
||
328 |
</div> |
|
329 |
</div> |
|
330 |
</div> |
|
331 |
<div id="ft"> |
|
332 |
<hr /> |
|
333 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
334 |
</div> |
|
335 |
</div> |
|
336 |
<script type="text/javascript"> |
|
337 |
ALL_YUI_PROPS = [{"access": "", "host": "Assert.ComparisonFailure", "name": "actual", "url": "Assert.ComparisonFailure.html#property_actual", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "add", "url": "Test.Suite.html#method_add", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "add", "url": "Test.Runner.html#method_add", "type": "method"}, {"access": "", "host": "Test.Reporter", "name": "addField", "url": "Test.Reporter.html#method_addField", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_addTestCaseToTestTree", "url": "Test.Runner.html#method__addTestCaseToTestTree", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_addTestSuiteToTestTree", "url": "Test.Runner.html#method__addTestSuiteToTestTree", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "appendChild", "url": "Test.TestNode.html#method_appendChild", "type": "method"}, {"access": "", "host": "Assert", "name": "areEqual", "url": "Assert.html#method_areEqual", "type": "method"}, {"access": "", "host": "Assert", "name": "areNotEqual", "url": "Assert.html#method_areNotEqual", "type": "method"}, {"access": "", "host": "Assert", "name": "areNotSame", "url": "Assert.html#method_areNotSame", "type": "method"}, {"access": "", "host": "Assert", "name": "areSame", "url": "Assert.html#method_areSame", "type": "method"}, {"access": "private", "host": "Assert", "name": "_asserts", "url": "Assert.html#property__asserts", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "begin", "url": "Test.Runner.html#event_begin", "type": "event"}, {"access": "private", "host": "Test.Runner", "name": "_buildTestTree", "url": "Test.Runner.html#method__buildTestTree", "type": "method"}, {"access": "", "host": "Assert.UnexpectedError", "name": "cause", "url": "Assert.UnexpectedError.html#property_cause", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "clear", "url": "Test.Runner.html#method_clear", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "complete", "url": "Test.Runner.html#event_complete", "type": "event"}, {"access": "", "host": "Test.ArrayAssert", "name": "contains", "url": "Test.ArrayAssert.html#method_contains", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "containsItems", "url": "Test.ArrayAssert.html#method_containsItems", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "containsMatch", "url": "Test.ArrayAssert.html#method_containsMatch", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_cur", "url": "Test.Runner.html#property__cur", "type": "property"}, {"access": "private", "host": "Test.Manager", "name": "_curPage", "url": "Test.Manager.html#property__curPage", "type": "property"}, {"access": "", "host": "Test.DateAssert", "name": "datesAreEqual", "url": "Test.DateAssert.html#method_datesAreEqual", "type": "method"}, {"access": "", "host": "Test.Wait", "name": "delay", "url": "Test.Wait.html#property_delay", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "destroy", "url": "Test.Reporter.html#method_destroy", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "disableLogging", "url": "Test.Runner.html#method_disableLogging", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContain", "url": "Test.ArrayAssert.html#method_doesNotContain", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContainItems", "url": "Test.ArrayAssert.html#method_doesNotContainItems", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContainMatch", "url": "Test.ArrayAssert.html#method_doesNotContainMatch", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "enableLogging", "url": "Test.Runner.html#method_enableLogging", "type": "method"}, {"access": "", "host": "Test.Format.Mock", "name": "expect", "url": "Test.Format.Mock.html#method_expect", "type": "method"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "expected", "url": "Assert.ComparisonFailure.html#property_expected", "type": "property"}, {"access": "", "host": "Assert", "name": "fail", "url": "Assert.html#method_fail", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "fail", "url": "Test.Runner.html#event_fail", "type": "event"}, {"access": "private", "host": "Test.Reporter", "name": "_fields", "url": "Test.Reporter.html#property__fields", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "firstChild", "url": "Test.TestNode.html#property_firstChild", "type": "property"}, {"access": "private", "host": "Test.Reporter", "name": "_form", "url": "Test.Reporter.html#property__form", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "format", "url": "Test.Reporter.html#property_format", "type": "property"}, {"access": "protected", "host": "Assert", "name": "_formatMessage", "url": "Assert.html#method__formatMessage", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_frame", "url": "Test.Manager.html#property__frame", "type": "property"}, {"access": "protected", "host": "Assert", "name": "_getCount", "url": "Assert.html#method__getCount", "type": "method"}, {"access": "", "host": "Assert.Error", "name": "getMessage", "url": "Assert.Error.html#method_getMessage", "type": "method"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "getMessage", "url": "Assert.UnexpectedValue.html#method_getMessage", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_handleError", "url": "Test.Runner.html#method__handleError", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_handleTestObjectComplete", "url": "Test.Runner.html#method__handleTestObjectComplete", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_handleTestRunnerComplete", "url": "Test.Manager.html#method__handleTestRunnerComplete", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "hasKey", "url": "Assert.ObjectAssert.html#method_hasKey", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "hasKeys", "url": "Assert.ObjectAssert.html#method_hasKeys", "type": "method"}, {"access": "private", "host": "Test.Reporter", "name": "_iframe", "url": "Test.Reporter.html#property__iframe", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "ignore", "url": "Test.Runner.html#event_ignore", "type": "event"}, {"access": "protected", "host": "Assert", "name": "_increment", "url": "Assert.html#method__increment", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "indexOf", "url": "Test.ArrayAssert.html#method_indexOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isArray", "url": "Assert.html#method_isArray", "type": "method"}, {"access": "", "host": "Assert", "name": "isBoolean", "url": "Assert.html#method_isBoolean", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "isEmpty", "url": "Test.ArrayAssert.html#method_isEmpty", "type": "method"}, {"access": "", "host": "Assert", "name": "isFalse", "url": "Assert.html#method_isFalse", "type": "method"}, {"access": "", "host": "Assert", "name": "isFunction", "url": "Assert.html#method_isFunction", "type": "method"}, {"access": "", "host": "Assert", "name": "isInstanceOf", "url": "Assert.html#method_isInstanceOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isNaN", "url": "Assert.html#method_isNaN", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "isNotEmpty", "url": "Test.ArrayAssert.html#method_isNotEmpty", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotNaN", "url": "Assert.html#method_isNotNaN", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotNull", "url": "Assert.html#method_isNotNull", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotUndefined", "url": "Assert.html#method_isNotUndefined", "type": "method"}, {"access": "", "host": "Assert", "name": "isNull", "url": "Assert.html#method_isNull", "type": "method"}, {"access": "", "host": "Assert", "name": "isNumber", "url": "Assert.html#method_isNumber", "type": "method"}, {"access": "", "host": "Assert", "name": "isObject", "url": "Assert.html#method_isObject", "type": "method"}, {"access": "", "host": "Assert", "name": "isString", "url": "Assert.html#method_isString", "type": "method"}, {"access": "", "host": "Assert", "name": "isTrue", "url": "Assert.html#method_isTrue", "type": "method"}, {"access": "", "host": "Assert", "name": "isTypeOf", "url": "Assert.html#method_isTypeOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isUndefined", "url": "Assert.html#method_isUndefined", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "isWaiting", "url": "Test.Runner.html#method_isWaiting", "type": "method"}, {"access": "private", "host": "Test.Suite", "name": "items", "url": "Test.Suite.html#property_items", "type": "property"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreEqual", "url": "Test.ArrayAssert.html#method_itemsAreEqual", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreEquivalent", "url": "Test.ArrayAssert.html#method_itemsAreEquivalent", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreSame", "url": "Test.ArrayAssert.html#method_itemsAreSame", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "JSON", "url": "Test.Suite.html#method_JSON", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "JUnitXML", "url": "Test.Suite.html#method_JUnitXML", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "lastChild", "url": "Test.TestNode.html#property_lastChild", "type": "property"}, {"access": "", "host": "Test.ArrayAssert", "name": "lastIndexOf", "url": "Test.ArrayAssert.html#method_lastIndexOf", "type": "method"}, {"access": "", "host": "Test.Manager", "name": "load", "url": "Test.Manager.html#method_load", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_log", "url": "Test.Runner.html#property__log", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_logEvent", "url": "Test.Runner.html#method__logEvent", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_logger", "url": "Test.Manager.html#property__logger", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "masterSuite", "url": "Test.Runner.html#property_masterSuite", "type": "property"}, {"access": "", "host": "Assert.Error", "name": "name", "url": "Assert.Error.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "name", "url": "Assert.ComparisonFailure.html#property_name", "type": "property"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "name", "url": "Assert.UnexpectedValue.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ShouldFail", "name": "name", "url": "Assert.ShouldFail.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ShouldError", "name": "name", "url": "Assert.ShouldError.html#property_name", "type": "property"}, {"access": "", "host": "Assert.UnexpectedError", "name": "name", "url": "Assert.UnexpectedError.html#property_name", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "name", "url": "Test.Suite.html#property_name", "type": "property"}, {"access": "", "host": "Test.Case", "name": "name", "url": "Test.Case.html#property_name", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "next", "url": "Test.TestNode.html#property_next", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_next", "url": "Test.Runner.html#method__next", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsKey", "url": "Assert.ObjectAssert.html#method_ownsKey", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsKeys", "url": "Assert.ObjectAssert.html#method_ownsKeys", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsNoKeys", "url": "Assert.ObjectAssert.html#method_ownsNoKeys", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_pages", "url": "Test.Manager.html#property__pages", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "parent", "url": "Test.TestNode.html#property_parent", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "pass", "url": "Test.Runner.html#event_pass", "type": "event"}, {"access": "private", "host": "Test.Manager", "name": "_processResults", "url": "Test.Manager.html#method__processResults", "type": "method"}, {"access": "", "host": "Test.Reporter", "name": "report", "url": "Test.Reporter.html#method_report", "type": "method"}, {"access": "protected", "host": "Assert", "name": "_reset", "url": "Assert.html#method__reset", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "results", "url": "Test.TestNode.html#property_results", "type": "property"}, {"access": "private", "host": "Test.Manager", "name": "_results", "url": "Test.Manager.html#property__results", "type": "property"}, {"access": "", "host": "Test.Case", "name": "resume", "url": "Test.Case.html#method_resume", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "resume", "url": "Test.Runner.html#method_resume", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_root", "url": "Test.Runner.html#property__root", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_run", "url": "Test.Runner.html#method__run", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "run", "url": "Test.Runner.html#method_run", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_run", "url": "Test.Manager.html#method__run", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_runTest", "url": "Test.Runner.html#method__runTest", "type": "method"}, {"access": "", "host": "Test.Wait", "name": "segment", "url": "Test.Wait.html#property_segment", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "setPages", "url": "Test.Manager.html#method_setPages", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "setUp", "url": "Test.Suite.html#method_setUp", "type": "method"}, {"access": "", "host": "Test.Case", "name": "setUp", "url": "Test.Case.html#method_setUp", "type": "method"}, {"access": "", "host": "Test.Case", "name": "_should", "url": "Test.Case.html#property__should", "type": "property"}, {"access": "", "host": "Assert.UnexpectedError", "name": "stack", "url": "Assert.UnexpectedError.html#property_stack", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "start", "url": "Test.Manager.html#method_start", "type": "method"}, {"access": "", "host": "Test.Manager", "name": "stop", "url": "Test.Manager.html#method_stop", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "tearDown", "url": "Test.Suite.html#method_tearDown", "type": "method"}, {"access": "", "host": "Test.Case", "name": "tearDown", "url": "Test.Case.html#method_tearDown", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "testcasebegin", "url": "Test.Runner.html#event_testcasebegin", "type": "event"}, {"access": "", "host": "Test.Runner", "name": "testcasecomplete", "url": "Test.Runner.html#event_testcasecomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "testmanagerbegin", "url": "Test.Manager.html#event_testmanagerbegin", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_MANAGER_BEGIN_EVENT", "url": "Test.Manager.html#property_TEST_MANAGER_BEGIN_EVENT", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testmanagercomplete", "url": "Test.Manager.html#event_testmanagercomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_MANAGER_COMPLETE_EVENT", "url": "Test.Manager.html#property_TEST_MANAGER_COMPLETE_EVENT", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "testObject", "url": "Test.TestNode.html#property_testObject", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testpagebegin", "url": "Test.Manager.html#event_testpagebegin", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_PAGE_BEGIN_EVENT", "url": "Test.Manager.html#property_TEST_PAGE_BEGIN_EVENT", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testpagecomplete", "url": "Test.Manager.html#event_testpagecomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_PAGE_COMPLETE_EVENT", "url": "Test.Manager.html#property_TEST_PAGE_COMPLETE_EVENT", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "testsuitebegin", "url": "Test.Runner.html#event_testsuitebegin", "type": "event"}, {"access": "", "host": "Test.Runner", "name": "testsuitecomplete", "url": "Test.Runner.html#event_testsuitecomplete", "type": "event"}, {"access": "private", "host": "Test.Manager", "name": "_timeoutId", "url": "Test.Manager.html#property__timeoutId", "type": "property"}, {"access": "", "host": "Test.DateAssert", "name": "timesAreEqual", "url": "Test.DateAssert.html#method_timesAreEqual", "type": "method"}, {"access": "", "host": "Assert.Error", "name": "toString", "url": "Assert.Error.html#method_toString", "type": "method"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "toString", "url": "Assert.ComparisonFailure.html#method_toString", "type": "method"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "unexpected", "url": "Assert.UnexpectedValue.html#property_unexpected", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "url", "url": "Test.Reporter.html#property_url", "type": "property"}, {"access": "", "host": "Assert.Error", "name": "valueOf", "url": "Assert.Error.html#method_valueOf", "type": "method"}, {"access": "", "host": "Test.Format.Mock", "name": "verify", "url": "Test.Format.Mock.html#method_verify", "type": "method"}, {"access": "", "host": "Test.Case", "name": "wait", "url": "Test.Case.html#method_wait", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_waiting", "url": "Test.Runner.html#property__waiting", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "XML", "url": "Test.Suite.html#method_XML", "type": "method"}, {"access": "", "host": "Assert", "name": "Y.assert", "url": "Assert.html#method_Y.assert", "type": "method"}, {"access": "", "host": "Assert", "name": "Y.fail", "url": "Assert.html#method_Y.fail", "type": "method"}]; |
|
338 |
</script> |
|
339 |
</body> |
|
340 |
</html> |