Class UnityScoreInstallerTests
PlayMode tests for UnityScoreInstaller. Verifies that installing creates a Unity-backed score service (with a PlayerPrefs repository) on a dedicated GameObject, and that the declarative metric registry policy (blank/duplicate key handling) is correct.
Inherited Members
Namespace: Serenity.UnityScore.Tests.Installation
Assembly: Tests.dll
Syntax
public class UnityScoreInstallerTests
Constructors
UnityScoreInstallerTests()
Declaration
public UnityScoreInstallerTests()
Methods
BuildMetricRegistry_AppliedToInstalledService_RegistersEachKeyAtZeroWithAuthoredKind()
Declaration
public void BuildMetricRegistry_AppliedToInstalledService_RegistersEachKeyAtZeroWithAuthoredKind()
BuildMetricRegistry_BlankKey_SkippedAndWarns()
Declaration
public void BuildMetricRegistry_BlankKey_SkippedAndWarns()
BuildMetricRegistry_DuplicateKeys_LastRowWinsAndWarnsOnce()
Declaration
public void BuildMetricRegistry_DuplicateKeys_LastRowWinsAndWarnsOnce()
BuildMetricRegistry_NullSettings_ReturnsEmpty()
Declaration
public void BuildMetricRegistry_NullSettings_ReturnsEmpty()
Install_WithFakeLogService_CreatesServiceGameObject()
Declaration
public void Install_WithFakeLogService_CreatesServiceGameObject()
Install_WithFakeLogService_SetsServiceToConcreteUnityType()
Declaration
public void Install_WithFakeLogService_SetsServiceToConcreteUnityType()
TearDown()
Declaration
public void TearDown()