MonocleTest
Test for EPUB methods used by Monocle in COPS
Source: https://github.com/mikespub-org/seblucas
- Full name:
\MonocleTest
- Parent class:
TestCase
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
TEST_EPUB |
public | DIR . '/data/eng.epub' | |
TEST_EPUB_COPY |
public | DIR . '/data/eng.copy.epub' | |
TEST_CONTENTS |
public | DIR . '/data/eng.contents.json' | |
TEST_COMPONENTS |
public | DIR . '/data/eng.components.json' | |
TEST_EPUB3 |
public | DIR . '/data/eng3.epub' |
Properties
book
- This property is static.
Methods
setUpBeforeClass
- This method is static.
tearDownAfterClass
- This method is static.
testComponents
testContents
testComponent
Summary of testComponent
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
string |
testGetComponentName
Summary of testGetComponentName
public testGetComponentName(string $component = 'text/titlepage.xhtml', string $element = '../images/cover.jpg'): void
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
string | |
$element |
string |
testComponentContentType
Summary of testComponentContentType
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
string |
testContentsEpub3
encodeItem
Summary of encodeItem
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
array | |
$encoder |
array |
provideEncodeReplace
Summary of provideEncodeReplace
provideDecodeReplace
Summary of provideDecodeReplace
Automatically generated on 2025-03-18