public function FileTest::testSetUseUploadTempDirectory in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/FileTest.php \FileTest::testSetUseUploadTempDirectory()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Shared/ FileTest.php, line 25
Class
Code
public function testSetUseUploadTempDirectory() {
$useUploadTempDirectoryValues = array(
TRUE,
FALSE,
);
foreach ($useUploadTempDirectoryValues as $useUploadTempDirectoryValue) {
call_user_func(array(
'PHPExcel_Shared_File',
'setUseUploadTempDirectory',
), $useUploadTempDirectoryValue);
$result = call_user_func(array(
'PHPExcel_Shared_File',
'getUseUploadTempDirectory',
));
$this
->assertEquals($useUploadTempDirectoryValue, $result);
}
}