SlotTest
extends TestCase
in package
Slot view helper Test Class
Tags
Table of Contents
- testAppend() : void
- Test appending more to blocks.
- testCapture() : void
- Test capturing echo with start and end.
- testClear() : void
- Test clearing blocks and allowing for override.
- testGet() : void
- Test get value of slot.
- testInstance() : void
- Test the helper.
- testNesting() : void
- Test nested slots.
- testNestingWithoutEcho() : void
- Test nested slots showing that children don't appear in parent without echo.
- testPrepend() : void
- Test prepending more to blocks.
- testSet() : void
- Test setting value of slot blocking later sets.
- getHelper() : Slot
- Build Slot helper with mock view
- getMockView() : PhpRenderer
- Get a fake view object.
Methods
testAppend()
Test appending more to blocks.
public
testAppend() : void
Return values
void —testCapture()
Test capturing echo with start and end.
public
testCapture() : void
Return values
void —testClear()
Test clearing blocks and allowing for override.
public
testClear() : void
Return values
void —testGet()
Test get value of slot.
public
testGet() : void
Return values
void —testInstance()
Test the helper.
public
testInstance() : void
Return values
void —testNesting()
Test nested slots.
public
testNesting() : void
Return values
void —testNestingWithoutEcho()
Test nested slots showing that children don't appear in parent without echo.
public
testNestingWithoutEcho() : void
Return values
void —testPrepend()
Test prepending more to blocks.
public
testPrepend() : void
Return values
void —testSet()
Test setting value of slot blocking later sets.
public
testSet() : void
Return values
void —getHelper()
Build Slot helper with mock view
protected
getHelper() : Slot
Return values
Slot —getMockView()
Get a fake view object.
protected
getMockView() : PhpRenderer