Method | Description | |
---|---|---|
Setup ( ) : void |
Method | Description | |
---|---|---|
CreateBook ( ) : |
||
MakeFakeAudio ( string path ) : void |
Method | Description | |
---|---|---|
AddFontFace_WithNullPath_AddsNothing ( ) : void | ||
AudioWithParagraphsAndRealGuids_ProducesOverlay ( ) : void | ||
BloomUi_IsRemoved ( ) : void | ||
BookWithAudio_ProducesOverlay_OmitsInvalidAttrs ( ) : void | ||
CheckBasicsInManifest ( ) : void | ||
CheckBasicsInPage ( ) : void | ||
CheckFontStylesheet ( ) : void | ||
CheckNavPage ( ) : void | ||
ConflictingIds_AreNotConfused ( ) : void | ||
CreateCommonCssFiles ( Bloom book ) : void | ||
CreateEpubMaker ( Bloom book ) : |
||
FilesThatMapToSameSafeName_AreNotConfused ( ) : void | ||
FindFontsUsedInCss_FindsQuotedFontFamily ( ) : void | ||
FindFontsUsedInCss_FindsSimpleFontFamily ( ) : void | ||
FindFontsUsedInCss_IncludeFallbackFontsFalse_FindsFirstFontInEachList ( ) : void | ||
FindFontsUsedInCss_IncludeFallbackFontsTrue_FindsMultipleFontFamilies ( ) : void | ||
GetManifestFile ( |
||
GetNamespaceManager ( ) : |
||
GetPageOneData ( ) : void | ||
GetTestFileLocator ( ) : |
||
GetTestServer ( ) : |
||
GetZipContent ( |
||
GetZipEntry ( |
||
HandlesMultiplePages ( ) : void | ||
HandlesNonRomanFileNames ( ) : void | ||
HandlesWhiteSpaceInImageNames ( ) : void | ||
IllegalIds_AreFixed ( ) : void | ||
ImageMissing_IsRemoved ( ) : void | ||
ImageSrcQuery_IsIgnored ( ) : void | ||
ImageStyles_ConvertedToPercent ( string sizeClass, double pageWidthMm ) : void | ||
ImageStyles_ConvertedToPercent_SpecialCases ( ) : void | ||
ImageStyles_PercentsAdjustForContainingPercentDivs ( ) : void | ||
InvisibleAndUnwantedContentRemoved ( ) : void | ||
MakeEpub ( string mainFileName, string folderName, Bloom book ) : |
Make an ePUB out of the specified book. Sets up several instance variables with commonly useful parts of the results.
|
|
MakeImageFiles ( Bloom book ) : void | ||
Missing_Audio_CreatedFromWav ( ) : void | ||
Missing_Audio_Ignored ( ) : void | ||
National1_InXMatter_IsNotRemoved ( ) : void | ||
OriginalAcknowledgments_InCreditsPage_InVernacular_IsRemoved ( ) : void | ||
SetupBook ( string text, string lang ) : |
||
SetupBookLong ( string text, string lang, string extraPageClass = "", string extraContent = "", string extraImages = "", string extraStyleSheet = "", string parentDivId = "somewrapper", string extraPages = "", string images = null, string extraEditGroupClasses = "", string extraEditDivClasses = "", string defaultLanguages = "auto" ) : |
Set up a book with the typical content most of our tests need. It has the standard three stylesheets (and empty files for them). It has one bloom editable div, in the specified language, with the specified text. It has a 'lang='*' div which is ignored. It may have extra content in various places. It may have an arbitrary number of images, with the specified names. The image files are not created in this method, because the exact correspondence between the image names inserted into the HTML and the files created (or sometimes purposely not created) is an important aspect of many tests.
|
|
StandardStyleSheets_AreRemoved ( ) : void | ||
StripXmlHeader ( string data ) : string | ||
ToValidXmlId ( string input ) : string | ||
VerifyThatFilesInManifestArePresent ( ) : void |
Check that all the files referenced in the manifest are actually present in the zip.
|
protected MakeFakeAudio ( string path ) : void | ||
path | string | |
return | void |