File tree Expand file tree Collapse file tree 3 files changed +11
-19
lines changed
com.unity.multiplayer.mlapi/Tests/Runtime
testproject/Assets/Tests/Runtime
MultiprocessRuntime/Helpers Expand file tree Collapse file tree 3 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 8
8
"optionalUnityReferences": [
9
9
"TestAssemblies"
10
10
],
11
- "includePlatforms": [],
12
- "excludePlatforms": []
11
+ "defineConstraints": [
12
+ "UNITY_INCLUDE_TESTS",
13
+ "UNITY_EDITOR"
14
+ ]
13
15
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public static void StartWorkerNode()
34
34
workerNode . StartInfo . FileName = $ "{ buildPath } .exe";
35
35
break ;
36
36
default :
37
- throw new NotImplementedException ( " StartWorkerNode: Current platform not supported") ;
37
+ throw new NotImplementedException ( $ " { nameof ( StartWorkerNode ) } : Current platform is not supported") ;
38
38
}
39
39
}
40
40
catch ( FileNotFoundException )
@@ -53,7 +53,7 @@ public static void StartWorkerNode()
53
53
var newProcessStarted = workerNode . Start ( ) ;
54
54
if ( ! newProcessStarted )
55
55
{
56
- throw new Exception ( "Process not started !" ) ;
56
+ throw new Exception ( "Failed to start process !" ) ;
57
57
}
58
58
}
59
59
catch ( Win32Exception e )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name": "TestProject.RuntimeTests",
3
- "rootNamespace": "",
4
3
"references": [
5
- "Unity.Multiplayer.MLAPI.Runtime",
6
- "Unity.Multiplayer.MLAPI.RuntimeTests",
7
4
"TestProject.ManualTests",
8
- "UnityEngine.TestRunner ",
9
- "UnityEditor.TestRunner "
5
+ "Unity.Multiplayer.MLAPI.Runtime ",
6
+ "Unity.Multiplayer.MLAPI.RuntimeTests "
10
7
],
11
- "includePlatforms": [],
12
- "excludePlatforms": [],
13
- "allowUnsafeCode": false,
14
- "overrideReferences": true,
15
- "precompiledReferences": [
16
- "nunit.framework.dll"
8
+ "optionalUnityReferences": [
9
+ "TestAssemblies"
17
10
],
18
- "autoReferenced": false,
19
11
"defineConstraints": [
20
12
"UNITY_INCLUDE_TESTS",
21
13
"UNITY_EDITOR"
22
- ],
23
- "versionDefines": [],
24
- "noEngineReferences": false
14
+ ]
25
15
}
You can’t perform that action at this time.
0 commit comments