Class FileStoreBehaviorTests
Additional behavioral tests for FileStore focused on observable side effects:
data routed to the file-system stream / writer, namespace normalization, and read paths.
Inheritance
FileStoreBehaviorTests
Assembly: Tests.dll
Syntax
public class FileStoreBehaviorTests
Constructors
FileStoreBehaviorTests()
Declaration
public FileStoreBehaviorTests()
Methods
AppendAsync_Memory_CreateIfMissing_EnsuresDirectoryForNestedKey()
Declaration
public Task AppendAsync_Memory_CreateIfMissing_EnsuresDirectoryForNestedKey()
Returns
AppendAsync_Memory_OpensWriterInAppendModeAndWritesData()
Declaration
public Task AppendAsync_Memory_OpensWriterInAppendModeAndWritesData()
Returns
AppendAsync_Stream_AppendsToExistingFileContents()
Declaration
public Task AppendAsync_Stream_AppendsToExistingFileContents()
Returns
Ctor_NullNamespace_DefaultsToFile()
Declaration
public void Ctor_NullNamespace_DefaultsToFile()
Ctor_WhitespaceNamespace_DefaultsToFile()
Declaration
public void Ctor_WhitespaceNamespace_DefaultsToFile()
DefaultNamespaceConstant_IsFile()
Declaration
public void DefaultNamespaceConstant_IsFile()
OpenReadAsync_ReturnsStreamOverFsContents()
Declaration
public Task OpenReadAsync_ReturnsStreamOverFsContents()
Returns
ReadBytesAsync_DefaultToken_ReturnsStoredBytes()
Declaration
public Task ReadBytesAsync_DefaultToken_ReturnsStoredBytes()
Returns
WriteAsync_Stream_NonSeekable_StillCopiesAllBytes()
Declaration
public Task WriteAsync_Stream_NonSeekable_StillCopiesAllBytes()
Returns
WriteAsync_Stream_PassesExactBytesToWriter()
Declaration
public Task WriteAsync_Stream_PassesExactBytesToWriter()
Returns
WriteBytesAsync_RoutesBytesAndKeyToWriter()
Declaration
public Task WriteBytesAsync_RoutesBytesAndKeyToWriter()
Returns