class ReflectionClassParserTest extends TestCase (View source)

Methods

testItCanParseInternalClass()

No description

testItCanNotParseUsersEnums()

No description

testEachParseReturnsItsOwnClassModel()

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

testItCanParseNamespace()

No description

testItCanParseRootNamespace()

No description

testItSetsNullAsDefaultId()

No description

testItCanParseId()

No description

testItCanParseFinalClass()

No description

testItCanParseNonFinalClass()

No description

testItCanParseReadonlyClass()

No description

testItCanParseProperties()

No description

testItCanParseOneProperty()

No description

testItCanParseSomeProperties()

No description

testItCanParseParentClass()

No description

Details

testItCanParseInternalClass()

No description

testItCanNotParseUsersClasses()

No description

testItCanNotParseInternalInterface()

No description

testItCanNotParseUsersInterface()

No description

testItCanNotParseInternalEnums()

No description

testItCanNotParseUsersEnums()

No description

testEachParseReturnsItsOwnClassModel()

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.

testItSetsNullToNameIfNameNotAvailable()

No description

testItCanParseName()

No description

testItSetsRootNamespaceIfNoNamespaceAvailable()

No description

testItCanParseNamespace()

No description

testItCanParseRootNamespace()

No description

testItSetsNullAsDefaultId()

No description

testItCanParseId()

No description

testItCanParseIdWithRootNamespace()

No description

testItSetFinalAsFalseByDefault()

No description

testItCanParseFinalClass()

No description

testItCanParseNonFinalClass()

No description

testItSetsFalseIfNoReadonlyAvailable()

No description

testItCanParseReadonlyClass()

No description

testItCanParseNonReadonlyClass()

No description

testItSetsEmptyArrayIfMethodsCanNotBeReadInClass()

No description

testItSetsEmptyArrayIfNoMethodsInClass()

No description

testItCanParseClassWithMethods()

No description

testItReturnsCorrectInstanceForMethod()

No description

testItReturnsCorrectInstancesForAllMethods()

No description

testItReturnsActuallyParsedMethods()

No description

testItCanParseClassWithOneMethod()

No description

testItCanParseClassWithSomeMethods()

No description

testItSetsEmptyArrayIfPropertiesCanNotBeReadInClass()

No description

testItSetsEmptyArrayIfNoPropertiesInClass()

No description

testItCanParseProperties()

No description

testItReturnsCorrectInstanceForProperty()

No description

testItReturnsCorrectInstancesForAllProperties()

No description

testItReturnsActuallyParsedProperties()

No description

testItCanParseOneProperty()

No description

testItCanParseSomeProperties()

No description

testItSetsEmptyArrayIfConstantsCanNotBeReadInClass()

No description

testItSetsEmptyArrayIfNoConstantsInClassPhp56()

No description

testItSetsEmptyArrayIfNoConstantsInClassPhp71()

No description

testItCanParseClassConstantsPhp56()

No description

testItCanParseSeveralConstantsPhp56()

No description

testItCanParseClassConstantsPhp71()

No description

testItCanParseSeveralConstantsPhp71()

No description

testItReturnsCorrectInstanceForConstantPhp71()

No description

testItReturnsCorrectInstancesForAllConstantsPhp56()

No description

testItReturnsActuallyParsedConstantsPhp56()

No description

testItReturnsActuallyParsedConstantsPhp71()

No description

testItSetsNullAsDefaultParentClass()

No description

testItCanParseParentClass()

No description

testItReturnsCorrectInstanceForParentClass()

No description

testItReturnsActuallyParsedParentClass()

No description

testItSetsEmptyArraysForImplementedInterfacesIfTheyCanNotBeRead()

No description

testItSetsEmptyArraysForImplementedInterfacesIfNoAny()

No description

testItCanParseImplementedInterfaces()

No description

testItReturnsCorrectInstanceForImplementedInterface()

No description

testItReturnsImplementedInterfacesWithCorrectName()

No description

testItReturnsImplementedInterfacesWithCorrectNamespace()

No description

testItReturnsAllActuallyParsedImplementedInterfaces()

No description