class: TestMetadataSearch

public class: TestMetadataSearch
Author: Markus Haarlaender (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision$ $LastChangedDate$; Complexity: 1
Dates: Created: 16.07.2009 15:20:03; Modified: 16.07.2009 15:20:03;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {F8036080-84FD-4327-AAB2-501F48C0B5C9}
Integration tests for search service, using Metadata Search.
 

Goto: Custom Properties, Fields, Methods

Extends: TestSearchBase

See also: TestSearchBase

Appears in: search

Connections
 
Custom Properties
 
TestMetadataSearch Attributes
Attribute Details
private static Logger
  logger
Initial: Logger.getLogger(TestMetadataSearch.class)
 
TestMetadataSearch Methods
Operation Details
private
searchAndCompareResults(
   MetadataSearchQuery query,
   ItemVO itemToCompare):void
Sequential
Tags: throws=Exception
Notes: Searches for the query and compares the result with the given item object for equality.
public
testOrganizationalSearch():void
Sequential
Tags: annotations=@Test
throws=Exception
public
testSearchEmptyString():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for an title that should not exist.
public
testSearchForAnyDates():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for one date range in all dates.
public
testSearchForConcreteDates():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for 2 date ranges in 2 different dates.
public
testSearchForCreator():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for creator's name and role.
public
testSearchForEscidocIdentifier():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the escidoc Identifier.
public
testSearchForEvent():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the event's title.
public
testSearchForGenre():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the genre.
public
testSearchForMultipleMetadata():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the item with multiple metadata in the query (Advanced Search).
public
testSearchForOrganization():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the organization.
public
testSearchForPidIdentifier():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the PID Identifier.
public
testSearchForSource():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the source's title.
public
testSearchForSpecialCharacters():void
Sequential
Tags: annotations=@Test@Ignore
throws=Exception
Notes: TODO: Get the test running after release 3.8.2
public
testSearchForTopic():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the topic.
public
testSearchNoResults():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for an title that should not exist.
public
testSearchWithAsteriskLogicalOperators():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for an item title using logical operator *.
public
testSearchWithQuestionmarkLogicalOperator():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for an item title using logical operator ?.
public
testSimpleSearchForAny():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for the title, using the ANY criterion (simple search without file).
public
testSimpleSearchWithFile():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches for an item with file (simple search with file).