Skip to content

Commit

Permalink
Updated naming of internal methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
jscarle committed Feb 23, 2024
1 parent bba8ce0 commit 80804b9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public static void ShouldProduce(this GeneratorDriverRunResult result, string fi
if (result is null)
throw new ArgumentNullException(nameof(result));
#endif
result.ShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new AssertFailedException(message));
result.InternalShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new AssertFailedException(message));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<RootNamespace>SourceGeneratorTestHelpers.MSTest</RootNamespace>
<LangVersion>latest</LangVersion>
<Version>8.0.5</Version>
<Version>8.0.6</Version>
<Title>SourceGeneratorTestHelpers.MSTest</Title>
<Authors>Jean-Sebastien Carle</Authors>
<Description>Test helpers and extension methods to simplify testing of .NET source generators.</Description>
Expand All @@ -17,9 +17,9 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/jscarle/SourceGeneratorTestHelpers</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>testing source-generators</PackageTags>
<AssemblyVersion>8.0.5.0</AssemblyVersion>
<FileVersion>8.0.5.0</FileVersion>
<PackageTags>testing source-generators mstest</PackageTags>
<AssemblyVersion>8.0.6.0</AssemblyVersion>
<FileVersion>8.0.6.0</FileVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand All @@ -32,7 +32,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.5"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.6" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public static void ShouldProduce(this GeneratorDriverRunResult result, string fi
if (result is null)
throw new ArgumentNullException(nameof(result));
#endif
result.ShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new AssertionException(message));
result.InternalShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new AssertionException(message));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<RootNamespace>SourceGeneratorTestHelpers.NUnit</RootNamespace>
<LangVersion>latest</LangVersion>
<Version>8.0.5</Version>
<Version>8.0.6</Version>
<Title>SourceGeneratorTestHelpers.NUnit</Title>
<Authors>Jean-Sebastien Carle</Authors>
<Description>Test helpers and extension methods to simplify testing of .NET source generators.</Description>
Expand All @@ -17,9 +17,9 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/jscarle/SourceGeneratorTestHelpers</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>testing source-generators</PackageTags>
<AssemblyVersion>8.0.5.0</AssemblyVersion>
<FileVersion>8.0.5.0</FileVersion>
<PackageTags>testing source-generators nunit</PackageTags>
<AssemblyVersion>8.0.6.0</AssemblyVersion>
<FileVersion>8.0.6.0</FileVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand All @@ -32,7 +32,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.5"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.6"/>
<PackageReference Include="NUnit" Version="3.0.0"/>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public static void ShouldProduce(this GeneratorDriverRunResult result, string fi
if (result is null)
throw new ArgumentNullException(nameof(result));
#endif
result.ShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new XunitException(message));
result.InternalShouldProduce(filePathEndsWith, expectedSource, assertOnErrors, message => throw new XunitException(message));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<RootNamespace>SourceGeneratorTestHelpers.XUnit</RootNamespace>
<LangVersion>latest</LangVersion>
<Version>8.0.5</Version>
<Version>8.0.6</Version>
<Title>SourceGeneratorTestHelpers.XUnit</Title>
<Authors>Jean-Sebastien Carle</Authors>
<Description>Test helpers and extension methods to simplify testing of .NET source generators.</Description>
Expand All @@ -17,9 +17,9 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/jscarle/SourceGeneratorTestHelpers</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>testing source-generators</PackageTags>
<AssemblyVersion>8.0.5.0</AssemblyVersion>
<FileVersion>8.0.5.0</FileVersion>
<PackageTags>testing source-generators xunit</PackageTags>
<AssemblyVersion>8.0.6.0</AssemblyVersion>
<FileVersion>8.0.6.0</FileVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand All @@ -32,7 +32,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.5"/>
<PackageReference Include="SourceGeneratorTestHelpers" Version="8.0.6"/>
<PackageReference Include="xunit.assert" Version="2.0.0"/>
</ItemGroup>

Expand Down

0 comments on commit 80804b9

Please sign in to comment.