PHP Class Redaxscript\Tests\Client\ClientTest

Since: 2.4.0
Author: Henry Ruhs
Inheritance: extends Redaxscript\Tests\TestCaseAbstract
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_request object instance of the request class

Public Methods

Method Description
providerClient ( ) : array providerClient
setUp ( ) setUp
testBrowser ( string $userAgent = null, array $expectArray = [] ) testBrowser
testDesktop ( string $userAgent = null, array $expectArray = [] ) testDesktop
testEngine ( string $userAgent = null, array $expectArray = [] ) testEngine
testMobile ( string $userAgent = null, array $expectArray = [] ) testMobile
testTablet ( string $userAgent = null, array $expectArray = [] ) testTablet
testVersion ( string $userAgent = null, array $expectArray = [] ) testVersion

Method Details

providerClient() public method

providerClient
Since: 2.4.0
public providerClient ( ) : array
return array

setUp() public method

setUp
Since: 2.4.0
public setUp ( )

testBrowser() public method

testBrowser
Since: 2.4.0
public testBrowser ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

testDesktop() public method

testDesktop
Since: 2.4.0
public testDesktop ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

testEngine() public method

testEngine
Since: 2.4.0
public testEngine ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

testMobile() public method

testMobile
Since: 2.4.0
public testMobile ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

testTablet() public method

testTablet
Since: 2.4.0
public testTablet ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

testVersion() public method

testVersion
Since: 2.4.0
public testVersion ( string $userAgent = null, array $expectArray = [] )
$userAgent string
$expectArray array

Property Details

$_request protected property

instance of the request class
protected object $_request
return object