PHP Class Hostnet\Component\Webpack\Asset\TrackerTest

Author: Harold Iedema ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Mostrar archivo Open project: hostnet/webpack-bundle

Public Methods

Method Description
testAddInvalidPath ( ) Test addPath for invalid path.
testGetTemplates ( ) test the getTempaltes function for 1 template, including duplicate call of function.
testGetTemplatesNoTemplates ( ) Test the getTemplates function when there are no templates.
testGetTemplatesTemplateNotFound ( ) Test the getTemplates function when the path to the template is not resolvable
testIsNotOutdated ( ) The the isOutdated function in case the 'compiled' version is still fresh enough.
testIsOutdated ( ) The the isOutdated function in case the 'compiled' version is outdated.
testResolveResourcePathBundle ( ) test resloveResourcePath for a bundle path when bundle is found.
testResolveResourcePathBundleNotFound ( ) test resloveResourcePath for a bundle path when bundle is not found.
testResolveResourcePathNoBundle ( ) test resloveResourcePath for a full path.

Protected Methods

Method Description
setUp ( ) {@inheritDoc}

Method Details

setUp() protected method

{@inheritDoc}
protected setUp ( )

testAddInvalidPath() public method

Test addPath for invalid path.
public testAddInvalidPath ( )

testGetTemplates() public method

test the getTempaltes function for 1 template, including duplicate call of function.
public testGetTemplates ( )

testGetTemplatesNoTemplates() public method

Test the getTemplates function when there are no templates.

testGetTemplatesTemplateNotFound() public method

Test the getTemplates function when the path to the template is not resolvable

testIsNotOutdated() public method

The the isOutdated function in case the 'compiled' version is still fresh enough.
public testIsNotOutdated ( )

testIsOutdated() public method

The the isOutdated function in case the 'compiled' version is outdated.
public testIsOutdated ( )

testResolveResourcePathBundle() public method

test resloveResourcePath for a bundle path when bundle is found.

testResolveResourcePathBundleNotFound() public method

test resloveResourcePath for a bundle path when bundle is not found.

testResolveResourcePathNoBundle() public method

test resloveResourcePath for a full path.