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.
Inherited Members
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()