Class FoundationReferenceFieldGraphTests
The field graph is what turns "a string field carries a declaration" into the contract table, so its reading rules are pinned here on stand-in types: which fields it reaches, the property path it gives them, where a declaration belongs, and what it refuses to follow.
Inherited Members
Namespace: Serenity.Global.Tests.Application
Assembly: Tests.dll
Syntax
public class FoundationReferenceFieldGraphTests
Constructors
FoundationReferenceFieldGraphTests()
Declaration
public FoundationReferenceFieldGraphTests()
Methods
FieldsDeclaredOn_DoesNotReachStaticNonSerializedOrNonSerializableMembers()
Declaration
public void FieldsDeclaredOn_DoesNotReachStaticNonSerializedOrNonSerializableMembers()
FieldsDeclaredOn_DoesNotReadAMemberUnitySerializesByValueAsPolymorphic()
Declaration
public void FieldsDeclaredOn_DoesNotReadAMemberUnitySerializesByValueAsPolymorphic()
FieldsDeclaredOn_FollowsAnElementMemberDeclarationOntoThatMemberOnly()
Declaration
public void FieldsDeclaredOn_FollowsAnElementMemberDeclarationOntoThatMemberOnly()
FieldsDeclaredOn_LeavesASharedNestedClassUndeclaredForOwnersThatDoNotDeclareIt()
Declaration
public void FieldsDeclaredOn_LeavesASharedNestedClassUndeclaredForOwnersThatDoNotDeclareIt()
FieldsDeclaredOn_NamesAFieldNestedInAClassOrAnArrayOrAListWithItsSerializedPath()
Declaration
public void FieldsDeclaredOn_NamesAFieldNestedInAClassOrAnArrayOrAListWithItsSerializedPath()
FieldsDeclaredOn_ReachesEveryStringTheTypeDeclaresItself_NotTheBaseTypes()
Declaration
public void FieldsDeclaredOn_ReachesEveryStringTheTypeDeclaresItself_NotTheBaseTypes()
FieldsDeclaredOn_ReadsAFieldWhoseOtherAttributeCannotBeInstantiated()
Reading whether a field is serialized must not create every attribute on it: a customer attribute from a missing assembly, or one that throws, would otherwise take the whole table down.
Declaration
public void FieldsDeclaredOn_ReadsAFieldWhoseOtherAttributeCannotBeInstantiated()
FieldsDeclaredOn_ReadsANonPublicFieldOnlyWhenItIsMarkedSerialized()
Declaration
public void FieldsDeclaredOn_ReadsANonPublicFieldOnlyWhenItIsMarkedSerialized()
FieldsDeclaredOn_ReadsAPolymorphicMemberAsEveryConcreteSubtypeUnderItsOwnPath()
Declaration
public void FieldsDeclaredOn_ReadsAPolymorphicMemberAsEveryConcreteSubtypeUnderItsOwnPath()
FieldsDeclaredOn_ReadsARecursivePolymorphicTreeOnceNotOncePerOrderingOfItsSubtypes()
Declaration
public void FieldsDeclaredOn_ReadsARecursivePolymorphicTreeOnceNotOncePerOrderingOfItsSubtypes()
FieldsDeclaredOn_ReadsTheDeclarationOffTheField()
Declaration
public void FieldsDeclaredOn_ReadsTheDeclarationOffTheField()
FieldsDeclaredOn_SkipsAReadonlyFieldBecauseUnityNeverSerializesIt()
Declaration
public void FieldsDeclaredOn_SkipsAReadonlyFieldBecauseUnityNeverSerializesIt()
FieldsDeclaredOn_VisitsARecursiveTreeOnceAtItsFirstLevel()
Declaration
public void FieldsDeclaredOn_VisitsARecursiveTreeOnceAtItsFirstLevel()
FromDeclaration_SynthesisesADocumentationSentenceWhenTheAttributeHasNone()
Declaration
public void FromDeclaration_SynthesisesADocumentationSentenceWhenTheAttributeHasNone()
FromDeclaration_TurnsTheAttributeIntoAContractRow()
Declaration
public void FromDeclaration_TurnsTheAttributeIntoAContractRow()
MisplacedDeclarationsOn_IsEmptyWhenEveryDeclarationSitsOnAString()
Declaration
public void MisplacedDeclarationsOn_IsEmptyWhenEveryDeclarationSitsOnAString()
MisplacedDeclarationsOn_ReportsADeclarationThatNamesNoString()
Declaration
public void MisplacedDeclarationsOn_ReportsADeclarationThatNamesNoString()
ReadFields_AnOwnerTypeThatCannotBeRead_IsReportedOnceAndLeavesTheOtherTypesIntact()
Declaration
public void ReadFields_AnOwnerTypeThatCannotBeRead_IsReportedOnceAndLeavesTheOtherTypesIntact()