public function CellTest::testAbsoluteReferenceFromStringWithRangeAddress in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testAbsoluteReferenceFromStringWithRangeAddress()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 169
Class
Code
public function testAbsoluteReferenceFromStringWithRangeAddress() {
$cellAddress = 'A1:AI2012';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'absoluteReference',
), $cellAddress);
} catch (PHPExcel_Exception $e) {
$this
->assertEquals($e
->getMessage(), 'Cell coordinate string can not be a range of cells');
return;
}
$this
->fail('An expected exception has not been raised.');
}