Method |
Description |
|
createPathSegmentForObjectProvider ( ) : array |
data provider for createPathSegmentForObjectTests() |
|
createPathSegmentForObjectTests ( object $object, string $uriPattern, string $expectedResult ) : void |
|
|
createPathSegmentForObjectThrowsInvalidUriPatterExceptionIfItSpecifiedPropertiesContainObjects ( ) |
|
|
findValueToMatchProvider ( ) : array |
data provider for findValueToMatchTests() |
|
findValueToMatchReturnsAnEmptyStringIfTheCalculatedUriPatternIsEmpty ( ) |
|
|
findValueToMatchReturnsAnEmptyStringIfTheRoutePathIsEmpty ( ) |
|
|
findValueToMatchReturnsAnEmptyStringIfTheSpecifiedSplitStringCantBeFoundInTheRoutePath ( ) |
|
|
findValueToMatchTests ( string $routePath, string $uriPattern, string $splitString, string $expectedResult ) : void |
|
|
getUriPatternReturnsAnEmptyStringIfObjectTypeHasNotIdentityPropertiesAndNoPatternWasSpecified ( ) |
|
|
getUriPatternReturnsBasedOnTheIdentityPropertiesOfTheObjectTypeIfNoPatternWasSpecified ( ) |
|
|
getUriPatternReturnsTheSpecifiedUriPatternIfItsNotEmpty ( ) |
|
|
matchValueReturnsFalseIfNoObjectPathMappingCouldBeFound ( ) |
|
|
matchValueReturnsFalseIfTheGivenValueIsEmptyOrNull ( ) |
|
|
matchValueSetsCaseSensitiveFlagIfLowerCaseIsFalse ( ) |
|
|
matchValueSetsTheIdentifierOfTheObjectPathMappingAndReturnsTrueIfAMatchingObjectPathMappingWasFound ( ) |
|
|
matchValueSetsTheRouteValueToTheUrlDecodedPathSegmentIfNoUriPatternIsSpecified ( ) |
|
|
resolveValueAcceptsIdentityArrays ( ) |
|
|
resolveValueAppendsCounterIfCreatedPathSegmentIsEmpty ( ) |
|
|
resolveValueAppendsCounterIfNoMatchingObjectPathMappingWasFoundAndCreatedPathSegmentIsNotUnique ( ) |
|
|
resolveValueConvertsCaseOfResolvedPathSegmentIfLowerCaseIsTrue ( ) |
|
|
resolveValueCreatesAndStoresANewObjectPathMappingIfNoMatchingObjectPathMappingWasFound ( ) |
|
|
resolveValueDoesNotAcceptObjectsWithMultiValueIdentifiers ( ) |
|
|
resolveValueKeepsCaseOfResolvedPathSegmentIfLowerCaseIsTrue ( ) |
|
|
resolveValueReturnsFalseIfTheGivenValueIsNotOfTheSpecifiedType ( ) |
|
|
resolveValueSetsCaseSensitiveFlagIfLowerCaseIsFalse ( ) |
|
|
resolveValueSetsTheRouteValueToTheUrlEncodedIdentifierIfNoUriPatternIsSpecified ( ) |
Makes also sure that identity route parts are encoded via rawurlencode (which encodes spaces to "%20") and not
urlencode (which encodes spaces to "+"). According to RFC 3986 that is correct for path segments. |
|
resolveValueSetsTheValueToThePathSegmentOfTheObjectPathMappingAndReturnsTrueIfAMatchingObjectPathMappingWasFound ( ) |
|
|
resolveValueThrowsInfiniteLoopExceptionIfNoUniquePathSegmentCantBeFound ( ) |
|
|
setUp ( ) |
Sets up this test case |
|