MediaWiki  1.30.0
HttpAcceptNegotiatorTest Class Reference

Wikimedia\Http\HttpAcceptNegotiator. More...

Inheritance diagram for HttpAcceptNegotiatorTest:
Collaboration diagram for HttpAcceptNegotiatorTest:

Public Member Functions

 provideGetBestSupportedKey ()
 
 provideGetFirstSupportedValue ()
 
 testGetBestSupportedKey ( $supported, $accepted, $default, $expected)
 provideGetBestSupportedKey More...
 
 testGetFirstSupportedValue ( $supported, $accepted, $default, $expected)
 provideGetFirstSupportedValue More...
 

Detailed Description

Wikimedia\Http\HttpAcceptNegotiator.

Note
GPL-2.0+
Author
Daniel Kinzler

Definition at line 11 of file HttpAcceptNegotiatorTest.php.

Member Function Documentation

◆ provideGetBestSupportedKey()

HttpAcceptNegotiatorTest::provideGetBestSupportedKey ( )

Definition at line 70 of file HttpAcceptNegotiatorTest.php.

◆ provideGetFirstSupportedValue()

HttpAcceptNegotiatorTest::provideGetFirstSupportedValue ( )

Definition at line 13 of file HttpAcceptNegotiatorTest.php.

◆ testGetBestSupportedKey()

HttpAcceptNegotiatorTest::testGetBestSupportedKey (   $supported,
  $accepted,
  $default,
  $expected 
)

provideGetBestSupportedKey

Definition at line 144 of file HttpAcceptNegotiatorTest.php.

◆ testGetFirstSupportedValue()

HttpAcceptNegotiatorTest::testGetFirstSupportedValue (   $supported,
  $accepted,
  $default,
  $expected 
)

provideGetFirstSupportedValue

Definition at line 63 of file HttpAcceptNegotiatorTest.php.


The documentation for this class was generated from the following file: