mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Adds deletion and restore for music library items.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user