seek_quarry
[ class tree: seek_quarry ] [ index: seek_quarry ] [ all elements ]

Class: EpubProcessorTest

Source Location: /tests/epub_processor_test.php

Class Overview

UnitTest
   |
   --EpubProcessorTest

UnitTest for the EpubProcessor class. An EpubProcessor is used to process a .epub (ebook publishing standard) file and extract summary from it. This class tests the processing of an .epub file format by EpubProcessor.


Author(s):

  • Vijeth Patil

Implements interfaces:

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: UnitTest

UnitTest::__construct()
Contructor should be overriden to do any set up that occurs before
UnitTest::assertEqual()
Checks that $x and $y are the same, the result of the test is added to $this->test_case_results
UnitTest::assertFalse()
Checks that $x can coerced to false, the result of the test is added to $this->test_case_results
UnitTest::assertNotEqual()
Checks that $x and $y are not the same, the result of the test is added to $this->test_case_results
UnitTest::assertTrue()
Checks that $x can coerced to true, the result of the test is added to $this->test_case_results
UnitTest::run()
Execute each of the test cases of this unit test and return the results
UnitTest::setUp()
This method is called before each test case is run to set up the
UnitTest::tearDown()
This method is called after each test case is run to clean up

Class Details

[line 66]
UnitTest for the EpubProcessor class. An EpubProcessor is used to process a .epub (ebook publishing standard) file and extract summary from it. This class tests the processing of an .epub file format by EpubProcessor.



Tags:

author:  Vijeth Patil


[ Top ]


Class Methods


method setUp [line 73]

void setUp( )

Creates a new EpubProcessor object so that we can process an .epub format file.



Overrides UnitTest::setUp() (This method is called before each test case is run to set up the)

[ Top ]

method tearDown [line 86]

void tearDown( )

Delete any files associated with our test on EpubProcessor



Overrides UnitTest::tearDown() (This method is called after each test case is run to clean up)

[ Top ]

method testEpubDescriptionTestCase [line 120]

void testEpubDescriptionTestCase( )

Test case to check whether the description of the document is not empty.



[ Top ]

method testEpubLangTestCase [line 107]

void testEpubLangTestCase( )

Test case to check whether the language of the document is retrieved correctly.



[ Top ]

method testEpubTitleTestCase [line 94]

void testEpubTitleTestCase( )

Test case to check whether the title of the epub document is retrieved correctly.



[ Top ]


Documentation generated by phpDocumentor 1.4.3