UrlTest
extends PHPUnit_Framework_TestCase
in package
Tags
Table of Contents
- provideMakeRelativeIsAlreadyRelativeTests() : mixed
- provideMakeRelativeTests() : mixed
- testMakeRelative() : mixed
- testMakeRelativeFailsIfBaseUrlEmpty() : mixed
- testMakeRelativeFailsIfBaseUrlNoUrl() : mixed
- testMakeRelativeFailsIfBaseUrlNull() : mixed
- testMakeRelativeFailsIfDifferentDomains() : mixed
- testMakeRelativeFailsIfInvalidBaseUrl() : mixed
- testMakeRelativeFailsIfInvalidUrl() : mixed
- testMakeRelativeIsAlreadyRelative() : mixed
- testMakeRelativeWithFullUrl() : mixed
Methods
provideMakeRelativeIsAlreadyRelativeTests()
public
provideMakeRelativeIsAlreadyRelativeTests() : mixed
Return values
mixed —provideMakeRelativeTests()
public
provideMakeRelativeTests() : mixed
Return values
mixed —testMakeRelative()
public
testMakeRelative(mixed $absolutePath, mixed $basePath, mixed $relativePath) : mixed
Parameters
- $absolutePath : mixed
- $basePath : mixed
- $relativePath : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfBaseUrlEmpty()
public
testMakeRelativeFailsIfBaseUrlEmpty() : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfBaseUrlNoUrl()
public
testMakeRelativeFailsIfBaseUrlNoUrl() : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfBaseUrlNull()
public
testMakeRelativeFailsIfBaseUrlNull() : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfDifferentDomains()
public
testMakeRelativeFailsIfDifferentDomains() : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfInvalidBaseUrl()
public
testMakeRelativeFailsIfInvalidBaseUrl() : mixed
Tags
Return values
mixed —testMakeRelativeFailsIfInvalidUrl()
public
testMakeRelativeFailsIfInvalidUrl() : mixed
Tags
Return values
mixed —testMakeRelativeIsAlreadyRelative()
public
testMakeRelativeIsAlreadyRelative(mixed $absolutePath, mixed $basePath, mixed $relativePath) : mixed
Parameters
- $absolutePath : mixed
- $basePath : mixed
- $relativePath : mixed
Tags
Return values
mixed —testMakeRelativeWithFullUrl()
public
testMakeRelativeWithFullUrl(mixed $absolutePath, mixed $basePath, mixed $relativePath) : mixed
Parameters
- $absolutePath : mixed
- $basePath : mixed
- $relativePath : mixed