logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CacheItemBehaviorTests

    Additional CacheItem coverage exercising members that touch UnityEngine.Object via the shim (AssetRef, SetReady) and the AssetKey property, which the existing CacheItemTests deliberately avoid.

    Inheritance
    object
    CacheItemBehaviorTests
    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.Domain
    Assembly: Tests.dll
    Syntax
    public class CacheItemBehaviorTests

    Constructors

    CacheItemBehaviorTests()

    Declaration
    public CacheItemBehaviorTests()

    Methods

    Ctor_ExposesAssetKey_And_NullAssetRef()

    Declaration
    public void Ctor_ExposesAssetKey_And_NullAssetRef()

    Evict_AfterReady_ClearsAssetRef_And_MarksEvicted()

    Declaration
    public void Evict_AfterReady_ClearsAssetRef_And_MarksEvicted()

    SetReady_AfterEvict_ReloadsAsset_And_BecomesReadyAgain()

    Declaration
    public void SetReady_AfterEvict_ReloadsAsset_And_BecomesReadyAgain()

    SetReady_AssignsAssetRef_And_TransitionsToReady()

    Declaration
    public void SetReady_AssignsAssetRef_And_TransitionsToReady()
    In this article
    © 2026 Serenity. All Rights Reserved