logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    PrewarmAssetsByLabelsTaskBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AssetPrefetcher.Tests.Application
    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
    Type Description
    Task

    RunAsync_CatalogThrows_CapturesLastError_AndNoPrefetch()

    Declaration
    public Task RunAsync_CatalogThrows_CapturesLastError_AndNoPrefetch()
    Returns
    Type Description
    Task

    RunAsync_ForwardsLabelsToCatalog()

    Declaration
    public Task RunAsync_ForwardsLabelsToCatalog()
    Returns
    Type Description
    Task

    RunAsync_ForwardsResolvedKeysAsAssetKeysWithNormalPriority()

    Declaration
    public Task RunAsync_ForwardsResolvedKeysAsAssetKeysWithNormalPriority()
    Returns
    Type Description
    Task

    RunAsync_NullContext_FallsBackToBoot()

    Declaration
    public Task RunAsync_NullContext_FallsBackToBoot()
    Returns
    Type Description
    Task

    RunAsync_PrefetchThrows_CapturesLastError()

    Declaration
    public Task RunAsync_PrefetchThrows_CapturesLastError()
    Returns
    Type Description
    Task

    RunAsync_ResetsLastErrorAndResolvedKeysOnRerun()

    Declaration
    public Task RunAsync_ResetsLastErrorAndResolvedKeysOnRerun()
    Returns
    Type Description
    Task

    RunAsync_WhitespaceContext_FallsBackToBoot()

    Declaration
    public Task RunAsync_WhitespaceContext_FallsBackToBoot()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved