ReflectionEntitySerializerTest
class ReflectionEntitySerializerTest extends TestCase (View source)
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
ReflectionInterfaceSerializer had no parentInterfaces field at all, so even once the parser
populated it the data could not reach Reflection*.json — the gap was invisible on both sides.
No description
No description
The reflection enum serializer used to omit cases entirely, so the reflection side
of EnumCasesCheck always saw an empty list and the check could never fail.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
protected void
setUp()
No description
void
testSerializeSimpleClass()
No description
void
testSerializeClassWithMethod()
No description
void
testSerializeMethodWithAccessModifiers()
No description
void
testSerializeMethodWithParameters()
No description
void
testSerializeClassWithProperty()
No description
void
testSerializeClassWithConstant()
No description
void
testSerializeFunction()
No description
void
testSerializeInterface()
No description
void
testSerializeInterfaceWithParentInterfaces()
ReflectionInterfaceSerializer had no parentInterfaces field at all, so even once the parser
populated it the data could not reach Reflection*.json — the gap was invisible on both sides.
A round trip is asserted rather than just the serialized array: the ids are what ClassHierarchyResolver matches on, and dropping them on the way back in would be just as silent as never writing them.
void
testSerializeInterfaceWithoutParentsEmitsAnEmptyList()
No description
void
testSerializeEnum()
No description
void
testSerializeEnumIncludesCases()
The reflection enum serializer used to omit cases entirely, so the reflection side
of EnumCasesCheck always saw an empty list and the check could never fail.
void
testEnumCasesSurviveARoundtrip()
No description
void
testDeserializeEnumWithoutCasesKeyYieldsEmptyCases()
No description
void
testSerializeConstant()
No description
void
testNonFiniteConstantValuesUseTheSameSentinelsAsTheStubsSide()
No description
void
testSerializeUnknownEntityType()
No description
void
testDeserializeClass()
No description
void
testDeserializeClassWithMethod()
No description
void
testDeserializeMethodWithParameters()
No description
void
testDeserializeClassWithProperty()
No description
void
testDeserializeFunction()
No description
void
testDeserializeInterface()
No description
void
testDeserializeEnum()
No description
void
testDeserializeConstant()
No description
void
testRoundTripSerializationClass()
No description
void
testRoundTripSerializationFunction()
No description