10 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
12 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
21 $reader = $this->getMockForAbstractClass(
'PHPExcel_Reader_Abstract');
22 $expectedResult =
'FAILURE: Should throw an Exception rather than return a value';
24 $this->assertEquals($expectedResult,
$result);
30 foreach(glob(
'rawTestData/Reader/XEETestInvalid*.xml') as
$file) {
31 $tests[] = [realpath($file),
true];
41 $reader = $this->getMockForAbstractClass(
'PHPExcel_Reader_Abstract');
43 $this->assertEquals($expectedResult,
$result);
49 foreach(glob(
'rawTestData/Reader/XEETestValid*.xml') as
$file) {
50 $tests[] = [realpath($file), file_get_contents($file)];
testInvalidXML($filename)
providerInvalidXML PHPExcel_Reader_Exception
testValidXML($filename, $expectedResult)
providerValidXML
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'