Skip to content

Commit 431e921

Browse files
committed
Merge TestDoubleExample assemblies
1 parent 15c9235 commit 431e921

10 files changed

+9
-49
lines changed

Assets/TestDoubleExample/Tests/Runtime.UsingNSubstitute.meta

-8
This file was deleted.

Assets/TestDoubleExample/Tests/Runtime.UsingNSubstitute/Janken.meta

-3
This file was deleted.

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

-26
This file was deleted.

Assets/TestDoubleExample/Tests/Runtime.UsingNSubstitute/TestDoubleExample.UsingNSubstitute.Tests.asmdef.meta

-7
This file was deleted.

Assets/TestDoubleExample/Tests/Runtime.UsingNSubstitute/Janken/JankenTest.cs renamed to Assets/TestDoubleExample/Tests/Runtime/Janken/JankenTestNSubstitute.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021-2022 Koji Hasegawa.
1+
// Copyright (c) 2021-2023 Koji Hasegawa.
22
// This software is released under the MIT License.
33

44
using NSubstitute;
@@ -9,7 +9,7 @@ namespace TestDoubleExample.Janken
99
/// <summary>
1010
/// NSubstituteの使用例
1111
/// </summary>
12-
public class JankenTest
12+
public class JankenTestNSubstitute
1313
{
1414
[Test]
1515
public void Pon_NSubstituteで間接入力を固定してテストする例()
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021-2022 Koji Hasegawa.
1+
// Copyright (c) 2021-2023 Koji Hasegawa.
22
// This software is released under the MIT License.
33

44
using NSubstitute;

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
"allowUnsafeCode": false,
1212
"overrideReferences": true,
1313
"precompiledReferences": [
14-
"nunit.framework.dll"
14+
"nunit.framework.dll",
15+
"NSubstitute.dll",
16+
"Castle.Core.dll",
17+
"System.Threading.Tasks.Extensions.dll"
1518
],
1619
"autoReferenced": false,
1720
"defineConstraints": [
18-
"UNITY_INCLUDE_TESTS"
21+
"UNITY_INCLUDE_TESTS",
22+
"UNITY_EDITOR"
1923
],
2024
"versionDefines": [],
2125
"noEngineReferences": false

0 commit comments

Comments
 (0)