class: TransformInvalidPubItemTest

public class: TransformInvalidPubItemTest
Author: $Author: mfranke $ (last modification)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:14:54; Modified: 16.07.2009 15:14:54;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {6B6A70E5-447D-4825-9EDE-1FDF0AE540B8}
Test cases for the method transformToPubItem of the interface XmlTransforming. The main purpose of the test methods in this class is to check the handling of incomplete or invalid PubItemVO by the {@link XmlTransforming} component.
 

Goto: Custom Properties, Fields, Methods

Extends: XmlTransformingTestBase

See also: XmlTransformingBean, XmlTransformingTestBase

Appears in: component

Connections
 
Custom Properties
 
TransformInvalidPubItemTest Attributes
Attribute Details
private static Logger
  logger
Initial: Logger.getLogger(TransformInvalidPubItemTest.class)
private static XmlTransformingBean
  xmlTransforming
Initial: new XmlTransformingBean()
 
TransformInvalidPubItemTest Methods
Operation Details
private
getEmptyPubItemVO():PubItemVO
Sequential
Notes: Creates an empty PubItemVO.
@return pubItem
private
getMinimalPubItemVO():PubItemVO
Sequential
private
getPubItemVOWithIncompleteMD():PubItemVO
Sequential
Tags: throws=Exception
private
getSmallPubItemVOWithStateAndEmptyMdsAndMinimalCollection():PubItemVO
Sequential
Notes: Creates a small PubItemVO with a state, an empty MdsPublicationVO and a minimal Collection.
@return pubItem
private
initializeItemLikePresentation(
   PubItemVO pubItem):void
Sequential
public
transformInvalidPubItemToXML():void
Sequential
Tags: annotations=@Test
throws=Exception
public
transformInvalidPubItemToXML2():void
Sequential
Tags: annotations=@Test
throws=Exception