\JApplicationWebClientTest
Test class for JApplicationWebClient.
Synopsis
class JApplicationWebClientTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JWebClientInspector $inspector;
- // methods
- public static array getUserAgentData()
- public static array getEncodingData()
- public static array getLanguageData()
- public static array detectRobotData()
- public void setUp()
- public void test__construct()
- public void test__get()
- public void testDetectBrowser()
- public void testDetectEncoding()
- public void testDetectEngine()
- public void testDetectLanguage()
- public void testDetectPlatform()
- public void testDetectRobot()
Hierarchy
Extends
Members
protected
- $inspector
—
JWebClientInspector
An instance of a JWebClient inspector.
Methods
public
- detectRobotData() — Provides test data for isRobot method.
- getEncodingData() — Provides test data for encoding parsing.
- getLanguageData() — Provides test data for language parsing.
- getUserAgentData() — Provides test data for user agent parsing.
- setUp() — Setup for testing.
- testDetectBrowser() — Tests the JApplicationWebClient::detectBrowser method.
- testDetectEncoding() — Tests the JApplicationWebClient::detectEncoding method.
- testDetectEngine() — Tests the JApplicationWebClient::detectEngine method.
- testDetectLanguage() — Tests the JApplicationWebClient::detectLanguage method.
- testDetectPlatform() — Tests the JApplicationWebClient::detectPlatform method.
- testDetectRobot() — Tests the JApplicationWebClient::detectRobot method.
- test__construct() — Tests the JApplicationWebClient::__construct method.
- test__get() — Tests the JApplicationWebClient::__get method.