Class AchievementAuthoringReviewCacheTests
EditMode tests for when the shared authoring review is worth re-running. The rules themselves are not under test here — what is, is the one decision two tools used to make separately and could get wrong in opposite directions: running a project-wide scan on every repaint, or showing findings about an achievement the author already renamed.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementAuthoringReviewCacheTests
Constructors
AchievementAuthoringReviewCacheTests()
Declaration
public AchievementAuthoringReviewCacheTests()
Methods
DestroyCreatedDefinitions()
Declaration
public void DestroyCreatedDefinitions()
Findings_AreNeverNullBeforeAnythingWasJudged()
Declaration
public void Findings_AreNeverNullBeforeAnythingWasJudged()
Findings_AreNeverNullWhenTheReviewAnswersWithNothing()
Declaration
public void Findings_AreNeverNullWhenTheReviewAnswersWithNothing()
RefreshWhenStale_ClearsTheFindingsWhenNothingIsSelected()
Declaration
public void RefreshWhenStale_ClearsTheFindingsWhenNothingIsSelected()
RefreshWhenStale_JudgesAgainAfterNothingWasSelected()
Declaration
public void RefreshWhenStale_JudgesAgainAfterNothingWasSelected()
RefreshWhenStale_RunsAgainAfterTheAnswerIsDeclaredStale()
Declaration
public void RefreshWhenStale_RunsAgainAfterTheAnswerIsDeclaredStale()
RefreshWhenStale_RunsAgainWhenTheIdChangedWithoutAnyoneSayingSo()
The id is tracked on its own because the inspector's base class writes it straight to the object, so nothing else would notice it changed.
Declaration
public void RefreshWhenStale_RunsAgainWhenTheIdChangedWithoutAnyoneSayingSo()
RefreshWhenStale_RunsTheRulesOnceAndHoldsTheAnswer()
Declaration
public void RefreshWhenStale_RunsTheRulesOnceAndHoldsTheAnswer()
ResetReviewCount()
Declaration
public void ResetReviewCount()