Skip to content

Merge branch 'master' into chore/update-readme

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

📝 Update Codecov badge link in README.md #981

Merge branch 'master' into chore/update-readme
7a3cef4
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results succeeded Jan 14, 2026 in 0s

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

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

Xcode Test Results

Test

TotalPassedFailedSkippedExpected FailuresDuration
6356220130308.52s

Test Environment

DeviceiPhone 16 Pro
OS Version18.6
Architecturearm64

Test Details

unit-tests

APNSTypeCheckerTests

testDev()0.02s
testNoValue()0.00s
testValidProduction()0.00s

ActionRunnerTests

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

AuthTests

testAsyncAuthTokenRetrieval()0.13s
testAuthTokenCallbackOnSetEmail()0.22s
testAuthTokenCallbackOnSetUserId()0.22s
testAuthTokenChangeWithSameEmail()1.87s
testAuthTokenChangeWithSameUserId()0.36s
testAuthTokenDeletedOnLogout()0.12s
testAuthTokenNotRequestingForAlreadyExistingEmail()4.26s
testAuthTokenRefreshOnInit()0.92s
testAuthTokenRefreshQueued()1.07s
testAuthTokenRefreshRetryOnlyOnce()8.90s
testAuthTokenRefreshSkippedIfUserLoggedOutAfterReschedule()2.07s
testAuthTokenRetrievalFailureReset()1.17s
testDecodeExpirationDate()0.00s
testEmailPersistence()0.16s
testEmailWithTokenPersistence()0.15s
testLoggedOutAuthTokenRequest()1.61s
testLogoutUser()0.38s
testNewEmailAndThenChangeToken()0.49s
testNewUserIdAndThenChangeToken()0.15s
testPriorAuthFailedRetryPrevention()0.01s
testPriorAuthFailedRetrySuccess()0.01s
testPushRegistrationAfterAuthTokenRetrieval()0.15s
testRefreshTimerQueueRejection()1.12s
testRetryJwtFailureQueuesRequestsUntilNewJwtTokenIsReceived()0.36s
testUpdateEmailAndThenChangeToken()0.15s
testUpdateEmailWithTokenParam()0.14s
testUserIdPersistence()0.12s
testUserIdWithTokenPersistence()0.13s
testUserLoginAndLogout()0.12s

AutoRegistrationTests

testAutomaticPushRegistrationOnInit()0.11s
testCallDisableAndEnable()0.20s
testDoNotCallDisableAndEnableWhenSameValue()1.19s
testDoNotCallDisableOrEnableWhenAutoPushIsOff()1.14s

ClassExtensionsTests

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

CombinationComplexCriteria

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

CombinationLogicEventTypeCriteria

testCompareDataPurchaseAndFailed()0.00s
testCompareDataPurchaseAndSuccess()0.00s
testCompareDataPurchaseCustomEventAndFailed()0.00s
testCompareDataPurchaseCustomEventAndSuccess()0.00s
testCompareDataPurchaseCustomEventNotFailed()0.00s
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.01s
testCompareDataUserAndFailed()0.00s
testCompareDataUserAndSuccess()0.00s
testCompareDataUserNotFailed()0.00s
testCompareDataUserNotSuccess()0.01s
testCompareDataUserOrFailed()0.00s
testCompareDataUserOrSuccess()0.00s

CommerceItemTests

testToDictionaryWithAllFields()0.02s
testToDictionaryWithRequiredFields()0.00s

ComparatorDataTypeWithArrayInput

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

ComparatorTypeDoesNotEqualMatchTest

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

ConsentTrackingTests

testConsentNoRetryOnSuccess()0.49s
testConsentNotSentWhenAnonActivationDisabled()2.24s
testConsentNotSentWhenAnonUserExists()2.13s
testConsentNotSentWhenNoConsentTimestamp()2.13s
testConsentNotSentWhenNoTracking()2.14s
testConsentRequestIncludesDeviceInfo()0.12s
testConsentRetryFailsAfterTwoAttempts()0.41s
testConsentRetryOnFailure()0.34s
testConsentSentAfterCriteriaMatch()0.12s
testConsentSentOnEmailSetForReplayScenario()0.16s
testConsentSentOnUserIdSetForReplayScenario()0.18s
testConsentTimestampSentInMilliseconds()0.13s
testConsentTrackingErrorHandling()0.11s
testSendPendingConsentSkippedInLoginFlowWhenReplayDisabled()2.24s
testSendPendingConsentSkippedWhenReplayDisabled()2.23s
testSendPendingConsentWhenReplayEnabled()0.25s

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.01s
testMultiLevelNestedSuccessCase()0.00s

DataTypeComparatorSearchQueryCriteria

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

DeepLinkTests

testHandleUniversalLinkAttributionInfo()0.66s
testHandleUniversalLinkRewrite()0.12s
testIsIterableDeepLinkReturnsFalseForEmptyString()0.00s
testIsIterableDeepLinkReturnsFalseForNonIterableLink()0.00s
testIsIterableDeepLinkReturnsFalseForNonRewriteLink()0.00s
testIsIterableDeepLinkReturnsTrueForValidDeepLink()0.00s
testNoURLRedirect()0.00s
testTrackUniversalDeepLinkNoRewrite()0.00s
testTrackUniversalDeepLinkRewrite()0.00s

EmbeddedManagerTests

testGetMessagesForPlacement()0.00s
testGetMessagesWhenEmpty()0.00s
testManagerCorrectlyAddsAndRemovesListeners()0.00s
testManagerInitializationAndDeinitialization()0.00s
testManagerNotifiesMultipleDelegates()0.00s
testManagerReset()0.00s
testManagerSingleDelegateUpdated()0.00s
testManagerSyncsOnForeground()0.00s
testSyncMessagesFailedDueToInvalidAPIKey()0.01s
testSyncMessagesSuccessful()0.00s
testSyncMessagesWithPlacementIdsDoesNotClearOtherPlacements()0.00s
testUpdateMessagesIsCalled()0.00s

EmbeddedMessagingProcessorTests

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

InAppFilePersistenceTests

testColorAndShouldAnimatePersistence()0.03s
testCorruptedData()0.00s
testFilePersistence()0.00s
testFilePersisterInitial()0.00s
testPersistBetweenSessions()0.25s
testShouldAnimateWithoutBGColorPersistence()0.00s

InAppHelperTests

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

InAppMessageProcessorTests

testDoNotCountNewReadMessageAsDelivered()0.00s
testMessagesObtainedShouldOverwriteForReadState()0.00s

InAppNavigationTests

testAllowHttpWhenAllowedProtocolsIsSet()0.13s
testDoNotOpenHttpByDefault()1.13s
testOpenHttpsByDefault()0.13s

InAppParsingTests

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

InAppPersistenceTests

testDefaultTriggerDict()0.00s
testInboxMetadataDecodingEncoding()0.00s
testJsonOnlyMessageCustomPayloadPriority()0.00s
testJsonOnlyMessagePersistence()0.01s
testPersistentReadStateFromServerPayload()0.12s
testUIEdgeInsetsKeysDecodingEncoding()0.00s

InAppPresenterTests

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

InAppPriorityTests

testDisplayingCriticalPriorityLevel()0.93s
testDisplayingPriorityLevelsInOrder()4.35s
testGetMessagesWithOutOfOrderPriorityLevels()0.17s
testInAppMessagePriorityPersistence()0.11s
testMessageWithNoPriorityTreatedAsDefaultLevel()0.12s

InAppTests

testAutoDisplayOff()0.13s
testAutoDisplayResumed()0.12s
testAutoShowInAppMultipleOverride()1.12s
testAutoShowInAppMultipleWithOrdering()2.34s
testAutoShowInAppOpenUrlByDefault()0.12s
testAutoShowInAppSingle()0.11s
testAutoShowInAppSingleOverride()1.11s
testAutoShowInAppUrlDelegateOverride()1.11s
testDeleteInServerDeletesInClient()0.14s
testDoNoProcessNonImmediateTriggerTypes()1.11s
testDontShowNewlyArrivedMessageWithinRetryInterval()2.24s
testEmptyInAppManager()0.00s
testExpiration()0.11s
testInAppDelivery()0.14s
testInAppDoNotShowInBackground()1.12s
testInAppRemoveMessagePayload1()0.13s
testInAppRemoveMessagePayload2()0.12s
testInAppRemoveMessagePayload3()0.13s
testInAppShowWhenMovesToForeground()1.12s
testInboxChangedIsCalledWhenInAppIsRemovedInServer()0.11s
testJsonOnlyInAppMessage()0.12s
testJsonOnlyInAppMessageDelegateCallbacks()3.12s
testJsonOnlyInAppMessageParsing()0.12s
testJsonOnlyInAppMessageWithoutCustomPayload()0.11s
testJsonOnlyMessageCannotBeSavedToInbox()0.11s
testJsonOnlyMessageIgnoresContentPayload()0.11s
testJsonOnlyMessageWithEmptyPayload()0.12s
testMoveToForegroundSyncInterval()2.13s
testOnNewNotCalledMultipleTimes()0.11s
testParseSilentPushNotificationParsing()0.00s
testParseSilentPushNotificationParsing2()0.00s
testRemoveIsCalled()0.00s
testRemoveMessages()0.23s
testShowInAppWithConsume()0.12s
testShowInAppWithCustomAction()0.11s
testShowInAppWithCustomAction1()0.11s
testShowInAppWithCustomActionBackwardCompatibility()0.11s
testShowInAppWithIterableCustomActionDelete()1.12s
testShowInAppWithIterableCustomActionDismiss()0.11s
testShowInAppWithNoConsume()0.12s
testSyncIsCalled()0.12s
testSyncIsCalledOnLogin()0.11s

InboxImpressionTrackerTests

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

InboxMessageViewModelTests

testEquatable()0.00s
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.12s
testInboxLogoutClearMessageQueue()1.13s
testInboxNewMessagesCallback()0.11s
testInboxOrdering()0.11s
testReceiveReadMessage()0.11s
testRemove()0.16s
testSetRead()0.16s
testShowInboxMessage()0.16s
testShowNowAndInboxMessage()0.16s

InboxViewControllerViewModelTests

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

IsOneOfInNotOneOfCriteareaTest

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

IterableAPIResponseTests

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

IterableAPITests

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

IterableApiCriteriaFetchTests

testCriteriaFetchNotCalledWhenDisabled()15.13s
testForegroundCriteriaFetchWhenConditionsMet()5.26s
testForegroundCriteriaFetchWithCooldown()20.32s

IterableDataRegionObjCTests

testIterableDataRegionIsAccessibleFromObjectiveC0.00s

IterableHtmlMessageViewControllerTests

testBottomAnimation()0.00s
testCenterAnimation()0.01s
testFullAnimation()0.00s
testTopAnimation()0.01s
testTrackInAppClick()0.12s
testTrackInAppClose()0.85s
testTrackInAppOpen()0.02s
testWebViewBottomPositioning()0.01s
testWebViewBottomPositioningWithSafeAreaInsets()0.05s
testWebViewCenterPositioning()0.00s
testWebViewFullPositioning()0.00s
testWebViewTopPositioning()0.00s
testWebViewTopPositioningWithSafeAreaInsets()0.01s

IterableInboxViewControllerTests

testInitializers()0.18s

IterableRequestTests

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

IterableRequestUtilTests

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

IterableUtilTests

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

KeychainWrapperTests

testDelete()0.02s
testRemoveAll()0.01s
testRewrite()0.04s
testSave()0.01s

LocalStorageTests

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

LoggingTests

testLogging()0.11s

NestedFieldSupportForArrayData

testNestedFieldArrayEventValueFail()0.01s
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.02s
testValidProofPayloadNoCampaignId()0.00s
testValidRealPayload()0.00s
testValidTestPayload()0.00s

NotificationObserverTests

testNotificationStateChangeUpdatesStorage()0.31s

NotificationResponseTests

testActionButtonDismiss()0.01s
testLegacyDeepLinkPayload()0.00s
testSaveAttributionInfo()0.17s
testTrackOpenPushWithCustomAction()0.01s

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.01s
testFutureInitWithFailure()1.01s
testFutureInitWithSuccess()1.01s
testMap()1.01s
testMapFailure()1.01s
testMultiValues()0.00s
testWaitUntilFinished()0.31s

RegistrationTests

testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseProduction()0.18s
testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseSandbox()0.12s
testRegisterTokenWithAutoPlatformChooseProduction()0.12s
testRegisterTokenWithAutoPlatformChooseSandbox()0.12s
testRegisterTokenWithProductionPlatform()0.12s
testRegisterTokenWithSandboxPlatform()0.13s

RequestCreatorTests

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

UnknownUserComplexCriteriaMatchTests

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

UnknownUserCriteriaIsSetTests

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

UnknownUserCriteriaMatchTests

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

UserMergeScenariosTests

testCriteriaMetEmailDefault()3.23s
testCriteriaMetEmailMergeFalse()3.17s
testCriteriaMetEmailMergeTrue()3.20s
testCriteriaMetTwice()3.19s
testCriteriaMetUserIdDefault()3.20s
testCriteriaMetUserIdMergeFalse()3.15s
testCriteriaMetUserIdMergeTrue()6.18s
testCriteriaNotMetEmailDefault()5.24s
testCriteriaNotMetEmailReplayFalseMergeFalse()5.13s
testCriteriaNotMetEmailReplayFalseMergeTrue()5.20s
testCriteriaNotMetEmailReplayTrueMergeFalse()0.13s
testCriteriaNotMetUserIdDefault()5.18s
testCriteriaNotMetUserIdReplayFalseMergeFalse()5.14s
testCriteriaNotMetUserIdReplayFalseMergeTrue()6.16s
testCriteriaNotMetUserIdReplayTrueMergeFalse()0.28s
testIdentifiedEmailDefault()3.73s
testIdentifiedEmailMergeFalse()4.88s
testIdentifiedEmailMergeTrue()6.74s
testIdentifiedUserIdDefault()3.18s
testIdentifiedUserIdMergeFalse()3.26s
testIdentifiedUserIdMergeTrue()6.30s

ValidateCustomEventUserUpdateAPITest

testCriteriaCustomEventCheck()12.76s

ValidateStoredEventCheckUnknownToKnownUserTest

testCriteriaCustomEventCheck()6.41s

ValidateTokenForDestinationUserTest

testCriteriaEmailTokenCheck()5.25s
testCriteriaUserIdTokenCheck()5.25s

WebViewProtocolTests

testVerifyViewPosition()0.19s
testWebViewHeightCalculationReject()2.07s

ui-tests

Tests

⚠️All tests0.00s

notification-extension-tests

NotificationExtensionTests

testAddActionButtonWithSystemImageIcon()0.12s
testAddActionButtonWithTemplateImageIcon()0.07s
testNilActionButtonIcon()0.07s
testPushButtonWithNoType()0.07s
testPushDestructiveSilentActionButton()0.07s
testPushDynamicCategory()0.07s
testPushImageAttachment()0.91s
testPushIncorrectAttachment()0.02s
testPushTextInputForegroundButton()0.07s
testPushTextInputSilentButton()0.07s
testPushVideoAttachment()0.57s

TestFileTests

testSayHello()0.00s

inbox-ui-tests

Tests

⚠️All tests0.00s

offline-events-tests

HealthMonitorTests

testCountTasksException()0.32s
testNextTaskException()0.17s
testScheduleTaskException()0.15s
testUseOfflineProcessorByDefault()0.27s

NetworkConnectivityCheckerTests

testIsConnected()0.00s
testIsConnectedByDefault()0.49s
testIsNotConnectedIfError()0.01s
testIsNotConnectedIfWrongStatus()0.03s

NetworkConnectivityManagerTests

testConnectivityChange()2.03s
testNetworkMonitor()2.02s
testOfflinePollingInterval()0.52s
testOnlinePollingInterval()0.51s
testPollingNetworkMonitor()4.01s

RequestHandlerTests

testCreatedAtSentAtForOffline()0.10s
testCreatedAtSentAtForOnline()0.06s
testDefaultRemoteConfigurationUsesOnlineMode()0.16s
testDisableUserforAllUsers()0.08s
testDisableUserforCurrentUser()0.07s
testFeatureFlagTurnOnOfflineMode()0.15s
testGetRemoteConfiguration()0.02s
testLoadOfflineModeDisabledFromLocalStorage()0.12s
testLoadOfflineModeEnabledFromLocalStorage()0.13s
testNoRemoteConfigurationUsesOnline()0.12s
testRegister()0.02s
testTrackEvent()0.09s
testTrackInAppClick2()0.06s
testTrackInAppClose()0.06s
testTrackInAppConsume()0.18s
testTrackInAppConsume2()0.15s
testTrackInAppDelivery()0.07s
testTrackInAppOpen2()0.06s
testTrackPurchase()0.09s
testTrackPurchase2()0.07s
testTrackPushOpen()0.07s
testUpdateEmail()0.20s
testUpdateSubscriptions()0.22s
testUpdateUser()0.14s

TaskProcessorTests

testAPICallForTrackEventWithPersistence()0.14s
testCreatedAtInBody()0.02s
testNetworkAvailable()0.02s
testNetworkUnavailable()0.03s
testSentAtInHeader()0.03s
testUnrecoverableError()0.02s

TaskRunnerTests

testDoNotRunWhenNetworkIsOffline()1.03s
testFailureWithNoRetry()1.07s
testFailureWithRetry()1.04s
testForegroundBackgroundChange()1.09s
testMultipleTasksInSequence()1.10s
testResumeWhenNetworkIsBackOnline()2.03s
testSentAtInHeader()0.03s

TasksCRUDTests

testCountTasks()0.01s
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.59%1097415329
IterableAppExtensions.framework ████████████████░░░░ 83.28%264317
  ITBNotificationServiceExtension.swift ████████████████░░░░ 80.85%152188
  NotificationContentParser.swift █████████████████░░░ 86.51%109126
  TestFile.swift ████████████████████ 100.00%33
IterableSDK.framework ██████████████░░░░░░ 71.34%1071015012
  AbstractDiffCalculator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%036
  ActionRunner.swift █████████████████░░░ 87.50%6372
  ApiClient.swift ████████████████░░░░ 81.67%245300
  ApiClientProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  APNSTypeChecker.swift █████████████████░░░ 86.32%8295
  AppExtensionHelper.swift ██████░░░░░░░░░░░░░░ 34.29%1235
  Auth.swift ██████████████████░░ 90.91%1011
  AuthFailure.swift ████████████████████ 100.00%66
  AuthManager.swift ███████████████████░ 95.17%276290
  ClassExtensions.swift ██████████████████░░ 90.48%95105
  CommerceItem.swift ████████████████████ 100.00%4444
  Constants.swift ███████████████████░ 97.62%4142
  CoreDataUtil.swift █████████████░░░░░░░ 69.49%4159
  DataFieldsHelper.swift ██████████████████░░ 93.67%7479
  DateProvider.swift ████████████████████ 100.00%44
  DeepLinkManager.swift ██████████████████░░ 92.68%114123
  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%085
  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.89%8990
  InAppInternal.swift ███████░░░░░░░░░░░░░ 39.58%1948
  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.52%9931085
  InternalIterableAppIntegration.swift ████████████████░░░░ 80.08%189236
  IterableAction.swift ████████████████████ 100.00%1717
  IterableActionContext.swift ████████████████████ 100.00%44
  IterableAPI.swift ████░░░░░░░░░░░░░░░░ 23.81%85357
  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.57%146163
  IterableEmbeddedManager.swift ██████████████░░░░░░ 72.41%231319
  IterableEmbeddedManagerProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  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 ░░░░░░░░░░░░░░░░░░░░ 3.33%390
  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 ███████████████░░░░░ 78.67%579736
  RequestHandler.swift ███████████████░░░░░ 77.95%297381
  RequestProcessorUtil.swift █████████████████░░░ 89.33%201225
  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