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