class: TransformPubItemResultListIntegrationTest

public class: TransformPubItemResultListIntegrationTest
Author: Johannes Müller (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 635 $ $LastChangedDate: 2007-11-21 17:1; Complexity: 1
Dates: Created: 16.07.2009 15:15:26; Modified: 16.07.2009 15:15:26;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {4DE8F5C6-576A-487d-80DF-D75890CBB346}
Test of {@link PubManTransforming} methods for transforming and integration with common_logic and the framework.
 

Goto: Custom Properties, Fields, Methods

Extends: XmlTransformingTestBase

See also: XmlTransforming, XmlTransformingTestBase

Appears in: integration

Connections
 
Custom Properties
 
TransformPubItemResultListIntegrationTest Attributes
Attribute Details
private String
  adminUserHandle
private Logger
  logger
Initial: Logger.getLogger(getClass())
Notes: Logger for this class.
private String
  userHandle
private static XmlTransforming
  xmlTransforming
 
TransformPubItemResultListIntegrationTest Methods
Operation Details
private
createAndOpenAffiliation(
   String adminUserHandle2,
   String affiliationTitle):AffiliationVO
Sequential
Tags: throws=Exception
private
createAndReleaseContainer(
   String userHandle,
   String containerTitle):ContainerVO
Sequential
Tags: throws=TechnicalException,ServiceException,URISyntaxException,IOException
private
createAndReleaseItem(
   String userHandle,
   String itemTitle):PubItemVO
Sequential
Tags: throws=TechnicalException,ServiceException,RemoteException,URISyntaxException
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.
private
search(
   String query,
   String index):SearchRetrieveResponseType
Sequential
Tags: throws=TechnicalException
Notes: @return
public
setUp():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Logs in as depositor and retrieves his grants (before every single test method).
public static
setUpBeforeClass():void
Sequential
Tags: annotations=@BeforeClass
throws=Exception
Notes: Get an {@link XmlTransforming} instance once.
public
tearDown():void
Sequential
Tags: annotations=@After
throws=Exception
Notes: Logs out (after every single test method).
public
testTransformAffiliationResultToAffiliationVO():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Creates released an organizational unit, then searches for it and transforms the result. Afterwards, the organizational unit is closed.
public
testTransformContainerResultToContainerVO():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Creates released a container, then searches for it and transforms the result. Afterwards, the container is withdrawn.
public
testTransformPubItemResultListToItemList():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Creates released items, then searches for them and transforms the result.