Minor - Updated phpdoc tags

skala
Yannick Warnier 12 years ago
parent 9bfe010d60
commit 0bf06d9c72
  1. 8
      tests/main_api.lib.test_standalone.php
  2. 10
      tests/rmdirr.lib.test_standalone.php
  3. 2
      tests/simpletest/mock_objects.php
  4. 10
      tests/test_suite.php
  5. 10
      tests/test_webservices.php
  6. 6
      tests/xhprof/footer.php
  7. 6
      tests/xhprof/header.php
  8. 6
      tests/xhprof/xhprof_lib/utils/callgraph_utils.php

@ -1,11 +1,13 @@
<?php
/* For licensing terms, see /license.txt */
/**
* A simple set of tests for the main API.
* @author Ivan Tcholakov, 2009.
* For licensing terms, see /dokeos_license.txt
* @package chamilo.tests
*/
/**
* Init
*/
$_current_dir = dirname(__FILE__).'/';
$_sys_code_path = $_current_dir.'../main/';

@ -1,11 +1,13 @@
<?php
/* For licensing terms, see /license.txt */
/**
* A standalone test for testing the function rmdirr()
* @author Ivan Tcholakov, September 2009.
* For licensing terms, see /dokeos_license.txt
* @package chamilo.tests
*/
/**
* Init
*/
//ini_set('memory_limit','128M');
$_current_dir = dirname(__FILE__).'/';
@ -45,4 +47,4 @@ class RmDirRTests extends TestSuite {
$test = & new RmDirRTests();
//$test-> run( new HtmlReporter());
?>
?>

@ -463,7 +463,7 @@ class SimpleCallSchedule {
* @param array $args The parameters making up the
* rest of the call.
* @return mixed The result of the action.
* @access public.
* @access public
*/
function &respond($step, $method, $args) {
$method = strtolower($method);

@ -9,9 +9,8 @@
* - files with functions tests
*
* @todo rewrite code to separate display, logic, database code
* @package chamilo.main
* @package chamilo.tests
*/
/**
* @todo shouldn't these settings be moved to the test_suite.php.
* if these are really configuration then we can make require_once in each tests.
@ -64,10 +63,11 @@ require_once 'simpletest/autorun.php';
require_once 'simpletest/reporter.php';
require_once 'simpletest/xml.php';
/* TEST SUITE
/**
* TEST SUITE
* Start to load the tests files
*/
* @package chamilo.tests
*/
class TestsSuite extends TestSuite {
function TestsSuite() {

@ -1,16 +1,22 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Set of unit tests for the web services
*
* @author Guillaume Viguier <guillaume.viguier@beeznest.com>
* @package chamilo.tests
*/
/**
* Init
*/
ini_set('soap.wsdl_cache_enabled', 0);
require_once(dirname(__FILE__).'/../main/inc/global.inc.php');
require_once(dirname(__FILE__).'/simpletest/autorun.php');
/**
* @package chamilo.tests
*/
class TestSoapWebService extends UnitTestCase {
protected $_secret_key;

@ -1,4 +1,10 @@
<?php
/**
* @package chamilo.profiling
*/
/**
* Init
*/
if (extension_loaded('xhprof')) {
$profiler_namespace = 'chamilolms'; // namespace for your application
$xhprof_data = xhprof_disable();

@ -1,4 +1,10 @@
<?php
/**
* @package chamilo.profiling
*/
/**
* Init
*/
if (extension_loaded('xhprof')) {
include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_lib.php';
include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_runs.php';

@ -88,7 +88,7 @@ function xhprof_generate_mime_header($type, $length) {
* @param dot_script, string, the script for DOT to generate the image.
* @param type, one of the supported image types, see
* $xhprof_legal_image_types.
* @returns, binary content of the generated image on success. empty string on
* @return binary content of the generated image on success. empty string on
* failure.
*
* @author cjiang
@ -150,7 +150,7 @@ function xhprof_get_children_table($raw_data) {
* @param func, string, the focus function.
* @param critical_path, bool, whether or not to display critical path with
* bold lines.
* @returns, string, the DOT script to generate image.
* @return string, the DOT script to generate image.
*
* @author cjiang
*/
@ -418,7 +418,7 @@ function xhprof_render_diff_image($xhprof_runs_impl, $run1, $run2,
* threshold will be filtered out and won't apprear in the
* generated image.
* @param func, string, the focus function.
* @returns, string, the DOT script to generate image.
* @return string, the DOT script to generate image.
*
* @author cjiang
*/

Loading…
Cancel
Save