Asset import and settings tests
Section titled “Asset import and settings tests”Inno.Assets.Pipeline.Tests verifies the Assets.Pipeline 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.
Behavior covered
Section titled “Behavior covered”The pipeline tests cover owner-polled filesystem changes, rename paths, path boundaries and metadata filtering. Import cases preserve read-only sidecars when reporting failures, retry unavailable extensions, recover failed runtime dependencies and round-trip built-in assets. Settings cases reject stale snapshots, retain last-good artifacts after invalid settings, preserve Missing references and compensate effective-state changes without rewriting the document.
Environment and execution
Section titled “Environment and execution”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:
dotnet test tests/assets/Inno.Assets.Pipeline.Tests/Inno.Assets.Pipeline.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:falseUse --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.
Scenario reference
Section titled “Scenario reference”These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.
Asset File System Change
Section titled “Asset File System Change”Read the assertions. Representative entry points:
Watcher_CoalescesCreateChangeAndDeleteThroughPublicCoordinatorWatcher_RenamePreservesOldAndNewRelativePathsWatcherPublishesSettingsSidecarChangesWithoutExposingMetadataAsAssets
Asset File System
Section titled “Asset File System”Read the assertions. Representative entry points:
Queries_RejectRootedAndTraversalPathsRefresh_IndexesDirectoriesAndFilesWatcher_PublishesChangesOnlyWhenOwnerPollsEntries_ExposeLastExtensionDisplayNameAndFilterDatabaseNoise
Asset Loader
Section titled “Asset Loader”Read the assertions. Representative entry points:
ReadOnlyImportFailureDoesNotRewriteMetadataOrThrowAgainWhileRecordingFailureFailedRuntimeDependencyRecoversAfterPublicationOrLoaderRestartExtensionDiscoveryDefersOnlyMissingExtensionsAndRetriesOnceWhenCompletedReadOnlyExtensionWaitPreservesSidecarAndBecomesStrictAfterDiscovery
Importer Integration
Section titled “Importer Integration”Read the assertions. Representative entry points:
TextExtensions_AreAutomaticallyDiscoveredBinaryImporter_CreatesRuntimeDescriptorExportableBuiltInAsset_RoundTripsThroughPublicLoaderContract
Import Settings
Section titled “Import Settings”Read the assertions. Representative entry points:
SettingsRoundTripReimportAndResetWithoutChangingSourceOrIdentitySettingsSurviveColdLoaderAndLibraryRecreationStaleSettingsSnapshotCannotOverwriteNewerSidecarInvalidSettingsPersistWhilePreviousArtifactRemainsLastGood
Settings Reference
Section titled “Settings Reference”Read the assertions. Representative entry points:
SettingsResolveTheCurrentAssetGenerationAndPreserveMissingIntentRuntimeSettingsLoadTheirColdReferencesThroughTheSessionAssetOwnerFivePhaseSettingsRollbackRestoresExactEffectiveStateWithoutWritingDocumentContributorPublicationFreezesNestedPayloadsAndKeepsLastGoodOnFailure
Extend safely
Section titled “Extend safely”Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.