mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Covers the SSD content setting with tests
Adds domain, mapping, endpoint, persistence, discovery, and hashing coverage, including parallel and sequential read behavior.
This commit is contained in:
1 parent
fc800afe03
commit
45c1d1bd44
21 files changed
+354
-22
No files matched your search
+6
@@ -56,6 +56,7 @@ public class LibraryTests
|
||||
canDownloadMetadataFromWeb: false,
|
||||
shouldSaveMetadataInMediaDirectories: true,
|
||||
shouldSkipUnchangedDirectoriesDuringScan: true,
|
||||
isContentOnSsd: true,
|
||||
consumptionSettings,
|
||||
LibraryPathTemplate.Empty(),
|
||||
scanIds);
|
||||
@@ -73,6 +74,7 @@ public class LibraryTests
|
||||
Assert.False(result.Value.CanDownloadMetadataFromWeb);
|
||||
Assert.True(result.Value.ShouldSaveMetadataInMediaDirectories);
|
||||
Assert.True(result.Value.ShouldSkipUnchangedDirectoriesDuringScan);
|
||||
Assert.True(result.Value.IsContentOnSsd);
|
||||
Assert.Equal(consumptionSettings, result.Value.ConsumptionSettings);
|
||||
Assert.Equal(scanIds, result.Value.ScanIds);
|
||||
}
|
||||
@@ -97,6 +99,7 @@ public class LibraryTests
|
||||
canDownloadMetadataFromWeb: true,
|
||||
shouldSaveMetadataInMediaDirectories: false,
|
||||
shouldSkipUnchangedDirectoriesDuringScan: false,
|
||||
isContentOnSsd: false,
|
||||
_libraryConsumptionSettingsFixture.Create(),
|
||||
LibraryPathTemplate.Empty(),
|
||||
scanIds);
|
||||
@@ -125,6 +128,7 @@ public class LibraryTests
|
||||
canDownloadMetadataFromWeb: true,
|
||||
shouldSaveMetadataInMediaDirectories: false,
|
||||
shouldSkipUnchangedDirectoriesDuringScan: false,
|
||||
isContentOnSsd: false,
|
||||
_libraryConsumptionSettingsFixture.Create(),
|
||||
LibraryPathTemplate.Empty(),
|
||||
[]);
|
||||
@@ -162,6 +166,7 @@ public class LibraryTests
|
||||
canDownloadMetadataFromWeb: true,
|
||||
shouldSaveMetadataInMediaDirectories: false,
|
||||
shouldSkipUnchangedDirectoriesDuringScan: false,
|
||||
isContentOnSsd: false,
|
||||
_libraryConsumptionSettingsFixture.Create(),
|
||||
LibraryPathTemplate.Empty(),
|
||||
[]);
|
||||
@@ -191,6 +196,7 @@ public class LibraryTests
|
||||
canDownloadMetadataFromWeb: true,
|
||||
shouldSaveMetadataInMediaDirectories: false,
|
||||
shouldSkipUnchangedDirectoriesDuringScan: false,
|
||||
isContentOnSsd: false,
|
||||
_libraryConsumptionSettingsFixture.Create(),
|
||||
LibraryPathTemplate.Empty(),
|
||||
[]);
|
||||
|
||||
Reference in new issue
Block a user