Definition at line 3 of file WorksheetRowTest.php.
◆ setUp()
WorksheetRowTest::setUp |
( |
| ) |
|
Definition at line 8 of file WorksheetRowTest.php.
References defined.
10 if (!
defined(
'PHPEXCEL_ROOT')) {
11 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
13 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
15 $this->mockWorksheet = $this->getMockBuilder(
'PHPExcel_Worksheet')
16 ->disableOriginalConstructor()
18 $this->mockWorksheet->expects($this->any())
19 ->method(
'getHighestColumn')
20 ->will($this->returnValue(
'E'));
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
◆ testGetCellIterator()
WorksheetRowTest::testGetCellIterator |
( |
| ) |
|
Definition at line 40 of file WorksheetRowTest.php.
References $row.
43 $cellIterator =
$row->getCellIterator();
44 $this->assertInstanceOf(
'PHPExcel_Worksheet_RowCellIterator', $cellIterator);
◆ testInstantiateRowDefault()
WorksheetRowTest::testInstantiateRowDefault |
( |
| ) |
|
Definition at line 24 of file WorksheetRowTest.php.
References $row.
27 $this->assertInstanceOf(
'PHPExcel_Worksheet_Row',
$row);
28 $rowIndex =
$row->getRowIndex();
29 $this->assertEquals(1, $rowIndex);
◆ testInstantiateRowSpecified()
WorksheetRowTest::testInstantiateRowSpecified |
( |
| ) |
|
Definition at line 32 of file WorksheetRowTest.php.
References $row.
35 $this->assertInstanceOf(
'PHPExcel_Worksheet_Row',
$row);
36 $rowIndex =
$row->getRowIndex();
37 $this->assertEquals(5, $rowIndex);
◆ $mockRow
WorksheetRowTest::$mockRow |
◆ $mockWorksheet
WorksheetRowTest::$mockWorksheet |
The documentation for this class was generated from the following file: