class: TransformAffiliationIntegrationTest

public class: TransformAffiliationIntegrationTest
Author: $Author: jmueller $ (last modification)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 611 $ $LastChangedDate: 2007-11-07 12:0; Complexity: 1
Dates: Created: 16.07.2009 15:15:23; Modified: 16.07.2009 15:15:23;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {13A0A513-5E03-4c9e-B2AD-349EACB3CDBF}
Test of {@link XmlTransforming} methods for Affiliation transforming.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: XmlTransforming, TestBase

Appears in: integration

Connections
 
Custom Properties
 
TransformAffiliationIntegrationTest Attributes
Attribute Details
private static Map
  abbreviationToObjIdMapping
Notes: This Map contains a mapping between abbrevations and object ids. See the {@link test.common.AffiliationCreator} class for details.
private Logger
  logger
Initial: Logger.getLogger(getClass())
private static XmlTransforming
  xmlTransforming
 
TransformAffiliationIntegrationTest Methods
Operation Details
public static
setUpBeforeClass():void
Sequential
Tags: annotations=@BeforeClass
throws=Exception
Notes: Get an XmlTransforming instance once for all tests.
public const
testRetrieveAffiliationStructure():void
Sequential
Tags: annotations=@Ignore("Takes very long. Enable only if necessary.")
throws=Exception
Notes: This test creates and retrieves three top-level affiliations (Max Planck Society (MPG), Helmholtz Association and Fraunhofer Society) and some sub-affiliations. Along the way it tests if the child-parent-relationships of the created affiliations in the frameworks are correct. The created structure is as follows: MPG->(MPIFG,MPI-G,FML,MPIMF->(ZEL,MPH-HD->(ZEL_2->(FU-BERLIN_2))),FU-BERLIN // HG->FU-BERLIN // FG->FU-BERLIN
public const
testTransformToOrganizationalUnitCreate():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Test method for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToOrganizationalUnit(java.lang.String)} in interaction with the framework.
public const
testTransformToOrganizationalUnitUpdate():void
Sequential
Tags: annotations=@Ignore
throws=Exception
Notes: Test method for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToOrganizationalUnit(java.lang.String)} in interaction with the framework.