class: TransformAccountUserAndGrantsIntegrationTest

public class: TransformAccountUserAndGrantsIntegrationTest
Author: Peter Broszeit (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 651 $ $LastChangedDate: 2007-12-04 14:1; 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: {60243051-C388-4dab-BD20-D5B0225F7509}
Test cases for the transformToAccountUser method of the XmlTransforming interface.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: XmlTransforming, TestBase

Appears in: integration

Connections
 
Custom Properties
 
TransformAccountUserAndGrantsIntegrationTest Attributes
Attribute Details
private static const String
  ACCOUNT_USER_SCHEMA_FILE
Initial: "xsd/soap/user-account/0.6/user-account.xsd"
private static Logger
  logger
Initial: Logger.getLogger(TransformAccountUserAndGrantsIntegrationTest.class)
private static const String
  PUBMAN_COLLECTION_ID
Initial: "escidoc:persistent3"
private static const String
  TEST_DEP_LIBRARIAN_ID
Initial: "escidoc:user2"
private static const String
  TEST_DEP_LIBRARIAN_LOGIN_NAME
Initial: "test_dep_lib"
private static const String
  TEST_DEP_SCIENTIST_ID
Initial: "escidoc:user1"
private static const String
  TEST_DEP_SCIENTIST_LOGIN_NAME
Initial: "test_dep_scientist"
private static String
  userHandle
private static XmlTransforming
  xmlTransforming
 
TransformAccountUserAndGrantsIntegrationTest Methods
Operation Details
public
setUp():void
Sequential
Tags: annotations=@Before
throws=HttpException,ServiceException,IOException,URISyntaxException
public static
setUpBeforeClass():void
Sequential
Tags: annotations=@BeforeClass
throws=Exception
public
tearDown():void
Sequential
Tags: annotations=@After
throws=RemoteException,ServiceException,URISyntaxException
public
transformSystemAdministrator():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the predefined framework user 'roland' (system administrator) and check transforming to AccountUserVO using {@link XmlTransforming#transformToAccountUser(String)}.
public
transformTestDepAuthor():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the predefined framework user 'test_author' and check transforming to AccountUserVO using {@link XmlTransforming#transformToAccountUser(String)}.
public
transformTestDepLibrarian():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the predefined framework user 'test_dep_lib' and check transforming to AccountUserVO using {@link XmlTransforming#transformToAccountUser(String)}.
public
transformTestDepLibrarianGrants():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the grants of the predefined framework user 'test_dep_scientist' and check transforming of the grants.
public
transformTestDepScientist():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the predefined framework user 'test_dep_scientist' and check transforming to AccountUserVO using {@link XmlTransforming#transformToAccountUser(String)}.
public
transformTestDepScientistGrants():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the grants of the predefined framework user 'test_dep_scientist' and check transforming of the grants.
public
transformTestEditor():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Retrieve the predefined framework user 'test_editor' and check transforming to AccountUserVO using {@link XmlTransforming#transformToAccountUser(String)}.