PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 2.2.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v2.2.0
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
visualizer / vendor / phpoffice / phpexcel / Examples / runall.php

runall.php in Visualizer – Tables & Charts Manager with Built-in AI Generator 2.2.0, at vendor/phpoffice/phpexcel/Examples/runall.php

131 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * PHPExcel
4 *
5 * Copyright (C) 2006 - 2014 PHPExcel
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 * @category PHPExcel
22 * @package PHPExcel
23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
26 */
27
28 /** Error reporting */
29 error_reporting(E_ALL);
30
31 if (PHP_SAPI != 'cli') {
32 die ('This script executes all tests, and should only be run from the command line');
33 }
34
35 // List of tests
36 $aTests = array(
37 '01simple.php'
38 , '01simplePCLZip.php'
39 , '02types.php'
40 , '02types-xls.php'
41 , '03formulas.php'
42 , '04printing.php'
43 , '05featuredemo.php'
44 , '06largescale.php'
45 , '06largescale-with-cellcaching.php'
46 , '06largescale-with-cellcaching-sqlite.php'
47 , '06largescale-with-cellcaching-sqlite3.php'
48 , '06largescale-xls.php'
49 , '07reader.php'
50 , '07readerPCLZip.php'
51 , '08conditionalformatting.php'
52 , '08conditionalformatting2.php'
53 , '09pagebreaks.php'
54 , '10autofilter.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'
61 , '13calculation.php'
62 , '13calculationCyclicFormulae.php'
63 , '14excel5.php'
64 , '15datavalidation.php'
65 , '15datavalidation-xls.php'
66 , '16csv.php'
67 , '17html.php'
68 , '18extendedcalculation.php'
69 , '19namedrange.php'
70 , '20readexcel5.php'
71 , '21pdf.php'
72 , '22heavilyformatted.php'
73 , '23sharedstyles.php'
74 , '24readfilter.php'
75 , '25inmemoryimage.php'
76 , '26utf8.php'
77 , '27imagesexcel5.php'
78 , '28iterator.php'
79 , '29advancedvaluebinder.php'
80 , '30template.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'
95 , '34chartupdate.php'
96 , '35chartrender.php'
97 , '36chartreadwriteHTML.php'
98 , '36chartreadwritePDF.php'
99 , '37page_layout_view.php'
100 , '38cloneWorksheet.php'
101 , '39dropdown.php'
102 , '40duplicateStyle.php'
103 , '41password.php'
104 , '42richText.php'
105 , 'OOCalcReader.php'
106 , 'OOCalcReaderPCLZip.php'
107 , 'SylkReader.php'
108 , 'Excel2003XMLReader.php'
109 , 'XMLReader.php'
110 , 'GnumericReader.php'
111 );
112
113 // First, clear all previous run results
114 foreach ($aTests as $sTest) {
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) );
120 }
121
122 // Run all tests
123 foreach ($aTests as $sTest) {
124 echo '============== TEST ==============' . "\r\n";
125 echo 'Test name: ' . $sTest . "\r\n";
126 echo "\r\n";
127 echo shell_exec('php ' . $sTest);
128 echo "\r\n";
129 echo "\r\n";
130 }
131