Skip to content

Commit

Permalink
Try something else + fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayKMehta committed Feb 23, 2025
1 parent 228743b commit ca228cd
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/BuilderGenerator.Tests/BuilderGenerator.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<!-- https://docs.nunit.org/articles/vs-test-adapter/NUnit-And-Microsoft-Test-Platform.html -->
<EnableNUnitRunner>true</EnableNUnitRunner>
<OutputType>Exe</OutputType>
<IsTestProject>true</IsTestProject>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
</PropertyGroup>
Expand All @@ -24,7 +23,7 @@
<PackageReference Include="NUnit" />
<PackageReference Include="Microsoft.Testing.Extensions.VSTestBridge" />
<PackageReference Include="NUnit.Analyzers" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
<PackageReference Include="ReflectionAnalyzers">
<IncludeAssets>runtime; build; native;
contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion tests/BuilderGenerator.Tests/ModuleInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace BuilderGenerator.Tests;

internal static class ModuleInitializer
public static class ModuleInitializer

Check warning on line 12 in tests/BuilderGenerator.Tests/ModuleInitializer.cs

View workflow job for this annotation

GitHub Actions / test-ubuntu-latest

Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
{
[ModuleInitializer]
public static void Init()
Expand Down
67 changes: 67 additions & 0 deletions tests/BuilderGenerator.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@
"System.Reflection.Metadata": "8.0.0"
}
},
"Microsoft.Testing.Extensions.CodeCoverage": {
"type": "Direct",
"requested": "[17.13.1, )",
"resolved": "17.13.1",
"contentHash": "Ok2HWJdOTzErMqLlWQZ/i2Fw05VWmgh1yhUWFYJAtUmCv6uJSgz/qAiriRgpTjZRWaKbb7HDaGfMgKSNcmaVfw==",
"dependencies": {
"Microsoft.DiaSymReader": "2.0.0",
"Microsoft.Extensions.DependencyModel": "6.0.1",
"Microsoft.Testing.Platform": "1.4.3",
"Newtonsoft.Json": "13.0.3",
"System.Reflection.Metadata": "8.0.0"
}
},
"Microsoft.Testing.Extensions.CrashDump": {
"type": "Direct",
"requested": "[1.6.2, )",
Expand Down Expand Up @@ -147,6 +160,23 @@
"Microsoft.Extensions.Logging.Abstractions": "6.0.4"
}
},
"Microsoft.DiaSymReader": {
"type": "Transitive",
"resolved": "2.0.0",
"contentHash": "QcZrCETsBJqy/vQpFtJc+jSXQ0K5sucQ6NUFbTNVHD4vfZZOwjZ/3sBzczkC4DityhD3AVO/+K/+9ioLs1AgRA=="
},
"Microsoft.Extensions.DependencyModel": {
"type": "Transitive",
"resolved": "6.0.1",
"contentHash": "AdvrtrqZpMgW4tIAQ/8gE1LAM/FjFY8JrFdyiolOf9WLEfN3WuFG1Hje6n0jqaOs3ldZFGWhatJQHJRrIOd++w==",
"dependencies": {
"System.Buffers": "4.5.1",
"System.Memory": "4.5.4",
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "6.0.0",
"System.Text.Json": "6.0.10"
}
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Transitive",
"resolved": "6.0.4",
Expand Down Expand Up @@ -182,11 +212,21 @@
"System.Reflection.Metadata": "1.6.0"
}
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"SimpleInfoName": {
"type": "Transitive",
"resolved": "3.1.0",
"contentHash": "j+ENh86NhxrgDc6T1ueqIR2QOdDkSJY2dbTFyPN/JvIXifB4GHAunlMw/x7P6m7XaXEHr3s+SMZfKBlmnmkO6g=="
},
"System.Buffers": {
"type": "Transitive",
"resolved": "4.5.1",
"contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg=="
},
"System.CodeDom": {
"type": "Transitive",
"resolved": "9.0.0",
Expand Down Expand Up @@ -215,6 +255,11 @@
"System.CodeDom": "9.0.0"
}
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.4",
"contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw=="
},
"System.Reflection.Metadata": {
"type": "Transitive",
"resolved": "8.0.0",
Expand All @@ -223,6 +268,28 @@
"System.Collections.Immutable": "8.0.0"
}
},
"System.Runtime.CompilerServices.Unsafe": {
"type": "Transitive",
"resolved": "6.0.0",
"contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg=="
},
"System.Text.Encodings.Web": {
"type": "Transitive",
"resolved": "6.0.0",
"contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
}
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "6.0.0"
}
},
"Verify": {
"type": "Transitive",
"resolved": "28.9.0",
Expand Down

0 comments on commit ca228cd

Please sign in to comment.