mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 21:27:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
@@ -110,7 +110,7 @@ public sealed class MailFolderPickerTests
|
||||
|
||||
private static TreeItemData<string> BuildRoot(params MailServerFolder[] folders) => MailFolderPicker.BuildTree(folders, string.Empty, WHOLE_MAILBOX).Single();
|
||||
|
||||
private static IEnumerable<string?> ValuesOf(TreeItemData<string> item) => item.Children?.Select(child => child.Value) ?? [];
|
||||
private static IEnumerable<string?> ValuesOf(ITreeItemData<string> item) => item.Children?.Select(child => child.Value) ?? [];
|
||||
|
||||
private static TreeItemData<string> Child(TreeItemData<string> item, string fullName) => item.Children!.Single(child => child.Value == fullName);
|
||||
private static ITreeItemData<string> Child(ITreeItemData<string> item, string fullName) => item.Children!.Single(child => child.Value == fullName);
|
||||
}
|
||||
@@ -73,7 +73,7 @@ public sealed class FileExportNotificationsTests
|
||||
|
||||
[TestCase(false, ExpectedResult = true)]
|
||||
[TestCase(true, ExpectedResult = false)]
|
||||
public bool TheSuccessWaitsForTheUserUnlessTheyChoseOtherwise(bool closesAutomatically)
|
||||
public bool? TheSuccessWaitsForTheUserUnlessTheyChoseOtherwise(bool closesAutomatically)
|
||||
{
|
||||
var snackbar = new RecordingSnackbar();
|
||||
new FileExportNotifications(snackbar).ShowSuccess(SUCCESS, closesAutomatically);
|
||||
@@ -89,7 +89,7 @@ public sealed class FileExportNotificationsTests
|
||||
{
|
||||
public List<string> Calls { get; } = [];
|
||||
|
||||
public List<bool> RequiresInteraction { get; } = [];
|
||||
public List<bool?> RequiresInteraction { get; } = [];
|
||||
|
||||
public SnackbarConfiguration Configuration { get; } = new();
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ public sealed class DependentFieldValidationTests
|
||||
|
||||
public List<string> ValidationErrors { get; set; } = [];
|
||||
|
||||
public Task Validate()
|
||||
public Task ValidateAsync()
|
||||
{
|
||||
this.ValidationCount++;
|
||||
return Task.CompletedTask;
|
||||
@@ -92,8 +92,6 @@ public sealed class DependentFieldValidationTests
|
||||
|
||||
public Task ResetAsync() => Task.CompletedTask;
|
||||
|
||||
public void ResetValidation()
|
||||
{
|
||||
}
|
||||
public Task ResetValidationAsync() => Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user