Definition at line 4 of file HyperlinkTest.php.
◆ setUp()
Definition at line 7 of file HyperlinkTest.php.
References defined.
11 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
13 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
◆ testGetHashCode()
HyperlinkTest::testGetHashCode |
( |
| ) |
|
Definition at line 76 of file HyperlinkTest.php.
References $result.
78 $urlValue =
'http://www.phpexcel.net';
79 $tooltipValue =
'PHPExcel Web Site';
80 $initialExpectedHash =
'd84d713aed1dbbc8a7c5af183d6c7dbb';
84 $result = $testInstance->getHashCode();
85 $this->assertEquals($initialExpectedHash,
$result);
◆ testGetTooltip()
HyperlinkTest::testGetTooltip |
( |
| ) |
|
◆ testGetUrl()
HyperlinkTest::testGetUrl |
( |
| ) |
|
◆ testIsInternal()
HyperlinkTest::testIsInternal |
( |
| ) |
|
Definition at line 62 of file HyperlinkTest.php.
References $result.
64 $initialUrlValue =
'http://www.phpexcel.net';
65 $newUrlValue =
'sheet://Worksheet1!A1';
68 $result = $testInstance->isInternal();
71 $testInstance->setUrl($newUrlValue);
72 $result = $testInstance->isInternal();
◆ testSetTooltip()
HyperlinkTest::testSetTooltip |
( |
| ) |
|
Definition at line 49 of file HyperlinkTest.php.
References $result.
51 $initialTooltipValue =
'PHPExcel Web Site';
52 $newTooltipValue =
'PHPExcel Repository on Github';
55 $result = $testInstance->setTooltip($newTooltipValue);
58 $result = $testInstance->getTooltip();
59 $this->assertEquals($newTooltipValue,
$result);
◆ testSetUrl()
HyperlinkTest::testSetUrl |
( |
| ) |
|
Definition at line 26 of file HyperlinkTest.php.
References $result.
28 $initialUrlValue =
'http://www.phpexcel.net';
29 $newUrlValue =
'http://github.com/PHPOffice/PHPExcel';
32 $result = $testInstance->setUrl($newUrlValue);
35 $result = $testInstance->getUrl();
36 $this->assertEquals($newUrlValue,
$result);
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Cell/HyperlinkTest.php