com.ibm.tivoli.maximo.pushnotification.unittest

Class TestApiPushNotification

  • java.lang.Object
    • com.ibm.tivoli.maximo.pushnotification.unittest.TestApiPushNotification


  • public class TestApiPushNotification
    extends java.lang.Object
    • Constructor Detail

      • TestApiPushNotification

        public TestApiPushNotification()
    • Method Detail

      • testApiPushNotification

        public void testApiPushNotification()
                                     throws java.lang.Exception
        Test Push Notification API.
        Throws:
        java.lang.Exception
      • addTestDomain

        public void addTestDomain()
      • addpushDevType

        public void addpushDevType(java.lang.String providerName,
                                   java.lang.String deviceType)
      • addTestFCMProviderData

        public void addTestFCMProviderData(com.ibm.json.java.JSONObject FCMObject,
                                           java.lang.String devType)
      • addTestAPNProviderData

        public void addTestAPNProviderData(com.ibm.json.java.JSONObject APNObject)
      • testPushGetAPI

        public void testPushGetAPI(java.lang.String deviceType)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPushPostAPI

        public void testPushPostAPI(com.ibm.json.java.JSONObject pushData,
                                    java.lang.String deviceType)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception