PHP Class UserAgentParserTest\Unit\Provider\Http\UserAgentApiComTest

Author: Martin Keckeis ([email protected])
Inheritance: extends UserAgentParserTest\Unit\Provider\AbstractProviderTestCase, implements UserAgentParserTest\Unit\Provider\RequiredProviderTestInterface
Show file Open project: ThaDafinser/UserAgentParser

Public Methods

Method Description
testDetectionCapabilities ( )
testGetHomepage ( )
testGetName ( )
testGetPackageName ( )
testIsRealResult ( )
testParseBot ( ) Bot
testParseBrowser ( ) Browser only
testParseDevice ( ) Device only
testParseInvalidCredentialsException ( ) 400 - key_invalid
testParseNoResultFoundException ( ) No result found
testParseNoResultFoundExceptionEmptyUserAgent ( ) Empty user agent
testParseRenderingEngine ( ) Rendering engine only
testParseRequestException ( ) 500
testParseRequestExceptionContentType ( ) No JSON returned
testParseRequestExceptionNoData ( ) Missing data
testParseRequestExceptionUserAgentInvalid ( ) 400 - useragent_invalid
testUpdateDate ( )
testVersion ( )

Method Details

testDetectionCapabilities() public method

testGetHomepage() public method

public testGetHomepage ( )

testGetName() public method

public testGetName ( )

testGetPackageName() public method

public testGetPackageName ( )

testIsRealResult() public method

public testIsRealResult ( )

testParseBot() public method

Bot
public testParseBot ( )

testParseBrowser() public method

Browser only
public testParseBrowser ( )

testParseDevice() public method

Device only
public testParseDevice ( )

testParseInvalidCredentialsException() public method

400 - key_invalid

testParseNoResultFoundException() public method

No result found

testParseNoResultFoundExceptionEmptyUserAgent() public method

Empty user agent

testParseRenderingEngine() public method

Rendering engine only

testParseRequestException() public method

500

testParseRequestExceptionContentType() public method

No JSON returned

testParseRequestExceptionNoData() public method

Missing data

testParseRequestExceptionUserAgentInvalid() public method

400 - useragent_invalid

testUpdateDate() public method

public testUpdateDate ( )

testVersion() public method

public testVersion ( )