FOSSology  4.4.0
Open Source License Compliance by Open Source Software
test_common_auth Class Reference
Inheritance diagram for test_common_auth:
Inheritance graph
Collaboration diagram for test_common_auth:
Collaboration graph

Public Member Functions

 test_siteminder_check ()
 test for siteminder_check()
 
 test_generate_password_policy_all ()
 Test for generate_password_policy() More...
 
 test_generate_password_policy_disable ()
 Test for generate_password_policy() when policy is disabled. More...
 
 test_generate_password_policy_no_min ()
 Test for generate_password_policy() when no minimum limit is set. More...
 
 test_generate_password_policy_no_max ()
 Test for generate_password_policy() when no max limit is set. More...
 
 test_generate_password_policy_no_limit ()
 Test for generate_password_policy() More...
 
 test_generate_password_policy_no_special ()
 Test for generate_password_policy() More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 clean the env
 

Detailed Description

@backupGlobals disabled

Definition at line 19 of file test_common_auth.php.

Member Function Documentation

◆ test_generate_password_policy_all()

test_common_auth::test_generate_password_policy_all ( )

Test for generate_password_policy()

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Call generate_password_policy() and match expected regex

Definition at line 55 of file test_common_auth.php.

◆ test_generate_password_policy_disable()

test_common_auth::test_generate_password_policy_disable ( )

Test for generate_password_policy() when policy is disabled.

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Disable password policy
  4. generate_password_policy() should return regex to match all

Definition at line 80 of file test_common_auth.php.

◆ test_generate_password_policy_no_limit()

test_common_auth::test_generate_password_policy_no_limit ( )

Test for generate_password_policy()

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Set min and max limits as empty
  4. Call generate_password_policy() and match expected regex with * limit

Definition at line 157 of file test_common_auth.php.

◆ test_generate_password_policy_no_max()

test_common_auth::test_generate_password_policy_no_max ( )

Test for generate_password_policy() when no max limit is set.

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Set max limit as empty
  4. Call generate_password_policy() and match expected regex without max limit

Definition at line 132 of file test_common_auth.php.

◆ test_generate_password_policy_no_min()

test_common_auth::test_generate_password_policy_no_min ( )

Test for generate_password_policy() when no minimum limit is set.

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Set min limit to empty
  4. Call generate_password_policy() and match expected regex with min limit as 0

Definition at line 106 of file test_common_auth.php.

◆ test_generate_password_policy_no_special()

test_common_auth::test_generate_password_policy_no_special ( )

Test for generate_password_policy()

Test:
  1. Setup SYSCONFIG
  2. Enable all policy settings
  3. Set special characters as empty
  4. Call generate_password_policy() and match expected regex to accept any special character

Definition at line 183 of file test_common_auth.php.


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