mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Tests - Add Artemis.Core and profile editor test suites (#907)
This commit is contained in:
1 parent
6e7fae16d2
commit
504845c7d2
168 files changed
+22914
-7
No files matched your search
@@ -0,0 +1,20 @@
|
||||
using Artemis.Core.LayerBrushes;
|
||||
|
||||
namespace Artemis.Core.Tests.Infrastructure.Plugins.LayerBrushes;
|
||||
|
||||
/// <summary>
|
||||
/// Provides deterministic brushes for render tests. The real brushes live in the Artemis.Plugins repository.
|
||||
/// </summary>
|
||||
public class TestLayerBrushProvider : LayerBrushProvider
|
||||
{
|
||||
public override void Enable()
|
||||
{
|
||||
RegisterLayerBrushDescriptor<SolidColorTestBrush>("Solid color", "Fills the layer with a single color", "Brush");
|
||||
RegisterLayerBrushDescriptor<GradientTestBrush>("Gradient", "Fills the layer with a left to right gradient", "Gradient");
|
||||
RegisterLayerBrushDescriptor<PerLedTestBrush>("Per LED", "Lets the test pick a color for each LED", "Led");
|
||||
}
|
||||
|
||||
public override void Disable()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user