Browse Source

Remove tests again

Nick Steyer 1 year ago
parent
commit
f11c70907a

+ 0 - 8
Assets/Tests.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 07bb149fcc0db2941aefb63b2edc007b
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 25
Assets/Tests/CalibrationTests.cs

@@ -1,25 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using NUnit.Framework;
-using UnityEngine;
-using UnityEngine.TestTools;
-
-public class CalibrationTests
-{
-    // A Test behaves as an ordinary method
-    [Test]
-    public void CalibrationTestsSimplePasses()
-    {
-        // Use the Assert class to test conditions
-    }
-
-    // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use
-    // `yield return null;` to skip a frame.
-    [UnityTest]
-    public IEnumerator CalibrationTestsWithEnumeratorPasses()
-    {
-        // Use the Assert class to test conditions.
-        // Use yield to skip a frame.
-        yield return null;
-    }
-}

+ 0 - 11
Assets/Tests/CalibrationTests.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d5f20f4cc6cafb842bd3dcdea02cb4f5
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 6
Assets/Tests/PlayModeTests.asmdef

@@ -1,6 +0,0 @@
-{
-    "name": "PlayModeTests",
-    "optionalUnityReferences": [
-        "TestAssemblies"
-    ]
-}

+ 0 - 7
Assets/Tests/PlayModeTests.asmdef.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 78534f60b730c6b4a904ab96f253125f
-AssemblyDefinitionImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 8 - 3
PlayModeTests.csproj

@@ -8,7 +8,8 @@
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProductVersion>10.0.20506</ProductVersion>
     <SchemaVersion>2.0</SchemaVersion>
-    <RootNamespace></RootNamespace>
+    <RootNamespace>
+    </RootNamespace>
     <ProjectGuid>{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
@@ -56,7 +57,7 @@
     <Analyzer Include="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity\Analyzers\Microsoft.Unity.Analyzers.dll" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Assets\Tests\CalibrationTests.cs" />
+    <Compile Include="Assets\Tests\PositionCalculatorTest.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Assets\Tests\PlayModeTests.asmdef" />
@@ -688,6 +689,10 @@
     </Reference>
   </ItemGroup>
   <ItemGroup>
+    <ProjectReference Include="Assembly-CSharp.csproj">
+      <Project>{4322513C-6AC2-9058-38C0-BCFE306751F6}</Project>
+      <Name>Assembly-CSharp</Name>
+    </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Target Name="GenerateTargetFrameworkMonikerAttribute" />
@@ -698,4 +703,4 @@
   <Target Name="AfterBuild">
   </Target>
   -->
-</Project>
+</Project>

+ 0 - 6
StreetLight.sln

@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio 15
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{4322513C-6AC2-9058-38C0-BCFE306751F6}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PlayModeTests", "PlayModeTests.csproj", "{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}"
-EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{57A9987F-10C0-670B-4F17-846D17D9B4EE}"
 EndProject
 Global
@@ -17,10 +15,6 @@ Global
 		{4322513C-6AC2-9058-38C0-BCFE306751F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{4322513C-6AC2-9058-38C0-BCFE306751F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{4322513C-6AC2-9058-38C0-BCFE306751F6}.Release|Any CPU.Build.0 = Release|Any CPU
-		{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{09D5F060-7DCD-43E7-1F1D-49A2AAE89C7C}.Release|Any CPU.Build.0 = Release|Any CPU
 		{57A9987F-10C0-670B-4F17-846D17D9B4EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{57A9987F-10C0-670B-4F17-846D17D9B4EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{57A9987F-10C0-670B-4F17-846D17D9B4EE}.Release|Any CPU.ActiveCfg = Release|Any CPU