class: ValidationCacheTest

public class: ValidationCacheTest
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 106 $ $LastChangedDate: 2007-11-07 13:1; Complexity: 1
Dates: Created: 16.07.2009 15:21:33; Modified: 16.07.2009 15:21:33;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {6E5CCF40-CEAC-4538-8714-B08D442D2C34}
Test class for the validation package.
 

Goto: Custom Properties, Fields, Methods

See also: ValidationSchemaCache

Appears in: validation

Connections
 
Custom Properties
 
ValidationCacheTest Attributes
Attribute Details
private ValidationSchemaCache
  cache
private Connection
  connection
private String
  contentType
Initial: "escidoc:persistent4"
private String
  context
Initial: "publication"
private String
  validationPoint
Initial: "submit_item"
 
ValidationCacheTest Methods
Operation Details
public const
getCache():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Sets the validation schema cache instance.
public const
getConnection():void
Sequential
Tags: annotations=@Before
throws=Exception
Notes: Sets the JDBC connection.
public const
testClearCache():void
Sequential
Tags: annotations=@Ignore("Won't work until validation repository moves to framework.")@Test
throws=Exception
Notes: Clears the validation database. Since the schemas cannot be retrieved from the framework the schema table is not not cleared.
public const
testCreateCache():void
Sequential
Tags: annotations=@Ignore@Test
throws=Exception
Notes: Tests cache creation. Since the schemas cannot be retrieved from the framework this test is a little fake, because it only tests on the still existing schemas, but not if these are newly retrieved.
public const
testGetPrecompiledTransformer():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Tests retrieval of PrecompiledTransformer as done in ItemValidatingBean.
public const
testRefreshCache():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Tests cache refreshing.