Adds deletion and restore for music library items.

This commit is contained in:
BinaryAlley committed 2026-11-15 18:53:10 +02:00
1 parent 98515dc5e8
commit f9ad8b2fc5
224 files changed
+22384 -1360

No files matched your search

@@ -260,11 +260,12 @@ public class ErrorsTests
{
// Assert
// The count assertion fails when an error is added or removed, reminding to update the assertions below.
Assert.Equal(20, typeof(DomainErrors.FileSystemManagement).GetProperties().Length);
Assert.Equal(21, typeof(DomainErrors.FileSystemManagement).GetProperties().Length);
AssertError(DomainErrors.FileSystemManagement.ParentNodeCannotBeNull, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.PathMustBeMaximum260CharactersLong, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.FileCopyError, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.FileMoveError, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.FileDeleteError, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.DirectoryCopyError, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.DirectoryMoveError, ErrorType.Failure);
AssertError(DomainErrors.FileSystemManagement.FileNotFound, ErrorType.NotFound);