org.kuali.rice.ken.test
Class TestConstants

java.lang.Object
  extended by org.kuali.rice.ken.test.TestConstants

public final class TestConstants
extends Object

Constants reflecting test data that is used in tests. If tests or test data is updated, this file need to be updated to be kept in sync.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String ADMIN_USER_1
           
static Long BAD_MESSAGE_DELIVERY_ID
          Id of message delivery which has been intentionally misconfigured in test data to fail delivery (e.g.
static Long CHANNEL_ID_1
          Channel in test data: PRODUCER_3 MUST be a valid producer for this channel PRODUCER_4 MUST NOT be a valid producer for this channel
static String CONTACT_INFO_1_PRODUCER
           
static String CONTACT_INFO_2_PRODUCERS
           
static String EMAIL_DELIVERER_PROPERTY_VALUE
          Email deliverer property
static int GROUP_1_MEMBERS
          Number of members in this group
static String INVALID_CONTENT_TYPE
          An invalid content type
static String INVALID_USER_1
           
static int KIM_GROUP_1_MEMBERS
           
static String NON_ADMIN_USER_1
           
static String NON_EXISTENT_DELIVERER_NAME
          An invalid deliverer name
static Long NON_EXISTENT_ID
          A primary key that won't exist in the database
static Long NOT_MSG_DELIV_NOTIF_1_TEST_USER_5
          Id of the message delivery in the test data for notification 1, test user 5, email deliverer
static Long NOT_MSG_DELIV_NOTIF_1_TEST_USER_5_ACT_LST
          Id of the message delivery in the test data for notification 1, test user 5, kew action list deliverer
static Long NOTIFICATION_1
          A valid notification id
static String NOTIFICATION_1_DELIVERY_TYPE
          Delivery type of the NOTIFICATION_1 notification
static String NOTIFICATION_RECIPIENT_CONTENT_TYPE
          The content type of a notification for which the NOTIFICATION_RECIPIENT_ID user is a target (can by any content type as long as the user is the target of at least one notification with that content type)
static String NOTIFICATION_RECIPIENT_ID
          A user who is the target of a notification
static int NUM_OF_MSG_DELIVS_FOR_NOTIF_1_TEST_USER_5
          Number of message deliveries in the test data that are associated with notification #2
static int NUM_OF_MSG_DELIVS_IN_TEST_DATA
          Number of existing message deliveries in test data
static int NUM_TEST_PRODUCERS
           
static NotificationProducerBo PRODUCER_1
          Producers
static NotificationProducerBo PRODUCER_2
           
static NotificationProducerBo PRODUCER_3
           
static NotificationProducerBo PRODUCER_4
           
static NotificationProducerBo PRODUCER_5
           
static String TEST_USER_FIVE
           
static String TEST_USER_FOUR
           
static String TEST_USER_ONE
          Some user names
static String TEST_USER_ONE_DISPLAYNAME
           
static String TEST_USER_SIX
           
static String TEST_USER_THREE
           
static String TEST_USER_TWO
           
static String VALID_CHANNEL_ONE
          Some valid channels
static Long VALID_CHANNEL_ONE_ID
           
static String VALID_CHANNEL_TWO
           
static Long VALID_CHANNEL_TWO_ID
           
static String VALID_DELIVERER_NAME
          A valid deliverer name
static Long VALID_EMAIL_MESSAGE_DELIVERY_ID
          A valid 'Email' message delivery id in the test data
static String VALID_GROUP_NAME_1
          A valid group
static String VALID_KIM_GROUP_ID_1
          A valid KIM group name
static String VALID_KIM_GROUP_NAME_1
          A valid KIM group name
static String VALID_KIM_PRINCIPAL_NAME
          A valid KIM principal name
static Long VALID_MESSAGE_DELIVERY_ID
          A valid message delivery id in the test data
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NON_EXISTENT_ID

public static final Long NON_EXISTENT_ID
A primary key that won't exist in the database


PRODUCER_1

public static final NotificationProducerBo PRODUCER_1
Producers


PRODUCER_2

public static final NotificationProducerBo PRODUCER_2

PRODUCER_3

public static final NotificationProducerBo PRODUCER_3

PRODUCER_4

public static final NotificationProducerBo PRODUCER_4

PRODUCER_5

public static final NotificationProducerBo PRODUCER_5

NUM_TEST_PRODUCERS

public static final int NUM_TEST_PRODUCERS
See Also:
Constant Field Values

CONTACT_INFO_2_PRODUCERS

public static final String CONTACT_INFO_2_PRODUCERS
See Also:
Constant Field Values

CONTACT_INFO_1_PRODUCER

public static final String CONTACT_INFO_1_PRODUCER
See Also:
Constant Field Values

VALID_CHANNEL_ONE

public static final String VALID_CHANNEL_ONE
Some valid channels

See Also:
Constant Field Values

VALID_CHANNEL_ONE_ID

public static final Long VALID_CHANNEL_ONE_ID

VALID_CHANNEL_TWO

public static final String VALID_CHANNEL_TWO
See Also:
Constant Field Values

VALID_CHANNEL_TWO_ID

public static final Long VALID_CHANNEL_TWO_ID

CHANNEL_ID_1

public static final Long CHANNEL_ID_1
Channel in test data: PRODUCER_3 MUST be a valid producer for this channel PRODUCER_4 MUST NOT be a valid producer for this channel


VALID_MESSAGE_DELIVERY_ID

public static final Long VALID_MESSAGE_DELIVERY_ID
A valid message delivery id in the test data


NUM_OF_MSG_DELIVS_IN_TEST_DATA

public static final int NUM_OF_MSG_DELIVS_IN_TEST_DATA
Number of existing message deliveries in test data

See Also:
Constant Field Values

VALID_EMAIL_MESSAGE_DELIVERY_ID

public static final Long VALID_EMAIL_MESSAGE_DELIVERY_ID
A valid 'Email' message delivery id in the test data


BAD_MESSAGE_DELIVERY_ID

public static final Long BAD_MESSAGE_DELIVERY_ID
Id of message delivery which has been intentionally misconfigured in test data to fail delivery (e.g. invalid delivery type)


VALID_DELIVERER_NAME

public static final String VALID_DELIVERER_NAME
A valid deliverer name

See Also:
Constant Field Values

NON_EXISTENT_DELIVERER_NAME

public static final String NON_EXISTENT_DELIVERER_NAME
An invalid deliverer name

See Also:
Constant Field Values

TEST_USER_ONE

public static final String TEST_USER_ONE
Some user names

See Also:
Constant Field Values

TEST_USER_ONE_DISPLAYNAME

public static final String TEST_USER_ONE_DISPLAYNAME
See Also:
Constant Field Values

TEST_USER_TWO

public static final String TEST_USER_TWO
See Also:
Constant Field Values

TEST_USER_THREE

public static final String TEST_USER_THREE
See Also:
Constant Field Values

TEST_USER_FOUR

public static final String TEST_USER_FOUR
See Also:
Constant Field Values

TEST_USER_FIVE

public static final String TEST_USER_FIVE
See Also:
Constant Field Values

TEST_USER_SIX

public static final String TEST_USER_SIX
See Also:
Constant Field Values

ADMIN_USER_1

public static final String ADMIN_USER_1
See Also:
Constant Field Values

NON_ADMIN_USER_1

public static final String NON_ADMIN_USER_1
See Also:
Constant Field Values

INVALID_USER_1

public static final String INVALID_USER_1
See Also:
Constant Field Values

NOTIFICATION_RECIPIENT_ID

public static final String NOTIFICATION_RECIPIENT_ID
A user who is the target of a notification

See Also:
Constant Field Values

NOTIFICATION_RECIPIENT_CONTENT_TYPE

public static final String NOTIFICATION_RECIPIENT_CONTENT_TYPE
The content type of a notification for which the NOTIFICATION_RECIPIENT_ID user is a target (can by any content type as long as the user is the target of at least one notification with that content type)

See Also:
Constant Field Values

VALID_GROUP_NAME_1

public static final String VALID_GROUP_NAME_1
A valid group

See Also:
Constant Field Values

VALID_KIM_GROUP_NAME_1

public static final String VALID_KIM_GROUP_NAME_1
A valid KIM group name

See Also:
Constant Field Values

VALID_KIM_GROUP_ID_1

public static final String VALID_KIM_GROUP_ID_1
A valid KIM group name

See Also:
Constant Field Values

VALID_KIM_PRINCIPAL_NAME

public static final String VALID_KIM_PRINCIPAL_NAME
A valid KIM principal name

See Also:
Constant Field Values

GROUP_1_MEMBERS

public static final int GROUP_1_MEMBERS
Number of members in this group

See Also:
Constant Field Values

KIM_GROUP_1_MEMBERS

public static final int KIM_GROUP_1_MEMBERS
See Also:
Constant Field Values

INVALID_CONTENT_TYPE

public static final String INVALID_CONTENT_TYPE
An invalid content type

See Also:
Constant Field Values

NOTIFICATION_1

public static final Long NOTIFICATION_1
A valid notification id


NOTIFICATION_1_DELIVERY_TYPE

public static final String NOTIFICATION_1_DELIVERY_TYPE
Delivery type of the NOTIFICATION_1 notification

See Also:
Constant Field Values

NUM_OF_MSG_DELIVS_FOR_NOTIF_1_TEST_USER_5

public static final int NUM_OF_MSG_DELIVS_FOR_NOTIF_1_TEST_USER_5
Number of message deliveries in the test data that are associated with notification #2

See Also:
Constant Field Values

NOT_MSG_DELIV_NOTIF_1_TEST_USER_5_ACT_LST

public static final Long NOT_MSG_DELIV_NOTIF_1_TEST_USER_5_ACT_LST
Id of the message delivery in the test data for notification 1, test user 5, kew action list deliverer


NOT_MSG_DELIV_NOTIF_1_TEST_USER_5

public static final Long NOT_MSG_DELIV_NOTIF_1_TEST_USER_5
Id of the message delivery in the test data for notification 1, test user 5, email deliverer


EMAIL_DELIVERER_PROPERTY_VALUE

public static final String EMAIL_DELIVERER_PROPERTY_VALUE
Email deliverer property

See Also:
Constant Field Values


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.