class: TestContext

public class: TestContext
Author: Johannes Mueller (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 314 $ $LastChangedDate: 2007-11-07 13:1; Complexity: 1
Dates: Created: 16.07.2009 15:16:55; Modified: 16.07.2009 15:16:55;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DA15169E-84CE-4bed-B25D-FEEC782EA6B3}
Testcases for the basic service ContextHandler.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: TestBase

Appears in: om

Connections
 
Custom Properties
 
TestContext Attributes
Attribute Details
private static const String
  FILTER_ALL
Initial: ""
private static const String
  FILTER_DEPOSITOR
Initial: "" + "" + USERID + "" + "Depositor" + ""
private static const String
  FILTER_NONE
Initial: "escidoc:X"
private static const String
  ILLEGAL_CONTEXT_ID
Initial: "escidoc:persistentX"
private Logger
  logger
Initial: Logger.getLogger(getClass())
private static const String
  PUBMAN_COLLECTION_ID
Initial: "escidoc:persistent3"
private static const String
  SWB_INSTANCE
Initial: "escidoc:persistent5"
 
TestContext Methods
Operation Details
public
retrieveContextNotExisting():void
Sequential
Tags: annotations=@Test(expected = ContextNotFoundException.class)
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieve(java.lang.String)}.
public
retrieveContexts():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieveContexts(java.lang.String,java.lang.String)}.
public
retrieveContextsForDepositor():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieveContexts(java.lang.String,java.lang.String)}.
public
retrieveContextsNotExisting():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieveContexts(java.lang.String,java.lang.String)}.
public
retrieveMembersContextNotFound():void
Sequential
Tags: annotations=@Test(expected = ContextNotFoundException.class)
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieveContexts(java.lang.String,java.lang.String)}.
public
retrievePubCollection():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieve(java.lang.String)}.
public
retrievePublicContexts():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieveContexts(java.lang.String,java.lang.String)}.
public
retrieveSwbInstance():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.fiz.escidoc.om.ItemHandlerLocal#retrieve(java.lang.String)}.