MediaWiki  master
WfExpandUrlTest Class Reference

GlobalFunctions wfExpandUrl. More...

Inheritance diagram for WfExpandUrlTest:
Collaboration diagram for WfExpandUrlTest:

Public Member Functions

 testWfExpandUrl ( $fullUrl, $shortUrl, $defaultProto, $server, $canServer, $httpsMode, $httpsPort, $message)
 provideExpandableUrls More...
 

Static Public Member Functions

static provideExpandableUrls ()
 Provider of URL examples for testing wfExpandUrl() More...
 

Detailed Description

GlobalFunctions wfExpandUrl.

Definition at line 6 of file WfExpandUrlTest.php.

Member Function Documentation

◆ provideExpandableUrls()

static WfExpandUrlTest::provideExpandableUrls ( )
static

Provider of URL examples for testing wfExpandUrl()

Returns
array

Definition at line 30 of file WfExpandUrlTest.php.

References as, PROTO_CANONICAL, PROTO_CURRENT, PROTO_HTTP, PROTO_HTTPS, and PROTO_RELATIVE.

◆ testWfExpandUrl()

WfExpandUrlTest::testWfExpandUrl (   $fullUrl,
  $shortUrl,
  $defaultProto,
  $server,
  $canServer,
  $httpsMode,
  $httpsPort,
  $message 
)

provideExpandableUrls

Definition at line 10 of file WfExpandUrlTest.php.

References null, and wfExpandUrl().


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