test
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.TestTools;
|
||||
using NUnit.Framework;
|
||||
using System.Collections;
|
||||
#if ENABLE_INPUT_SYSTEM && NEW_INPUT_SYSTEM_INSTALLED
|
||||
using UnityEngine.InputSystem;
|
||||
#endif
|
||||
|
||||
// This package does not contain any runtim components, therefore
|
||||
// this test is only a placeholder.
|
||||
|
||||
|
||||
[TestFixture]
|
||||
class RuntimeExampleTest {
|
||||
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
{
|
||||
#if ENABLE_INPUT_SYSTEM && NEW_INPUT_SYSTEM_INSTALLED
|
||||
if (Keyboard.current == null)
|
||||
{
|
||||
InputSystem.AddDevice<Keyboard>();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void PlayModeSampleTestSimplePasses()
|
||||
{
|
||||
// Use the Assert class to test conditions.
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7456ea4ba2dcd48d3909b82e610f2048
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "Unity.Multiplayer.Center.Tests",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"UnityEngine.TestRunner",
|
||||
"UnityEditor.TestRunner",
|
||||
"Unity.InputSystem"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": true,
|
||||
"precompiledReferences": [
|
||||
"nunit.framework.dll"
|
||||
],
|
||||
"autoReferenced": false,
|
||||
"defineConstraints": [
|
||||
"UNITY_INCLUDE_TESTS"
|
||||
],
|
||||
"versionDefines": [
|
||||
{
|
||||
"name": "com.unity.inputsystem",
|
||||
"expression": "1.4.0",
|
||||
"define": "NEW_INPUT_SYSTEM_INSTALLED"
|
||||
}
|
||||
],
|
||||
"noEngineReferences": false
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2664430aff4254d79887d32c3fc1e221
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user