Skip to content

Commit f3c963e

Browse files
renaming asmdefs inside package root to be non-BR specific
1 parent 31d7ca0 commit f3c963e

6 files changed

+19
-18
lines changed
Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
using UnityEngine;
2-
using UnityEditor;
32
using UnityEngine.TestTools;
43
using NUnit.Framework;
54
using System.Collections;
65

7-
class EditorExampleTest
6+
namespace Unity.Multiplayer.Samples.Utilities.Tests.Editor
87
{
9-
10-
[Test]
11-
public void EditorSampleTestSimplePasses()
8+
class EditorExampleTest
129
{
13-
// Use the Assert class to test conditions.
14-
}
10+
[Test]
11+
public void EditorSampleTestSimplePasses()
12+
{
13+
// Use the Assert class to test conditions.
14+
}
1515

16-
// A UnityTest behaves like a coroutine in PlayMode
17-
// and allows you to yield null to skip a frame in EditMode
18-
[UnityTest]
19-
public IEnumerator EditorSampleTestWithEnumeratorPasses()
20-
{
21-
// Use the Assert class to test conditions.
22-
// yield to skip a frame
23-
yield return null;
16+
// A UnityTest behaves like a coroutine in PlayMode
17+
// and allows you to yield null to skip a frame in EditMode
18+
[UnityTest]
19+
public IEnumerator EditorSampleTestWithEnumeratorPasses()
20+
{
21+
// Use the Assert class to test conditions.
22+
// yield to skip a frame
23+
yield return null;
24+
}
2425
}
2526
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Unity.Multiplayer.Samples.BossRoom.Tests.Editor",
2+
"name": "Unity.Multiplayer.Samples.Utilities.Tests.Editor",
33
"rootNamespace": "",
44
"references": [
55
"UnityEngine.TestRunner",

Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeExampleTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using NUnit.Framework;
44
using System.Collections;
55

6-
namespace Unity.Multiplayer.Samples.BossRoom.Tests.Runtime
6+
namespace Unity.Multiplayer.Samples.Utilities.Tests.Runtime
77
{
88
public class RuntimeExampleTest
99
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Unity.Multiplayer.Samples.BossRoom.Tests.Runtime",
2+
"name": "Unity.Multiplayer.Samples.Utilities.Tests.Runtime",
33
"rootNamespace": "",
44
"references": [
55
"UnityEngine.TestRunner",

0 commit comments

Comments
 (0)