Skip to content

Commit 32d240b

Browse files
committed
Install NSubstitute NuGet package v5.3.0
1 parent d72a228 commit 32d240b

File tree

3 files changed

+72
-2
lines changed

3 files changed

+72
-2
lines changed

Assets/TestDoubleExample/Tests/Runtime/TestDoubleExample.Tests.asmdef

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
"references": [
55
"UnityEngine.TestRunner",
66
"UnityEditor.TestRunner",
7-
"TestDoubleExample"
7+
"TestDoubleExample",
8+
"NSubstitute.Analyzers.CSharp_Unity"
89
],
910
"includePlatforms": [],
1011
"excludePlatforms": [],
1112
"allowUnsafeCode": false,
1213
"overrideReferences": true,
1314
"precompiledReferences": [
14-
"nunit.framework.dll"
15+
"nunit.framework.dll",
16+
"NSubstitute.dll"
1517
],
1618
"autoReferenced": false,
1719
"defineConstraints": [

Packages/manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"com.unity.testtools.codecoverage": "1.2.6",
1818
"com.unity.timeline": "1.8.7",
1919
"com.unity.ugui": "2.0.0",
20+
"org.nuget.nsubstitute": "5.3.0",
21+
"org.nuget.nsubstitute.analyzers.csharp": "1.0.17",
2022
"com.unity.modules.accessibility": "1.0.0",
2123
"com.unity.modules.ai": "1.0.0",
2224
"com.unity.modules.androidjni": "1.0.0",

Packages/packages-lock.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,72 @@
168168
"com.unity.modules.imgui": "1.0.0"
169169
}
170170
},
171+
"org.nuget.castle.core": {
172+
"version": "5.1.1",
173+
"depth": 1,
174+
"source": "registry",
175+
"dependencies": {
176+
"org.nuget.system.diagnostics.eventlog": "4.7.0",
177+
"org.nuget.system.reflection.emit": "4.7.0"
178+
},
179+
"url": "https://package.openupm.com"
180+
},
181+
"org.nuget.nsubstitute": {
182+
"version": "5.3.0",
183+
"depth": 0,
184+
"source": "registry",
185+
"dependencies": {
186+
"org.nuget.castle.core": "5.1.1",
187+
"org.nuget.system.threading.tasks.extensions": "4.4.0"
188+
},
189+
"url": "https://package.openupm.com"
190+
},
191+
"org.nuget.nsubstitute.analyzers.csharp": {
192+
"version": "1.0.17",
193+
"depth": 0,
194+
"source": "registry",
195+
"dependencies": {},
196+
"url": "https://package.openupm.com"
197+
},
198+
"org.nuget.system.diagnostics.eventlog": {
199+
"version": "4.7.0",
200+
"depth": 2,
201+
"source": "registry",
202+
"dependencies": {
203+
"org.nuget.system.security.principal.windows": "4.7.0"
204+
},
205+
"url": "https://package.openupm.com"
206+
},
207+
"org.nuget.system.reflection.emit": {
208+
"version": "4.7.0",
209+
"depth": 2,
210+
"source": "registry",
211+
"dependencies": {
212+
"org.nuget.system.reflection.emit.ilgeneration": "4.7.0"
213+
},
214+
"url": "https://package.openupm.com"
215+
},
216+
"org.nuget.system.reflection.emit.ilgeneration": {
217+
"version": "4.7.0",
218+
"depth": 3,
219+
"source": "registry",
220+
"dependencies": {},
221+
"url": "https://package.openupm.com"
222+
},
223+
"org.nuget.system.security.principal.windows": {
224+
"version": "4.7.0",
225+
"depth": 3,
226+
"source": "registry",
227+
"dependencies": {},
228+
"url": "https://package.openupm.com"
229+
},
230+
"org.nuget.system.threading.tasks.extensions": {
231+
"version": "4.4.0",
232+
"depth": 1,
233+
"source": "registry",
234+
"dependencies": {},
235+
"url": "https://package.openupm.com"
236+
},
171237
"com.unity.modules.accessibility": {
172238
"version": "1.0.0",
173239
"depth": 0,

0 commit comments

Comments
 (0)