PATH:
opt
/
alt
/
tests
/
alt-php81-pecl-uploadprogress_2.0.2-1.el8
/
tests
--TEST-- uploadprogress_get_info - Template without replacement assumes directory --SKIPIF-- <?php if (!extension_loaded('uploadprogress')) exit('skip extension not loaded'); --FILE-- <?php ini_set('uploadprogress.file.filename_template', dirname(__FILE__) . '/mocks/get_info'); $info = uploadprogress_get_info('variation001'); var_export($info); --EXPECTF-- array ( 'upload_id' => 'file003', 'fieldname' => 'uploadFile', 'filename' => '/path/to/tmp/filename.txt', 'time_start' => '1579893044', 'time_last' => '30', 'speed_average' => '300', 'speed_last' => '300', 'bytes_uploaded' => '1592342', 'bytes_total' => '3000000', 'files_uploaded' => '1', 'est_sec' => '45', )
[-] uploadprogress_get_contents_variation003.phpt
[edit]
[-] uploadprogress_get_contents_error003.phpt
[edit]
[-] uploadprogress_get_info_error001.phpt
[edit]
[-] uploadprogress_get_info_variation002.phpt
[edit]
[-] uploadprogress_get_contents_variation005.phpt
[edit]
[-] uploadprogress_get_contents_error002.phpt
[edit]
[-] uploadprogress_get_contents_variation004.phpt
[edit]
[-] uploadprogress_get_info_error004.phpt
[edit]
[-] uploadprogress_get_info_variation004.phpt
[edit]
[-] uploadprogress_get_info_error002.phpt
[edit]
[-] uploadprogress_get_contents_variation006.phpt
[edit]
[-] uploadprogress_get_info_error003.phpt
[edit]
[-] uploadprogress_get_contents_variation002.phpt
[edit]
[-] uploadprogress_get_contents_variation001.phpt
[edit]
[+]
..
[-] uploadprogress_get_contents_basic.phpt
[edit]
[-] uploadprogress_get_info_basic.phpt
[edit]
[+]
mocks
[-] uploadprogress_get_contents_error001.phpt
[edit]
[-] uploadprogress_get_contents_error004.phpt
[edit]
[-] bug58318.phpt
[edit]
[-] uploadprogress_get_info_variation001.phpt
[edit]