mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:07:21 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -27,7 +27,7 @@ public sealed class QueuedStatusTests
|
||||
|
||||
var queued = DataSourceEmbeddingService.AsQueued(status, DataSource());
|
||||
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(queued.State, Is.EqualTo(DataSourceEmbeddingState.QUEUED));
|
||||
Assert.That(queued.TotalDocuments, Is.EqualTo(status.TotalDocuments));
|
||||
@@ -40,7 +40,7 @@ public sealed class QueuedStatusTests
|
||||
Assert.That(queued.FilePatternExclusions, Is.EqualTo(status.FilePatternExclusions));
|
||||
Assert.That(queued.LastError, Is.EqualTo(status.LastError), "The sentence about the data source as a whole belongs next to its failures.");
|
||||
Assert.That(queued.LastSyncUtc, Is.EqualTo(NOW));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -48,7 +48,7 @@ public sealed class QueuedStatusTests
|
||||
{
|
||||
var queued = DataSourceEmbeddingService.AsQueued(RunningStatus(), DataSource());
|
||||
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(queued.CurrentDocument, Is.Empty, "Nothing is being read while the data source waits.");
|
||||
Assert.That(queued.CurrentDocumentBlock, Is.Null);
|
||||
@@ -56,7 +56,7 @@ public sealed class QueuedStatusTests
|
||||
Assert.That(queued.Attention, Is.EqualTo(DataSourceAttention.NONE), "The next run asks the user anew when the question still applies.");
|
||||
Assert.That(queued.PendingRemovalCount, Is.Null, "The next run asks the user anew, with the number it finds then.");
|
||||
Assert.That(queued.VectorStoreUnreadable, Is.False);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user