turn internal tests public and remove unnecessary TextFixture attr.

This commit is contained in:
FreezyLemon
2018-01-16 03:52:01 +01:00
parent 3e008c504f
commit f9d12f4915
39 changed files with 8 additions and 46 deletions

View File

@@ -14,7 +14,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
[System.ComponentModel.Description("frame-based animations")]
public class TestCaseAnimation : TestCase
{

View File

@@ -8,7 +8,6 @@ using OpenTK;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseBufferedContainer : TestCaseMasking
{
private readonly BufferedContainer buffer;

View File

@@ -10,7 +10,6 @@ using OpenTK;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseCheckboxes : TestCase
{
public TestCaseCheckboxes()

View File

@@ -12,7 +12,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseCircularProgress : TestCase
{
private readonly CircularProgress clock;

View File

@@ -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)
{

View File

@@ -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
{

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseContextMenu : TestCase
{
private const int start_time = 0;

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseCoordinateSpaces : TestCase
{
public TestCaseCoordinateSpaces()

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseDelayedLoad : TestCase
{
private const int panel_count = 2048;

View File

@@ -11,7 +11,6 @@ using osu.Framework.Testing;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseDrawSizePreservingFillContainer : TestCase
{
public TestCaseDrawSizePreservingFillContainer()

View File

@@ -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)
{

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseDropdownBox : TestCase
{
private const int items_to_add = 10;

View File

@@ -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
{

View File

@@ -14,7 +14,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
[System.ComponentModel.Description("implementing the IEffect interface")]
public class TestCaseEffects : TestCase
{

View File

@@ -19,7 +19,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseFillFlowContainer : TestCase
{
private FillDirectionDropdown selectionDropdown;

View File

@@ -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)
{

View File

@@ -12,7 +12,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseHollowEdgeEffect : GridTestCase
{
public TestCaseHollowEdgeEffect() : base(2, 2)

View File

@@ -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)
{

View File

@@ -15,7 +15,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseKeyBindings : GridTestCase
{
public TestCaseKeyBindings()

View File

@@ -17,7 +17,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseLocalisation : TestCase
{
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable

View File

@@ -14,7 +14,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseMasking : TestCase
{
protected Container TestContainer;

View File

@@ -12,7 +12,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseNestedHover : TestCase
{
public TestCaseNestedHover()

View File

@@ -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)
{

View File

@@ -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
{

View File

@@ -14,7 +14,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseRigidBody : TestCase
{
private readonly TestRigidBodySimulation sim;

View File

@@ -16,7 +16,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseScreen : TestCase
{
public TestCaseScreen()

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseScrollableFlow : TestCase
{
private readonly ScheduledDelegate boxCreator;

View File

@@ -13,7 +13,6 @@ using OpenTK;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseSearchContainer : TestCase
{
public TestCaseSearchContainer()

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
[System.ComponentModel.Description("potentially challenging size calculations")]
public class TestCaseSizing : TestCase
{

View File

@@ -11,7 +11,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseSliderbar : TestCase
{
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable

View File

@@ -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)
{

View File

@@ -9,7 +9,6 @@ using osu.Framework.Testing;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseSpriteText : TestCase
{
public TestCaseSpriteText()

View File

@@ -17,7 +17,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseTabControl : TestCase
{
public TestCaseTabControl()

View File

@@ -10,7 +10,6 @@ using OpenTK;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseTextBox : TestCase
{
public TestCaseTextBox()

View File

@@ -13,7 +13,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
[System.ComponentModel.Description("word-wrap and paragraphs")]
public class TestCaseTextFlow : TestCase
{

View File

@@ -14,7 +14,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseTooltip : TestCase
{
private readonly Container testContainer;

View File

@@ -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;

View File

@@ -12,7 +12,6 @@ using OpenTK.Graphics;
namespace osu.Framework.Tests.Visual
{
[TestFixture]
public class TestCaseTriangles : TestCase
{
private readonly Container testContainer;

View File

@@ -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>();