Class AchievementAuthoringSectionGuiTests
EditMode tests for the two decisions AchievementAuthoringSectionGui makes before it draws anything: whether the unlock preview can run, and which kind of box a finding belongs in. The drawing itself is not under test — IMGUI is not a unit.
These moved off UnityAchievementDefinitionEditor when the sections were extracted, so the
inspector and the Achievements Studio's detail pane could stop answering them separately.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementAuthoringSectionGuiTests
Constructors
AchievementAuthoringSectionGuiTests()
Declaration
public AchievementAuthoringSectionGuiTests()
Methods
ResolvePreviewBlockedReason_BlankId_NamesTheMissingId(string)
Declaration
public void ResolvePreviewBlockedReason_BlankId_NamesTheMissingId(string achievementId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | achievementId |
ResolvePreviewBlockedReason_OutsidePlayMode_DefersToTheSharedDispatcherGate()
Declaration
public void ResolvePreviewBlockedReason_OutsidePlayMode_DefersToTheSharedDispatcherGate()
ToMessageType_MapsEverySeverity(AuthoringSeverity, MessageType)
Declaration
public void ToMessageType_MapsEverySeverity(AuthoringSeverity severity, MessageType expected)
Parameters
| Type | Name | Description |
|---|---|---|
| AuthoringSeverity | severity | |
| MessageType | expected |