public function CellTest::testCoordinateFromStringWithRangeAddress in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testCoordinateFromStringWithRangeAddress()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 89
Class
Code
public function testCoordinateFromStringWithRangeAddress() {
$cellAddress = 'A1:AI2012';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'coordinateFromString',
), $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.');
}