-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify public API with PublicApiGenerator
- Loading branch information
Showing
8 changed files
with
1,865 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
461 changes: 461 additions & 0 deletions
461
SpreadCheetah.Test/Tests/PublicApiTests.PublicApi_Generate.DotNet6_0.verified.txt
Large diffs are not rendered by default.
Oops, something went wrong.
461 changes: 461 additions & 0 deletions
461
SpreadCheetah.Test/Tests/PublicApiTests.PublicApi_Generate.DotNet7_0.verified.txt
Large diffs are not rendered by default.
Oops, something went wrong.
461 changes: 461 additions & 0 deletions
461
SpreadCheetah.Test/Tests/PublicApiTests.PublicApi_Generate.DotNet8_0.verified.txt
Large diffs are not rendered by default.
Oops, something went wrong.
460 changes: 460 additions & 0 deletions
460
SpreadCheetah.Test/Tests/PublicApiTests.PublicApi_Generate.Net4_7.verified.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using PublicApiGenerator; | ||
|
||
namespace SpreadCheetah.Test.Tests; | ||
|
||
public class PublicApiTests | ||
{ | ||
[Fact] | ||
public Task PublicApi_Generate() | ||
{ | ||
// Act | ||
var publicApi = typeof(Spreadsheet).Assembly.GeneratePublicApi(); | ||
|
||
// Assert | ||
var settings = new VerifySettings(); | ||
settings.UniqueForTargetFrameworkAndVersion(); | ||
return Verify(publicApi, settings); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters