C# Class BloomTests.Book.BookStorageTests

Show file Open project: BloomBooks/BloomDesktop

Private Methods

Method Description
BringBookUpToDate_ConvertsTagsToJsonWithExpectedDefaults ( ) : void
BringBookUpToDate_MigratesReaderToolsAvailableToToolboxIsOpen ( ) : void
ChangeNameAndCheck ( Palaso.TestUtilities.TemporaryFolder newFolder, BookStorage storage ) : void
CleanupUnusedImageFiles_BookHadUnusedImages_ImagesRemoved ( ) : void
CleanupUnusedImageFiles_ImageHasQuery_ImagesNotRemoved ( ) : void
CleanupUnusedImageFiles_ImageOnlyReferencedInDataDiv_ImageNotRemoved ( ) : void
CleanupUnusedImageFiles_ThumbnailsAndPlaceholdersNotRemoved ( ) : void
CleanupUnusedImageFiles_UnusedImageIsLocked_NotException ( ) : void
ConvertToNetworkPath ( string drivePath ) : string
GetInitialStorage ( ) : BookStorage
GetInitialStorageUsingUNCPath ( ) : BookStorage
GetInitialStorageWithCustomHead ( string head ) : BookStorage
GetInitialStorageWithCustomHtml ( string html ) : BookStorage
GetInitialStorageWithDifferentFileName ( string bookName ) : BookStorage
MakeSamplePngImage ( string name ) : TempFile
PathToExistingHtml_WorksWithFullHtmlName ( ) : void
Save_BookHadEditStyleSheet_NowHasPreviewAndBase ( ) : void
Save_BookHadOnlyPaperSizeStyleSheet_StillHasIt ( ) : void
Save_BookHasMissingImages_NoCrash ( ) : void
Save_HasEmptyParagraphs_RetainsEmptyParagraphs ( ) : void
Save_PathIsUNCRatherThanDriveLetter ( ) : void
Save_SetsJsonFormatVersion ( ) : void
SetBookName_EasyCase_ChangesFolderAndFileName ( ) : void
SetBookName_FolderNameWasDifferentThanFileName_ChangesFolderAndFileName ( ) : void
SetBookName_FolderWithNameAlreadyExists_AddsANumberToName ( ) : void
SetBookName_NameHasTrailingPeriods_UsesSanitizedName ( ) : void
SetBookName_NameIsNotValidFileName_UsesSanitizedName ( ) : void
SetBookName_PathIsAUNCToLocalHost_NoErrors ( ) : void
Setup ( ) : void
TearDown ( ) : void