77 lines
1.9 KiB
C#
77 lines
1.9 KiB
C#
|
|
// This file is auto-generated by alef — DO NOT EDIT.
|
||
|
|
// alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||
|
|
// To regenerate: alef generate
|
||
|
|
// To verify freshness: alef verify --exit-code
|
||
|
|
// Issues & docs: https://github.com/kreuzberg-dev/alef
|
||
|
|
|
||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Net.Http;
|
||
|
|
using System.Text;
|
||
|
|
using System.Text.Json;
|
||
|
|
using System.Text.Json.Serialization;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using Xunit;
|
||
|
|
using Kreuzberg;
|
||
|
|
using static Kreuzberg.KreuzbergLib;
|
||
|
|
|
||
|
|
namespace Kreuzberg
|
||
|
|
{
|
||
|
|
/// <summary>E2e tests for category: registry.</summary>
|
||
|
|
public class RegistryTests
|
||
|
|
{
|
||
|
|
private static readonly JsonSerializerOptions ConfigOptions = new() { Converters = { new JsonStringEnumConverter(JsonNamingPolicy.SnakeCaseLower) }, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault };
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListDocumentExtractors()
|
||
|
|
{
|
||
|
|
// List document extractors
|
||
|
|
var result = KreuzbergLib.ListDocumentExtractors();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListEmbeddingBackends()
|
||
|
|
{
|
||
|
|
// List embedding backends
|
||
|
|
var result = KreuzbergLib.ListEmbeddingBackends();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListOcrBackends()
|
||
|
|
{
|
||
|
|
// List OCR backends
|
||
|
|
var result = KreuzbergLib.ListOcrBackends();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListPostProcessors()
|
||
|
|
{
|
||
|
|
// List post-processors
|
||
|
|
var result = KreuzbergLib.ListPostProcessors();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListRenderers()
|
||
|
|
{
|
||
|
|
// List renderers
|
||
|
|
var result = KreuzbergLib.ListRenderers();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
[Fact]
|
||
|
|
public void Test_ListValidators()
|
||
|
|
{
|
||
|
|
// List validators
|
||
|
|
var result = KreuzbergLib.ListValidators();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|