Add queued FFmpeg conversion and finish splitting the window from the host.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
using Explorer.Analysis;
|
||||
using Explorer.Application;
|
||||
using Explorer.Contracts;
|
||||
using Explorer.Domain;
|
||||
using Explorer.Domain.Abstractions;
|
||||
using Explorer.Hosting;
|
||||
using Explorer.Indexing;
|
||||
using Explorer.Plugin.Abstractions;
|
||||
using Explorer.Search;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
@@ -26,6 +31,10 @@ public class CoreRegistrationTests
|
||||
Assert.NotNull(sp.GetService<ITransferHost>());
|
||||
Assert.NotNull(sp.GetService<IIndexMutations>());
|
||||
Assert.Null(sp.GetService<IOsClipboard>());
|
||||
Assert.NotNull(sp.GetService<FilesystemScanner>());
|
||||
Assert.NotEmpty(sp.GetServices<IStorageProvider>());
|
||||
Assert.NotNull(sp.GetService<ICloudOverlay>());
|
||||
Assert.IsType<StorageProviderRegistry>(sp.GetService<ICloudOverlay>());
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -52,9 +61,22 @@ public class CoreRegistrationTests
|
||||
Assert.Same(workbench.Sources, sp.GetService<ISourceHost>());
|
||||
Assert.Same(workbench.Mutations, sp.GetService<IIndexMutations>());
|
||||
Assert.False(sp.GetRequiredService<IIndexStore>().CanWrite);
|
||||
Assert.NotNull(sp.GetService<BrowseService>());
|
||||
Assert.NotNull(sp.GetService<SearchService>());
|
||||
Assert.NotNull(sp.GetService<AnalysisService>());
|
||||
Assert.NotNull(sp.GetService<Explorer.FileOperations.FileOperationService>());
|
||||
Assert.NotNull(sp.GetService<Explorer.FileOperations.FolderSyncService>());
|
||||
Assert.Same(NullCloudOverlay.Instance, sp.GetService<ICloudOverlay>());
|
||||
Assert.Null(sp.GetService<FilesystemScanner>());
|
||||
Assert.Null(sp.GetService<FolderReconciler>());
|
||||
Assert.Null(sp.GetService<UsnChangeApplier>());
|
||||
Assert.Null(sp.GetService<ArchiveContentsIndexer>());
|
||||
Assert.Null(sp.GetService<IUsnJournal>());
|
||||
Assert.Null(sp.GetService<IElevatedScanService>());
|
||||
Assert.Empty(sp.GetServices<IStorageProvider>());
|
||||
var hosted = sp.GetServices<IHostedService>().ToList();
|
||||
Assert.Contains(hosted, s => s is IndexStoreLifetime);
|
||||
Assert.DoesNotContain(hosted, s => s.GetType().Name is "IndexingCoordinator" or "TransferQueue" or "WatcherHostedService");
|
||||
Assert.DoesNotContain(hosted, s => s.GetType().Name is "IndexingCoordinator" or "TransferQueue" or "WatcherHostedService" or "DuplicateHashWorker" or "HistoryRollupService");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user