Skip to content

Commit 2eeb2c7

Browse files
update - wip
This is a "still messy" version that is working but needs more thought on the namespace collision fixes.
1 parent d0b7f1c commit 2eeb2c7

10 files changed

Lines changed: 17 additions & 7 deletions

com.unity.netcode.gameobjects/Editor/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
#if UNITY_INCLUDE_TESTS
44
#if UNITY_EDITOR
5+
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.Editor.Tests")]
56
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.EditorTests")]
7+
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.Editor")]
68
[assembly: InternalsVisibleTo("Unity.Netcode.Editor.Tests")]
79
[assembly: InternalsVisibleTo("TestProject.Runtime.Tests")]
810
#endif // UNITY_EDITOR

com.unity.netcode.gameobjects/Editor/Configuration/NetcodeSettingsProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using System.IO;
3+
using Unity.Netcode.Editor.Configuration;
34
using UnityEditor;
45
using UnityEngine;
56
using Directory = UnityEngine.Windows.Directory;

com.unity.netcode.gameobjects/Editor/Configuration/NetworkPrefabProcessor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Collections.Generic;
2+
using Unity.Netcode.Editor.Configuration;
23
using UnityEditor;
34
using UnityEngine;
45

com.unity.netcode.gameobjects/Editor/NetworkManagerEditor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
5+
using Unity.Netcode.Editor;
56
using Unity.Netcode.GameObjects.Editor.Configuration;
67
using UnityEditor;
78
using UnityEngine;

com.unity.netcode.gameobjects/Editor/NetworkManagerHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
using System.Collections.Generic;
22
using System.Linq;
3+
using Unity.Netcode.Editor;
4+
using Unity.Netcode.Editor.Configuration;
35
using Unity.Netcode.GameObjects.Editor.Configuration;
46
using UnityEditor;
57
using UnityEngine;

com.unity.netcode.gameobjects/Editor/NetworkTransformEditor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Unity.Netcode.Components;
2+
using Unity.Netcode.Editor;
23
using UnityEditor;
34
using UnityEngine;
45

com.unity.netcode.gameobjects/Runtime/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[assembly: InternalsVisibleTo("Unity.Netcode.TestHelpers.Runtime")]
1515
[assembly: InternalsVisibleTo("TestProject.Runtime.Tests")]
1616
#if UNITY_EDITOR
17-
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.EditorTests")]
17+
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.Editor.Tests")]
1818
[assembly: InternalsVisibleTo("TestProject.EditorTests")]
1919
[assembly: InternalsVisibleTo("Unity.Netcode.Editor.Tests")]
2020
[assembly: InternalsVisibleTo("TestProject.Editor.Tests")]

com.unity.netcode.gameobjects/Tests/Editor/NetworkObjectTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Text.RegularExpressions;
22
using NUnit.Framework;
3-
using Unity.Netcode.Editor;
3+
using Unity.Netcode.GameObjects.Editor;
44
using UnityEngine;
55
using UnityEngine.TestTools;
66

com.unity.netcode.gameobjects/Tests/Editor/NetworkPrefabProcessorTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using NUnit.Framework;
2+
using Unity.Netcode.Editor.Configuration;
23
using Unity.Netcode.GameObjects.Editor.Configuration;
34
using UnityEditor;
45
using UnityEngine;

com.unity.netcode.gameobjects/Tests/Editor/Unity.Netcode.Editor.Tests.asmdef

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Unity.Netcode.Editor.Tests",
2+
"name": "Unity.Netcode.GameObjects.Editor.Tests",
33
"rootNamespace": "Unity.Netcode.GameObjects.EditorTests",
44
"references": [
55
"Unity.Collections",
@@ -13,7 +13,8 @@
1313
"Unity.Mathematics",
1414
"UnityEngine.TestRunner",
1515
"UnityEditor.TestRunner",
16-
"Unity.Netcode.Runtime.Tests"
16+
"Unity.Netcode.Runtime.Tests",
17+
"Unity.Netcode.GameObjects.Editor"
1718
],
1819
"includePlatforms": [
1920
"Editor"
@@ -45,9 +46,9 @@
4546
"define": "SCENE_MANAGEMENT_SCENE_HANDLE_NO_INT_CONVERSION"
4647
},
4748
{
48-
"name": "Unity",
49-
"expression": "6000.5.0a1",
50-
"define": "SCENE_MANAGEMENT_SCENE_HANDLE_MUST_USE_ULONG"
49+
"name": "Unity",
50+
"expression": "6000.5.0a1",
51+
"define": "SCENE_MANAGEMENT_SCENE_HANDLE_MUST_USE_ULONG"
5152
}
5253
],
5354
"noEngineReferences": false

0 commit comments

Comments
 (0)