Skip to content

Merge branch 'master' into evan/MOB-8113-add-placement-id-list-to-syn…

76b0ad8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

[MOB-8113] adds placement ids array to sync messages #898

Merge branch 'master' into evan/MOB-8113-add-placement-id-list-to-syn…
76b0ad8
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results succeeded Sep 4, 2025 in 0s

Tests: 618/618 passed (100.0%) Skipped: 13

Test Results Summary:
• Total Tests: 631
• Passed: 618
• Failed: 0
• Skipped: 13
• Success Rate: 100.0%

Xcode Test Results

Test

TotalPassedFailedSkippedExpected FailuresDuration
6316180130306.76s

Test Environment

DeviceiPhone 16 Pro
OS Version18.6
Architecturearm64

Test Details

unit-tests

APNSTypeCheckerTests

testDev()0.01s
testNoValue()0.00s
testValidProduction()0.00s

ActionRunnerTests

testAllowHttpWhenAllowedProtocolsIsSet()0.01s
testBadDataInIterableAction()0.00s
testCustomAction()0.00s
testCustomActionOverride()0.00s
testDoNotOpenHttpByDefault()1.00s
testOpenHttpsByDefault()0.00s
testUrlHandlingOverride()0.00s
testUrlOpenAction()0.00s

AuthTests

testAsyncAuthTokenRetrieval()0.12s
testAuthTokenCallbackOnSetEmail()4.92s
testAuthTokenCallbackOnSetUserId()0.87s
testAuthTokenChangeWithSameEmail()0.92s
testAuthTokenChangeWithSameUserId()0.79s
testAuthTokenDeletedOnLogout()0.27s
testAuthTokenNotRequestingForAlreadyExistingEmail()1.14s
testAuthTokenRefreshOnInit()0.81s
testAuthTokenRefreshQueued()1.00s
testAuthTokenRefreshRetryOnlyOnce()8.05s
testAuthTokenRefreshSkippedIfUserLoggedOutAfterReschedule()2.25s
testAuthTokenRetrievalFailureReset()3.40s
testDecodeExpirationDate()0.00s
testEmailPersistence()0.84s
testEmailWithTokenPersistence()0.15s
testLoggedOutAuthTokenRequest()1.12s
testLogoutUser()0.34s
testNewEmailAndThenChangeToken()0.27s
testNewUserIdAndThenChangeToken()0.12s
testPriorAuthFailedRetryPrevention()0.01s
testPriorAuthFailedRetrySuccess()0.04s
testPushRegistrationAfterAuthTokenRetrieval()0.16s
testRefreshTimerQueueRejection()1.11s
testUpdateEmailAndThenChangeToken()0.65s
testUpdateEmailWithTokenParam()0.16s
testUserIdPersistence()0.42s
testUserIdWithTokenPersistence()0.19s
testUserLoginAndLogout()0.26s

AutoRegistrationTests

testAutomaticPushRegistrationOnInit()0.14s
testCallDisableAndEnable()0.58s
testDoNotCallDisableAndEnableWhenSameValue()1.47s
testDoNotCallDisableOrEnableWhenAutoPushIsOff()1.43s

ClassExtensionsTests

testArrayIsAscending()0.00s
testArrayIsDescending()0.00s
testHexConversion()0.00s
testUIColorInit()0.00s

CombinationComplexCriteria

testComplexCriteria1Failed()0.01s
testComplexCriteria1Success()0.00s
testComplexCriteria2Failed()0.00s
testComplexCriteria2Success()0.00s
testComplexCriteria3Fail()0.00s
testComplexCriteria3Success()0.02s
testComplexCriteria3Success2()0.00s

CombinationLogicEventTypeCriteria

testCompareDataPurchaseAndFailed()0.02s
testCompareDataPurchaseAndSuccess()0.00s
testCompareDataPurchaseCustomEventAndFailed()0.00s
testCompareDataPurchaseCustomEventAndSuccess()0.00s
testCompareDataPurchaseCustomEventNotFailed()0.02s
testCompareDataPurchaseCustomEventNotSuccess()0.00s
testCompareDataPurchaseCustomEventOrFailed()0.00s
testCompareDataPurchaseCustomEventOrSuccess()0.00s
testCompareDataPurchaseNotFailed()0.00s
testCompareDataPurchaseNotSuccess()0.00s
testCompareDataPurchaseOrFailed()0.00s
testCompareDataPurchaseOrSuccess()0.00s
testCompareDataUpdateCartAndFailed()0.00s
testCompareDataUpdateCartAndSuccess()0.00s
testCompareDataUpdateCartNotFailed()0.00s
testCompareDataUpdateCartNotSuccess()0.00s
testCompareDataUpdateCartOrFailed()0.00s
testCompareDataUpdateCartOrSuccess()0.00s
testCompareDataUserAndFailed()0.00s
testCompareDataUserAndSuccess()0.00s
testCompareDataUserNotFailed()0.13s
testCompareDataUserNotSuccess()0.00s
testCompareDataUserOrFailed()0.00s
testCompareDataUserOrSuccess()0.00s

CommerceItemTests

testToDictionaryWithAllFields()0.00s
testToDictionaryWithRequiredFields()0.00s

ComparatorDataTypeWithArrayInput

testMockDataMileStoneYearDoesNotEqualFailure()0.00s
testMockDataMileStoneYearDoesNotEqualSuccess()0.00s
testMockDataMileStoneYearEqualFailure()0.00s
testMockDataMileStoneYearEqualSuccess()0.00s
testMockDataMileStoneYearGreaterThanFailure()0.03s
testMockDataMileStoneYearGreaterThanOrEqualToFailure()0.00s
testMockDataMileStoneYearGreaterThanOrEqualToSuccess()0.00s
testMockDataMileStoneYearGreaterThanSuccess()0.00s
testMockDataMileStoneYearLessThanFailure()0.00s
testMockDataMileStoneYearLessThanOrEqualFailure()0.00s
testMockDataMileStoneYearLessThanOrEqualToSuccess()0.00s
testMockDataMileStoneYearLessThanSuccess()0.00s
testMockDataMockDataForArrayContainsFailure()0.00s
testMockDataMockDataForArrayContainsSuccess()0.00s
testMockDataMockDataForArrayMatchRegexFailure()0.00s
testMockDataMockDataForArrayMatchRegexSuccess()0.37s
testMockDataMockDataForArrayStartWithFailure()0.00s
testMockDataMockDataForArrayStartWithSuccess()0.00s
testMockDataStringArrayDoesNotEqualFailure()0.00s
testMockDataStringArrayDoesNotEqualSuccess()0.01s

ComparatorTypeDoesNotEqualMatchTest

testCompareDataFailedForBool()0.00s
testCompareDataFailedForDouble()0.00s
testCompareDataFailedForLong()0.00s
testCompareDataFailedForString()0.00s
testCompareDataSuccessForBool()0.00s
testCompareDataSuccessForDouble()0.00s
testCompareDataSuccessForLong()0.00s
testCompareDataSuccessForString()0.00s

ConsentTrackingTests

testConsentNoRetryOnSuccess()0.38s
testConsentNotSentWhenAnonActivationDisabled()2.23s
testConsentNotSentWhenAnonUserExists()2.13s
testConsentNotSentWhenNoConsentTimestamp()2.14s
testConsentNotSentWhenNoTracking()2.14s
testConsentRequestIncludesDeviceInfo()0.13s
testConsentRetryFailsAfterTwoAttempts()0.65s
testConsentRetryOnFailure()0.33s
testConsentSentAfterCriteriaMatch()0.13s
testConsentSentOnEmailSetForReplayScenario()0.18s
testConsentSentOnUserIdSetForReplayScenario()0.22s
testConsentTimestampSentInMilliseconds()0.13s
testConsentTrackingErrorHandling()0.12s
testSendPendingConsentSkippedInLoginFlowWhenReplayDisabled()2.29s
testSendPendingConsentSkippedWhenReplayDisabled()2.32s
testSendPendingConsentWhenReplayEnabled()0.24s

CustomEventUserUpdateTestCaseTests

testCompareDataWithCustomEventCriteriaFailed1()0.00s
testCompareDataWithCustomEventCriteriaFailed2()0.00s
testCompareDataWithCustomEventCriteriaFailed3()0.00s
testCompareDataWithCustomEventCriteriaFailed4()0.00s
testCompareDataWithCustomEventCriteriaSuccessCase()0.00s
testMultiLevelNestedFailed1()0.00s
testMultiLevelNestedFailed2()0.00s
testMultiLevelNestedFailed3()0.00s
testMultiLevelNestedFailed4()0.00s
testMultiLevelNestedSuccessCase()0.00s

DataTypeComparatorSearchQueryCriteria

testCompareDataContainFailure()0.00s
testCompareDataDoesNotEqualFailed()0.00s
testCompareDataDoesNotEqualSuccess()0.00s
testCompareDataEqualFailed()0.00s
testCompareDataEqualSuccess()0.02s
testCompareDataGreaterThanFailed()0.00s
testCompareDataGreaterThanOrEqualFailed()0.00s
testCompareDataGreaterThanOrEqualSuccess()0.00s
testCompareDataGreaterThanSuccess()0.00s
testCompareDataIsSetFailure()0.02s
testCompareDataIsSetySuccess()0.00s
testCompareDataLessThanFailed()0.00s
testCompareDataLessThanOrEqualFailed()0.00s
testCompareDataLessThanOrEqualSuccess()0.02s
testCompareDataLessThanSuccess()0.00s
testCompareDataMatchesRegexFailure()0.00s
testCompareDataMatchesRegexSuccess()0.00s
testCompareDataStartWithFailure()0.00s

DeepLinkTests

testGreenFiDeepLinkWithoutRedirect()0.01s
testGreenFiSMSDeepLinkRedirect()0.03s
testHandleUniversalLinkAttributionInfo()0.62s
testHandleUniversalLinkRewrite()0.19s
testNoURLRedirect()0.00s
testTrackUniversalDeepLinkNoRewrite()0.00s
testTrackUniversalDeepLinkRewrite()0.01s

EmbeddedManagerTests

testGetMessagesForPlacement()0.02s
testGetMessagesWhenEmpty()0.00s
testManagerCorrectlyAddsAndRemovesListeners()0.07s
testManagerInitializationAndDeinitialization()0.00s
testManagerNotifiesMultipleDelegates()0.03s
testManagerReset()0.00s
testManagerSingleDelegateUpdated()0.06s
testManagerSyncsOnForeground()0.01s
testSyncMessagesFailedDueToInvalidAPIKey()0.00s
testSyncMessagesForSpecifiedPlacement()0.00s
testSyncMessagesSuccessful()0.01s
testUpdateMessagesIsCalled()0.03s

EmbeddedMessagingProcessorTests

testMessageIdsToTrackDelivery()0.00s
testMessageListProcessing()0.00s
testMessageListRemovedMessages()0.00s

InAppFilePersistenceTests

testColorAndShouldAnimatePersistence()0.08s
testCorruptedData()0.00s
testFilePersistence()0.00s
testFilePersisterInitial()0.00s
testPersistBetweenSessions()0.24s
testShouldAnimateWithoutBGColorPersistence()0.00s

InAppHelperTests

testGetInAppMessagesWithErrorGetsConsumed()0.00s
testGetInAppMessagesWithNoError()0.01s
testParseURL()0.00s

InAppMessageProcessorTests

testDoNotCountNewReadMessageAsDelivered()0.00s
testMessagesObtainedShouldOverwriteForReadState()0.00s

InAppNavigationTests

testAllowHttpWhenAllowedProtocolsIsSet()0.13s
testDoNotOpenHttpByDefault()1.12s
testOpenHttpsByDefault()0.12s

InAppParsingTests

testBackgroundColor1()0.00s
testBackgroundColor2()0.00s
testBackgroundColor3()0.00s
testBackgroundColor4()0.00s
testBackgroundColor5()0.00s
testBackgroundColor6()0.00s
testCallbackUrlParsingAppleWebdataScheme1()0.00s
testCallbackUrlParsingAppleWebdataScheme2()0.01s
testCallbackUrlParsingCustomActionScheme()0.00s
testCallbackUrlParsingRegularScheme()0.00s
testCustomPayloadParsing()0.00s
testDoNotShowMultipleTimes()0.00s
testGetPaddingBottom()0.00s
testGetPaddingCenter()0.00s
testGetPaddingFull()0.00s
testGetPaddingInvalid()0.00s
testGetPaddingTop()0.00s
testInAppPayloadParsing()0.00s
testInAppPayloadParsingWithPreprocessing()0.00s
testInAppPayloadWithKnownTrigger()0.00s
testInAppPayloadWithNoTrigger()0.00s
testInAppPayloadWithUnKnownTrigger()0.00s
testNotificationPaddingBottom()0.00s
testNotificationPaddingCenter()0.00s
testNotificationPaddingDefault()0.00s
testNotificationPaddingFull()0.00s
testNotificationPaddingTop()0.00s
testParseShouldAnimate1()0.09s
testParseShouldAnimate2()0.00s
testParseShouldAnimate3()0.00s
testParseShouldAnimate4()0.00s
testParseShouldAnimate5()0.00s
testParseShouldAnimate6()0.00s
testParseShouldAnimate7()0.02s
testTrackInAppClickWithClickedUrl()0.12s
testTrackInAppClose()0.12s
testTrackInAppCloseWithNoSource()0.14s
testTrackInAppDelivery()0.12s
testTrackInAppOpen()0.12s

InAppPersistenceTests

testDefaultTriggerDict()0.00s
testInboxMetadataDecodingEncoding()0.00s
testJsonOnlyMessageCustomPayloadPriority()0.00s
testJsonOnlyMessagePersistence()0.00s
testPersistentReadStateFromServerPayload()0.13s
testUIEdgeInsetsKeysDecodingEncoding()0.00s

InAppPresenterTests

testInAppPresenterDelegateExistence()0.01s
testInAppPresenterIsPresentingOnInit()0.00s
testInAppPresenterShowMethod()1.48s

InAppPriorityTests

testDisplayingCriticalPriorityLevel()0.92s
testDisplayingPriorityLevelsInOrder()3.87s
testGetMessagesWithOutOfOrderPriorityLevels()0.16s
testInAppMessagePriorityPersistence()0.12s
testMessageWithNoPriorityTreatedAsDefaultLevel()0.34s

InAppTests

testAutoDisplayOff()0.22s
testAutoDisplayResumed()0.15s
testAutoShowInAppMultipleOverride()1.12s
testAutoShowInAppMultipleWithOrdering()2.37s
testAutoShowInAppOpenUrlByDefault()0.13s
testAutoShowInAppSingle()0.19s
testAutoShowInAppSingleOverride()1.12s
testAutoShowInAppUrlDelegateOverride()1.14s
testDeleteInServerDeletesInClient()0.12s
testDoNoProcessNonImmediateTriggerTypes()1.11s
testDontShowNewlyArrivedMessageWithinRetryInterval()2.24s
testEmptyInAppManager()0.00s
testExpiration()0.27s
testInAppDelivery()0.14s
testInAppDoNotShowInBackground()1.12s
testInAppRemoveMessagePayload1()0.12s
testInAppRemoveMessagePayload2()0.12s
testInAppRemoveMessagePayload3()0.12s
testInAppShowWhenMovesToForeground()1.13s
testInboxChangedIsCalledWhenInAppIsRemovedInServer()0.12s
testJsonOnlyInAppMessage()0.12s
testJsonOnlyInAppMessageDelegateCallbacks()3.13s
testJsonOnlyInAppMessageParsing()0.12s
testJsonOnlyInAppMessageWithoutCustomPayload()0.11s
testJsonOnlyMessageCannotBeSavedToInbox()0.18s
testJsonOnlyMessageIgnoresContentPayload()0.11s
testJsonOnlyMessageWithEmptyPayload()0.14s
testMoveToForegroundSyncInterval()2.19s
testOnNewNotCalledMultipleTimes()0.13s
testParseSilentPushNotificationParsing()0.00s
testParseSilentPushNotificationParsing2()0.00s
testRemoveIsCalled()0.00s
testRemoveMessages()0.27s
testShowInAppWithConsume()0.12s
testShowInAppWithCustomAction()0.12s
testShowInAppWithCustomAction1()0.11s
testShowInAppWithCustomActionBackwardCompatibility()0.12s
testShowInAppWithIterableCustomActionDelete()1.12s
testShowInAppWithIterableCustomActionDismiss()0.12s
testShowInAppWithNoConsume()0.12s
testSyncIsCalled()0.11s
testSyncIsCalledOnLogin()0.13s

InboxImpressionTrackerTests

testRowInfoHashableEquatable()0.00s
testToIterableInboxImpression()0.00s
testUpdateVisibleRows()1.62s

InboxMessageViewModelTests

testEquatable()0.01s
testHasValidImageUrl()0.00s
testHasher()0.00s
testModel()0.00s

InboxSessionManagerTests

testSessionInfoStartAndEnd()0.00s
testSessionIsTracking()0.00s
testUpdateRowTracking()1.01s

InboxTests

testInboxAndInAppCallbacksTogether()0.12s
testInboxChangedCalledOnInitialization()0.11s
testInboxLogoutClearMessageQueue()1.15s
testInboxNewMessagesCallback()0.11s
testInboxOrdering()0.11s
testReceiveReadMessage()0.11s
testRemove()0.17s
testSetRead()0.16s
testShowInboxMessage()0.16s
testShowNowAndInboxMessage()0.17s

InboxViewControllerViewModelTests

testAscendingSorting()0.01s
testCustomFiltering()0.02s
testDescendingSorting()0.00s
testImageLoadingForExistingImage()1.13s
testImageLoadingForNonExistingImage()5.12s
testNoSortingIsDescending()0.00s
testRowDiff()0.13s
testSampleFilter()0.01s
testSampleSectionMapper()0.01s
testWithNoFiltering()0.00s

IsOneOfInNotOneOfCriteareaTest

testCompareIsNotOneOfFailed()0.00s
testCompareIsNotOneOfSuccess()0.00s
testCompareIsOneOfFailed()0.00s
testCompareIsOneOfSuccess()0.00s
testCompareMockDataCrashTest()0.00s

IterableAPIResponseTests

testAuthInHeader()0.11s
testHeadersInGetRequest()0.12s
testHeadersInPostRequest()0.12s
testNetworkTimeoutResponse()0.21s
testNoNetworkResponse()0.11s
testNon200ResponseCode()0.14s
testResponseCode200()0.11s
testResponseCode200WithInvalidJson()0.12s
testResponseCode200WithNoData()0.11s
testResponseCode400WithMessage()0.11s
testResponseCode400WithoutMessage()0.12s
testResponseCode401()0.11s
testResponseCode500()6.15s
testSendRequestWithRetry()6.16s
testTrackConsentError()0.12s
testTrackConsentNetworkError()0.11s
testTrackConsentRequestFormat()0.11s
testTrackConsentSuccess()0.12s
testTrackConsentWithOnlyTimestamp()0.11s

IterableAPITests

testDisableDeviceForAllUsers()0.12s
testDisableDeviceForAllUsersWithoutCallback()0.12s
testDisableDeviceForCurrentUser()0.11s
testDisableDeviceForCurrentUserWithoutCallback()0.11s
testDisableDeviceNotRegistered()0.11s
testEmailPersistence()0.11s
testGetInAppMessagesFunction()0.12s
testInAppConsume()0.11s
testInitialize()0.11s
testInitializeCheckEndpoint()0.11s
testInitializeWithConfig()0.11s
testInitializeWithDefaultDataRegion()0.11s
testInitializeWithEUDataRegion()0.11s
testInitializeWithLaunchOptionsAndCustomAction()0.11s
testInitializeWithLaunchOptionsAndUrl()0.11s
testInitializeWithNewEndpoint()0.12s
testPurchaseWithoutSuccessAndFailure()0.13s
testRegisterToken()0.11s
testRegisterTokenNilAppName()0.11s
testRegisterTokenNilEmailAndUserId()0.11s
testSetEmailWithCallbackFailure()0.16s
testSetEmailWithCallbackSuccess()0.12s
testSetUserIdWithCallbackFailure()0.13s
testSetUserIdWithCallbackSuccess()0.11s
testSetVisitorUsageTrackedClearsConsentTimestamp()0.11s
testSetVisitorUsageTrackedMultipleCalls()0.11s
testSetVisitorUsageTrackedStoresConsentTimestamp()0.11s
testSetVisitorUsageTrackedStoresTimestampInMilliseconds()0.11s
testTrackEventBadNetwork()6.15s
testTrackEventWithEmail()0.11s
testTrackEventWithEmail2()0.12s
testTrackEventWithNoEmailOrUser()0.11s
testTrackInAppConsumeWithSource()0.11s
testTrackPurchaseNoUserIdOrEmail()0.11s
testTrackPurchaseWithEmail()0.11s
testTrackPurchaseWithUserId()0.11s
testTrackPurchaseWithUserId2()0.12s
testTrackPushOpen()0.12s
testTrackPushOpenWithCallback()0.12s
testTrackPushOpenWithCampaignIdEtc()0.11s
testTrackPushOpenWithCampaignIdEtcWithCallback()0.11s
testTrackPushOpenWithDataFields()0.11s
testUpdateCart()0.11s
testUpdateEmailWithEmail()0.11s
testUpdateEmailWithUserId()0.11s
testUpdateSubscriptions()0.12s
testUpdateUserWithEmail()0.12s
testUpdateUserWithUserId()0.11s
testUpgradeJWTToken()0.16s
testUserIdPersistence()0.11s

IterableApiCriteriaFetchTests

testCriteriaFetchNotCalledWhenDisabled()15.12s
testForegroundCriteriaFetchWhenConditionsMet()5.23s
testForegroundCriteriaFetchWithCooldown()20.25s

IterableDataRegionObjCTests

testIterableDataRegionIsAccessibleFromObjectiveC0.00s

IterableHtmlMessageViewControllerTests

testBottomAnimation()0.00s
testCenterAnimation()0.00s
testFullAnimation()0.00s
testTopAnimation()0.00s
testTrackInAppClick()0.11s
testTrackInAppClose()0.01s
testTrackInAppOpen()0.03s
testWebViewBottomPositioning()0.00s
testWebViewBottomPositioningWithSafeAreaInsets()0.01s
testWebViewCenterPositioning()0.00s
testWebViewFullPositioning()0.00s
testWebViewTopPositioning()0.01s
testWebViewTopPositioningWithSafeAreaInsets()0.00s

IterableInboxViewControllerTests

testInitializers()0.01s

IterableRequestTests

testGetRequestSerialization()0.00s
testGetRequestSerializationWithNilArgs()0.00s
testPostRequestSerialization()0.00s
testPostRequestSerializationWithNilBody()0.00s

IterableRequestUtilTests

testDictToJsonData()0.00s
testGetRequest()0.01s
testGetRequestWithPlusSignInEmail()0.00s
testPostRequest()0.00s

IterableUtilTests

testDifferentGeneralSeparator()0.00s
testDifferentPairSeparator()0.00s
testEmptyDescribe()0.00s
testSingleElementDescribe()0.00s

KeychainWrapperTests

testDelete()0.01s
testRemoveAll()0.01s
testRewrite()0.01s
testSave()0.00s

LocalStorageTests

testAttributionInfo()0.01s
testAuthDataInKeychain()0.01s
testAuthToken()0.01s
testDDLChecked()0.00s
testDeviceId()0.01s
testOfflineMode()0.01s
testSdkVersion()0.00s
testUserIdAndEmail()0.01s
testVisitorConsentTimestamp()0.00s

LoggingTests

testLogging()0.11s

NestedFieldSupportForArrayData

testNestedFieldArrayEventValueFail()0.00s
testNestedFieldArrayUserValueFail()0.00s
testNestedFieldArrayValueEventSuccess()0.00s
testNestedFieldArrayValueUserSuccess()0.00s
testNestedFieldFailed()0.00s
testNestedFieldSuccess()0.00s

NotificationMetadataTests

testDeserializedFromIterableJson()0.00s
testInvalidPayloads()0.00s
testValidGhostPayload()0.00s
testValidProofPayload()0.00s
testValidProofPayloadNoCampaignId()0.00s
testValidRealPayload()0.00s
testValidTestPayload()0.00s

NotificationObserverTests

testNotificationStateChangeUpdatesStorage()0.22s

NotificationResponseTests

testActionButtonDismiss()0.00s
testLegacyDeepLinkPayload()0.00s
testSaveAttributionInfo()0.11s
testTrackOpenPushWithCustomAction()0.00s

OrderedDictionaryTests

testNonExistentKey()0.00s
testOrderedDictCount()0.00s
testOrderedDictDescription()0.00s
testOrderedDictLiteralInit()0.00s
testOrderedDictSubscript()0.00s
testRemoveValue()0.00s

PendingTests

testFlatMap()1.02s
testFlatMapFailure1()1.00s
testFlatMapFailure2()1.00s
testFutureInitWithFailure()1.01s
testFutureInitWithSuccess()1.00s
testMap()1.00s
testMapFailure()1.00s
testMultiValues()0.00s
testWaitUntilFinished()0.41s

RedirectNetworkSessionTests

testDeepLinkManagerUsesRedirectNetworkSession()0.00s
testRedirectCompletionHandlerAllowsRedirect()0.02s
testRedirectWithMalformedCookiesStillAllowsRedirect()0.00s
testRedirectWithNoHeaderFields()0.00s
testRedirectWithoutCookiesStillAllowsRedirect()0.00s

RegistrationTests

testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseProduction()0.16s
testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseSandbox()0.12s
testRegisterTokenWithAutoPlatformChooseProduction()0.13s
testRegisterTokenWithAutoPlatformChooseSandbox()0.13s
testRegisterTokenWithProductionPlatform()0.11s
testRegisterTokenWithSandboxPlatform()0.11s

RequestCreatorTests

testCreateTrackConsentRequestMinimal()0.00s
testCreateTrackConsentRequestWithBothEmailAndUserId()0.00s
testCreateTrackConsentRequestWithEmail()0.00s
testCreateTrackConsentRequestWithUserId()0.00s
testFaultyTrackInboxSessionRequest()0.00s
testGetInAppMessagesRequest()0.00s
testGetInAppMessagesRequestFailure()0.00s
testProcessorTypeOfflineInHeader()0.00s
testRegisterTokenRequestPrefersUserId()0.00s
testTrackEventRequest()0.00s
testTrackInAppClickRequest()0.00s
testTrackInAppCloseRequest()0.00s
testTrackInAppConsumeRequest()0.00s
testTrackInAppDeliveryRequest()0.00s
testTrackInAppOpenRequest()0.00s
testTrackInboxSession()0.00s
testUpdateSubscriptionsRequest()0.00s
testUserlessTrackInboxSessionRequest()0.01s
testUserlessUpdateSubscriptionsRequest()0.00s
testUserlessUpdateUserRequest()0.00s

UnknownUserComplexCriteriaMatchTests

testCompareDataWithCriteria1Failure()0.00s
testCompareDataWithCriteria1Success()0.00s
testCompareDataWithCriteria2Failure()0.00s
testCompareDataWithCriteria2Success()0.01s
testCompareDataWithCriteria3Failure()0.00s
testCompareDataWithCriteria3Success()0.00s
testCompareDataWithCriteria4Failure()0.00s
testCompareDataWithCriteria4Success()0.02s

UnknownUserCriteriaIsSetTests

testCompareDataIsSetCustomEventFailure()0.00s
testCompareDataIsSetCustomEventSuccess()0.00s
testCompareDataIsSetPurchaseFailure()0.01s
testCompareDataIsSetPurchaseSuccess()0.00s
testCompareDataIsSetUpdateCartFailure()0.00s
testCompareDataIsSetUpdateCartSuccess()0.00s
testCompareDataIsSetUserPropertyFailure()0.00s
testCompareDataIsSetUserPropertySuccess()0.00s

UnknownUserCriteriaMatchTests

testCompareDataWithANDCombinatorFail()0.00s
testCompareDataWithANDCombinatorSuccess()0.01s
testCompareDataWithCustomEventCriteriaFailure()0.00s
testCompareDataWithCustomEventCriteriaSuccess()0.00s
testCompareDataWithMinMatchCriteriaFailure()0.00s
testCompareDataWithMinMatchCriteriaSuccess()0.03s
testCompareDataWithORCombinatorFail()0.00s
testCompareDataWithORCombinatorSuccess()0.00s
testCompareDataWithUpdateCartCriteriaFailure()0.00s
testCompareDataWithUpdateCartCriteriaSuccess()0.01s
testCompareDataWithUserCriteriaFailure()0.00s
testCompareDataWithUserCriteriaSuccess()0.00s

UserMergeScenariosTests

testCriteriaMetEmailDefault()3.14s
testCriteriaMetEmailMergeFalse()3.13s
testCriteriaMetEmailMergeTrue()3.14s
testCriteriaMetTwice()3.18s
testCriteriaMetUserIdDefault()3.14s
testCriteriaMetUserIdMergeFalse()3.13s
testCriteriaMetUserIdMergeTrue()6.18s
testCriteriaNotMetEmailDefault()5.20s
testCriteriaNotMetEmailReplayFalseMergeFalse()5.43s
testCriteriaNotMetEmailReplayFalseMergeTrue()5.18s
testCriteriaNotMetEmailReplayTrueMergeFalse()0.14s
testCriteriaNotMetUserIdDefault()5.21s
testCriteriaNotMetUserIdReplayFalseMergeFalse()5.22s
testCriteriaNotMetUserIdReplayFalseMergeTrue()5.19s
testCriteriaNotMetUserIdReplayTrueMergeFalse()0.17s
testIdentifiedEmailDefault()3.23s
testIdentifiedEmailMergeFalse()3.15s
testIdentifiedEmailMergeTrue()6.19s
testIdentifiedUserIdDefault()3.19s
testIdentifiedUserIdMergeFalse()3.13s
testIdentifiedUserIdMergeTrue()6.20s

ValidateCustomEventUserUpdateAPITest

testCriteriaCustomEventCheck()12.28s

ValidateStoredEventCheckUnknownToKnownUserTest

testCriteriaCustomEventCheck()6.26s

ValidateTokenForDestinationUserTest

testCriteriaEmailTokenCheck()5.26s
testCriteriaUserIdTokenCheck()5.18s

WebViewProtocolTests

testVerifyViewPosition()0.09s
testWebViewHeightCalculationReject()2.10s

ui-tests

Tests

⚠️All tests0.00s

notification-extension-tests

NotificationExtensionTests

testAddActionButtonWithSystemImageIcon()0.10s
testAddActionButtonWithTemplateImageIcon()0.07s
testNilActionButtonIcon()0.07s
testPushButtonWithNoType()0.07s
testPushDestructiveSilentActionButton()0.07s
testPushDynamicCategory()0.07s
testPushImageAttachment()0.82s
testPushIncorrectAttachment()0.02s
testPushTextInputForegroundButton()0.07s
testPushTextInputSilentButton()0.07s
testPushVideoAttachment()0.61s

TestFileTests

testSayHello()0.00s

inbox-ui-tests

Tests

⚠️All tests0.00s

offline-events-tests

HealthMonitorTests

testCountTasksException()0.26s
testNextTaskException()0.16s
testScheduleTaskException()0.14s
testUseOfflineProcessorByDefault()0.21s

NetworkConnectivityCheckerTests

testIsConnected()0.00s
testIsConnectedByDefault()0.22s
testIsNotConnectedIfError()0.00s
testIsNotConnectedIfWrongStatus()0.01s

NetworkConnectivityManagerTests

testConnectivityChange()2.04s
testNetworkMonitor()2.01s
testOfflinePollingInterval()0.52s
testOnlinePollingInterval()0.51s
testPollingNetworkMonitor()4.01s

RequestHandlerTests

testCreatedAtSentAtForOffline()0.09s
testCreatedAtSentAtForOnline()0.02s
testDefaultRemoteConfigurationUsesOnlineMode()0.14s
testDisableUserforAllUsers()0.05s
testDisableUserforCurrentUser()0.06s
testFeatureFlagTurnOnOfflineMode()0.24s
testGetRemoteConfiguration()0.01s
testLoadOfflineModeDisabledFromLocalStorage()0.16s
testLoadOfflineModeEnabledFromLocalStorage()0.18s
testNoRemoteConfigurationUsesOnline()0.14s
testRegister()0.02s
testTrackEvent()0.09s
testTrackInAppClick2()0.17s
testTrackInAppClose()0.17s
testTrackInAppConsume()0.18s
testTrackInAppConsume2()0.10s
testTrackInAppDelivery()0.10s
testTrackInAppOpen2()0.07s
testTrackPurchase()0.18s
testTrackPurchase2()0.11s
testTrackPushOpen()0.27s
testUpdateEmail()0.05s
testUpdateSubscriptions()0.07s
testUpdateUser()0.05s

TaskProcessorTests

testAPICallForTrackEventWithPersistence()0.15s
testCreatedAtInBody()0.01s
testNetworkAvailable()0.03s
testNetworkUnavailable()0.02s
testSentAtInHeader()0.03s
testUnrecoverableError()0.01s

TaskRunnerTests

testDoNotRunWhenNetworkIsOffline()1.02s
testFailureWithNoRetry()1.09s
testFailureWithRetry()1.05s
testForegroundBackgroundChange()1.03s
testMultipleTasksInSequence()1.10s
testResumeWhenNetworkIsBackOnline()2.07s
testSentAtInHeader()0.06s

TasksCRUDTests

testCountTasks()0.04s
testCreate()0.01s
testDelete()0.01s
testFindAll()0.01s
testFindNextTask()0.02s
testUpdate()0.01s

Tests

⚠️TaskSchedulerTests0.00s

Skipped Tests

Test NameDuration
AuthTests/testOnNewAuthTokenCallbackCalled0.00s
AuthTests/testRetryJwtFailure0.00s
HealthMonitorTests/testDeleteAllTasksException0.00s
InAppPresenterTests/testInAppPresenterTimerFinished0.00s
InAppTests/testIgnoreReadMessagesOnProcessing0.00s
InAppTests/testMultipleMesssagesInShortTime0.00s
IterableAPIResponseTests/testRetryOnInvalidJwtPayload0.00s
RequestHandlerTests/testDeleteAllTasksOnLogout0.00s
RequestHandlerTests/testTrackInAppClick0.00s
RequestHandlerTests/testTrackInAppOpen0.00s
RequestHandlerTests/testTrackInboxSession0.00s
TaskRunnerTests/testCreatedAtInBody0.00s
TaskSchedulerTests/testScheduleTask0.00s

Details

Code Coverage Results

Coverage for TestResults.xcresult

Code Coverage

TargetCoverageCoveredExecutable
Total ██████████████░░░░░░ 71.47%1083315158
IterableAppExtensions.framework ████████████████░░░░ 83.28%264317
  ITBNotificationServiceExtension.swift ████████████████░░░░ 80.85%152188
  NotificationContentParser.swift █████████████████░░░ 86.51%109126
  TestFile.swift ████████████████████ 100.00%33
IterableSDK.framework ██████████████░░░░░░ 71.21%1056914841
  AbstractDiffCalculator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%036
  ActionRunner.swift █████████████████░░░ 87.50%6372
  ApiClient.swift ████████████████░░░░ 81.19%246303
  APNSTypeChecker.swift █████████████████░░░ 86.32%8295
  AppExtensionHelper.swift ██████░░░░░░░░░░░░░░ 34.29%1235
  Auth.swift ██████████████████░░ 90.91%1011
  AuthFailure.swift ████████████████████ 100.00%66
  AuthManager.swift ██████████████████░░ 94.92%224236
  ClassExtensions.swift ██████████████████░░ 90.48%95105
  CommerceItem.swift ████████████████████ 100.00%4444
  Constants.swift ███████████████████░ 97.62%4142
  CoreDataUtil.swift █████████████████░░░ 88.14%5259
  DataFieldsHelper.swift ██████████████████░░ 93.67%7479
  DateProvider.swift ████████████████████ 100.00%44
  DeepLinkManager.swift ███████████████████░ 95.93%118123
  DependencyContainer.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%021
  DependencyContainerProtocol.swift █████████████████░░░ 86.49%96111
  Dwifft+UIKit.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%080
  Dwifft.swift ███████████████░░░░░ 78.95%255323
  EmbeddedHelper.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%053
  EmbeddedMessagingProcessor.swift ███████████████████░ 97.67%4243
  EmbeddedMessagingSerialization.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%096
  EmbeddedSessionManager.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%082
  EmptyEmbeddedManager.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%033
  EmptyInAppManager.swift █████████████████░░░ 85.71%3642
  HealthMonitor.swift █████████████████░░░ 86.54%90104
  InAppCalculations.swift █████████████░░░░░░░ 66.12%80121
  InAppContentParser.swift █████████████████░░░ 85.71%144168
  InAppDisplayer.swift ██████░░░░░░░░░░░░░░ 32.39%2371
  InAppHelper.swift ███████████████████░ 98.80%8283
  InAppInternal.swift ████████░░░░░░░░░░░░ 42.22%1945
  InAppManager+Functions.swift ████████████████████ 100.00%139139
  InAppManager.swift ██████████████████░░ 93.62%631674
  InAppMessageParser.swift ███████████████████░ 98.14%158161
  InAppPersistence.swift ████████████████░░░░ 81.34%292359
  InAppPresenter.swift ███████████████░░░░░ 79.22%6177
  InboxImpressionTracker.swift ███████████████████░ 96.39%8083
  InboxMessageViewModel.swift ████████████████████ 100.00%3939
  InboxSessionManager.swift █████████████████░░░ 88.46%4652
  InboxState.swift ████████████░░░░░░░░ 61.82%3455
  InboxViewControllerViewModel.swift ████████░░░░░░░░░░░░ 42.93%176410
  InboxViewRepresentable.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%015
  InternalIterableAPI.swift ██████████████████░░ 91.51%9921084
  InternalIterableAppIntegration.swift ████████████████░░░░ 80.08%189236
  IterableAction.swift ████████████████████ 100.00%1717
  IterableActionContext.swift ████████████████████ 100.00%44
  IterableAPI.swift ███░░░░░░░░░░░░░░░░░ 19.89%70352
  IterableAPICallRequest.swift ███████████████████░ 98.39%6162
  IterableAPICallTaskProcessor.swift ███████████████████░ 96.36%5355
  IterableAPIMobileFrameworkDetector.swift ███████████████░░░░░ 79.37%5063
  IterableAppIntegration.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%021
  IterableAttributionInfo.swift ████████████████████ 100.00%2525
  IterableConfig.swift ████████████████████ 100.00%2020
  IterableCoreDataPersistence.swift █████████████████░░░ 89.94%143159
  IterableEmbeddedManager.swift █████████████░░░░░░░ 68.82%192279
  IterableEmbeddedMessage.swift ████████████████████ 100.00%1616
  IterableEmbeddedView.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0384
  IterableHtmlMessageViewController.swift █████████████░░░░░░░ 69.82%236338
  IterableIdentityResolution.swift ████████████████████ 100.00%44
  IterableInAppMessage.swift ████████████████████ 100.00%2121
  IterableInboxCell+Layout.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0108
  IterableInboxCell.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%017
  IterableInboxNavigationViewController.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0155
  IterableInboxView.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%050
  IterableInboxViewController.swift █░░░░░░░░░░░░░░░░░░░ 6.64%30452
  IterableKeychain.swift █████████████░░░░░░░ 68.83%5377
  IterableLogging.swift █████████████████░░░ 88.89%2427
  IterableLogUtil.swift ████████████████████ 100.00%3939
  IterableMessaging.swift ████████████████░░░░ 82.76%2429
  IterableNotifications.swift ████████████████░░░░ 84.21%3238
  IterablePersistence.swift ████████████████████ 100.00%66
  IterablePushNotificationMetadata.swift ████████████████████ 100.00%1616
  IterableRequest.swift ███████████████████░ 96.77%6062
  IterableRequestUtil.swift ███████████████████░ 95.56%8690
  IterableTask.swift ████████████████░░░░ 82.93%3441
  IterableTaskError.swift ████████████░░░░░░░░ 60.00%610
  IterableTaskManagedObject.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  IterableTaskRunner.swift ███████████████████░ 95.04%364383
  IterableTaskScheduler.swift ██████████████░░░░░░ 71.60%5881
  IterableTokenGenerator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%078
  IterableUserDefaults.swift █████████░░░░░░░░░░░ 46.43%117252
  IterableUtil.swift ████████████░░░░░░░░ 60.00%114190
  KeychainWrapper.swift ███████████████████░ 97.87%9294
  LocalStorage.swift ███████████░░░░░░░░░ 57.93%84145
  LocalStorageProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%02
  MiscEmbeddedClasses.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%013
  MiscInboxClasses.swift ████████████████████ 100.00%1616
  NetworkConnectivityChecker.swift ███████████████████░ 98.39%122124
  NetworkConnectivityManager.swift ███████████████████░ 95.60%8791
  NetworkHelper.swift ███████████████████░ 97.96%240245
  NetworkMonitor.swift ████████████████████ 100.00%2828
  NetworkSession.swift ████████░░░░░░░░░░░░ 44.44%4090
  NotificationHelper.swift ███████████████████░ 98.59%7071
  OfflineRequestProcessor.swift █████████████░░░░░░░ 66.21%335506
  OnlineRequestProcessor.swift ████████████████░░░░ 83.53%213255
  OrderedDictionary.swift ██████████████████░░ 91.84%9098
  Pending.swift ██████████████████░░ 92.02%219238
  PersistenceHelper.swift ███████████████████░ 97.14%3435
  RequestCreator.swift ██████████████░░░░░░ 74.97%536715
  RequestHandler.swift ███████████████░░░░░ 77.95%297381
  RequestProcessorUtil.swift █████████████████░░░ 85.64%167195
  RequestSender.swift ████████████████████ 100.00%9292
  ResourceHelper.swift █████████████████░░░ 88.89%1618
  RetryPolicy.swift ████████████████████ 100.00%55
  SectionedValues.swift ████████████░░░░░░░░ 64.44%2945
  UIColor+Extension.swift ████░░░░░░░░░░░░░░░░ 23.81%521
  UnknownUserManager+Functions.swift █████████████████░░░ 86.42%700810
  UnknownUserManager.swift ███████████████░░░░░ 78.41%236301
  UnknownUserMerge.swift █████████████████░░░ 87.50%2832
  WebViewProtocol.swift ██████████████████░░ 92.68%3841