Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

Commit

Permalink
Updated results
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueM committed Dec 9, 2012
1 parent 1fa868c commit bcbb6fd
Showing 1 changed file with 29 additions and 15 deletions.
44 changes: 29 additions & 15 deletions Test results.txt
@@ -1,23 +1,21 @@
TEIShredder\Indexer\Chunker
[x] Create a chunker
[x] Run the chunker
[x] Make sure a chunker throws an exception if there are several titles for a volume
[x] Run a chunker with textbeforepb set to off

TEIShredder\Indexer\Extractor
[x] Create an extractor
[x] Make sure that the number of element and entities is as expected
[x] Make sure that an entity object is as expected

TEIShredder\AbstractGateway
[x] Trying to find objects with an unparseable filter string throws an exception
[x] Trying to find objects with a filter string that uses an invalid property throws an exception
[x] Perform a find with like operator an order by statement

TEIShredder\DefaultFactory
[x] Create a plaintext converter
[x] Create a title extractor
[x] Create a page
[x] Create page gateway
[x] Create a volume
[x] Create volume gateway
[x] Create section gateway
[x] Create a section
[x] Create element gateway
[x] Create a element
[x] Create x m l chunk gateway
[x] Create a x m l chunk
[x] Create a named entity
[x] Create named entity gateway

Expand All @@ -37,6 +35,17 @@ TEIShredder\Element
[x] Make sure an element requires an element
[x] Get the persistable data of an object with all required properties

TEIShredder\Indexer\Chunker
[x] Create a chunker
[x] Run the chunker
[x] Make sure a chunker throws an exception if there are several titles for a volume
[x] Run a chunker with textbeforepb set to off

TEIShredder\Indexer\Extractor
[x] Create an extractor
[x] Make sure that the number of element and entities is as expected
[x] Make sure that an entity object is as expected

TEIShredder\Model
[x] Create an object
[x] Setting a settable property works
Expand Down Expand Up @@ -66,6 +75,7 @@ TEIShredder\NamedEntity

TEIShredder\PageGateway
[x] Flush the data
[x] Find the last page
[x] Save a new page
[x] Trying to fetch a page gateway by an unknown pagenumber throws an exception
[x] Find a page by its number
Expand All @@ -80,6 +90,9 @@ TEIShredder\Page
[x] Make sure a page requires a volume
[x] Get the persistable data of an object with all required properties

TEIShredder\PlaintextConverter
[x] Plaintext conversion works

TEIShredder\SectionGateway
[x] Flush the data
[x] Save a section
Expand All @@ -99,17 +112,17 @@ TEIShredder\Section

TEIShredder\Setup
[x] Creating an object with default callbacks works
[x] Trying to create an object with an invalid plaintext callback throws an exception
[x] Creating an object with a custom plaintext callbacks works
[x] Trying to create an object with an invalid title extraction callback throws an exception
[x] Creating an object with a custom title extraction callbacks works
[x] Creating an object with a different factory works
[x] Trying to get an invalid class member throws an exception
[x] Trying to set an invalid class member throws an exception
[x] Trying to set an unsettable class member throws an exception
[x] Trying to set the chunktags to a non array throws an exception
[x] Trying to set the chunktags to an array works

TEIShredder\TitleExtractor
[x] Extract the title from tei
[x] Trying to extract the title from tei returns an empty string if there is no head element

TEIShredder\VolumeGateway
[x] Flush the data
[x] Save a volume
Expand All @@ -131,6 +144,7 @@ TEIShredder\XMLChunkGateway
TEIShredder\XMLChunk
[x] Create a new chunk
[x] Get a chunks wellformed x m l
[x] Get a chunks wellformed x m l with prestack xml ids removed
[x] Trying to get persistable data for an object with incomplete data throws an exception
[x] Getting the persistable data for an object with complete data succeeds

Expand Down

0 comments on commit bcbb6fd

Please sign in to comment.