Methods

tearDown()

tearDown() 

Tear down the testing environment.

Tags

None found

testMakeMethodReturnsAViewInstance()

testMakeMethodReturnsAViewInstance() 

Test the View::make method.

Tags

group

laravel

testViewNameIsSetByConstrutor()

testViewNameIsSetByConstrutor() 

Test the View class constructor.

Tags

group

laravel

testViewIsCreatedWithCorrectPath()

testViewIsCreatedWithCorrectPath() 

Test the View class constructor.

Tags

group

laravel

testBundleViewIsCreatedWithCorrectPath()

testBundleViewIsCreatedWithCorrectPath() 

Test the View class constructor for bundles.

Tags

group

laravel

testDataIsSetOnViewByConstructor()

testDataIsSetOnViewByConstructor() 

Test the View class constructor.

Tags

group

laravel

testNameMethodRegistersAViewName()

testNameMethodRegistersAViewName() 

Test the View::name method.

Tags

group

laravel

testSharedMethodAddsDataToSharedArray()

testSharedMethodAddsDataToSharedArray() 

Test the View::shared method.

Tags

group

laravel

testViewDataCanBeSetUsingWithMethod()

testViewDataCanBeSetUsingWithMethod() 

Test the View::with method.

Tags

group

laravel

testEmptyMessageContainerSetOnViewWhenNoErrorsInSession()

testEmptyMessageContainerSetOnViewWhenNoErrorsInSession() 

Test the View class constructor.

Tags

group

laravel

testDataCanBeSetOnViewsThroughMagicMethods()

testDataCanBeSetOnViewsThroughMagicMethods() 

Test the View __set method.

Tags

group

laravel

testDataCanBeRetrievedFromViewsThroughMagicMethods()

testDataCanBeRetrievedFromViewsThroughMagicMethods() 

Test the View __get method.

Tags

group

laravel

testDataCanBeSetOnTheViewThroughArrayAccess()

testDataCanBeSetOnTheViewThroughArrayAccess() 

Test the View's ArrayAccess implementation.

Tags

group

laravel

testDataCanBeRetrievedThroughArrayAccess()

testDataCanBeRetrievedThroughArrayAccess() 

Test the View's ArrayAccess implementation.

Tags

group

laravel

testNestMethodSetsViewInstanceInData()

testNestMethodSetsViewInstanceInData() 

Test the View::nest method.

Tags

group

laravel

testDataIsPassedToViewCorrectly()

testDataIsPassedToViewCorrectly() 

Test that the registered data is passed to the view correctly.

Tags

group

laravel

testNestedViewsAreRendered()

testNestedViewsAreRendered() 

Test that the View class renders nested views.

Tags

group

laravel

testNestedResponsesAreRendered()

testNestedResponsesAreRendered() 

Test that the View class renders nested responses.

Tags

group

laravel

testComposerEventIsCalledWhenViewIsRendering()

testComposerEventIsCalledWhenViewIsRendering() 

Test the View class raises a composer event.

Tags

group

laravel