Class AchievementEnabledPlatformScanTests
EditMode tests for AchievementEnabledPlatformScan and for what it turns on in AchievementDefinitionAuthoringReview: the platform rule is silent until the project's settings say which storefronts it ships on, and loud the moment they do.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementEnabledPlatformScanTests
Constructors
AchievementEnabledPlatformScanTests()
Declaration
public AchievementEnabledPlatformScanTests()
Methods
ALocalOnlyProject_EnablesNoPlatform()
Declaration
public void ALocalOnlyProject_EnablesNoPlatform()
AnAchievementCarryingTheIdentifier_StaysSilent()
Declaration
public void AnAchievementCarryingTheIdentifier_StaysSilent()
AnAchievementMissingAnIdentifier_IsReportedOnceTheProjectShipsOnThatStorefront()
Declaration
public void AnAchievementMissingAnIdentifier_IsReportedOnceTheProjectShipsOnThatStorefront()
AnAchievementMissingAnIdentifier_IsSilentWhileTheProjectShipsNowhere()
Declaration
public void AnAchievementMissingAnIdentifier_IsSilentWhileTheProjectShipsNowhere()
AnUnassignedPlatformSlot_IsSkippedRatherThanCounted()
Declaration
public void AnUnassignedPlatformSlot_IsSkippedRatherThanCounted()
EnabledPlatformsInProject_AnswersWithoutThrowingWhateverTheProjectHolds()
The project-reading entry point, exercised end to end. It cannot assert a set — this repository's contents are not this test's to fix, and a project that later authors a settings asset would break an exact-match assertion for no reason — so it asserts the two things that are always true: it answers, and it answers with something usable.
Declaration
public void EnabledPlatformsInProject_AnswersWithoutThrowingWhateverTheProjectHolds()
EveryAssignedPlatform_IsReported()
Declaration
public void EveryAssignedPlatform_IsReported()
NoSettingsAsset_EnablesNoPlatform()
Declaration
public void NoSettingsAsset_EnablesNoPlatform()
TearDown()
Declaration
public void TearDown()
TwoSettingsAssets_AreUnionedRatherThanOneWinning()
Declaration
public void TwoSettingsAssets_AreUnionedRatherThanOneWinning()