2014-08-14 10:03:01 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @author Andreas Fischer <bantu@phpbb.com>
|
|
|
|
* @copyright MMXIII Andreas Fischer
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
|
|
|
*/
|
|
|
|
|
2014-08-14 11:09:54 -05:00
|
|
|
class Unit_Crypt_AES_McryptTest extends Unit_Crypt_AES_TestCase
|
2014-08-14 10:03:01 -05:00
|
|
|
{
|
|
|
|
static public function setUpBeforeClass()
|
|
|
|
{
|
2014-08-15 09:23:55 -05:00
|
|
|
if (!extension_loaded('mcrypt')) {
|
|
|
|
self::markTestSkipped('mcrypt extension is not available.');
|
|
|
|
}
|
|
|
|
|
2014-10-15 17:59:48 -05:00
|
|
|
self::$engine = CRYPT_MODE_MCRYPT;
|
2014-08-14 10:03:01 -05:00
|
|
|
|
2014-10-15 17:59:48 -05:00
|
|
|
parent::setUpBeforeClass();
|
2014-08-14 10:03:01 -05:00
|
|
|
}
|
2014-08-14 10:31:57 -05:00
|
|
|
}
|