ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
CellCollectionTest.php
Go to the documentation of this file.
1 <?php
2 
4 {
5 
6  public function setUp()
7  {
8  if (!defined('PHPEXCEL_ROOT'))
9  {
10  define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
11  }
12  require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
13  }
14 
15 
16  public function testCacheLastCell()
17  {
19  foreach ($methods as $method) {
21  $workbook = new PHPExcel();
22  $cells = array('A1', 'A2');
23  $worksheet = $workbook->getActiveSheet();
24  $worksheet->setCellValue('A1', 1);
25  $worksheet->setCellValue('A2', 2);
26  $this->assertEquals($cells, $worksheet->getCellCollection(), "Cache method \"$method\".");
28  }
29  }
30 
31 }
$worksheet
static finalize()
Clear the cache storage.
static initialize($method=self::cache_in_memory, $arguments=array())
Identify the cache storage method to use.
static getCacheStorageMethods()
Return the list of all available cache storage methods.
Create styles array
The data for the language used.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27