class: TestSimpleSearch

public class: TestSimpleSearch
Author: Peter (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision$ $LastChangedDate$ @revised by BrP: 04.; Complexity: 1
Dates: Created: 16.07.2009 15:17:05; Modified: 16.07.2009 15:17:05;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {C23991D6-0001-4199-8CA4-ED72E4CFA1F2}
Testcases for simple search queries.
 

Goto: Custom Properties, Fields, Methods

Extends: TestItemBase

See also: TestItemBase

Appears in: sb

Connections
 
Custom Properties
 
TestSimpleSearch Attributes
Attribute Details
private Logger
  logger
Initial: Logger.getLogger(getClass())
 
TestSimpleSearch Methods
Operation Details
private
createReleasedItem():String
Sequential
Tags: throws=Exception
private
createReleasedItemWithFile():String
Sequential
Tags: throws=Exception
private
executeSearch(
   String query,
   int expectedRecords):void
Sequential
Tags: throws=Exception
private
getItem():void
Sequential
Tags: throws=Exception
public
searchByContentType():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.content-type.href.
public
searchByObjid():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.objid.
public
searchByOrganizationId():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.publication.creator.person.organization.identifier.
public
searchFulltext():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.fulltext.
public
searchQuotedTerms():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata for quoted terms.
public
searchSimpleName1():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata for a simple constant.
public
searchSimpleName2():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata for a simple constant.
public
searchSimpleName3():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata for a simple constant.
public
searchWildcardTerms():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with wildcards.
public
searchWithAllRelation():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata all relation.
public
searchWithBooleanOperatorOr():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata by with operator or.
public
searchWithNotOperator():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a not operator.
public
searchWithNotOperatorAndParenthesis():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a not operator and parenthesis.
public
searchWithTwoBooleanOperatorsAndParenthesis():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches escidoc.metadata by with two operators and parenthesis.
public
searchWithTwoBooleanOperatorsAndParenthesis2():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with two operators and parenthesis.
public
searchWithWildcardAsteriskAtEnd():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a wildcard at the end.
public
searchWithWildcardAsteriskAtStart():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a wildcard at the beginning.
public
searchWithWildcardAsteriskInMiddle():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a wildcard in the middle.
public
searchWithWildcardAsteriskInPhrase():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a phrase.
public
searchWithWildcardQuestionmark():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with a wildcard in the middle.
public
searchWithWildcardQuestionMarkInPhrase():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Searches by escidoc.metadata with wildcards in a phrase.