Generated the JSON contracts of the stored data at compile time (#1148)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-02 18:23:19 +01:00
1 parent fc7399e81b
commit e954881fda
75 files changed
+5437 -298

No files matched your search

+10 -1
View File
@@ -12,7 +12,16 @@ namespace AIStudio.Tests;
public sealed class TestHost
{
[OneTimeSetUp]
public void PrepareStaticApplicationState()
public void PrepareStaticApplicationState() => PrepareStaticState();
/// <summary>
/// Fills the static state of the app which the tests need.
/// </summary>
/// <remarks>
/// NUnit builds the cases of a TestCaseSource while it discovers the tests, before this fixture runs.
/// A source which touches a type of the app with a static logger calls this first.
/// </remarks>
public static void PrepareStaticState()
{
//
// A number of types in the app hold a static logger field that is initialized from