PHP Class UserAgentParserTest\Unit\Provider\UAParserTest

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

Public Methods

Method Description
testDetectionCapabilities ( )
testGetHomepage ( )
testGetName ( )
testGetPackageName ( )
testIsRealResult ( )
testParseBot ( ) Bot
testParseBotDefaultValue ( ) Bot - default value
testParseBrowser ( ) Browser only
testParseDevice ( ) Device only
testParseDeviceDefaultValue ( ) Device - default value
testParseNoResultFoundException ( )
testParseNoResultFoundExceptionDefaultValue ( )
testParseNoResultFoundExceptionDefaultValueDeviceModel ( )
testParseOperatingSystem ( ) OS only
testParser ( )
testUpdateDate ( )
testVersion ( )

Private Methods

Method Description
getParser ( $returnValue = null ) : PHPUnit_Framework_MockObject_MockObject
getResultMock ( ) : UAParser\Result\Client

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 ( )

testParseBotDefaultValue() public method

Bot - default value

testParseBrowser() public method

Browser only
public testParseBrowser ( )

testParseDevice() public method

Device only
public testParseDevice ( )

testParseDeviceDefaultValue() public method

Device - default value

testParseNoResultFoundException() public method

testParseNoResultFoundExceptionDefaultValue() public method

testParseNoResultFoundExceptionDefaultValueDeviceModel() public method

testParseOperatingSystem() public method

OS only

testParser() public method

public testParser ( )

testUpdateDate() public method

public testUpdateDate ( )

testVersion() public method

public testVersion ( )