org.sakaiproject.entitybroker.mocks.data
Class TestData

java.lang.Object
  extended by org.sakaiproject.entitybroker.mocks.data.TestData

public class TestData
extends Object

Contains test data for testing the entity broker

Author:
Aaron Zeckoski (aaronz@vt.edu)

Field Summary
static String ACCESS_USER_DISPLAY
           
static String ACCESS_USER_ID
          access level user in LOCATION1_ID
static String ADMIN_USER_DISPLAY
           
static String ADMIN_USER_ID
          super admin user
static String COLLECTION_URL4_JSON
           
static String COLLECTION_URL4_XML
           
static String DIRECT
           
static String ENTITY_URL1
           
static String ENTITY_URL2
           
static String ENTITY_URL3A
           
static String ENTITY_URL3B
           
static String ENTITY_URL4
           
static String ENTITY_URL4_JSON
           
static String ENTITY_URL4_JSONP
           
static String ENTITY_URL4_XML
           
static String ENTITY_URL6
           
static MyEntity entity4
           
static MyEntity entity4_3
           
static MyEntity entity4_two
           
 CoreEntityProvider entityProvider1
          Registered provider which implements CoreEntityProvider
 TaggableEntityProviderMock entityProvider1T
          Registered provider that implements EntityProvider and Taggable and TagProvideable, this provider builds on entityProvider1
 EntityProvider entityProvider2
          Registered provider that only implements EntityProvider
 ReferenceParseableEntityProviderMock entityProvider3
          Registered provider that implements CoreEntityProvider and ReferenceParseable
 ResolvableEntityProviderMock entityProvider4
          Registered provider that implements CoreEntityProvider and Resolvable and CollectionResolvable
 PropertyableEntityProviderMock entityProvider5
          Registered provider which implements CoreEntityProvider and Propertyable
 RESTfulEntityProviderMock entityProvider6
          Registered provider which implements CoreEntityProvider and RESTful
 DescribeableEntityProviderMock entityProvider7
          Registered provider which implements CoreEntityProvider and CRUDable and Describeable
 DescribePropertiesableEntityProviderMock entityProvider8
          Registered provider which implements CoreEntityProvider and CRUDable and DescribePropertiesable
 EntityProvider entityProvider9
          Unregistered provider
 RequestStoreableEntityProviderMock entityProviderA
          Registered provider which implements CoreEntityProvider and CRUDable and RequestAware and RequestStorable
 ActionsEntityProviderMock entityProviderA1
          Registered provider which implements CoreEntityProvider and CRUDable and ActionsExecutable
 ActionsDefineableEntityProviderMock entityProviderA2
          Registered provider which implements CoreEntityProvider and CRUDable and ActionsDefineable
 ActionsExecutionEntityProviderMock entityProviderA3
          Registered provider which implements CoreEntityProvider and CRUDable and ActionsExecutionControllable
 BrowsableEntityProviderMock entityProviderB1
          Registered provider which implements CoreEntityProvider and CRUDable and BrowseableCollection
 BrowseSearchableEntityProviderMock entityProviderB2
          Registered provider which implements CoreEntityProvider and CRUDable and BrowseSearchable
 SerializeableEntityProviderMock entityProviderS1
          Registered provider which implements CoreEntityProvider and CRUDable and OutputSerializable
 TagEntityProviderMock entityProviderTag
          Registered provider that uses the built in tagging support
 RedirectableEntityProviderMock entityProviderU1
          Registered provider which implements CoreEntityProvider and RESTful and Redirectable
 RedirectDefineableEntityProviderMock entityProviderU2
          Registered provider which implements CoreEntityProvider and RESTful and RedirectDefinable
 RedirectControllableEntityProviderMock entityProviderU3
          Registered provider which implements CoreEntityProvider and RESTful and RedirectControllable
static String EVENT1_NAME
           
static String EVENT2_NAME
           
static String EXTENSION1
           
static String EXTENSION2
           
static String EXTENSION3A
           
static String EXTENSION3B
           
static String EXTENSION4
           
static String[] IDS1
           
static String[] IDS3
           
static String[] IDS4
           
static String[] IDS5
           
static String[] IDS6
           
static String[] IDS7
           
static String[] IDS8
           
static String[] IDS9
           
static String[] IDSA
           
static String[] IDSA1
           
static String[] IDSA2
           
static String[] IDSA3
           
static String[] IDSB1
           
static String[] IDSB2
           
static String[] IDSS1
           
static String[] IDST1
           
static String[] IDSU1
           
static String[] IDSU2
           
static String[] IDSU3
           
static String INPUT_URL1
           
static String INPUT_URL2
           
static String INPUT_URL3A
           
static String INPUT_URL3B
           
static String INPUT_URL4
           
static String INPUT_URL6
           
static String INVALID_LOCATION_ID
           
static String INVALID_REF
           
static String INVALID_URL
           
static String INVALID_USER_ID
          Invalid user (also can be used to simulate the anonymous user)
static String LOCATION1_ID
          current location
static String LOCATION1_TITLE
           
static String LOCATION2_ID
           
static String LOCATION2_TITLE
           
static String MAINT_USER_DISPLAY
           
static String MAINT_USER_ID
          maintain level user in LOCATION1_ID
static String PREFIX1
           
static String PREFIX2
           
static String PREFIX3
           
static String PREFIX4
           
static String PREFIX5
           
static String PREFIX6
           
static String PREFIX7
           
static String PREFIX8
           
static String PREFIX9
           
static String PREFIXA
           
static String PREFIXA1
           
static String PREFIXA2
           
static String PREFIXA3
           
static String PREFIXB1
           
static String PREFIXB2
           
static String PREFIXS1
           
static String PREFIXT1
           
static String PREFIXU1
           
static String PREFIXU2
           
static String PREFIXU3
           
static String PROPERTY_NAME5A
           
static String PROPERTY_NAME5B
           
static String PROPERTY_NAME5C
           
static String PROPERTY_VALUE5A
           
static String PROPERTY_VALUE5B
          Lots of quote chars example
static String PROPERTY_VALUE5C
          Long string example
static String REF1
           
static String REF1_1
           
static String REF1_INVALID
           
static String REF2
           
static String REF3A
           
static String REF3B
           
static String REF4
           
static String REF4_3
           
static String REF4_two
           
static String REF5
           
static String REF5_2
           
static String REF6
           
static String REF6_2
           
static String REF6_3
           
static String REF6_4
           
static String REF7
           
static String REF7_2
           
static String REF8
           
static String REF8_2
           
static String REF9
           
static String REFA
           
static String REFA_2
           
static String REFA1
           
static String REFA1_2
           
static String REFA2
           
static String REFA2_2
           
static String REFA3
           
static String REFA3_2
           
static String REFB1
           
static String REFB1_2
           
static String REFB1_3
           
static String REFB2
           
static String REFB2_2
           
static String REFB2_3
           
static String REFS1
           
static String REFS1_2
           
static String REFS1_3
           
static String REFT1
           
static String REFT1_2
           
static String REFT1_3
           
static String REFU1
           
static String REFU1_2
           
static String REFU2
           
static String REFU2_2
           
static String REFU3
           
static String REFU3_2
           
static String SERVER_URL
           
static String[] someTags
           
static String SPACE_URL1
           
static String SPACE4
           
static String SPACE6
           
static String SPACEA1
           
static String SPACEA2
           
static String SPACEA3
           
static String SPACEU1
           
static String SPACEU2
           
static String SPACEU3
           
static String URL1
           
static String URL2
           
static String URL9
           
static String USER_DISPLAY
           
static String USER_ID
          current user, access level user in LOCATION1_ID
 
Constructor Summary
TestData()
          Basic constructor initializes test data if needed
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_ID

public static String USER_ID
current user, access level user in LOCATION1_ID


USER_DISPLAY

public static String USER_DISPLAY

ACCESS_USER_ID

public static String ACCESS_USER_ID
access level user in LOCATION1_ID


ACCESS_USER_DISPLAY

public static String ACCESS_USER_DISPLAY

MAINT_USER_ID

public static String MAINT_USER_ID
maintain level user in LOCATION1_ID


MAINT_USER_DISPLAY

public static String MAINT_USER_DISPLAY

ADMIN_USER_ID

public static String ADMIN_USER_ID
super admin user


ADMIN_USER_DISPLAY

public static String ADMIN_USER_DISPLAY

INVALID_USER_ID

public static String INVALID_USER_ID
Invalid user (also can be used to simulate the anonymous user)


LOCATION1_ID

public static String LOCATION1_ID
current location


LOCATION1_TITLE

public static String LOCATION1_TITLE

LOCATION2_ID

public static String LOCATION2_ID

LOCATION2_TITLE

public static String LOCATION2_TITLE

INVALID_LOCATION_ID

public static String INVALID_LOCATION_ID

SERVER_URL

public static String SERVER_URL

DIRECT

public static String DIRECT

PREFIX1

public static String PREFIX1

IDS1

public static String[] IDS1

REF1

public static String REF1

REF1_1

public static String REF1_1

REF1_INVALID

public static String REF1_INVALID

URL1

public static String URL1

SPACE_URL1

public static String SPACE_URL1

EXTENSION1

public static String EXTENSION1

ENTITY_URL1

public static String ENTITY_URL1

INPUT_URL1

public static String INPUT_URL1

PREFIX2

public static String PREFIX2

REF2

public static String REF2

URL2

public static String URL2

EXTENSION2

public static String EXTENSION2

ENTITY_URL2

public static String ENTITY_URL2

INPUT_URL2

public static String INPUT_URL2

PREFIX3

public static String PREFIX3

IDS3

public static String[] IDS3

REF3A

public static String REF3A

EXTENSION3A

public static String EXTENSION3A

ENTITY_URL3A

public static String ENTITY_URL3A

INPUT_URL3A

public static String INPUT_URL3A

REF3B

public static String REF3B

EXTENSION3B

public static String EXTENSION3B

ENTITY_URL3B

public static String ENTITY_URL3B

INPUT_URL3B

public static String INPUT_URL3B

PREFIX4

public static String PREFIX4

IDS4

public static String[] IDS4

SPACE4

public static String SPACE4

REF4

public static String REF4

REF4_two

public static String REF4_two

REF4_3

public static String REF4_3

entity4

public static MyEntity entity4

entity4_two

public static MyEntity entity4_two

entity4_3

public static MyEntity entity4_3

EXTENSION4

public static String EXTENSION4

ENTITY_URL4

public static String ENTITY_URL4

INPUT_URL4

public static String INPUT_URL4

ENTITY_URL4_XML

public static String ENTITY_URL4_XML

ENTITY_URL4_JSON

public static String ENTITY_URL4_JSON

ENTITY_URL4_JSONP

public static String ENTITY_URL4_JSONP

COLLECTION_URL4_XML

public static String COLLECTION_URL4_XML

COLLECTION_URL4_JSON

public static String COLLECTION_URL4_JSON

PREFIX5

public static String PREFIX5

IDS5

public static String[] IDS5

REF5

public static String REF5

REF5_2

public static String REF5_2

PREFIX6

public static String PREFIX6

IDS6

public static String[] IDS6

SPACE6

public static String SPACE6

REF6

public static String REF6

ENTITY_URL6

public static String ENTITY_URL6

INPUT_URL6

public static String INPUT_URL6

REF6_2

public static String REF6_2

REF6_3

public static String REF6_3

REF6_4

public static String REF6_4

PREFIX7

public static String PREFIX7

IDS7

public static String[] IDS7

REF7

public static String REF7

REF7_2

public static String REF7_2

PREFIX8

public static String PREFIX8

IDS8

public static String[] IDS8

REF8

public static String REF8

REF8_2

public static String REF8_2

PREFIX9

public static String PREFIX9

IDS9

public static String[] IDS9

REF9

public static String REF9

URL9

public static String URL9

PREFIXA

public static String PREFIXA

IDSA

public static String[] IDSA

REFA

public static String REFA

REFA_2

public static String REFA_2

PREFIXA1

public static String PREFIXA1

SPACEA1

public static String SPACEA1

IDSA1

public static String[] IDSA1

REFA1

public static String REFA1

REFA1_2

public static String REFA1_2

PREFIXA2

public static String PREFIXA2

SPACEA2

public static String SPACEA2

IDSA2

public static String[] IDSA2

REFA2

public static String REFA2

REFA2_2

public static String REFA2_2

PREFIXA3

public static String PREFIXA3

SPACEA3

public static String SPACEA3

IDSA3

public static String[] IDSA3

REFA3

public static String REFA3

REFA3_2

public static String REFA3_2

PREFIXU1

public static String PREFIXU1

SPACEU1

public static String SPACEU1

IDSU1

public static String[] IDSU1

REFU1

public static String REFU1

REFU1_2

public static String REFU1_2

PREFIXU2

public static String PREFIXU2

SPACEU2

public static String SPACEU2

IDSU2

public static String[] IDSU2

REFU2

public static String REFU2

REFU2_2

public static String REFU2_2

PREFIXU3

public static String PREFIXU3

SPACEU3

public static String SPACEU3

IDSU3

public static String[] IDSU3

REFU3

public static String REFU3

REFU3_2

public static String REFU3_2

PREFIXT1

public static String PREFIXT1

IDST1

public static String[] IDST1

REFT1

public static String REFT1

REFT1_2

public static String REFT1_2

REFT1_3

public static String REFT1_3

PREFIXB1

public static String PREFIXB1

IDSB1

public static String[] IDSB1

REFB1

public static String REFB1

REFB1_2

public static String REFB1_2

REFB1_3

public static String REFB1_3

PREFIXB2

public static String PREFIXB2

IDSB2

public static String[] IDSB2

REFB2

public static String REFB2

REFB2_2

public static String REFB2_2

REFB2_3

public static String REFB2_3

PREFIXS1

public static String PREFIXS1

IDSS1

public static String[] IDSS1

REFS1

public static String REFS1

REFS1_2

public static String REFS1_2

REFS1_3

public static String REFS1_3

INVALID_REF

public static String INVALID_REF

INVALID_URL

public static String INVALID_URL

EVENT1_NAME

public static String EVENT1_NAME

EVENT2_NAME

public static String EVENT2_NAME

PROPERTY_NAME5A

public static String PROPERTY_NAME5A

PROPERTY_VALUE5A

public static String PROPERTY_VALUE5A

PROPERTY_NAME5B

public static String PROPERTY_NAME5B

PROPERTY_VALUE5B

public static String PROPERTY_VALUE5B
Lots of quote chars example


PROPERTY_NAME5C

public static String PROPERTY_NAME5C

PROPERTY_VALUE5C

public static String PROPERTY_VALUE5C
Long string example


someTags

public static String[] someTags

entityProvider1

public CoreEntityProvider entityProvider1
Registered provider which implements CoreEntityProvider


entityProvider1T

public TaggableEntityProviderMock entityProvider1T
Registered provider that implements EntityProvider and Taggable and TagProvideable, this provider builds on entityProvider1


entityProviderTag

public TagEntityProviderMock entityProviderTag
Registered provider that uses the built in tagging support


entityProvider2

public EntityProvider entityProvider2
Registered provider that only implements EntityProvider


entityProvider3

public ReferenceParseableEntityProviderMock entityProvider3
Registered provider that implements CoreEntityProvider and ReferenceParseable


entityProvider4

public ResolvableEntityProviderMock entityProvider4
Registered provider that implements CoreEntityProvider and Resolvable and CollectionResolvable


entityProvider5

public PropertyableEntityProviderMock entityProvider5
Registered provider which implements CoreEntityProvider and Propertyable


entityProvider6

public RESTfulEntityProviderMock entityProvider6
Registered provider which implements CoreEntityProvider and RESTful


entityProvider7

public DescribeableEntityProviderMock entityProvider7
Registered provider which implements CoreEntityProvider and CRUDable and Describeable


entityProvider8

public DescribePropertiesableEntityProviderMock entityProvider8
Registered provider which implements CoreEntityProvider and CRUDable and DescribePropertiesable


entityProvider9

public EntityProvider entityProvider9
Unregistered provider


entityProviderA

public RequestStoreableEntityProviderMock entityProviderA
Registered provider which implements CoreEntityProvider and CRUDable and RequestAware and RequestStorable


entityProviderA1

public ActionsEntityProviderMock entityProviderA1
Registered provider which implements CoreEntityProvider and CRUDable and ActionsExecutable


entityProviderA2

public ActionsDefineableEntityProviderMock entityProviderA2
Registered provider which implements CoreEntityProvider and CRUDable and ActionsDefineable


entityProviderA3

public ActionsExecutionEntityProviderMock entityProviderA3
Registered provider which implements CoreEntityProvider and CRUDable and ActionsExecutionControllable


entityProviderU1

public RedirectableEntityProviderMock entityProviderU1
Registered provider which implements CoreEntityProvider and RESTful and Redirectable


entityProviderU2

public RedirectDefineableEntityProviderMock entityProviderU2
Registered provider which implements CoreEntityProvider and RESTful and RedirectDefinable


entityProviderU3

public RedirectControllableEntityProviderMock entityProviderU3
Registered provider which implements CoreEntityProvider and RESTful and RedirectControllable


entityProviderB1

public BrowsableEntityProviderMock entityProviderB1
Registered provider which implements CoreEntityProvider and CRUDable and BrowseableCollection


entityProviderB2

public BrowseSearchableEntityProviderMock entityProviderB2
Registered provider which implements CoreEntityProvider and CRUDable and BrowseSearchable


entityProviderS1

public SerializeableEntityProviderMock entityProviderS1
Registered provider which implements CoreEntityProvider and CRUDable and OutputSerializable

Constructor Detail

TestData

public TestData()
Basic constructor initializes test data if needed



Copyright © 2007-2013 Sakai Project. All Rights Reserved.