class: TestSearchBase

public class: TestSearchBase
Author: Markus Haarlaender (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision$ $LastChangedDate$; Complexity: 1
Dates: Created: 16.07.2009 15:20:04; Modified: 16.07.2009 15:20:04;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {1B62E58F-0D85-4e3c-BB2E-CCC72F95B37A}
TODO Base class for TestMetadataSearch and TestSearchAndExport. Creates an test item on the coreservice infrastructure.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: TestMetadataSearch, TestSearchAndExport, CreatorRole, Search, ItemVO, TestBase

Appears in: search

Connections
 
Custom Properties
 
TestSearchBase Attributes
Attribute Details
protected static String
  abstractText
protected static String
  creatorsFamilyName
protected static String
  creatorsGivenName
protected static CreatorRole
  creatorsRole
protected static String
  dateAccepted
protected static String
  dateCreated
protected static String
  datePublishedOnline
protected static String
  edition
protected static String
  eventTitle
protected static String
  genreName
protected Search
  itemContainerSearch
annotations=@EJB
protected static String
  itemPid
protected static String
  itemTitle
private static Logger
  logger
Initial: Logger.getLogger(TestSearchBase.class)
protected static String
  organizationName
protected static String
  publisher
protected static String
  sourceTitle
protected static ItemVO
  testItem
 
TestSearchBase Methods
Operation Details
public static
createTestItem():void
Sequential
Tags: annotations=@BeforeClass
throws=Exception
Notes: Creates the test item.
protected
getStandardQuery():MetadataSearchQuery
Sequential
Tags: throws=Exception
Notes: Returns a standard metadata query object using publication content type
@return
public
setUp():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Sets up the search service before each test.