ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
4require_once 'libs/composer/vendor/autoload.php';
5require_once 'Services/Utilities/classes/class.ilUtil.php';
6require_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
7require_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
An exception for terminatinating execution or to throw for unit testing.