C# Class SIL.FieldWorks.Common.PrintLayout.PrintLayoutTestBase

An in-memory (FDOBackendProviderType.kMemoryOnly) base class that supports PrintLayout tests by adding publications to the ScrInMemoryFdoTestBase.
Inheritance: SIL.FieldWorks.FDO.FDOTests.ScrInMemoryFdoTestBase
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
FixtureSetup ( ) : void

Initializes the Publication values for testing.

Méthodes protégées

Méthode Description
CreateBook ( int nBookNumber, string bookName ) : IScrBook

Creates a book with 2 sections with the following layout: bookName Heading 1 (1)1Verse one. Heading 2 (2)1Verse one.2Verse two. (3)1Verse one. 2This is a pretty long... .. 11This is a pretty long... Numbers in () are chapter numbers.

CreateSmallBook ( int nBookNumber, string bookName, IScrSection &section2 ) : IScrBook

Creates the small book.

Private Methods

Méthode Description
CreateStandardPublications ( ) : void

Create the standard publications used in testing. Used the "Scripture Draft" settings in TePublications.xml as a guide.

UpdateHeaderFooter ( IPubHeader header, System.Guid insideGuid, System.Guid centerGuid, System.Guid outsideGuid ) : void

Method Details

CreateBook() protected méthode

Creates a book with 2 sections with the following layout: bookName Heading 1 (1)1Verse one. Heading 2 (2)1Verse one.2Verse two. (3)1Verse one. 2This is a pretty long... .. 11This is a pretty long... Numbers in () are chapter numbers.
protected CreateBook ( int nBookNumber, string bookName ) : IScrBook
nBookNumber int
bookName string
Résultat IScrBook

CreateSmallBook() protected méthode

Creates the small book.
protected CreateSmallBook ( int nBookNumber, string bookName, IScrSection &section2 ) : IScrBook
nBookNumber int The book number.
bookName string Name of the book.
section2 IScrSection The section2.
Résultat IScrBook

FixtureSetup() public méthode

Initializes the Publication values for testing.
public FixtureSetup ( ) : void
Résultat void