MediaWiki  master
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.

Author
Daniel Kinzler

Definition at line 10 of file HttpAcceptNegotiatorTest.php.

Member Function Documentation

◆ provideGetBestSupportedKey()

HttpAcceptNegotiatorTest::provideGetBestSupportedKey ( )

Definition at line 69 of file HttpAcceptNegotiatorTest.php.

References null.

◆ provideGetFirstSupportedValue()

HttpAcceptNegotiatorTest::provideGetFirstSupportedValue ( )

Definition at line 12 of file HttpAcceptNegotiatorTest.php.

References null.

◆ testGetBestSupportedKey()

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

provideGetBestSupportedKey

Definition at line 143 of file HttpAcceptNegotiatorTest.php.

◆ testGetFirstSupportedValue()

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

provideGetFirstSupportedValue

Definition at line 62 of file HttpAcceptNegotiatorTest.php.


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