Skip to content

Commit

Permalink
Use static abstracts instead of partial + containing class to define …
Browse files Browse the repository at this point in the history
…a solid contract to simplify authoring our custom type marshalling tests (#76479)
  • Loading branch information
jkoritzinsky authored Oct 7, 2022
1 parent e53a3d9 commit 22b04df
Show file tree
Hide file tree
Showing 18 changed files with 1,381 additions and 1,331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System;
using Xunit;
using LibraryImportGenerator.UnitTests;
using Microsoft.Interop.UnitTests;

namespace JSImportGenerator.Unit.Tests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
using LibraryImportGenerator.UnitTests;
using Microsoft.Interop.UnitTests;
using System.Linq;

namespace JSImportGenerator.Unit.Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="$(CommonTestPath)SourceGenerators\LiveReferencePack.cs" Link="Common\SourceGenerators\LiveReferencePack.cs" />
<Compile Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\tests\LibraryImportGenerator.UnitTests\TestUtils.cs" Link="LibraryImportGenerator\TestUtils.cs" />
<Compile Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\tests\Common\TestUtils.cs" Link="Common\TestUtils.cs" />
<Compile Include="CodeSnippets.cs" />
<Compile Include="Fails.cs" />
<Compile Include="Compiles.cs" />
Expand All @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="$(CompilerPlatformTestingVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit" Version="$(CompilerPlatformTestingVersion)" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\tests\Ancillary.Interop\Ancillary.Interop.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\tests\Ancillary.Interop\Ancillary.Interop.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj" />
<None Include="$(RepoRoot)/NuGet.config" Link="NuGet.config" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 22b04df

Please sign in to comment.