212 lines
		
	
	
		
			7.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
		
		
			
		
	
	
			212 lines
		
	
	
		
			7.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<title>Docs for page lamdaemonTest.php</title>
							 | 
						||
| 
								 | 
							
								<link rel="stylesheet" type="text/css" href="../media/style.css">
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td class="header_top">tools</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td class="header_menu">
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								                                                                                                                                                                                                                                                                
							 | 
						||
| 
								 | 
							
								                                                  		  [ <a href="../classtrees_tools.html" class="menu">class tree: tools</a> ]
							 | 
						||
| 
								 | 
							
										  [ <a href="../elementindex_tools.html" class="menu">index: tools</a> ]
							 | 
						||
| 
								 | 
							
										  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
							 | 
						||
| 
								 | 
							
								    </td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<table width="100%" border="0" cellpadding="0" cellspacing="0">
							 | 
						||
| 
								 | 
							
								  <tr valign="top">
							 | 
						||
| 
								 | 
							
								    <td width="200" class="menu">
							 | 
						||
| 
								 | 
							
									<div id="ric">
							 | 
						||
| 
								 | 
							
													<p><a href="../ric_INSTALL.html">INSTALL</a></p>
							 | 
						||
| 
								 | 
							
													<p><a href="../ric_README.html">README</a></p>
							 | 
						||
| 
								 | 
							
											</div>
							 | 
						||
| 
								 | 
							
								      <b>Packages:</b><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_configuration.html">configuration</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_Help.html">Help</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_LDAP.html">LDAP</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_lib.html">lib</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_lists.html">lists</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_main.html">main</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_modules.html">modules</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_PDF.html">PDF</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_profiles.html">profiles</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_selfService.html">selfService</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_tests.html">tests</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_tools.html">tools</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_types.html">types</a><br />
							 | 
						||
| 
								 | 
							
								            <br /><br />
							 | 
						||
| 
								 | 
							
								                        <b>Files:</b><br />
							 | 
						||
| 
								 | 
							
								      	  <div class="package">
							 | 
						||
| 
								 | 
							
											<a href="../tools/_lib---export.inc.html">		export.inc
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---index.php.html">		index.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---lamdaemonTest.php.html">		lamdaemonTest.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---massBuildAccounts.php.html">		massBuildAccounts.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---masscreate.php.html">		masscreate.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---massDoUpload.php.html">		massDoUpload.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---ou_edit.php.html">		ou_edit.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---schema---schema.php.html">		schema.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---schemaTest.php.html">		schemaTest.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tools.php.html">		tools.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
									  </div><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      
							 | 
						||
| 
								 | 
							
								      
							 | 
						||
| 
								 | 
							
								            <b>Classes:</b><br />
							 | 
						||
| 
								 | 
							
								        <div class="package">
							 | 
						||
| 
								 | 
							
										    		<a href="../tools/LAMTool.html">LAMTool</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/LdapExportInfo.html">LdapExportInfo</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/MyCustomExporter.html">MyCustomExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaCSVExporter.html">PlaCSVExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaDsmlExporter.html">PlaDsmlExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaExporter.html">PlaExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaLdapExporter.html">PlaLdapExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaLdifExporter.html">PlaLdifExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaVcardExporter.html">PlaVcardExporter</a><br />
							 | 
						||
| 
								 | 
							
									  </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                </td>
							 | 
						||
| 
								 | 
							
								    <td>
							 | 
						||
| 
								 | 
							
								      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h1>Procedural File: lamdaemonTest.php</h1>
							 | 
						||
| 
								 | 
							
								Source Location: /templates/tests/lamdaemonTest.php<br /><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h2>Page Details:</h2>
							 | 
						||
| 
								 | 
							
								Tests the lamdaemon script.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>author:</b>  </td><td>Roland Gruber</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>author:</b>  </td><td>Thomas Manninger</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Includes:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								include_once("../../lib/config.inc") [line 35]<br />
							 | 
						||
| 
								 | 
							
								access to configuration options<br /><br />include_once("../../lib/security.inc") [line 33]<br />
							 | 
						||
| 
								 | 
							
								security functions<br /><br /></div>
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<br />
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionlamRunLamdaemonTestSuite"></a>
							 | 
						||
| 
								 | 
							
									<h3>lamRunLamdaemonTestSuite <span class="smalllinenumber">[line 193]</span></h3>
							 | 
						||
| 
								 | 
							
									<div class="function">
							 | 
						||
| 
								 | 
							
								    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
							 | 
						||
| 
								 | 
							
								    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
							 | 
						||
| 
								 | 
							
										<code>void lamRunLamdaemonTestSuite(
							 | 
						||
| 
								 | 
							
								String $serverName, String $serverTitle, boolean $testQuota)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Runs all tests for a given server.<br /><br />    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    		<h4>Parameters</h4>
							 | 
						||
| 
								 | 
							
								    <table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">String  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$serverName</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>server ID</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">String  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$serverTitle</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>server name</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">boolean  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$testQuota</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>true, if Quotas should be checked</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
												</table>
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionlamTestLamdaemon"></a>
							 | 
						||
| 
								 | 
							
									<h3>lamTestLamdaemon <span class="smalllinenumber">[line 131]</span></h3>
							 | 
						||
| 
								 | 
							
									<div class="function">
							 | 
						||
| 
								 | 
							
								    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
							 | 
						||
| 
								 | 
							
								    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
							 | 
						||
| 
								 | 
							
										<code>boolean lamTestLamdaemon(
							 | 
						||
| 
								 | 
							
								string $command, boolean $stopTest, connection $handle, string $testText)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Runs a test case of lamdaemon.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>return:</b>  </td><td>true, if errors occured</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    		<h4>Parameters</h4>
							 | 
						||
| 
								 | 
							
								    <table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">string  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$command</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>test command</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">boolean  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$stopTest</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>specifies if test should be run</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">connection  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$handle</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>SSH connection</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
										      <tr>
							 | 
						||
| 
								 | 
							
								        <td class="type">string  </td>
							 | 
						||
| 
								 | 
							
								        <td><b>$testText</b>  </td>
							 | 
						||
| 
								 | 
							
								        <td>describing text</td>
							 | 
						||
| 
								 | 
							
								      </tr>
							 | 
						||
| 
								 | 
							
												</table>
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <div class="credit">
							 | 
						||
| 
								 | 
							
										    <hr />
							 | 
						||
| 
								 | 
							
										    Documentation generated on Thu, 07 Feb 2008 20:26:36 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
							 | 
						||
| 
								 | 
							
									      </div>
							 | 
						||
| 
								 | 
							
								      </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |