Skip to content
Project referenceDevelopmentEngine ccf7d03f

Inno.References.Tests verifies the References contracts through their public entry points. Use this page to locate relevant assertions; it is not a report that these tests passed for your current change.

Read scopes resolve only their captured generation, freeze identities and revoke on disposal without owning the root or allocator. Catalog tests preserve unassigned and Missing intent and reject duplicate reference kinds. Recovery resolves after objects exist, compensates attempted owners around publication and rolls back applied participants in reverse order. Pending retirement keeps owners protected; ordinary cleanup failure cannot pretend that an irreversible publication was rolled back.

The project declares the contract validation layer. Use the shared validation workflow to select its actual dependencies and environment. Inspect the pinned project file for package and project references.

A focused diagnostic from the engine root is:

Terminal window
dotnet test tests/references/Inno.References.Tests/Inno.References.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:false

Use --filter FullyQualifiedName~MethodName to investigate one case. A filtered run does not replace the obligations in the validation plan. Restore the declared SDK, packages and any tool/process prerequisites before executing; preserve cancellation, thread and cleanup requirements.

These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.

Read the assertions. Representative entry points:

  • ScopeResolvesOnlyCapturedGenerationAndRevokesOnDispose
  • ScopeDoesNotOwnRootOrAllocatorAndFreezesIdentities
  • DetachedDuplicateAndUnknownActiveRootsAreRejected

Read the assertions. Representative entry points:

  • Resolve_PreservesUnassignedAndMissingIntent
  • Create_RejectsDuplicateReferenceKinds
  • RecoveryTransaction_RollsBackAppliedParticipantsInReverseOrder
  • RecoveryResolvesOnlyAfterObjectsExistAndRetainsNeutralResultsAfterCommit

Read the assertions. Representative entry points:

  • CandidateFailureCompensatesAttemptedOwnersAroundPublication
  • PendingRetirementKeepsOwnersAndFaultsTheSharedGate
  • OrdinaryCleanupFailureStillRetiresOtherOwnersAndCannotPretendToRollback
  • EarlierParticipantFailureIsRetainedAlongsidePendingOwnership

Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.