Upgraded to .NET 10 (#1147)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-01 20:32:16 +01:00
1 parent faae2951f7
commit fc7399e81b
327 files changed
+3059 -3049

No files matched your search

@@ -37,11 +37,11 @@ public sealed class DataAppImportPermissionTests
var app = new DataApp();
SwitchOff(app, type);
Assert.Multiple(() =>
using (Assert.EnterMultipleScope())
{
foreach (var other in IMPORTABLE_TYPES)
Assert.That(app.CanImportConfigurationSnippet(other), Is.EqualTo(other != type), $"Switched off: {type}, checked: {other}");
});
}
}
[TestCase(PluginConfigurationObjectType.LLM_PROVIDER)]
@@ -57,11 +57,11 @@ public sealed class DataAppImportPermissionTests
AllowUserToAddTranscriptionProvider = type is not PluginConfigurationObjectType.TRANSCRIPTION_PROVIDER,
};
Assert.Multiple(() =>
using (Assert.EnterMultipleScope())
{
Assert.That(withoutAnyProvider.CanImportConfigurationSnippet(type), Is.False, "No provider may be added at all.");
Assert.That(withoutThisProvider.CanImportConfigurationSnippet(type), Is.False, "This type of provider may not be added.");
});
}
}
[Test]
@@ -75,13 +75,13 @@ public sealed class DataAppImportPermissionTests
AllowUserToAddTranscriptionProvider = false,
};
Assert.Multiple(() =>
using (Assert.EnterMultipleScope())
{
Assert.That(app.CanImportConfigurationSnippet(PluginConfigurationObjectType.PROFILE), Is.True);
Assert.That(app.CanImportConfigurationSnippet(PluginConfigurationObjectType.CHAT_TEMPLATE), Is.True);
Assert.That(app.CanImportConfigurationSnippet(PluginConfigurationObjectType.DATA_SOURCE), Is.True);
Assert.That(app.CanImportConfigurationSnippet(PluginConfigurationObjectType.DOCUMENT_ANALYSIS_POLICY), Is.True);
});
}
}
[TestCase(PluginConfigurationObjectType.NONE)]