Merge remote-tracking branch 'kawa/main'
This commit is contained in:
@@ -28,4 +28,21 @@ public class StorageServiceTests
|
||||
var node = new StorageNode { TotalSizeBytes = 5000L, FileStreamSizeBytes = 3000L };
|
||||
Assert.Equal(2000L, node.VersionSizeBytes);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void StorageNode_DefaultKind_IsLibrary()
|
||||
{
|
||||
var node = new StorageNode();
|
||||
Assert.Equal(StorageNodeKind.Library, node.Kind);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void StorageScanOptions_DefaultIncludeFlags_AreAllTrue()
|
||||
{
|
||||
var opts = new StorageScanOptions();
|
||||
Assert.True(opts.IncludeHiddenLibraries);
|
||||
Assert.True(opts.IncludePreservationHold);
|
||||
Assert.True(opts.IncludeListAttachments);
|
||||
Assert.True(opts.IncludeRecycleBin);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user