207 lines
		
	
	
	
		
			7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			207 lines
		
	
	
	
		
			7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<title>
							 | 
						||
| 
								 | 
							
								jala.Test Overview
							 | 
						||
| 
								 | 
							
								</title>
							 | 
						||
| 
								 | 
							
								<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
							 | 
						||
| 
								 | 
							
								<script>
							 | 
						||
| 
								 | 
							
								function asd() {
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
										parent.document.title="Global/Global.js Overview";
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body bgcolor="white" onload="asd();">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== START OF NAVBAR ========== -->
							 | 
						||
| 
								 | 
							
								<a name="navbar_top"><!-- --></a>
							 | 
						||
| 
								 | 
							
								<table border="0" width="100%" cellpadding="1" cellspacing="0">
							 | 
						||
| 
								 | 
							
								<tr>
							 | 
						||
| 
								 | 
							
								<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
							 | 
						||
| 
								 | 
							
								<a name="navbar_top_firstrow"><!-- --></a>
							 | 
						||
| 
								 | 
							
								<table border="0" cellpadding="0" cellspacing="3">
							 | 
						||
| 
								 | 
							
								  <tr align="center" valign="top">
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	 <font class="NavBarFont1Rev"><b>File</b></font> </td>
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#FFFFFF" class="NavBarCell1"> 	<font class="NavBarFont1">Class</font> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</td>
							 | 
						||
| 
								 | 
							
								<td bgcolor="#EEEEFF" align="right" valign="top">
							 | 
						||
| 
								 | 
							
								<em>
							 | 
						||
| 
								 | 
							
								<b>jala.Test</b></em>
							 | 
						||
| 
								 | 
							
								</td>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<tr>
							 | 
						||
| 
								 | 
							
								<td bgcolor="white" class="NavBarCell2"><font size="-2">
							 | 
						||
| 
								 | 
							
								 PREV 
							 | 
						||
| 
								 | 
							
								 NEXT</font></td>
							 | 
						||
| 
								 | 
							
								<td bgcolor="white" class="NavBarCell2"><font size="-2">
							 | 
						||
| 
								 | 
							
								  <a href="index.html" target="_top"><b>FRAMES</b></a>   
							 | 
						||
| 
								 | 
							
								 <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								<script>
							 | 
						||
| 
								 | 
							
								  <!--
							 | 
						||
| 
								 | 
							
								  if(window==top) {
							 | 
						||
| 
								 | 
							
								    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  //-->
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								<noscript>
							 | 
						||
| 
								 | 
							
								<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
							 | 
						||
| 
								 | 
							
								</noscript>
							 | 
						||
| 
								 | 
							
								</font></td>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								<!-- =========== END OF NAVBAR =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<hr>
							 | 
						||
| 
								 | 
							
								<center>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
									   <h2>Global/Global.js</h2>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								</center>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h4>Summary</h4>
							 | 
						||
| 
								 | 
							
								<p>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
										No overview generated for 'Global/Global.js'<BR/><BR/>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<hr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== END METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <pre class="sourceview"><span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// Jala Project [http://opensvn.csie.org/traccgi/jala]</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// Copyright 2004 ORF Online und Teletext GmbH</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// Licensed under the Apache License, Version 2.0 (the ``License'');</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// you may not use this file except in compliance with the License.</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// You may obtain a copy of the License at</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//    http://www.apache.org/licenses/LICENSE-2.0</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// Unless required by applicable law or agreed to in writing, software</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// distributed under the License is distributed on an ``AS IS'' BASIS,</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// See the License for the specific language governing permissions and</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// limitations under the License.</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// $Revision$</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// $LastChangedBy$</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// $LastChangedDate$</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">// $HeadURL$</span>
							 | 
						||
| 
								 | 
							
								<span class="comment">//</span>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<span class="comment">/**
							 | 
						||
| 
								 | 
							
								 * Module dependencies
							 | 
						||
| 
								 | 
							
								 */</span>
							 | 
						||
| 
								 | 
							
								app.addRepository(<span class="literal">"modules/core/HopObject.js"</span>);
							 | 
						||
| 
								 | 
							
								app.addRepository(<span class="literal">"modules/helma/File.js"</span>);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<span class="comment">/**
							 | 
						||
| 
								 | 
							
								 * Test runner
							 | 
						||
| 
								 | 
							
								 */</span>
							 | 
						||
| 
								 | 
							
								Root.<span class="reserved">prototype</span>.runner_action = <span class="reserved">function</span>() {
							 | 
						||
| 
								 | 
							
								   res.handlers.test = new jala.Test();
							 | 
						||
| 
								 | 
							
								   <span class="reserved">if</span> (req.isGet() && req.data.test) {
							 | 
						||
| 
								 | 
							
								      res.handlers.test.execute(req.data.test);
							 | 
						||
| 
								 | 
							
								   } <span class="reserved">else</span> <span class="reserved">if</span> (req.isPost() && (req.data.test_array || req.data.test)) {
							 | 
						||
| 
								 | 
							
								      res.handlers.test.execute(req.data.test_array || req.data.test);
							 | 
						||
| 
								 | 
							
								   }
							 | 
						||
| 
								 | 
							
								   renderSkin(<span class="literal">"jala.Test.main"</span>);
							 | 
						||
| 
								 | 
							
								   <span class="reserved">return</span>;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<span class="comment">/**
							 | 
						||
| 
								 | 
							
								 * External stylesheet for test runner
							 | 
						||
| 
								 | 
							
								 */</span>
							 | 
						||
| 
								 | 
							
								Root.<span class="reserved">prototype</span>.jala_Test_stylesheet_action = <span class="reserved">function</span>() {
							 | 
						||
| 
								 | 
							
								   res.contentType = <span class="literal">"text/css"</span>;
							 | 
						||
| 
								 | 
							
								   renderSkin(<span class="literal">"jala.Test.stylesheet"</span>);
							 | 
						||
| 
								 | 
							
								   <span class="reserved">return</span>;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								</pre>
							 | 
						||
| 
								 | 
							
									<hr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== START OF NAVBAR ========== -->
							 | 
						||
| 
								 | 
							
								<a name="navbar_top"><!-- --></a>
							 | 
						||
| 
								 | 
							
								<table border="0" width="100%" cellpadding="1" cellspacing="0">
							 | 
						||
| 
								 | 
							
								<tr>
							 | 
						||
| 
								 | 
							
								<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
							 | 
						||
| 
								 | 
							
								<a name="navbar_top_firstrow"><!-- --></a>
							 | 
						||
| 
								 | 
							
								<table border="0" cellpadding="0" cellspacing="3">
							 | 
						||
| 
								 | 
							
								  <tr align="center" valign="top">
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	 <font class="NavBarFont1Rev"><b>File</b></font> </td>
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a> </td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</td>
							 | 
						||
| 
								 | 
							
								<td bgcolor="#EEEEFF" align="right" valign="top"><em>
							 | 
						||
| 
								 | 
							
								<b>jala.Test</b></em>
							 | 
						||
| 
								 | 
							
								</td>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<tr>
							 | 
						||
| 
								 | 
							
								<td bgcolor="white" class="NavBarCell2"><font size="-2">
							 | 
						||
| 
								 | 
							
								 PREV 
							 | 
						||
| 
								 | 
							
								 NEXT</font></td>
							 | 
						||
| 
								 | 
							
								<td bgcolor="white" class="NavBarCell2"><font size="-2">
							 | 
						||
| 
								 | 
							
								  <a href="index.html" target="_top"><b>FRAMES</b></a>   
							 | 
						||
| 
								 | 
							
								 <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
							 | 
						||
| 
								 | 
							
								  
							 | 
						||
| 
								 | 
							
								<script>
							 | 
						||
| 
								 | 
							
								  <!--
							 | 
						||
| 
								 | 
							
								  if(window==top) {
							 | 
						||
| 
								 | 
							
								    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  //-->
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								<noscript>
							 | 
						||
| 
								 | 
							
								<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
							 | 
						||
| 
								 | 
							
								</noscript>
							 | 
						||
| 
								 | 
							
								</font></td>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								<!-- =========== END OF NAVBAR =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<hr>
							 | 
						||
| 
								 | 
							
								<font size="-1">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</font>
							 | 
						||
| 
								 | 
							
								<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Mon Feb 12 14:40:38 2007</div>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |