Initial commit

This commit is contained in:
2025-11-15 20:06:01 -05:00
commit 6d50386eba
24 changed files with 1192 additions and 0 deletions

1
Test/MSTestSettings.cs Normal file
View File

@@ -0,0 +1 @@
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]

22
Test/Test.csproj Normal file
View File

@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSTest" Version="4.0.0-preview.25465.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Library\MinifluxClient.csproj" />
</ItemGroup>
<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>
</Project>

22
Test/Test1.cs Normal file
View File

@@ -0,0 +1,22 @@
using ChrisKaczor.MinifluxClient;
namespace Test;
[TestClass]
public sealed class Test
{
[TestMethod]
public async Task TestMethod1()
{
var client = new MinifluxClient("", "");
var categories = await client.GetCategories();
var feeds = await client.GetFeeds();
foreach (var feed in feeds)
{
var feedEntries = await client.GetFeedEntries(feed.Id, SortField.PublishedAt, SortDirection.Descending);
}
}
}