PHP Class DataSift\Storyplayer\ConfigLib\WrappedConfigTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Datei anzeigen Open project: datasift/storyplayer

Public Methods

Method Description
testAcceptsEmptyConfigFiles ( )
testCanCheckDataInAnArray ( )
testCanCheckForDataInAnObject ( )
testCanCheckForTopLevelData ( )
testCanExpandTwigVariables ( )
testCanGetAnObjectFromAnObject ( )
testCanGetArrayFromAnArray ( )
testCanGetArrayFromAnAssocArray ( )
testCanGetDataFromAnArray ( )
testCanGetDataFromAnObject ( )
testCanGetTopLevelData ( )
testCanInstantiate ( )
testCanLoadConfigFile ( )
testCanMergeAScalar ( )
testCanMergeAnArray ( )
testCanMergeAnArrayIntoAnObject ( )
testCanMergeAnObject ( )
testCanMergeIntoTopLevel ( )
testCanReplaceTopLevelUsingSetData ( )
testCanSetDataByExtendingTheConfig ( )
testCanSetDataInsideAnArray ( )
testCanSetDataInsideAnObject ( )
testCanStartWithEmptyArrayForConfig ( )
testCanUnsetAnArrayOfData ( )
testCanUnsetDataFromAnArray ( )
testCanUnsetDataFromAnObject ( )
testCannotMergeDataByExtendingAScalar ( )
testCannotMergeDataByOverExtendingAScalar ( )
testCannotSetDataByExtendingAScalar ( )
testCannotSetDataByOverExtendingAScalar ( )
testGetArrayThrowsExceptionWhenNonObjectRetrieved ( )
testGetDataThrowsExceptionWhenConfigPathNotFoundInAScalar ( )
testGetDataThrowsExceptionWhenConfigPathNotFoundInAnArray ( )
testGetDataThrowsExceptionWhenConfigPathNotFoundInAnObject ( )
testGetObjectThrowsExceptionWhenNonObjectRetrieved ( )
testHasDataReturnsFalseWhenConfigPathNotFoundInAScalar ( )
testHasDataReturnsFalseWhenConfigPathNotFoundInAnArray ( )
testHasDataReturnsFalseWhenConfigPathNotFoundInAnObject ( )
testStartsWithEmptyConfig ( )
testStartsWithNoName ( )
testThrowsExceptionWhenConfigFileIsInvalidJson ( )
testThrowsExceptionWhenConfigFileNotFound ( )
testThrowsExceptionWhenConfigFileUnreadable ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAScalar ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAnArray ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAnObject ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAScalar ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAnArray ( )
testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAnObject ( )

Method Details

testAcceptsEmptyConfigFiles() public method

testCanCheckDataInAnArray() public method

testCanCheckForDataInAnObject() public method

testCanCheckForTopLevelData() public method

testCanExpandTwigVariables() public method

testCanGetAnObjectFromAnObject() public method

testCanGetArrayFromAnArray() public method

testCanGetArrayFromAnAssocArray() public method

testCanGetDataFromAnArray() public method

testCanGetDataFromAnObject() public method

testCanGetTopLevelData() public method

testCanInstantiate() public method

public testCanInstantiate ( )

testCanLoadConfigFile() public method

testCanMergeAScalar() public method

public testCanMergeAScalar ( )

testCanMergeAnArray() public method

public testCanMergeAnArray ( )

testCanMergeAnArrayIntoAnObject() public method

testCanMergeAnObject() public method

testCanMergeIntoTopLevel() public method

testCanReplaceTopLevelUsingSetData() public method

testCanSetDataByExtendingTheConfig() public method

testCanSetDataInsideAnArray() public method

testCanSetDataInsideAnObject() public method

testCanStartWithEmptyArrayForConfig() public method

testCanUnsetAnArrayOfData() public method

testCanUnsetDataFromAnArray() public method

testCanUnsetDataFromAnObject() public method

testCannotMergeDataByExtendingAScalar() public method

testCannotMergeDataByOverExtendingAScalar() public method

testCannotSetDataByExtendingAScalar() public method

testCannotSetDataByOverExtendingAScalar() public method

testGetArrayThrowsExceptionWhenNonObjectRetrieved() public method

testGetDataThrowsExceptionWhenConfigPathNotFoundInAScalar() public method

testGetDataThrowsExceptionWhenConfigPathNotFoundInAnArray() public method

testGetDataThrowsExceptionWhenConfigPathNotFoundInAnObject() public method

testGetObjectThrowsExceptionWhenNonObjectRetrieved() public method

testHasDataReturnsFalseWhenConfigPathNotFoundInAScalar() public method

testHasDataReturnsFalseWhenConfigPathNotFoundInAnArray() public method

testHasDataReturnsFalseWhenConfigPathNotFoundInAnObject() public method

testStartsWithEmptyConfig() public method

testStartsWithNoName() public method

testThrowsExceptionWhenConfigFileIsInvalidJson() public method

testThrowsExceptionWhenConfigFileNotFound() public method

testThrowsExceptionWhenConfigFileUnreadable() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAScalar() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAnArray() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundDeepInAnObject() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAScalar() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAnArray() public method

testUnsetDataThrowsExceptionWhenConfigPathNotFoundInAnObject() public method