\JAccessRulesTest
Test class for JAccessRules.
Synopsis
class JAccessRulesTest
extends PHPUnit_Framework_TestCase
{
- // methods
- public void test__constructString()
- public void testGetData()
- public void test__constructArray()
- public void test__constructObject()
- public void testMergeRule()
- public void testMerge()
- public void testMergeRulesNull()
- public void testMergeRules()
- public void testAllow()
- public void testGetAllowed()
Hierarchy
Extends
Methods
public
- testAllow() — Tests the JAccessRules::allow method.
- testGetAllowed() — Tests the JAccessRules::getAllowed method.
- testGetData() — Tests the JAccessRules::getData method.
- testMerge() — Tests the JAccessRules::merge method.
- testMergeRule() — Tests the JAccessRules::mergeAction method.
- testMergeRules() — Tests the JAccessRules::merge method
- testMergeRulesNull() — Tests the JAccessRules::merge method
- test__constructArray() — Tests the JAccessRules constructor
- test__constructObject() — Tests the JAccessRules constructor
- test__constructString() — This method tests both the contructor and the __toString magic method.