iflrandevu/doc/code/php/class-Unit_tests.html

386 lines
9.8 KiB
HTML
Raw Normal View History

2015-01-29 00:56:57 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Unit_tests</title>
<link rel="stylesheet" href="resources/bootstrap.min.css?08b23951ef4599ca9cbf1f902d0e8290c9653ddd">
<link rel="stylesheet" href="resources/style.css?062e9e59e0b8c44fbaaded5b7ffc21f907b78669">
</head>
<body>
<div id="navigation" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a href="index.html" class="brand">Overview</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active">
<span>Class</span> </li>
<li class="divider-vertical"></li>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="left">
<div id="menu">
<form id="search" class="form-search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="search-query" placeholder="Search">
</form>
<div id="groups">
</div>
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Admins_Model.html">Admins_Model</a></li>
<li><a href="class-Appointments.html">Appointments</a></li>
<li><a href="class-Appointments_Model.html">Appointments_Model</a></li>
<li><a href="class-Backend.html">Backend</a></li>
<li><a href="class-Backend_api.html">Backend_api</a></li>
<li><a href="class-Customers_Model.html">Customers_Model</a></li>
<li><a href="class-Errors.html">Errors</a></li>
<li><a href="class-Google.html">Google</a></li>
<li><a href="class-Google_Sync.html">Google_Sync</a></li>
<li><a href="class-Notifications.html">Notifications</a></li>
<li><a href="class-Providers_Model.html">Providers_Model</a></li>
<li><a href="class-Roles_Model.html">Roles_Model</a></li>
<li><a href="class-Secretaries_Model.html">Secretaries_Model</a></li>
<li><a href="class-Services_Model.html">Services_Model</a></li>
<li><a href="class-Settings_Model.html">Settings_Model</a></li>
<li><a href="class-Test.html">Test</a></li>
<li class="active"><a href="class-Unit_tests.html">Unit_tests</a></li>
<li><a href="class-Unit_tests_admins_model.html">Unit_tests_admins_model</a></li>
<li><a href="class-Unit_tests_appointments_model.html">Unit_tests_appointments_model</a></li>
<li><a href="class-Unit_tests_customers_model.html">Unit_tests_customers_model</a></li>
<li><a href="class-Unit_tests_providers_model.html">Unit_tests_providers_model</a></li>
<li><a href="class-Unit_tests_secretaries_model.html">Unit_tests_secretaries_model</a></li>
<li><a href="class-Unit_tests_services_model.html">Unit_tests_services_model</a></li>
<li><a href="class-Unit_tests_settings_model.html">Unit_tests_settings_model</a></li>
<li><a href="class-User.html">User</a></li>
<li><a href="class-User_Model.html">User_Model</a></li>
</ul>
<h3>Interfaces</h3>
<ul>
<li><a href="class-Admins_Model.html">Admins_Model</a></li>
<li><a href="class-Appointments.html">Appointments</a></li>
<li><a href="class-Appointments_Model.html">Appointments_Model</a></li>
<li><a href="class-Backend.html">Backend</a></li>
<li><a href="class-Backend_api.html">Backend_api</a></li>
<li><a href="class-Customers_Model.html">Customers_Model</a></li>
<li><a href="class-Errors.html">Errors</a></li>
<li><a href="class-Google.html">Google</a></li>
<li><a href="class-Google_Sync.html">Google_Sync</a></li>
<li><a href="class-Notifications.html">Notifications</a></li>
<li><a href="class-Providers_Model.html">Providers_Model</a></li>
<li><a href="class-Roles_Model.html">Roles_Model</a></li>
<li><a href="class-Secretaries_Model.html">Secretaries_Model</a></li>
<li><a href="class-Services_Model.html">Services_Model</a></li>
<li><a href="class-Settings_Model.html">Settings_Model</a></li>
<li><a href="class-Test.html">Test</a></li>
<li class="active"><a href="class-Unit_tests.html">Unit_tests</a></li>
<li><a href="class-Unit_tests_admins_model.html">Unit_tests_admins_model</a></li>
<li><a href="class-Unit_tests_appointments_model.html">Unit_tests_appointments_model</a></li>
<li><a href="class-Unit_tests_customers_model.html">Unit_tests_customers_model</a></li>
<li><a href="class-Unit_tests_providers_model.html">Unit_tests_providers_model</a></li>
<li><a href="class-Unit_tests_secretaries_model.html">Unit_tests_secretaries_model</a></li>
<li><a href="class-Unit_tests_services_model.html">Unit_tests_services_model</a></li>
<li><a href="class-Unit_tests_settings_model.html">Unit_tests_settings_model</a></li>
<li><a href="class-User.html">User</a></li>
<li><a href="class-User_Model.html">User_Model</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<div id="content" class="class">
<h1>Class Unit_tests</h1>
<div class="description">
<p>Unit testing driver.</p>
<p>This driver handles all the unit testing of the application.
Custom methods (test categories) can be created in order to
use different test groups on each testing</p>
</div>
<dl class="tree well">
<dd style="padding-left:0px">
CI_Driver_Library
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>Unit_tests</span></b>
</dd>
</dl>
<div class="alert alert-info">
<b>Located at</b> <a href="source-class-Unit_tests.html#3-80" title="Go to source code">Unit_tests/Unit_tests.php</a>
<br>
</div>
<h2>Methods summary</h2>
<table class="summary table table-bordered table-striped methods" id="methods">
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-Unit_tests.html#14-30" title="Go to source code">__construct</a>( )</code>
<div class="description short">
<p>Class Constructor</p>
</div>
<div class="description detailed hidden">
<p>Class Constructor</p>
</div>
</div></td>
</tr>
<tr data-order="run_all_tests" id="_run_all_tests">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_run_all_tests">#</a>
<code><a href="source-class-Unit_tests.html#32-43" title="Go to source code">run_all_tests</a>( )</code>
<div class="description short">
<p>Run all the available tests of the system.</p>
</div>
<div class="description detailed hidden">
<p>Run all the available tests of the system.</p>
<p>If a new group of tests is added, it should be also added in
this method, in order to be executed when all the tests need to
be run.</p>
</div>
</div></td>
</tr>
<tr data-order="run_model_tests" id="_run_model_tests">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_run_model_tests">#</a>
<code><a href="source-class-Unit_tests.html#48-66" title="Go to source code">run_model_tests</a>( <span>boolean <var>$output_report</var> = <span class="php-keyword1">true</span></span> )</code>
<div class="description short">
<p>Run all the models tests.</p>
</div>
<div class="description detailed hidden">
<p>Run all the models tests.</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$output_report</var></dt>
<dd><p>Determines wether the test report
will be outputted.</p></dd>
</dl></div>
</div>
</div></td>
</tr>
<tr data-order="run_library_tests" id="_run_library_tests">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_run_library_tests">#</a>
<code><a href="source-class-Unit_tests.html#68-79" title="Go to source code">run_library_tests</a>( <span>boolean <var>$output_report</var> = <span class="php-keyword1">true</span></span> )</code>
<div class="description short">
<p>Run all the library tests.</p>
</div>
<div class="description detailed hidden">
<p>Run all the library tests.</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$output_report</var></dt>
<dd><p>Determines wether the test
report will be outputted.</p></dd>
</dl></div>
</div>
</div></td>
</tr>
</table>
<h3>Magic methods summary</h3>
<h2>Properties summary</h2>
<table class="summary table table-bordered table-striped properties" id="properties">
<tr data-order="CI" id="$CI">
<td class="attributes"><code>
public
</code></td>
<td class="name">
<a href="source-class-Unit_tests.html#11" title="Go to source code"><var>$CI</var></a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</td>
<td class="value">
<div>
<a href="#$CI" class="anchor">#</a>
<code></code>
</div>
</td>
</tr>
<tr data-order="valid_drivers" id="$valid_drivers">
<td class="attributes"><code>
public
</code></td>
<td class="name">
<a href="source-class-Unit_tests.html#12" title="Go to source code"><var>$valid_drivers</var></a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</td>
<td class="value">
<div>
<a href="#$valid_drivers" class="anchor">#</a>
<code></code>
</div>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen</a>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>