Class AchievementIconLookupTests
PlayMode tests for AchievementIconLookup: the one thing the engine-free registry cannot carry. An icon is a UnityEngine.Sprite, so the listing has to recover it from the authored assets, and it must follow the registry's own rule about which of two assets claiming an id is live.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class AchievementIconLookupTests
Constructors
AchievementIconLookupTests()
Declaration
public AchievementIconLookupTests()
Methods
From_ADefinitionSourceThatIsNotTheAssetBackedOne_AnswersNothing()
Declaration
public void From_ADefinitionSourceThatIsNotTheAssetBackedOne_AnswersNothing()
From_AssetsWithoutAnIconOrAnId_AreSkippedRatherThanFatal()
Declaration
public void From_AssetsWithoutAnIconOrAnId_AreSkippedRatherThanFatal()
From_NullDefinitionSource_AnswersNothing()
Declaration
public void From_NullDefinitionSource_AnswersNothing()
From_NullOrEmptyAssets_AnswerNothing()
Declaration
public void From_NullOrEmptyAssets_AnswerNothing()
From_TheShippedAssetSource_ReadsItsAssets()
Declaration
public void From_TheShippedAssetSource_ReadsItsAssets()
From_TwoAssetsClaimingOneId_LetsTheLaterOneWin()
Declaration
public void From_TwoAssetsClaimingOneId_LetsTheLaterOneWin()
Resolve_AnswersTheAuthoredIcon()
Declaration
public void Resolve_AnswersTheAuthoredIcon()
Resolve_UnknownOrBlankId_AnswersNull()
Declaration
public void Resolve_UnknownOrBlankId_AnswersNull()
TearDown()
Declaration
public void TearDown()