Class PrewarmAssetsByLabelsTaskBehaviorTests
Additional PrewarmAssetsByLabelsTask coverage: prefetch/catalog failures captured in LastError,
the "boot" context fallback, cancellation mid-loop, error reset across runs, weight clamping,
and propagation of the supplied keys/priority/context to the prefetcher.
Inheritance
PrewarmAssetsByLabelsTaskBehaviorTests
Assembly: Tests.dll
Syntax
public class PrewarmAssetsByLabelsTaskBehaviorTests
Constructors
PrewarmAssetsByLabelsTaskBehaviorTests()
Declaration
public PrewarmAssetsByLabelsTaskBehaviorTests()
Methods
Ctor_StoresIdCriticalityAndClampsWeight()
Declaration
public void Ctor_StoresIdCriticalityAndClampsWeight()
Ctor_WeightAboveFloor_IsPreserved()
Declaration
public void Ctor_WeightAboveFloor_IsPreserved()
RunAsync_CancellationMidLoop_StopsAndCapturesLastError()
Declaration
public Task RunAsync_CancellationMidLoop_StopsAndCapturesLastError()
Returns
RunAsync_CatalogThrows_CapturesLastError_AndNoPrefetch()
Declaration
public Task RunAsync_CatalogThrows_CapturesLastError_AndNoPrefetch()
Returns
RunAsync_ForwardsLabelsToCatalog()
Declaration
public Task RunAsync_ForwardsLabelsToCatalog()
Returns
RunAsync_ForwardsResolvedKeysAsAssetKeysWithNormalPriority()
Declaration
public Task RunAsync_ForwardsResolvedKeysAsAssetKeysWithNormalPriority()
Returns
RunAsync_NullContext_FallsBackToBoot()
Declaration
public Task RunAsync_NullContext_FallsBackToBoot()
Returns
RunAsync_PrefetchThrows_CapturesLastError()
Declaration
public Task RunAsync_PrefetchThrows_CapturesLastError()
Returns
RunAsync_ResetsLastErrorAndResolvedKeysOnRerun()
Declaration
public Task RunAsync_ResetsLastErrorAndResolvedKeysOnRerun()
Returns
RunAsync_WhitespaceContext_FallsBackToBoot()
Declaration
public Task RunAsync_WhitespaceContext_FallsBackToBoot()
Returns