unit test fixes
This commit is contained in:
@@ -245,6 +245,8 @@ namespace Cabrito
|
||||
var rootlocation = rootControl.Control.Location;
|
||||
rootlocation.Y = -rootControl.Control.Height;
|
||||
rootControl.Control.Location = rootlocation;
|
||||
|
||||
Console.Print("Renderer: " + GPUDevice.Instance.RendererType);
|
||||
}
|
||||
|
||||
private void OnSendLog(LogType level, string msg, FlaxEngine.Object obj, string stackTrace)
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace Cabrito
|
||||
[ConsoleSubsystemInitializer]
|
||||
public static void Initialize()
|
||||
{
|
||||
Console.Print("Renderer: " + GPUDevice.Instance.RendererType);
|
||||
}
|
||||
|
||||
[ConsoleCommand("quit", "exit")]
|
||||
|
||||
@@ -26,7 +26,6 @@ public class GoakeTestsTarget : Target
|
||||
TargetConfiguration.Debug,
|
||||
TargetConfiguration.Release,
|
||||
};*/
|
||||
Modules.Add("Game");
|
||||
|
||||
CustomExternalProjectFilePath = System.IO.Path.Combine("Tests/GoakeTests.csproj");
|
||||
}
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
<TargetFrameworks>net48;net5.0;net5.0-windows;net6.0;net6.0-windows</TargetFrameworks>
|
||||
|
||||
<IsPublishable>False</IsPublishable>
|
||||
|
||||
<Configurations>Editor.Windows.Development;Game.Windows.Development</Configurations>
|
||||
|
||||
<Platforms>AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
|
||||
@@ -25,6 +29,10 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Game.Windows.Development' ">
|
||||
<Optimize>true</Optimize>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
|
||||
<PackageReference Include="NUnit" Version="3.13.1" />
|
||||
|
||||
Reference in New Issue
Block a user