class: TestItemBase

public class: TestItemBase
Author: Peter (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 329 $ $LastChangedDate: 2007-12-06 09:4; Complexity: 1
Dates: Created: 16.07.2009 15:16:57; Modified: 16.07.2009 15:16:57;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {83D51265-7BA2-4723-A9DC-5078BE7D39BB}
Base class for item testcases.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: TestContainer, TestIngestHandler, TestItem, TestBase, TestItemRetrieve, TestRelation, TestSemanticStoreHandler, TestSimpleSearch, TestSchindlmayrSpringer

Appears in: om

Connections
 
Custom Properties
 
TestItemBase Attributes
Attribute Details
protected static const String
  CONTAINER_FILE
Initial: "src/test/resources/test/new_testcont1.xml"
protected static const String
  INGEST_TEST_FILE
Initial: "src/test/resources/test/item-escidoc_5.xml"
protected static const String
  ITEM_FILE
Initial: "src/test/resources/test/new_testitem1.xml"
Notes: A XML-file with the test item.
protected static const String
  PREDICATE_ISREVISIONOF
Initial: "http://www.escidoc.de/ontologies/mpdl-ontologies/content-relations#isRevisionOf"
protected static const String
  TOC_FILE
Initial: "src/test/resources/test/toc.xml"
 
TestItemBase Methods
Operation Details
protected
createModificationDate(
   String md):String
Sequential
Notes: @return The modification date as a XML.
protected
getId(
   String item):String
Sequential
Notes: Extracts the id of a item from the given XML.
@return The id of the item.
protected
getModificationDate(
   String item):String
Sequential
Notes: Extracts the modification date of a item from the given XML.
@return The modification date of the item.
protected
getVersion(
   String item):String
Sequential
Notes: Extracts the version of a item from the given XML.
@return The version of the item.