class ReflectionMethodParserTest extends TestCase (View source)

Methods

testItCanParseMethod()

No description

testEachParseReturnsItsOwnMethodModel()

The declared return type already guarantees the model class, so asserting instanceof could never fail. What is not type-guaranteed — and would be a real regression if a parser ever memoised its result — is that each call yields its own model rather than a shared, mutable one.

testItCanParseName()

No description

testItCanParseId()

No description

testItCanParseVisibility()

No description

testItCanParseFinalAttribute()

No description

Details

testItCanParseMethod()

No description

testEachParseReturnsItsOwnMethodModel()

The declared return type already guarantees the model class, so asserting instanceof could never fail. What is not type-guaranteed — and would be a real regression if a parser ever memoised its result — is that each call yields its own model rather than a shared, mutable one.

testItCanParseName()

No description

testItCanParseId()

No description

testItCanParseIdIfNoNamespaceIsPresent()

No description

testItCanParseVisibility()

No description

testItCanParseVisibilityIfNoVisibilityIsPresent()

No description

testItCanParseVisibilityIfVisibilityIsPrivate()

No description

testItCanParseVisibilityIfVisibilityIsProtected()

No description

testItCanParseStaticAttribute()

No description

testItParsesByDefaultNonStaticAttribute()

No description

testItParsesNonStaticAttribute()

No description

testItCanParseFinalAttributeIfNoFinalAttributeIsPresent()

No description

testItCanParseFinalAttribute()

No description

testItCanParseNonFinalAttribute()

No description

testItCanParseAbstractAttribute()

No description

testItCanParseAbstractAttributeIfNoAbstractAttributeIsPresent()

No description

testItCanParseNonAbstractAttribute()

No description

testItCanParseDeprecatedAttribute()

No description

testItCanParseDeprecatedAttributeIfNoDeprecatedAttributeIsPresent()

No description

testItReturnsNoTypeAsDefaultReturnType()

No description

testItCanParseSimpleReturnType()

No description

testItCanParseTentativeReturnType()

No description

testItCanParseNoTentativeReturnType()

No description

testItCanParseReturnTypesOfTentativeReturnType()

No description