Operation |
Details |
private savePubItem( PubItemVO initPubItem, AccountUserVO accountUser):PubItemVO |
Sequential Notes: | Helper: Saves the given pubItem using {@link PubItemDepositing#savePubItem(PubItemVO, AccountUserVO)} Changed by Peter Broszeit, 18.10.2007: asserts on item properties removed, because all items should be saved. | |
public setUp():void |
Sequential Tags: | annotations=@Before throws=Exception
| |
public testAcceptExistingReleasedPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#acceptPubItem(PubItemVO, String, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} @author Peter Broszeit | |
public testAcceptExistingSubmittedPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#acceptPubItem(PubItemVO, String, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} @author Peter Broszeit | |
public testCreatePubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#createPubItem(ContextRO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)}. | |
public testCreatePubItemWithoutCollection():void |
Sequential Tags: | annotations=@Test(expected = IllegalArgumentException.class) throws=Exception
| Notes: | Test for {@link PubItemDepositing#createPubItem(ContextRO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)}. with empty PubCollectionRef. | |
public testCreateRevisionOfPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#createRevisionOfItem(PubItemVO, String, ContextRO, AccountUserVO)} @author Peter Broszeit | |
public testDeletePendingAfterReleasedPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Checks if a pending item, that was released in a prior version, can be deleted. @author Johannes Mueller | |
public testDeletePubItem():void |
Sequential Tags: | annotations=@Test(expected = ItemNotFoundException.class) throws=Exception
| Notes: | Test for {@link PubItemDepositing#deletePubItem(ItemRO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} | |
public testDeleteSubmittedPubItem():void |
Sequential Tags: | annotations=@Ignore("Does not work in R2, because submitPubItem alreday releases it.")@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#deletePubItem(ItemRO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} | |
public testGetPubCollectionListForDepositing():void |
Sequential Tags: | annotations=@Test@Ignore throws=Exception
| Notes: | Test for {@link PubItemDepositing#getPubCollectionListForDepositing(AccountUserVO)} | |
public testSaveExistingPendingPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with already existing item. | |
public testSaveExistingPubItemWithOtherUser():void |
Sequential Tags: | annotations=@Ignore@Test(expected = AuthorizationException.class) throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with already existing item. | |
public testSaveExistingPubItemWithWrongId():void |
Sequential Tags: | annotations=@Test(expected = PubItemNotFoundException.class) throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with already existing item. | |
public testSaveExistingReleasedPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with already existing item. @author Peter Broszeit | |
public testSaveExistingSubmittedPubItem():void |
Sequential Tags: | annotations=@Ignore("Does not work in R2, because submitPubItem also releases it.")@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with already existing item. @author Peter Broszeit | |
public testSaveNewComplexPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with new complex item. | |
public testSaveNewComplexPubItemWithFile():void |
Sequential Tags: | annotations=@Ignore("See http://www.escidoc-project.de/issueManagement/show_bug.cgi?id=596")@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with new complex item and file. | |
public testSaveNewPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#savePubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} with new item. | |
public testSubmitExistingPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#submitPubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} | |
public testSubmitExistingPubItemWithOtherUser():void |
Sequential Tags: | annotations=@Test(expected = AuthorizationException.class) throws=Exception
| Notes: | Test for {@link PubItemDepositing#submitPubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} | |
public testSubmitNewPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#submitPubItem(PubItemVO, de.mpg.escidoc.services.common.valueobjects.AccountUserVO)} | |
public testUpdateRevisionOfPubItem():void |
Sequential Tags: | annotations=@Test throws=Exception
| Notes: | Test for {@link PubItemDepositing#createRevisionOfItem(PubItemVO, String, ContextRO, AccountUserVO)} @author Peter Broszeit | |