Class BlobAchievementScreenshotStoreTests
Pins what the blob-backed screenshot store guarantees the unlock path: a key that reads back
the exact bytes, a reset that clears one player without touching another, no orphaned PNG a
reset cannot find, and a store failure that costs the screenshot rather than the unlock.
Inheritance
BlobAchievementScreenshotStoreTests
Assembly: Tests.dll
Syntax
public class BlobAchievementScreenshotStoreTests
Constructors
BlobAchievementScreenshotStoreTests()
Declaration
public BlobAchievementScreenshotStoreTests()
Methods
DeleteAllAsync_IndexNamingAnotherPlayersKey_DoesNotFollowIt()
Declaration
public Task DeleteAllAsync_IndexNamingAnotherPlayersKey_DoesNotFollowIt()
Returns
Declaration
public Task DeleteAllAsync_LeavesAnotherPlayersScreenshotsAlone()
Returns
DeleteAllAsync_OneDeleteThrows_StillClearsEverythingElse()
Declaration
public Task DeleteAllAsync_OneDeleteThrows_StillClearsEverythingElse()
Returns
DeleteAllAsync_RemovesEveryScreenshotAndTheIndexItself()
Declaration
public Task DeleteAllAsync_RemovesEveryScreenshotAndTheIndexItself()
Returns
DeleteAllAsync_ThrowingBlobStore_DoesNotAbortTheReset()
Declaration
public void DeleteAllAsync_ThrowingBlobStore_DoesNotAbortTheReset()
DeleteAllAsync_WithNothingStored_Succeeds()
Declaration
public Task DeleteAllAsync_WithNothingStored_Succeeds()
Returns
SaveAsync_BlobStoreArrivesLate_StartsStoringOnceItDoes()
Declaration
public Task SaveAsync_BlobStoreArrivesLate_StartsStoringOnceItDoes()
Returns
SaveAsync_PngWriteFails_LeavesNoIndexEntryPointingAtNothing()
Declaration
public Task SaveAsync_PngWriteFails_LeavesNoIndexEntryPointingAtNothing()
Returns
SaveAsync_ReturnsTheRelativeKeyAndWritesUnderTheRootDirectory()
Declaration
public Task SaveAsync_ReturnsTheRelativeKeyAndWritesUnderTheRootDirectory()
Returns
SaveAsync_SameAchievementTwice_KeepsOneIndexEntry()
Declaration
public Task SaveAsync_SameAchievementTwice_KeepsOneIndexEntry()
Returns
SaveAsync_ThenRead_HandsBackTheExactBytes()
Declaration
public Task SaveAsync_ThenRead_HandsBackTheExactBytes()
Returns
SaveAsync_ThrowingBlobStore_ReportsNoKeyInsteadOfFailingTheUnlock()
Declaration
public Task SaveAsync_ThrowingBlobStore_ReportsNoKeyInsteadOfFailingTheUnlock()
Returns
SaveAsync_TwoAchievementsConcurrently_LeavesBothInTheIndex()
Declaration
public Task SaveAsync_TwoAchievementsConcurrently_LeavesBothInTheIndex()
Returns
SaveAsync_WithNoBytes_StoresNothingAndReportsNoKey()
Declaration
public Task SaveAsync_WithNoBytes_StoresNothingAndReportsNoKey()
Returns
SetUp()
Declaration
TryReadAsync_KeyThisModuleDidNotWrite_IsRefusedWithoutTouchingTheStore(string)
Declaration
public Task TryReadAsync_KeyThisModuleDidNotWrite_IsRefusedWithoutTouchingTheStore(string storageKey)
Parameters
| Type |
Name |
Description |
| string |
storageKey |
|
Returns
TryReadAsync_ThrowingBlobStore_ReportsNoBytes()
Declaration
public Task TryReadAsync_ThrowingBlobStore_ReportsNoBytes()
Returns
TryReadAsync_UnknownKey_ReportsNoBytes()
Declaration
public Task TryReadAsync_UnknownKey_ReportsNoBytes()
Returns