Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/main/inc/lib/upload.xajax.test.php

25 lines
643 B

<?php
/** To can run this test you need change the line 17 in upload.xajax.php by:
* $ul_info = array();
* if(function_exists('uploadprogress_get_info'))
* {
* $ul_info = uploadprogress_get_info($upload_id);
* }
*/
require_once(api_get_path(LIBRARY_PATH).'upload.xajax.php');
require_once(api_get_path(LIBRARY_PATH).'xajax/xajax.inc.php');
require_once(api_get_path(LIBRARY_PATH).'xajax/xajaxResponse.inc.php');
class TestUpdateXajax extends UnitTestCase {
/*
function testUpdateProgress(){
$div_id='';
$upload_id='';
$res = updateProgress($div_id, $upload_id, $waitAfterupload=false);
$this->assertTrue($res);
}*/
}
?>