29 error_reporting(E_ALL);
31 if (PHP_SAPI !=
'cli') {
32 die (
'This script executes all tests, and should only be run from the command line');
38 ,
'01simplePCLZip.php' 45 ,
'06largescale-with-cellcaching.php' 46 ,
'06largescale-with-cellcaching-sqlite.php' 47 ,
'06largescale-with-cellcaching-sqlite3.php' 48 ,
'06largescale-xls.php' 50 ,
'07readerPCLZip.php' 51 ,
'08conditionalformatting.php' 52 ,
'08conditionalformatting2.php' 55 ,
'10autofilter-selection-1.php' 56 ,
'10autofilter-selection-2.php' 57 ,
'10autofilter-selection-display.php' 58 ,
'11documentsecurity.php' 59 ,
'11documentsecurity-xls.php' 60 ,
'12cellProtection.php' 62 ,
'13calculationCyclicFormulae.php' 64 ,
'15datavalidation.php' 65 ,
'15datavalidation-xls.php' 68 ,
'18extendedcalculation.php' 72 ,
'22heavilyformatted.php' 73 ,
'23sharedstyles.php' 75 ,
'25inmemoryimage.php' 77 ,
'27imagesexcel5.php' 79 ,
'29advancedvaluebinder.php' 81 ,
'31docproperties_write.php' 82 ,
'31docproperties_write-xls.php' 83 ,
'32chartreadwrite.php' 84 ,
'33chartcreate-area.php' 85 ,
'33chartcreate-bar.php' 86 ,
'33chartcreate-bar-stacked.php' 87 ,
'33chartcreate-column.php' 88 ,
'33chartcreate-column-2.php' 89 ,
'33chartcreate-line.php' 90 ,
'33chartcreate-pie.php' 91 ,
'33chartcreate-radar.php' 92 ,
'33chartcreate-stock.php' 93 ,
'33chartcreate-multiple-charts.php' 94 ,
'33chartcreate-composite.php' 97 ,
'36chartreadwriteHTML.php' 98 ,
'36chartreadwritePDF.php' 99 ,
'37page_layout_view.php' 100 ,
'38cloneWorksheet.php' 102 ,
'40duplicateStyle.php' 106 ,
'OOCalcReaderPCLZip.php' 108 ,
'Excel2003XMLReader.php' 110 ,
'GnumericReader.php' 115 @unlink( str_replace(
'.php',
'.xls', $sTest) );
116 @unlink( str_replace(
'.php',
'.xlsx', $sTest) );
117 @unlink( str_replace(
'.php',
'.csv', $sTest) );
118 @unlink( str_replace(
'.php',
'.htm', $sTest) );
119 @unlink( str_replace(
'.php',
'.pdf', $sTest) );
124 echo
'============== TEST ==============' .
"\r\n";
125 echo
'Test name: ' . $sTest .
"\r\n";
127 echo shell_exec(
'php ' . $sTest);
if(PHP_SAPI !='cli') $aTests
Create styles array
The data for the language used.