Class AliasResourceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
com.atlassian.crowd.acceptance.tests.rest.service.AliasResourceTest
All Implemented Interfaces:
junit.framework.Test

public class AliasResourceTest extends RestCrowdServiceAcceptanceTestCase
  • Field Details

  • Constructor Details

    • AliasResourceTest

      public AliasResourceTest(String name)
    • AliasResourceTest

      public AliasResourceTest(String name, RestServer restServer)
  • Method Details

    • testGetAliasForAliasedUserReturnsAlias

      public void testGetAliasForAliasedUserReturnsAlias()
    • testGetAliasForUnaliasedUserIsNotFound

      public void testGetAliasForUnaliasedUserIsNotFound()
    • testGetAliasForUnknownApplicationIsNotFound

      public void testGetAliasForUnknownApplicationIsNotFound()
    • testSetAliasModifiesExistingAlias

      public void testSetAliasModifiesExistingAlias()
    • testSetAliasAddsAlias

      public void testSetAliasAddsAlias()
    • testDeleteRemovesAlias

      public void testDeleteRemovesAlias()
    • testGetUsernameByAliasReturnsOriginalUser

      public void testGetUsernameByAliasReturnsOriginalUser()
    • testGetUsernameByAliasReturnsSameUsernameWhenNoAliasDefined

      public void testGetUsernameByAliasReturnsSameUsernameWhenNoAliasDefined()
    • testGetAllAliasesForUserWithoutAliasesIsEmpty

      public void testGetAllAliasesForUserWithoutAliasesIsEmpty()
    • testGetAllAliasesForUserWithAliasesIncludesApplicationsWithAliases

      public void testGetAllAliasesForUserWithAliasesIncludesApplicationsWithAliases() throws Exception
      Throws:
      Exception
    • testErrorEntityIsMarshaledProperly

      public void testErrorEntityIsMarshaledProperly() throws Exception
      Throws:
      Exception