ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
APR1_MD5_SaltTest Class Reference
+ Inheritance diagram for APR1_MD5_SaltTest:
+ Collaboration diagram for APR1_MD5_SaltTest:

Public Member Functions

 testSaltType ()
 
 testSaltPattern ()
 
 testSaltRamdomness ()
 

Detailed Description

Definition at line 5 of file APR1_MD5_SaltTest.php.

Member Function Documentation

◆ testSaltPattern()

APR1_MD5_SaltTest::testSaltPattern ( )

Definition at line 11 of file APR1_MD5_SaltTest.php.

11  {
12  $this->assertRegExp('/.{8}/', APR1_MD5::salt());
13  }

◆ testSaltRamdomness()

APR1_MD5_SaltTest::testSaltRamdomness ( )

Definition at line 15 of file APR1_MD5_SaltTest.php.

15  {
16  $this->assertNotEquals(APR1_MD5::salt(), APR1_MD5::salt());
17  }

◆ testSaltType()

APR1_MD5_SaltTest::testSaltType ( )

Definition at line 7 of file APR1_MD5_SaltTest.php.

7  {
8  $this->assertInternalType('string', APR1_MD5::salt());
9  }

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