Skip to content

Commit 1cd9f8e

Browse files
committed
Fix warnings.
1 parent 021b94f commit 1cd9f8e

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using NUnit.Framework;
4+
using UnityEngine;
5+
using UnityEngine.TestTools;
6+
7+
namespace Gameframe.ScriptableObjects.Tests.Editor
8+
{
9+
public class ScriptableObjectsEditorTests
10+
{
11+
// A Test behaves as an ordinary method
12+
[Test]
13+
public void ScriptableObjectsEditorTestsSimplePasses()
14+
{
15+
// Use the Assert class to test conditions
16+
}
17+
18+
// A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use
19+
// `yield return null;` to skip a frame.
20+
[UnityTest]
21+
public IEnumerator ScriptableObjectsEditorTestsWithEnumeratorPasses()
22+
{
23+
// Use the Assert class to test conditions.
24+
// Use yield to skip a frame.
25+
yield return null;
26+
}
27+
}
28+
}

Tests/Editor/ScriptableObjectsEditorTests.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using NUnit.Framework;
4+
using UnityEngine;
5+
using UnityEngine.TestTools;
6+
7+
namespace Gameframe.ScriptableObjects.Test.Runtime
8+
{
9+
public class ScriptableObjectsRuntimeTests
10+
{
11+
// A Test behaves as an ordinary method
12+
[Test]
13+
public void ScriptableObjectsRuntimeTestsSimplePasses()
14+
{
15+
// Use the Assert class to test conditions
16+
}
17+
18+
// A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use
19+
// `yield return null;` to skip a frame.
20+
[UnityTest]
21+
public IEnumerator ScriptableObjectsRuntimeTestsWithEnumeratorPasses()
22+
{
23+
// Use the Assert class to test conditions.
24+
// Use yield to skip a frame.
25+
yield return null;
26+
}
27+
}
28+
}

Tests/Runtime/ScriptableObjectsRuntimeTests.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)