ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilServicesPasswordSuite.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'libs/composer/vendor/autoload.php';
5 require_once 'Services/Utilities/classes/class.ilUtil.php';
6 require_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
7 require_once 'Services/Password/exceptions/class.ilPasswordException.php';
8 
15 {
19  public static function suite()
20  {
21  // Set timezone to prevent notices
22  date_default_timezone_set('Europe/Berlin');
23 
24  $suite = new self();
25 
26  require_once dirname(__FILE__) . '/encoders/ilMd5PasswordEncoderTest.php';
27  $suite->addTestSuite('ilMd5PasswordEncoderTest');
28 
29  require_once dirname(__FILE__) . '/encoders/ilBcryptPasswordEncoderTest.php';
30  $suite->addTestSuite('ilBcryptPasswordEncoderTest');
31 
32  require_once dirname(__FILE__) . '/encoders/ilBcryptPhpPasswordEncoderTest.php';
33  $suite->addTestSuite('ilBcryptPhpPasswordEncoderTest');
34 
35  return $suite;
36  }
37 }
$suite