Class UnityToastHostActivationTests
A toast host that starts inactive never runs its own enable callback, so it cannot subscribe itself to the
toast signal. The UI install binds every toast host in the instantiated UI — inactive ones included — and a
toast signal then shows the toast, activating its host. A host that has already been on screen and is then
hidden was hidden by its author on purpose, so a toast must leave it hidden and say so once.
Inheritance
UnityToastHostActivationTests
Assembly: Tests.dll
Syntax
public class UnityToastHostActivationTests
Constructors
UnityToastHostActivationTests()
Declaration
public UnityToastHostActivationTests()
Methods
SetUp()
Declaration
ShowToastSignal_AfterTheAuthorShowsTheHostAgain_ShowsTheToast()
Declaration
public IEnumerator ShowToastSignal_AfterTheAuthorShowsTheHostAgain_ShowsTheToast()
Returns
ShowToastSignal_WithTheHostHiddenByItsAuthor_KeepsTheHostHiddenAndWarnsOnce()
Declaration
public IEnumerator ShowToastSignal_WithTheHostHiddenByItsAuthor_KeepsTheHostHiddenAndWarnsOnce()
Returns
ShowToastSignal_WithTheHostInactiveAtStart_ShowsTheToast()
Declaration
public IEnumerator ShowToastSignal_WithTheHostInactiveAtStart_ShowsTheToast()
Returns
TearDown()
Declaration