Class UnityAchievementDefinitionTests
PlayMode tests for UnityAchievementDefinition: the identity contract every Serenity settings asset carries, the conversion into the runtime AchievementDefinition and the reasons it can refuse, and the engine-free snapshot the authoring rules read.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAchievementDefinitionTests
Constructors
UnityAchievementDefinitionTests()
Declaration
public UnityAchievementDefinitionTests()
Methods
FoundationSettingsProjection_ReadsAndWritesTheAssetsOwnFields()
Declaration
public void FoundationSettingsProjection_ReadsAndWritesTheAssetsOwnFields()
NewAsset_HasAGuidAndNothingAuthoredYet()
Declaration
public void NewAsset_HasAGuidAndNothingAuthoredYet()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
ToAuthoringSnapshot_CarriesWhatTheRulesRead()
Declaration
public void ToAuthoringSnapshot_CarriesWhatTheRulesRead()
ToAuthoringSnapshot_WithAnIconAssigned_ReportsItAsPresent()
Declaration
public void ToAuthoringSnapshot_WithAnIconAssigned_ReportsItAsPresent()
ToAuthoringSnapshot_WithEnabledPlatforms_ResolvesEachIdentifier()
Declaration
public void ToAuthoringSnapshot_WithEnabledPlatforms_ResolvesEachIdentifier()
TryToDefinition_AuthoredAchievement_CarriesEveryFieldIntoTheRuntimeDefinition()
Declaration
public void TryToDefinition_AuthoredAchievement_CarriesEveryFieldIntoTheRuntimeDefinition()
TryToDefinition_AuthoredAchievement_CarriesThePlatformIdentifiers()
Declaration
public void TryToDefinition_AuthoredAchievement_CarriesThePlatformIdentifiers()
TryToDefinition_BlankId_RefusesAndExplainsWhy()
Declaration
public void TryToDefinition_BlankId_RefusesAndExplainsWhy()
TryToDefinition_NegativePoints_RefusesAndExplainsWhy()
Declaration
public void TryToDefinition_NegativePoints_RefusesAndExplainsWhy()
TryToDefinition_NegativeProgressTarget_ProducesABooleanAchievement()
Declaration
public void TryToDefinition_NegativeProgressTarget_ProducesABooleanAchievement()
TryToDefinition_NoNameKey_StillProducesADefinition()
Declaration
public void TryToDefinition_NoNameKey_StillProducesADefinition()
TryToDefinition_ZeroPoints_IsValid()
Declaration
public void TryToDefinition_ZeroPoints_IsValid()