mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +01:00
AgingSteps => SelfTestSteps
This commit is contained in:
parent
95bac801b2
commit
d2cae32bc2
29 changed files with 108 additions and 108 deletions
|
|
@ -0,0 +1,29 @@
|
|||
using Dalamud.Game.Gui.Toast;
|
||||
|
||||
namespace Dalamud.Interface.Internal.Windows.SelfTest.Steps;
|
||||
|
||||
/// <summary>
|
||||
/// Test setup for toasts.
|
||||
/// </summary>
|
||||
internal class ToastSelfTestStep : ISelfTestStep
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string Name => "Test Toasts";
|
||||
|
||||
/// <inheritdoc/>
|
||||
public SelfTestStepResult RunStep()
|
||||
{
|
||||
var toastGui = Service<ToastGui>.Get();
|
||||
|
||||
toastGui.ShowNormal("Normal Toast");
|
||||
toastGui.ShowError("Error Toast");
|
||||
|
||||
return SelfTestStepResult.Pass;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void CleanUp()
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue