Operation |
Details |
public setUp():void |
Sequential Tags: | annotations=@Before throws=Exception
| Notes: | Logs in as depositor and retrieves his grants (before every single test method). | |
public static setUpBeforeClass():void |
Sequential Tags: | annotations=@BeforeClass throws=Exception
| Notes: | Get an {@link XmlTransforming} instance once. | |
public tearDown():void |
Sequential Tags: | annotations=@After throws=Exception
| Notes: | Logs out (after every single test method). | |
public testIllegalXMLCharacterTransforming():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Tests the transforming of "illegal" ("<" and "&") and problematic (">", "'", "?") XML characters into escaped XML tokens and back. | |
public testRoundtripPubItemWithRelations():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Checks whether the transforming of an item with relations works properly. | |
public testTransformToItemWithOneComponentCreate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Tests the transformation of item[XML] (containing one component) to PubItemVO with a self-created item retrieved from the framework. | |
public testTransformToItemWithOneComponentUpdate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Creates an item with a file in the framework and updates the item. | |
public testTransformToItemWithOneComponentUpdateWithChangedContentCategory():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Creates an item with a file in the framework, changes the content-category (=content type) and updates the item. | |
public testTransformToItemWithoutComponentsCreate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test method #1 for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToItem(PubItemVO)}. | |
public testTransformToItemWithoutComponentsUpdate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test method for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToItem(PubItemVO)}. | |
public testTransformToItemWithTwoComponentsCreate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Tests the transformation of item[XML] (containing two components) to PubItemVO with a self-created item retrieved from the framework. | |
public testTransformToItemWithTwoComponentsUpdate():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Creates an item with two files in the framework and updates the item. | |
public testTransformToPubItemList():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test method for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToPubItemList(java.lang.String)}. | |
public testTransformToPubItemWithoutComponents2():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Tests the transformation of item[XML] (without components) to PubItemVO with a self-created item retrieved from the framework. | |
public testTransformWithdrawnItemAndCheckComment():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test method #1 for {@link de.mpg.escidoc.services.common.XmlTransforming#transformToItem(PubItemVO)}. | |
public transformToPubItemWithoutComponents1():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Tests the transformation of item[XML] (without components) to PubItemVO with a self-created item retrieved from the framework. | |