mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Remove side-effects from test files.
This commit is contained in:
parent
218f151693
commit
ffb2fcab80
@ -9,12 +9,12 @@ use phpseclib\Crypt\AES;
|
|||||||
use phpseclib\Crypt\Base;
|
use phpseclib\Crypt\Base;
|
||||||
use phpseclib\Crypt\Rijndael;
|
use phpseclib\Crypt\Rijndael;
|
||||||
|
|
||||||
require_once 'Crypt/AES.php';
|
|
||||||
|
|
||||||
abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase
|
abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
|
include_once 'Crypt/AES.php';
|
||||||
|
|
||||||
parent::setUpBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
|
|
||||||
self::reRequireFile('Crypt/Rijndael.php');
|
self::reRequireFile('Crypt/Rijndael.php');
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once 'Math/BigInteger.php';
|
|
||||||
|
|
||||||
abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase
|
abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
|
include_once 'Math/BigInteger.php';
|
||||||
|
|
||||||
parent::setUpBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
|
|
||||||
self::reRequireFile('Math/BigInteger.php');
|
self::reRequireFile('Math/BigInteger.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user