ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
LookupRefTest Class Reference
+ Inheritance diagram for LookupRefTest:
+ Collaboration diagram for LookupRefTest:

Public Member Functions

 setUp ()
 
 testHLOOKUP ()
 providerHLOOKUP More...
 
 providerHLOOKUP ()
 
 testVLOOKUP ()
 providerVLOOKUP More...
 
 providerVLOOKUP ()
 

Detailed Description

Definition at line 6 of file LookupRefTest.php.

Member Function Documentation

◆ providerHLOOKUP()

LookupRefTest::providerHLOOKUP ( )

Definition at line 31 of file LookupRefTest.php.

32  {
33  return new testDataFileIterator('rawTestData/Calculation/LookupRef/HLOOKUP.data');
34  }

◆ providerVLOOKUP()

LookupRefTest::providerVLOOKUP ( )

Definition at line 47 of file LookupRefTest.php.

48  {
49  return new testDataFileIterator('rawTestData/Calculation/LookupRef/VLOOKUP.data');
50  }

◆ setUp()

LookupRefTest::setUp ( )

Definition at line 9 of file LookupRefTest.php.

References PHPExcel_Calculation_Functions\COMPATIBILITY_EXCEL, defined, and PHPExcel_Calculation_Functions\setCompatibilityMode().

10  {
11  if (!defined('PHPEXCEL_ROOT'))
12  {
13  define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
14  }
15  require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
16 
18  }
const COMPATIBILITY_EXCEL
constants
Definition: Functions.php:62
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27
static setCompatibilityMode($compatibilityMode)
Definition: Functions.php:116
+ Here is the call graph for this function:

◆ testHLOOKUP()

LookupRefTest::testHLOOKUP ( )

providerHLOOKUP

Definition at line 23 of file LookupRefTest.php.

References $result, and array.

24  {
25  $args = func_get_args();
26  $expectedResult = array_pop($args);
27  $result = call_user_func_array(array('PHPExcel_Calculation_LookupRef','HLOOKUP'),$args);
28  $this->assertEquals($expectedResult, $result);
29  }
$result
Create styles array
The data for the language used.

◆ testVLOOKUP()

LookupRefTest::testVLOOKUP ( )

providerVLOOKUP

Definition at line 39 of file LookupRefTest.php.

References $result, and array.

40  {
41  $args = func_get_args();
42  $expectedResult = array_pop($args);
43  $result = call_user_func_array(array('PHPExcel_Calculation_LookupRef','VLOOKUP'),$args);
44  $this->assertEquals($expectedResult, $result);
45  }
$result
Create styles array
The data for the language used.

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