237 lines
		
	
	
	
		
			7.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			237 lines
		
	
	
	
		
			7.6 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/jala.Test.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/jala.Test.js</h2>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								</center>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h4>Summary</h4>
							 | 
						||
| 
								 | 
							
								<p>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
										Fields and methods of the jala.Test class.<BR/><BR/>
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<hr>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <table border="1" cellpadding="3" cellspacing="0" width="100%">
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="#CCCCFF" class="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								    <td colspan=2><font size="+2">
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								        <b>Class Summary</b>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    </font></td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.html">jala.Test</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Provides various methods for automated tests.</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.ArgumentsException.html">jala.Test.ArgumentsException</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this exception are thrown whenever an assertion
							 | 
						||
| 
								 | 
							
								 function is called with incorrect or insufficient arguments
							 | 
						||
| 
								 | 
							
								 </td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.DatabaseMgr.html">jala.Test.DatabaseMgr</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class allow managing test databases
							 | 
						||
| 
								 | 
							
								 and switching a running application to an in-memory test
							 | 
						||
| 
								 | 
							
								 database to use within a unit test.</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.EvaluatorException.html">jala.Test.EvaluatorException</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this exception are thrown when attempt
							 | 
						||
| 
								 | 
							
								 to evaluate the test code fails.</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.Exception.html">jala.Test.Exception</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Base exception class
							 | 
						||
| 
								 | 
							
								 </td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.HttpClient.html">jala.Test.HttpClient</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class represent a http client useable for
							 | 
						||
| 
								 | 
							
								 testing, as any session cookies received by the tested application
							 | 
						||
| 
								 | 
							
								 are stored and used for subsequent requests, allowing simple "walkthrough"
							 | 
						||
| 
								 | 
							
								 tests.</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.SmtpServer.html">jala.Test.SmtpServer</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class represent an SMTP server listening on
							 | 
						||
| 
								 | 
							
								 localhost.</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.SmtpServer.Message.html">jala.Test.SmtpServer.Message</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class represent a mail message received
							 | 
						||
| 
								 | 
							
								 by the SMTP server
							 | 
						||
| 
								 | 
							
								 </td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.TestException.html">jala.Test.TestException</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this exception are thrown whenever an
							 | 
						||
| 
								 | 
							
								 assertion function fails
							 | 
						||
| 
								 | 
							
								 </td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.TestFunctionResult.html">jala.Test.TestFunctionResult</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class represent the result of the successful
							 | 
						||
| 
								 | 
							
								 execution of a single test function (failed executions will be represented
							 | 
						||
| 
								 | 
							
								 as Exceptions in the log of a test result).</td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <tr bgcolor="white" class="TableRowColor">
							 | 
						||
| 
								 | 
							
								    <td width="15%"><b><a href="jala.Test.TestResult.html">jala.Test.TestResult</a></b></td>
							 | 
						||
| 
								 | 
							
								    <td>Instances of this class represent the result of the execution
							 | 
						||
| 
								 | 
							
								 of a single test file
							 | 
						||
| 
								 | 
							
								 </td>
							 | 
						||
| 
								 | 
							
								    </tr>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    </table>
							 | 
						||
| 
								 | 
							
								    <hr/> 
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== END METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== 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 Tue Jan  8 15:50:17 2008</div>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |