com.atlassian.crowd.acceptance.tests.rest.service
Class RepresentationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
              extended by com.atlassian.crowd.acceptance.tests.rest.service.RepresentationTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
RepresentationJsonTest, RepresentationXmlTest

public abstract class RepresentationTest
extends RestCrowdServiceAcceptanceTestCase

Test the textual representations of entities used by the REST resources.


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
APPLICATION_NAME, APPLICATION_PASSWORD, ATTRIBUTES_RESOURCE, AUTHENTICATION_RESOURCE, EVENTS_RESOURCE, GROUPS_RESOURCE, MT, REST_SERVICE_NAME, SESSION_RESOURCE, USERS_RESOURCE, WEBHOOKS_RESOURCE
 
Method Summary
 void testCookieConfig()
          Tests for: CookieConfigEntity
 void testEventEntityList()
          Tests for: EventEntityList
 void testGetErrorEntity()
          Tests for ErrorEntity.
 void testGroup()
          Tests for: {@link com.atlassian.crowd.plugin.rest.entity.GroupEntity} {@link com.atlassian.crowd.plugin.rest.entity.MultiValuedAttributeEntityList}
 void testGroupList()
          Tests for: GroupEntityList
 void testPasswordEntity()
          Tests for PasswordEntity.
 void testPostAuthenticationContextEntity()
          Tests for: AuthenticationContextEntity ValidationFactorEntityList ValidationFactorEntity SessionEntity
 void testSearchRestrictionEntity()
          Tests for: BooleanRestrictionEntity PropertyRestrictionEntity PropertyEntity
 void testUser()
          Tests for: UserEntity MultiValuedAttributeEntityList
 void testUserAttributes()
          Tests for: MultiValuedAttributeEntityList MultiValuedAttributeEntity
 void testUserList()
          Tests for: UserEntityList
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
authenticateUser, getBaseUriBuilder, getBaseUriBuilder, getBaseUriBuilder, getRootWebResource, getWebResource, getWebResource, setRestServer, setUp, statusToString, tearDown
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

testCookieConfig

public void testCookieConfig()
                      throws Exception
Tests for:

Throws:
Exception

testUser

public void testUser()
              throws Exception
Tests for:

Throws:
Exception

testUserAttributes

public void testUserAttributes()
                        throws Exception
Tests for:

Throws:
Exception

testGroup

public void testGroup()
               throws Exception
Tests for:

Throws:
Exception

testUserList

public void testUserList()
                  throws Exception
Tests for:

Throws:
Exception

testGroupList

public void testGroupList()
                   throws Exception
Tests for:

Throws:
Exception

testGetErrorEntity

public void testGetErrorEntity()
                        throws Exception
Tests for ErrorEntity.

Throws:
Exception

testPostAuthenticationContextEntity

public void testPostAuthenticationContextEntity()
                                         throws Exception
Tests for:

Throws:
IOException
org.codehaus.jackson.JsonProcessingException
Exception

testPasswordEntity

public void testPasswordEntity()
                        throws Exception
Tests for PasswordEntity.

Throws:
Exception

testSearchRestrictionEntity

public void testSearchRestrictionEntity()
                                 throws Exception
Tests for:

Throws:
Exception

testEventEntityList

public void testEventEntityList()
                         throws Exception
Tests for:

Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.