public class PushControllerTest extends Object
Constructor and Description |
---|
PushControllerTest() |
public PushControllerTest()
public static void setUpClass() throws Exception
Exception
public void preTest()
public void testIndex()
public void testSendToChosenDevice()
public void testGetPushDetailsWithNullHash()
public void testGetPushDetails()
public void testGetUserDetails()
public void testHistory()
public void testSubmitPushToAll()
public void testSubmitPushToIdWithInvalidPushMessage()
public void testSubmitPushToUsernamelessWithNullPushMessage()
public void testSubmitPushToEmptyRecipientWithNullPushTitle()
public void testSubmitPushToEmptyRecipientWithEmptyPushTitle()
public void testServiceWithNullData()
public void testServiceWithMalformedJsonData()
public void testService()
public void testServiceWithBadSender()
public void testServiceWithNoRecipientsOrDevices()
public void testServiceWithMultipleRecipientsAndDevices()
public void testSetKeyListFIle()
public void testReceivedNotificationWithNullData()
public void testReceivedNotification()
public void testReceivedNotification2()
public void testReceivedNotification3()
public PushController getController()
public void setController(PushController controller)
public org.springframework.mock.web.MockHttpServletRequest getRequest()
public void setRequest(org.springframework.mock.web.MockHttpServletRequest request)
public org.springframework.mock.web.MockHttpServletResponse getResponse()
public void setResponse(org.springframework.mock.web.MockHttpServletResponse response)
public org.springframework.ui.Model getUiModel()
public void setUiModel(org.springframework.ui.Model uiModel)
public PushService getPushService()
public void setPushService(PushService pushService)
public DeviceService getDeviceService()
public void setDeviceService(DeviceService deviceService)
public GroupDao getGroupDao()
public void setGroupDao(GroupDao groupDao)
groupDao
- the groupDao to setpublic SenderService getSenderService()
public void setSenderService(SenderService senderService)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.