Skip to content

Commit

Permalink
Coalesce smoke test samples to remove duplicated logic
Browse files Browse the repository at this point in the history
* Sample JSON is now an embedded resource
* Samples are grouped by software
* Calckey renamed to Firefish
* Serialization is also tested

Part of #58.
  • Loading branch information
warriordog committed Jul 21, 2023
1 parent 3a14a4d commit 10c2575
Show file tree
Hide file tree
Showing 9 changed files with 408 additions and 464 deletions.
5 changes: 5 additions & 0 deletions Tests/ActivityPub.Types.Tests/ActivityPub.Types.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
<ProjectReference Include="..\..\ActivityPub.Types\ActivityPub.Types.csproj" />
</ItemGroup>

<ItemGroup>
<None Remove="Smoke\Samples\**\*.jsonld" />
<EmbeddedResource Include="Smoke\Samples\**\*.jsonld" />
</ItemGroup>

</Project>
113 changes: 0 additions & 113 deletions Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs

This file was deleted.

271 changes: 0 additions & 271 deletions Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxPageTests.cs

This file was deleted.

Loading

0 comments on commit 10c2575

Please sign in to comment.