Class UnityAchievementSettingsTests
PlayMode tests for UnityAchievementSettings: that a freshly created asset ships exactly the shared AchievementSettingsDefaults, and the explicit IAchievementSettings / IFoundationSettings projections the runtime reads it through.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAchievementSettingsTests
Remarks
The defaults are asserted against the constants rather than against literals on purpose: a literal here is a second copy of the default, and a second copy is exactly how the asset and DefaultAchievementSettings once disagreed about capturing a screenshot.
Constructors
UnityAchievementSettingsTests()
Declaration
public UnityAchievementSettingsTests()
Methods
AchievementSettings_ProjectsEveryAuthoredFlag()
Declaration
public void AchievementSettings_ProjectsEveryAuthoredFlag()
FoundationSettings_ProjectsIdAndGuidBothWays()
Declaration
public void FoundationSettings_ProjectsIdAndGuidBothWays()
NewAsset_AgreesWithTheUnconfiguredReadModelFieldForField()
Declaration
public void NewAsset_AgreesWithTheUnconfiguredReadModelFieldForField()
NewAsset_CarriesAGeneratedGuid()
Declaration
public void NewAsset_CarriesAGeneratedGuid()
NewAsset_ShipsTheSharedDefaults()
Declaration
public void NewAsset_ShipsTheSharedDefaults()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()