Skip to content

Commit e12f4fd

Browse files
committed
Try BasePlayModeTests
1 parent 560cce4 commit e12f4fd

File tree

2 files changed

+2
-29
lines changed

2 files changed

+2
-29
lines changed

Assets/MRTK/Tests/PlayModeTests/BoundingBoxTests.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using Microsoft.MixedReality.Toolkit.Input;
1414
using Microsoft.MixedReality.Toolkit.UI;
1515
using Microsoft.MixedReality.Toolkit.Utilities;
16-
using NUnit.Framework;
1716
using System.Collections;
1817
using System.Linq;
1918
using UnityEngine;
@@ -22,22 +21,9 @@
2221

2322
namespace Microsoft.MixedReality.Toolkit.Tests
2423
{
25-
public class BoundingBoxTests
24+
public class BoundingBoxTests : BasePlayModeTests
2625
{
2726
#region Utilities
28-
[UnitySetUp]
29-
public IEnumerator SetUp()
30-
{
31-
PlayModeTestUtilities.Setup();
32-
yield return null;
33-
}
34-
35-
[UnityTearDown]
36-
public IEnumerator TearDown()
37-
{
38-
PlayModeTestUtilities.TearDown();
39-
yield return null;
40-
}
4127

4228
private readonly Vector3 boundingBoxStartCenter = Vector3.forward * 1.5f;
4329
private readonly Vector3 boundingBoxStartScale = Vector3.one * 0.5f;

Assets/MRTK/Tests/PlayModeTests/Experimental/ElasticTests.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.MixedReality.Toolkit.Tests.Experimental
2121
/// <summary>
2222
/// Tests for runtime behavior of the ElasticSystem.
2323
/// </summary>
24-
public class ElasticSystemTests
24+
public class ElasticSystemTests : BasePlayModeTests
2525
{
2626
#region Utilities
2727

@@ -61,19 +61,6 @@ public class ElasticSystemTests
6161
Drag = 0.2f
6262
};
6363

64-
[UnitySetUp]
65-
public IEnumerator Setup()
66-
{
67-
PlayModeTestUtilities.Setup();
68-
yield return null;
69-
}
70-
71-
[UnityTearDown]
72-
public IEnumerator TearDown()
73-
{
74-
TestUtilities.ShutdownMixedRealityToolkit();
75-
yield return null;
76-
}
7764
#endregion
7865

7966
/// <summary>

0 commit comments

Comments
 (0)