PHP Class MiniAsset\Test\TestCase\Filter\SprocketsTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: markstory/mini-asset

Public Methods

Method Description
setUp ( )
testAngleBracketScanning ( ) : void test that scans all search paths for a suitable file. Unlike "foo" which only scans the current dir.
testDoubleInclusion ( )
testGetDependenciesMultiple ( ) : void Test that getDependencies() grabs all files included in a file
testGetDependenciesRecursive ( ) : void Test that getDependencies() grabs all files in the include tree.
testInclusionCounterWorksAcrossCalls ( ) The unique dependency counter should persist across input() calls. Without that members of the same build will re-include their dependencies if multiple components rely on a single parent.
testInputSimple ( )
testInputWithRecursion ( )

Protected Methods

Method Description
assertTextEquals ( $expected, $result, $message = '' )

Method Details

assertTextEquals() protected method

protected assertTextEquals ( $expected, $result, $message = '' )

setUp() public method

public setUp ( )

testAngleBracketScanning() public method

test that scans all search paths for a suitable file. Unlike "foo" which only scans the current dir.
public testAngleBracketScanning ( ) : void
return void

testDoubleInclusion() public method

public testDoubleInclusion ( )

testGetDependenciesMultiple() public method

Test that getDependencies() grabs all files included in a file
public testGetDependenciesMultiple ( ) : void
return void

testGetDependenciesRecursive() public method

Test that getDependencies() grabs all files in the include tree.
public testGetDependenciesRecursive ( ) : void
return void

testInclusionCounterWorksAcrossCalls() public method

The unique dependency counter should persist across input() calls. Without that members of the same build will re-include their dependencies if multiple components rely on a single parent.

testInputSimple() public method

public testInputSimple ( )

testInputWithRecursion() public method