mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
turn internal tests public and remove unnecessary TextFixture attr.
This commit is contained in:
@@ -14,7 +14,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("frame-based animations")]
|
||||
public class TestCaseAnimation : TestCase
|
||||
{
|
||||
|
||||
@@ -8,7 +8,6 @@ using OpenTK;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseBufferedContainer : TestCaseMasking
|
||||
{
|
||||
private readonly BufferedContainer buffer;
|
||||
|
||||
@@ -10,7 +10,6 @@ using OpenTK;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseCheckboxes : TestCase
|
||||
{
|
||||
public TestCaseCheckboxes()
|
||||
|
||||
@@ -12,7 +12,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseCircularProgress : TestCase
|
||||
{
|
||||
private readonly CircularProgress clock;
|
||||
|
||||
@@ -12,8 +12,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
internal class TestCaseColourGradient : GridTestCase
|
||||
public class TestCaseColourGradient : GridTestCase
|
||||
{
|
||||
public TestCaseColourGradient() : base(2, 2)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,6 @@ using osu.Framework.Testing;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("ensure valid container state in various scenarios")]
|
||||
public class TestCaseContainerState : TestCase
|
||||
{
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseContextMenu : TestCase
|
||||
{
|
||||
private const int start_time = 0;
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseCoordinateSpaces : TestCase
|
||||
{
|
||||
public TestCaseCoordinateSpaces()
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseDelayedLoad : TestCase
|
||||
{
|
||||
private const int panel_count = 2048;
|
||||
|
||||
@@ -11,7 +11,6 @@ using osu.Framework.Testing;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseDrawSizePreservingFillContainer : TestCase
|
||||
{
|
||||
public TestCaseDrawSizePreservingFillContainer()
|
||||
|
||||
@@ -15,8 +15,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
internal class TestCaseDrawablePath : GridTestCase
|
||||
public class TestCaseDrawablePath : GridTestCase
|
||||
{
|
||||
public TestCaseDrawablePath() : base(2, 2)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseDropdownBox : TestCase
|
||||
{
|
||||
private const int items_to_add = 10;
|
||||
|
||||
@@ -12,7 +12,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("changing depth of child dynamically")]
|
||||
public class TestCaseDynamicDepth : TestCase
|
||||
{
|
||||
|
||||
@@ -14,7 +14,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("implementing the IEffect interface")]
|
||||
public class TestCaseEffects : TestCase
|
||||
{
|
||||
|
||||
@@ -19,7 +19,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseFillFlowContainer : TestCase
|
||||
{
|
||||
private FillDirectionDropdown selectionDropdown;
|
||||
|
||||
@@ -15,9 +15,8 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("sprite stretching")]
|
||||
internal class TestCaseFillModes : GridTestCase
|
||||
public class TestCaseFillModes : GridTestCase
|
||||
{
|
||||
public TestCaseFillModes() : base(3, 3)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseHollowEdgeEffect : GridTestCase
|
||||
{
|
||||
public TestCaseHollowEdgeEffect() : base(2, 2)
|
||||
|
||||
@@ -15,9 +15,8 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("live path optimiastion")]
|
||||
internal class TestCaseInputResampler : GridTestCase
|
||||
public class TestCaseInputResampler : GridTestCase
|
||||
{
|
||||
public TestCaseInputResampler() : base(3, 3)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseKeyBindings : GridTestCase
|
||||
{
|
||||
public TestCaseKeyBindings()
|
||||
|
||||
@@ -17,7 +17,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseLocalisation : TestCase
|
||||
{
|
||||
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
|
||||
|
||||
@@ -14,7 +14,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseMasking : TestCase
|
||||
{
|
||||
protected Container TestContainer;
|
||||
|
||||
@@ -12,7 +12,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseNestedHover : TestCase
|
||||
{
|
||||
public TestCaseNestedHover()
|
||||
|
||||
@@ -13,8 +13,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
internal class TestCasePadding : GridTestCase
|
||||
public class TestCasePadding : GridTestCase
|
||||
{
|
||||
public TestCasePadding() : base(2, 2)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,6 @@ using OpenTK;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("ensure validity of drawables when receiving certain values")]
|
||||
public class TestCasePropertyBoundaries : TestCase
|
||||
{
|
||||
|
||||
@@ -14,7 +14,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseRigidBody : TestCase
|
||||
{
|
||||
private readonly TestRigidBodySimulation sim;
|
||||
|
||||
@@ -16,7 +16,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseScreen : TestCase
|
||||
{
|
||||
public TestCaseScreen()
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseScrollableFlow : TestCase
|
||||
{
|
||||
private readonly ScheduledDelegate boxCreator;
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseSearchContainer : TestCase
|
||||
{
|
||||
public TestCaseSearchContainer()
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("potentially challenging size calculations")]
|
||||
public class TestCaseSizing : TestCase
|
||||
{
|
||||
|
||||
@@ -11,7 +11,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseSliderbar : TestCase
|
||||
{
|
||||
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
|
||||
|
||||
@@ -11,8 +11,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
internal class TestCaseSmoothedEdges : GridTestCase
|
||||
public class TestCaseSmoothedEdges : GridTestCase
|
||||
{
|
||||
public TestCaseSmoothedEdges() : base(2, 2)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,6 @@ using osu.Framework.Testing;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseSpriteText : TestCase
|
||||
{
|
||||
public TestCaseSpriteText()
|
||||
|
||||
@@ -17,7 +17,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseTabControl : TestCase
|
||||
{
|
||||
public TestCaseTabControl()
|
||||
|
||||
@@ -10,7 +10,6 @@ using OpenTK;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseTextBox : TestCase
|
||||
{
|
||||
public TestCaseTextBox()
|
||||
|
||||
@@ -13,7 +13,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
[System.ComponentModel.Description("word-wrap and paragraphs")]
|
||||
public class TestCaseTextFlow : TestCase
|
||||
{
|
||||
|
||||
@@ -14,7 +14,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseTooltip : TestCase
|
||||
{
|
||||
private readonly Container testContainer;
|
||||
|
||||
@@ -13,8 +13,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
internal class TestCaseTransformSequence : GridTestCase
|
||||
public class TestCaseTransformSequence : GridTestCase
|
||||
{
|
||||
private readonly Container[] boxes;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseTriangles : TestCase
|
||||
{
|
||||
private readonly Container testContainer;
|
||||
|
||||
@@ -15,7 +15,7 @@ using System;
|
||||
|
||||
namespace osu.Framework.Tests.Visual
|
||||
{
|
||||
internal class TestCaseWaveform : FrameworkTestCase
|
||||
public class TestCaseWaveform : FrameworkTestCase
|
||||
{
|
||||
private readonly List<WaveformGraph> waveforms = new List<WaveformGraph>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user