ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
LayoutTest Class Reference
+ Inheritance diagram for LayoutTest:
+ Collaboration diagram for LayoutTest:

Public Member Functions

 setUp ()
 
 testSetLayoutTarget ()
 
 testGetLayoutTarget ()
 

Detailed Description

Definition at line 4 of file LayoutTest.php.

Member Function Documentation

◆ setUp()

LayoutTest::setUp ( )

Definition at line 7 of file LayoutTest.php.

References defined.

8  {
9  if (!defined('PHPEXCEL_ROOT'))
10  {
11  define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
12  }
13  require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
14  }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

◆ testGetLayoutTarget()

LayoutTest::testGetLayoutTarget ( )

Definition at line 26 of file LayoutTest.php.

References $result, and PHPExcel_Chart_Layout\setLayoutTarget().

27  {
28  $LayoutTargetValue = 'String';
29 
30  $testInstance = new PHPExcel_Chart_Layout;
31  $setValue = $testInstance->setLayoutTarget($LayoutTargetValue);
32 
33  $result = $testInstance->getLayoutTarget();
34  $this->assertEquals($LayoutTargetValue,$result);
35  }
$result
setLayoutTarget($value)
Set Layout Target.
Definition: Layout.php:172
+ Here is the call graph for this function:

◆ testSetLayoutTarget()

LayoutTest::testSetLayoutTarget ( )

Definition at line 16 of file LayoutTest.php.

References $result.

17  {
18  $LayoutTargetValue = 'String';
19 
20  $testInstance = new PHPExcel_Chart_Layout;
21 
22  $result = $testInstance->setLayoutTarget($LayoutTargetValue);
23  $this->assertTrue($result instanceof PHPExcel_Chart_Layout);
24  }
$result

The documentation for this class was generated from the following file: