File tree Expand file tree Collapse file tree 2 files changed +2
-29
lines changed
Assets/MRTK/Tests/PlayModeTests Expand file tree Collapse file tree 2 files changed +2
-29
lines changed Original file line number Diff line number Diff line change 13
13
using Microsoft . MixedReality . Toolkit . Input ;
14
14
using Microsoft . MixedReality . Toolkit . UI ;
15
15
using Microsoft . MixedReality . Toolkit . Utilities ;
16
- using NUnit . Framework ;
17
16
using System . Collections ;
18
17
using System . Linq ;
19
18
using UnityEngine ;
22
21
23
22
namespace Microsoft . MixedReality . Toolkit . Tests
24
23
{
25
- public class BoundingBoxTests
24
+ public class BoundingBoxTests : BasePlayModeTests
26
25
{
27
26
#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
- }
41
27
42
28
private readonly Vector3 boundingBoxStartCenter = Vector3 . forward * 1.5f ;
43
29
private readonly Vector3 boundingBoxStartScale = Vector3 . one * 0.5f ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ namespace Microsoft.MixedReality.Toolkit.Tests.Experimental
21
21
/// <summary>
22
22
/// Tests for runtime behavior of the ElasticSystem.
23
23
/// </summary>
24
- public class ElasticSystemTests
24
+ public class ElasticSystemTests : BasePlayModeTests
25
25
{
26
26
#region Utilities
27
27
@@ -61,19 +61,6 @@ public class ElasticSystemTests
61
61
Drag = 0.2f
62
62
} ;
63
63
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
- }
77
64
#endregion
78
65
79
66
/// <summary>
You can’t perform that action at this time.
0 commit comments