+
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
**/Generated/*

#.vscode/
global.json
coverage.*
*.Generated.cs

Expand Down
3 changes: 0 additions & 3 deletions properties/GirCore.Testing.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

<ItemGroup>
<PackageReference Include="AwesomeAssertions" Version="9.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.8.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.8.3" />
<PackageReference Include="coverlet.collector" Version="6.0.4" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>

<RootNamespace>DiagnosticAnalyzerTestProject</RootNamespace>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Libs/Cairo-1.0.Tests/Cairo-1.0.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>Cairo.Tests</RootNamespace>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Libs/GLib-2.0.Tests/GLib-2.0.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>GLib.Tests</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>GObject.Integration.Tests</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Extensions\GObject-2.0.Integration\GObject-2.0.Integration.csproj" />
<ProjectReference Include="..\..\Data\DiagnosticAnalyzerTestProject\DiagnosticAnalyzerTestProject.csproj" />

<PackageReference Include="Buildalyzer" Version="7.1.0" />
<PackageReference Include="Buildalyzer.Workspaces" Version="7.1.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Libs/GObject-2.0.Tests/GObject-2.0.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>GObject.Tests</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Libs/Gio-2.0.Tests/Gio-2.0.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>Gio.Tests</RootNamespace>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Libs/GirTest-0.1.Tests/GirTest-0.1.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>GirTest.Tests</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
4 changes: 2 additions & 2 deletions src/Tests/Libs/Gtk-4.0.Tests/Gtk-4.0.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<RootNamespace>Gtk.Tests</RootNamespace>
</PropertyGroup>
Expand All @@ -8,7 +8,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Libs\Gtk-4.0\Gtk-4.0.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Shared/PlatformConditionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override bool ShouldRun
}
}

public override string IgnoreMessage { get; }
public override string? IgnoreMessage { get; set; }

public override string GroupName => nameof(PlatformConditionAttribute);
}
5 changes: 5 additions & 0 deletions src/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"msbuild-sdks": {
"MSTest.Sdk": "3.10.1"
}
}
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载