class: ValidatorTest

public class: ValidatorTest
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 126 $ $LastChangedDate: 2007-11-15 11:3; Complexity: 1
Dates: Created: 16.07.2009 15:21:34; Modified: 16.07.2009 15:21:34;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {59C2D836-FFC0-4be8-8A8E-091FB6FFF537}
Test class for the validation package.
 

Goto: Custom Properties, Fields, Methods

See also: ItemValidating, XmlTransforming

Appears in: validation

Connections
 
Custom Properties
 
ValidatorTest Attributes
Attribute Details
private String
  invalidXml
private Logger
  logger
Initial: Logger.getLogger(getClass())
private String
  validationPoint
Initial: "submit_item"
private ItemValidating
  validator
private String
  validXml
private XmlTransforming
  xmlTransforming
 
ValidatorTest Methods
Operation Details
private
getInvalidItemVO():PubItemVO
Sequential
Tags: throws=Exception
Notes: Get an invalid item VO from the ressources.
@return Item VO.
public const
getInvalidItemXml():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Get an invalid item xml from ressources.
public const
getTransformer():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Init transforming bean.
public const
getValidator():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Init validator bean.
private
getValidItemVO():PubItemVO
Sequential
Tags: throws=Exception
Notes: Get a valid item VO from the ressources.
@return Item VO.
public const
getValidItemXml():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Get a valid item xml from ressources.
public const
testInvalidItemVOValidation():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test service with an invalid item object.
public const
testInvalidItemXmlValidation():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test service with an invalid item XML.
public const
testRefreshValidationCache():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test service with an invalid item XML.
public const
testValidItemVOValidation():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test service with a valid item object.
public const
testValidItemXmlValidation():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test service with a valid item XML.