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

Public Member Functions

 setUp ()
 
 testHashPassword ()
 providerHashPassword More...
 
 providerHashPassword ()
 

Detailed Description

Definition at line 6 of file PasswordHasherTest.php.

Member Function Documentation

◆ providerHashPassword()

PasswordHasherTest::providerHashPassword ( )

Definition at line 28 of file PasswordHasherTest.php.

29  {
30  return new testDataFileIterator('rawTestData/Shared/PasswordHashes.data');
31  }

◆ setUp()

PasswordHasherTest::setUp ( )

Definition at line 9 of file PasswordHasherTest.php.

References defined.

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

◆ testHashPassword()

PasswordHasherTest::testHashPassword ( )

providerHashPassword

Definition at line 20 of file PasswordHasherTest.php.

References $result, and array.

21  {
22  $args = func_get_args();
23  $expectedResult = array_pop($args);
24  $result = call_user_func_array(array('PHPExcel_Shared_PasswordHasher','hashPassword'),$args);
25  $this->assertEquals($expectedResult, $result);
26  }
$result
Create styles array
The data for the language used.

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