PHP Class Hostnet\Component\Webpack\Asset\TrackedFilesTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: hostnet/webpack-bundle

Public Methods

Method Description
testAdd ( ) What happens when a file is added after 'compilation'
testDel ( ) What happens when a file is removed after 'compilation'
testModifyAfter ( ) What happens when a file is modified after 'compilation'
testModifyBefore ( ) What happens when a file is modified before 'compilation'
testTrackedFilesEmpty ( ) Test the behavior for empty / no directories

Protected Methods

Method Description
setUp ( ) Create test directories a & b
tearDown ( ) Ensure the test directories a & b are removed

Method Details

setUp() protected method

{@inheritDoc}
protected setUp ( )

tearDown() protected method

{@inheritDoc}
protected tearDown ( )

testAdd() public method

What happens when a file is added after 'compilation'
public testAdd ( )

testDel() public method

What happens when a file is removed after 'compilation'
public testDel ( )

testModifyAfter() public method

What happens when a file is modified after 'compilation'
public testModifyAfter ( )

testModifyBefore() public method

What happens when a file is modified before 'compilation'
public testModifyBefore ( )

testTrackedFilesEmpty() public method

Test the behavior for empty / no directories