IpRangeTest
extends TestCase
in package
IpRange ServerParam Test Class
Tags
Table of Contents
- testMatchingRange() : void
- Test a matching range.
- testNonMatchingRegExArray() : void
- Test an array of non-matching ranges.
- getPermissionProvider() : IpRange
- Get a permission provider with the specified IP assigned.
Methods
testMatchingRange()
Test a matching range.
public
testMatchingRange() : void
Return values
void —testNonMatchingRegExArray()
Test an array of non-matching ranges.
public
testNonMatchingRegExArray() : void
Return values
void —getPermissionProvider()
Get a permission provider with the specified IP assigned.
protected
getPermissionProvider(string $ipAddr, IpAddressUtils $utils) : IpRange
Parameters
- $ipAddr : string
-
IP address to send to provider.
- $utils : IpAddressUtils
-
IP address utils to use