TestClassRedirectIfOldUrl
extends WP_UnitTestCase
in package
Table of Contents
- $_pContainer : Container
- $_pRedirectIfOldUrl : Redirector
- prepare() : mixed
- stestInstance() : mixed
- testGetCurrentLink() : mixed
- testGetUri() : mixed
- testRedirectDetailViewNotMatchRule() : mixed
- testRedirectDetailViewSameUrl() : mixed
- testRedirectDetailViewWithParrentPageAndUrlNotMatchRule() : void
Properties
$_pContainer
private
Container
$_pContainer
$_pRedirectIfOldUrl
private
Redirector
$_pRedirectIfOldUrl
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —stestInstance()
public
stestInstance() : mixed
Return values
mixed —testGetCurrentLink()
public
testGetCurrentLink() : mixed
Tags
Return values
mixed —testGetUri()
public
testGetUri() : mixed
Tags
Return values
mixed —testRedirectDetailViewNotMatchRule()
public
testRedirectDetailViewNotMatchRule() : mixed
Tags
Return values
mixed —testRedirectDetailViewSameUrl()
public
testRedirectDetailViewSameUrl() : mixed
Tags
Return values
mixed —testRedirectDetailViewWithParrentPageAndUrlNotMatchRule()
public
testRedirectDetailViewWithParrentPageAndUrlNotMatchRule() : void