Skip to content

[SDK-758] Lock the pre-init switch failure result - #1094

Open
joaodordio wants to merge 1 commit into
feature/SDK-674-switch-projectfrom
feature/SDK-758-preinit-failure-result
Open

joaodordio wants to merge 1 commit into
feature/SDK-674-switch-projectfrom
feature/SDK-758-preinit-failure-result

[SDK-758] Lock the pre-init switch failure result

2f54900
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Unit Test Results failed Oct 6, 2026 in 0s

Tests: 850/854 passed (99.5%) Skipped: 12

Test Results Summary:
• Total Tests: 866
• Passed: 850
• Failed: 4
• Skipped: 12
• Success Rate: 99.5%

Xcode Test Results

Test

TotalPassedFailedSkippedExpected FailuresDuration
8668504120452.54s

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.00s
✅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
✅testAuthFailureReasonDebugDescriptions()0.00s
✅testAuthTokenCallbackOnSetEmail()0.18s
✅testAuthTokenCallbackOnSetUserId()0.29s
✅testAuthTokenChangeWithSameEmail()0.25s
✅testAuthTokenChangeWithSameUserId()0.12s
✅testAuthTokenDeletedOnLogout()0.20s
✅testAuthTokenNotRequestingForAlreadyExistingEmail()1.56s
✅testAuthTokenRefreshOnInit()0.60s
✅testAuthTokenRefreshQueued()1.00s
✅testAuthTokenRefreshRetryOnlyOnce()7.89s
✅testAuthTokenRefreshSkippedIfUserLoggedOutAfterReschedule()2.04s
✅testAuthTokenRetrievalFailureReset()3.54s
✅testDecodeExpirationDate()0.00s
✅testDisableDeviceWithHandlersNotInitializedFails()0.00s
✅testEmailPersistence()0.15s
✅testEmailWithTokenPersistence()0.27s
✅testLoggedOutAuthTokenRequest()1.12s
✅testLogoutUser()0.25s
✅testLogoutUserParameterlessOverloadStillLogsOut()0.32s
✅testLogoutUserWithHandlersAutoPushOffSucceedsSynchronouslyWithoutNetwork()0.44s
✅testLogoutUserWithHandlersAutoPushOnDisableDeviceFails()0.28s
✅testLogoutUserWithHandlersAutoPushOnDisableDeviceSucceeds()0.14s
✅testLogoutUserWithHandlersAutoPushOnNoTokenFailsButStillClearsLocalState()0.14s
✅testLogoutUserWithHandlersNotInitializedFails()0.52s
✅testLogout_resolvesPendingFulfills_viaExhaustion()0.12s
✅testNewEmailAndThenChangeToken()2.70s
✅testNewUserIdAndThenChangeToken()0.12s
✅testPriorAuthFailedRetryPrevention()0.01s
✅testPriorAuthFailedRetrySuccess()0.01s
✅testPushRegistrationAfterAuthTokenRetrieval()0.23s
✅testRefreshTimerQueueRejection()0.16s
✅testRequestNewAuthToken_enqueuesCallbacks_whenPendingAuth()0.11s
✅testRetryJwtFailureQueuesRequestsUntilNewJwtTokenIsReceived()0.38s
✅testScheduleRefreshTimer_callsExhaustion_whenMaxRetriesReached()0.00s
✅testScheduleRefreshTimer_callsExhaustion_whenNoUserIdentity()0.10s
✅testScheduleRefreshTimer_callsOnRetryExhausted_whenRetriesPaused()1.01s
✅testScheduleRefreshTimer_notifiesAllQueuedCallers_onExhaustion()0.01s
✅testScheduleRefreshTimer_resolvesExhaustion_whenPausedMidInterval()0.21s
✅testSendRequest_resolvesFulfillViaExhaustion_on401WhenRetriesExhausted()0.01s
✅testUpdateEmailAndThenChangeToken()0.68s
✅testUpdateEmailWithTokenParam()0.15s
✅testUserIdPersistence()0.11s
✅testUserIdWithTokenPersistence()0.23s
✅testUserLoginAndLogout()0.16s

AutoRegistrationTests

✅testAutomaticPushRegistrationOnInit()0.25s
✅testCallDisableAndEnable()0.15s
✅testDoNotCallDisableAndEnableWhenSameValue()1.13s
✅testDoNotCallDisableOrEnableWhenAutoPushIsOff()1.48s

ClassExtensionsTests

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

CombinationComplexCriteria

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

CombinationLogicEventTypeCriteria

✅testCompareDataPurchaseAndFailed()0.00s
✅testCompareDataPurchaseAndSuccess()0.00s
✅testCompareDataPurchaseCustomEventAndFailed()0.00s
✅testCompareDataPurchaseCustomEventAndSuccess()0.08s
✅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.00s
✅testCompareDataUserAndFailed()0.00s
✅testCompareDataUserAndSuccess()0.00s
✅testCompareDataUserNotFailed()0.00s
✅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.00s
✅testMockDataMileStoneYearGreaterThanOrEqualToFailure()0.00s
✅testMockDataMileStoneYearGreaterThanOrEqualToSuccess()0.05s
✅testMockDataMileStoneYearGreaterThanSuccess()0.00s
✅testMockDataMileStoneYearLessThanFailure()0.00s
✅testMockDataMileStoneYearLessThanOrEqualFailure()0.00s
✅testMockDataMileStoneYearLessThanOrEqualToSuccess()0.07s
✅testMockDataMileStoneYearLessThanSuccess()0.00s
✅testMockDataMockDataForArrayContainsFailure()0.00s
✅testMockDataMockDataForArrayContainsSuccess()0.00s
✅testMockDataMockDataForArrayMatchRegexFailure()0.00s
✅testMockDataMockDataForArrayMatchRegexSuccess()0.00s
✅testMockDataMockDataForArrayStartWithFailure()0.00s
✅testMockDataMockDataForArrayStartWithSuccess()0.21s
✅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.00s

ConsentTrackingTests

✅testConsentNoRetryOnSuccess()0.54s
✅testConsentNotSentWhenAnonActivationDisabled()2.47s
✅testConsentNotSentWhenAnonUserExists()2.30s
✅testConsentNotSentWhenNoConsentTimestamp()2.12s
✅testConsentNotSentWhenNoTracking()2.12s
✅testConsentRequestIncludesDeviceInfo()0.11s
✅testConsentRetryFailsAfterTwoAttempts()0.36s
✅testConsentRetryOnFailure()0.22s
✅testConsentSentAfterCriteriaMatch()0.11s
✅testConsentSentOnEmailSetForReplayScenario()0.11s
✅testConsentSentOnUserIdSetForReplayScenario()0.12s
✅testConsentTimestampSentInMilliseconds()0.11s
✅testConsentTrackingErrorHandling()0.11s
✅testSendPendingConsentSkippedInLoginFlowWhenReplayDisabled()2.24s
✅testSendPendingConsentSkippedWhenReplayDisabled()2.26s
✅testSendPendingConsentWhenReplayEnabled()0.28s

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.03s
✅testCompareDataDoesNotEqualFailed()0.00s
✅testCompareDataDoesNotEqualSuccess()0.00s
✅testCompareDataEqualFailed()0.00s
✅testCompareDataEqualSuccess()0.01s
✅testCompareDataGreaterThanFailed()0.00s
✅testCompareDataGreaterThanOrEqualFailed()0.00s
✅testCompareDataGreaterThanOrEqualSuccess()0.00s
✅testCompareDataGreaterThanSuccess()0.01s
✅testCompareDataIsSetFailure()0.00s
✅testCompareDataIsSetySuccess()0.00s
✅testCompareDataLessThanFailed()0.00s
✅testCompareDataLessThanOrEqualFailed()0.00s
✅testCompareDataLessThanOrEqualSuccess()0.00s
✅testCompareDataLessThanSuccess()0.00s
✅testCompareDataMatchesRegexFailure()0.00s
✅testCompareDataMatchesRegexSuccess()0.00s
✅testCompareDataStartWithFailure()0.00s

DeepLinkTests

✅testHandleUniversalLinkAttributionInfo()0.66s
✅testHandleUniversalLinkRewrite()0.12s
✅testIsIterableDeepLinkHandlesNonBMPCharactersWithoutDeepLinkPath()0.00s
✅testIsIterableDeepLinkMatchesWithNonBMPCharactersBeforePath()0.00s
✅testIsIterableDeepLinkReturnsFalseForEmptyString()0.00s
✅testIsIterableDeepLinkReturnsFalseForNonIterableLink()0.00s
✅testIsIterableDeepLinkReturnsFalseForNonRewriteLink()0.00s
✅testIsIterableDeepLinkReturnsTrueForValidDeepLink()0.00s
✅testNoURLRedirect()0.04s
✅testTrackUniversalDeepLinkNoRewrite()0.00s
✅testTrackUniversalDeepLinkRewrite()0.00s

EmbeddedManagerTests

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

EmbeddedMessagingProcessorTests

✅testMessageIdsToTrackDelivery()0.00s
✅testMessageListProcessing()0.00s
✅testMessageListRemovedMessages()0.05s

InAppFilePersistenceTests

✅testColorAndShouldAnimatePersistence()0.04s
✅testCorruptedData()0.01s
✅testFilePersistence()0.01s
✅testFilePersisterInitial()0.00s
✅testPersistBetweenSessions()0.25s
✅testShouldAnimateWithoutBGColorPersistence()0.00s

InAppHelperTests

✅testGetInAppMessagesRetriesAfterJWT401()0.03s
✅testGetInAppMessagesWithErrorGetsConsumed()0.01s
✅testGetInAppMessagesWithNoError()0.05s
✅testParseURL()0.00s

InAppMessageProcessorTests

✅testDoNotCountNewReadMessageAsDelivered()0.00s
✅testMessagesObtainedShouldOverwriteForReadState()0.01s
✅testServerReadStateDoesNotClearLocalConsumeState()0.00s

InAppNavigationTests

✅testAllowHttpWhenAllowedProtocolsIsSet()0.14s
✅testDoNotOpenHttpByDefault()1.12s
✅testOpenHttpsByDefault()0.11s

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.01s
✅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.00s
✅testParseShouldAnimate2()0.00s
✅testParseShouldAnimate3()0.00s
✅testParseShouldAnimate4()0.00s
✅testParseShouldAnimate5()0.00s
✅testParseShouldAnimate6()0.00s
✅testParseShouldAnimate7()0.00s
✅testTrackInAppClickWithClickedUrl()0.16s
✅testTrackInAppClose()0.11s
✅testTrackInAppCloseWithNoSource()0.11s
✅testTrackInAppDelivery()0.11s
✅testTrackInAppOpen()0.11s

InAppPersistenceTests

✅testDefaultTriggerDict()0.00s
✅testInboxMetadataDecodingEncoding()0.01s
✅testJsonOnlyMessageCustomPayloadPriority()0.00s
✅testJsonOnlyMessagePersistence()0.01s
✅testPersistentReadStateFromServerPayload()0.11s
✅testUIEdgeInsetsKeysDecodingEncoding()0.00s

InAppPresenterTests

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

InAppPriorityTests

✅testDisplayingCriticalPriorityLevel()0.44s
✅testDisplayingPriorityLevelsInOrder()3.89s
✅testGetMessagesWithOutOfOrderPriorityLevels()0.12s
✅testInAppMessagePriorityPersistence()0.11s
✅testMessageWithNoPriorityTreatedAsDefaultLevel()0.11s

InAppTests

✅testAutoDisplayOff()0.11s
✅testAutoDisplayResumed()0.11s
✅testAutoShowInAppMultipleOverride()1.11s
✅testAutoShowInAppMultipleWithOrdering()2.35s
✅testAutoShowInAppOpenUrlByDefault()0.11s
✅testAutoShowInAppSingle()0.11s
✅testAutoShowInAppSingleOverride()1.11s
✅testAutoShowInAppUrlDelegateOverride()1.12s
✅testDeleteInServerDeletesInClient()0.11s
✅testDoNoProcessNonImmediateTriggerTypes()1.11s
✅testDontShowNewlyArrivedMessageWithinRetryInterval()2.21s
✅testEmptyInAppManager()0.00s
✅testExpiration()0.11s
✅testInAppDelivery()0.11s
✅testInAppDoNotShowInBackground()1.12s
✅testInAppRemoveMessagePayload1()0.12s
✅testInAppRemoveMessagePayload2()0.12s
✅testInAppRemoveMessagePayload3()0.12s
✅testInAppShowWhenMovesToForeground()1.13s
✅testInboxChangedIsCalledWhenInAppIsRemovedInServer()0.12s
✅testInboxChangedIsNotCalledWhenNonInboxMessageIsRemovedInServer()1.11s
✅testJsonOnlyInAppMessage()0.11s
✅testJsonOnlyInAppMessageDelegateCallbacks()3.11s
✅testJsonOnlyInAppMessageParsing()0.11s
✅testJsonOnlyInAppMessageWithoutCustomPayload()0.11s
✅testJsonOnlyMessageCannotBeSavedToInbox()0.11s
✅testJsonOnlyMessageIgnoresContentPayload()0.12s
✅testJsonOnlyMessageWithEmptyPayload()0.12s
✅testMoveToForegroundSyncInterval()2.14s
✅testOnNewNotCalledMultipleTimes()0.11s
✅testParseSilentPushNotificationParsing()0.00s
✅testParseSilentPushNotificationParsing2()0.00s
✅testRemoveIsCalled()0.00s
✅testRemoveMessages()0.22s
✅testShowBackgroundSyncedMessageOnForegroundWithinCooldown()0.11s
✅testShowInAppWithConsume()0.11s
✅testShowInAppWithCustomAction()0.11s
✅testShowInAppWithCustomAction1()0.11s
✅testShowInAppWithCustomActionBackwardCompatibility()0.11s
✅testShowInAppWithIterableCustomActionDelete()1.11s
✅testShowInAppWithIterableCustomActionDismiss()0.11s
✅testShowInAppWithNoConsume()0.11s
✅testSyncIsCalled()0.11s
✅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.11s
✅testInboxChangedCalledOnInitialization()0.12s
✅testInboxLogoutClearMessageQueue()1.15s
✅testInboxNewMessagesCallback()0.11s
✅testInboxOrdering()0.11s
✅testReceiveReadMessage()0.11s
✅testRemove()0.13s
✅testRemoveNonInboxMessageDoesNotPostInboxChanged()1.11s
✅testSetRead()0.11s
✅testSetReadNonInboxMessageDoesNotPostInboxChanged()1.11s
✅testShowInboxMessage()0.16s
✅testShowNowAndInboxMessage()0.17s

InboxViewControllerViewModelTests

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

IsOneOfInNotOneOfCriteareaTest

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

IterableAPIResponseTests

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

IterableAPITests

✅testDisableDeviceForAllUsers()0.11s
✅testDisableDeviceForAllUsersAsyncSuccess()0.13s
✅testDisableDeviceForAllUsersWithoutCallback()0.11s
✅testDisableDeviceForCurrentUser()0.12s
✅testDisableDeviceForCurrentUserAsyncFailureThrowsSendRequestError()0.13s
✅testDisableDeviceForCurrentUserAsyncNotInitializedThrowsSendRequestError()0.10s
✅testDisableDeviceForCurrentUserAsyncSuccess()0.11s
✅testDisableDeviceForCurrentUserWithoutCallback()0.11s
✅testDisableDeviceNotRegistered()0.11s
✅testEmailPersistence()0.11s
✅testGetInAppMessagesFunction()0.12s
✅testInAppConsumeNonInboxMessageDoesNotPostInboxChanged()1.11s
✅testInAppConsumeRemovesInboxMessageBeforeNotifying()0.11s
✅testInAppConsumeWithSourceRemovesInboxMessageBeforeNotifying()0.11s
✅testInitialize()0.11s
✅testInitializeCheckEndpoint()0.11s
✅testInitializeWithConfig()0.11s
✅testInitializeWithDefaultDataRegion()0.10s
✅testInitializeWithEUDataRegion()0.11s
✅testInitializeWithLaunchOptionsAndCustomAction()0.11s
✅testInitializeWithLaunchOptionsAndUrl()0.11s
✅testInitializeWithNewEndpoint()0.14s
✅testIterableAPIUpdateSubscriptions()0.11s
✅testIterableAPIUpdateSubscriptionsNotInitializedDoesNotCrash()0.00s
✅testPurchaseWithoutSuccessAndFailure()0.11s
✅testRegisterToken()0.11s
✅testRegisterTokenNilAppName()0.11s
✅testRegisterTokenNilEmailAndUserId()0.11s
✅testSetEmailWithCallbackFailure()0.11s
✅testSetEmailWithCallbackSuccess()0.11s
✅testSetUserIdWithCallbackFailure()0.11s
✅testSetUserIdWithCallbackSuccess()0.11s
✅testSetVisitorUsageTrackedClearsConsentTimestamp()0.11s
✅testSetVisitorUsageTrackedMultipleCalls()0.11s
✅testSetVisitorUsageTrackedStoresConsentTimestamp()0.11s
✅testSetVisitorUsageTrackedStoresTimestampInMilliseconds()0.11s
✅testTrackEventBadNetwork()6.16s
✅testTrackEventWithEmail()0.11s
✅testTrackEventWithEmail2()0.11s
✅testTrackEventWithNoEmailOrUser()0.11s
✅testTrackPurchaseNoUserIdOrEmail()0.11s
✅testTrackPurchaseWithEmail()0.11s
✅testTrackPurchaseWithUserId()0.11s
✅testTrackPurchaseWithUserId2()0.13s
✅testTrackPushOpen()0.12s
✅testTrackPushOpenWithCallback()0.14s
✅testTrackPushOpenWithCampaignIdEtc()0.11s
✅testTrackPushOpenWithCampaignIdEtcWithCallback()0.11s
✅testTrackPushOpenWithDataFields()0.11s
✅testUpdateCart()0.11s
✅testUpdateEmailWithEmail()0.11s
✅testUpdateEmailWithUserId()0.11s
✅testUpdateSubscriptions()0.11s
✅testUpdateUserWithEmail()0.11s
✅testUpdateUserWithUserId()0.11s
✅testUpgradeJWTToken()0.15s
✅testUserIdPersistence()0.11s

IterableApiCriteriaFetchTests

✅testCriteriaFetchFailureInvokesUnknownUserHandler()6.21s
✅testCriteriaFetchNotCalledWhenDisabled()15.15s
✅testCriteriaFetchSuccessInvokesUnknownUserHandlerAfterPersistingCriteria()0.16s
✅testCriteriaFetchSuccessInvokesUnknownUserHandlerOnEveryFetch()0.12s
✅testForegroundCriteriaFetchWhenConditionsMet()5.24s
✅testForegroundCriteriaFetchWithCooldown()20.27s

IterableDataRegionObjCTests

✅testIterableDataRegionIsAccessibleFromObjectiveC0.00s
✅testJsonOnlyApiSurfaceIsAccessibleFromObjectiveC0.00s
✅testLegacyInAppDelegateConformanceRemainsValid0.00s

IterableHtmlMessageViewControllerTests

✅testBottomAnimation()0.00s
✅testCenterAnimation()0.00s
✅testCenterAnimationDetail_withBgColor_noAnimate_usesClear()0.04s
✅testCenterAnimationDetail_withBgColor_shouldAnimate_usesClear()0.00s
✅testCreateDismisserDismissesModalInApp()0.01s
✅testDidFailLogsRenderFailure()0.27s
✅testDidFailProvisionalNavigationLogsRenderFailure()0.01s
✅testFullAnimation()0.00s
✅testFullAnimationDetail_noBgColor_shouldAnimate_usesClear()0.00s
✅testFullAnimationDetail_withBgColor_noAnimate_usesActualBgColor()0.44s
✅testFullAnimationDetail_withBgColor_shouldAnimate_usesActualBgColor()0.00s
✅testRenderFailureDismissDoesNotTrackInAppClose()0.12s
✅testTopAnimation()0.00s
✅testTopAnimationDetail_withBgColor_shouldAnimate_usesClear()0.00s
✅testTrackInAppClick()0.42s
✅testTrackInAppClose()0.03s
✅testTrackInAppOpen()0.01s
✅testViewportFitCover_alreadyPresent_caseInsensitive()0.01s
✅testViewportFitCover_alreadyPresent_returnsUnchanged()0.00s
✅testViewportFitCover_contentFirstViewportMeta_prependsToContent()0.01s
✅testViewportFitCover_doesNotDoubleInject()0.00s
✅testViewportFitCover_emptyString_prependsMetaTag()0.00s
✅testViewportFitCover_nameFirstViewportMeta_appendsToContent()0.00s
✅testViewportFitCover_noHeadTag_prependsMetaTag()0.00s
✅testViewportFitCover_noViewportMeta_hasHead_insertsBeforeHeadClose()0.00s
✅testViewportFitCover_nonViewportMetaContentFirst_doesNotModify()0.00s
✅testViewportFitCover_preservesExistingViewportAttributes()0.00s
✅testWebContentProcessTerminationDismissesNonModalInApp()0.18s
✅testWebViewBottomPositioning()0.00s
✅testWebViewBottomPositioningWithSafeAreaInsets()0.00s
✅testWebViewCenterPositioning()0.00s
✅testWebViewFinishLoadingFlagBehavior()0.72s
✅testWebViewFullPositioning()0.00s
✅testWebViewFullPositioningWithSafeAreaInsetsReturnsParentPosition()0.00s
✅testWebViewPositioningWithLandscapeLeftSafeAreaInset()0.01s
✅testWebViewPositioningWithLandscapeRightSafeAreaInset()0.00s
✅testWebViewPositioningWithPortraitSafeAreaInsets()0.04s
✅testWebViewTopPositioning()0.00s
✅testWebViewTopPositioningWithSafeAreaInsets()0.00s

IterableInboxViewControllerTests

✅testInitializers()0.10s

IterableRequestTests

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

IterableRequestUtilTests

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

IterableUtilTests

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

JsonOnlyMessageAvailabilityTests

✅testAcknowledgedJsonIdDoesNotSuppressSameIdHtmlMessage()0.64s
✅testAcknowledgedJsonTypeRoundTripDoesNotBlockLaterHtml()0.15s
✅testAcknowledgedMessageIdCanBeReadmittedWithNewPayload()0.24s
✅testAvailabilityPersistsBeforeOrderedMainThreadSignals()0.13s
✅testBackgroundFetchSurvivesRecreationAndDeliversOnForeground()0.27s
✅testCapacityDiscardedUnacknowledgedMessageIsNotReadmitted()0.02s
✅testConcurrentIdentitySwitchDuringAvailabilityDelegateStopsLaterDeliverySteps()1.19s
✅testConcurrentIdentitySwitchDuringNotificationStopsLaterDeliverySteps()1.12s
✅testConcurrentIdentitySwitchDuringOnNewStopsLaterDeliverySteps()1.12s
✅testConcurrentMessageGettersWaitForResetStateCommit()0.23s
✅testConsumeFailureKeepsUnhandledRecord()0.14s
✅testDuplicateMessageIdKeepsFirstPayloadUntilAcknowledged()0.00s
✅testDuplicateMessageIdProducesOneUnhandledRecord()0.16s
✅testExpiredJsonOnlyMessageDoesNotBlockRemainingBatch()0.14s
✅testForegroundReplayContinuesUntilAcknowledged()1.14s
✅testIdentitySwitchBeforeMainDeliveryDoesNotLeakMessage()1.13s
✅testIdentitySwitchClearsUnhandledMessages()0.12s
✅testIdentitySwitchDuringFetchCommitDoesNotPersistStaleState()0.23s
✅testIdentitySwitchInAvailabilityDelegateStopsLaterDeliverySteps()1.14s
✅testIdentitySwitchInDisplayDelegateStopsOnNew()1.11s
✅testIdentitySwitchInNotificationStopsConsume()1.14s
✅testIdentitySwitchInOnNewStopsLaterDeliverySteps()1.12s
✅testIdentitySwitchInOnNewStopsRecursiveDisplayCheck()1.12s
✅testIdentitySwitchWhileFetchIsInFlightDiscardsResponse()1.13s
✅testIneligibleMessagesDoNotFireAvailability()1.12s
✅testJsonOnlyAvailabilityIgnoresAutoDisplayPause()0.13s
✅testJsonOnlyAvailabilityIgnoresPopupCooldown()0.18s
✅testMessageExpiredBeforeForegroundReplayIsNotSignaled()1.13s
✅testPayloadFingerprintIsStableForNestedKeyOrderAndBooleanType()0.00s
✅testPerMessageDeliveryAndIndependentAcknowledgement()0.13s
✅testPublicAPIsBeforeInitializationAndLegacySwiftConformance()0.01s
✅testQueuedHtmlProcessingSkipsStaleIdentity()1.17s
✅testRetentionDiscardedUnacknowledgedMessageIsNotReadmitted()1.15s
✅testSlowHtmlCallbackDoesNotBlockReset()0.11s
✅testStartReadsApplicationStateOnMainThread()0.11s
✅testStoreDropsAlreadyExpiredMessage()0.00s
✅testStoreEnforcesCapacityAndRetention()0.02s
✅testTombstonedJsonTypeRoundTripDoesNotBlockLaterHtml()0.12s

KeychainWrapperTests

✅testDelete()0.01s
✅testIsolatedAndLegacyKeychainDontCollide()0.01s
✅testIsolatedServiceNameWithBundleId()0.00s
✅testIsolatedServiceNameWithCustomBaseName()0.00s
✅testKeychainIsolationBetweenDifferentServiceNames()0.01s
✅testLegacyServiceName()0.00s
✅testRemoveAll()0.01s
✅testRewrite()0.01s
✅testSave()0.00s

LocalStorageTests

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

LoggingTests

✅testDefaultLogDelegateDoesNotFormatFilteredLogLevel()0.00s
✅testLogging()0.10s
✅testNoneLogDelegateDoesNotFormatMessages()0.00s

NestedFieldSupportForArrayData

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

NetworkMonitorLifecycleTests

✅testNetworkMonitorDeallocatesAfterStartAndStop()0.00s
✅testPathUpdateHandlerDoesNotInvokeStatusUpdatedCallbackAfterStop()0.00s
✅testStartTwiceReleasesFirstPathMonitor()0.00s

NotificationMetadataTests

✅testDeserializedFromIterableJson()0.00s
✅testInvalidPayloads()0.00s
✅testMalformedStringItblPayload()0.00s
✅testValidGhostPayload()0.00s
✅testValidProofPayload()0.00s
✅testValidProofPayloadNoCampaignId()0.00s
✅testValidRealPayload()0.00s
✅testValidStringItblPayload()0.00s
✅testValidTestPayload()0.00s

NotificationObserverTests

✅testNotificationStateChangeUpdatesStorage()0.22s

NotificationResponseTests

✅testActionButtonDismiss()0.00s
✅testCustomActionFromStringItbl()0.00s
✅testLegacyDeepLinkPayload()0.00s
✅testSaveAttributionInfo()0.12s
✅testTrackOpenPushFromStringItbl()0.00s
✅testTrackOpenPushWithCustomAction()0.00s

OrderedDictionaryTests

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

PendingConcurrencyTests

✅testConcurrentOnErrorAndReject()0.01s
✅testConcurrentOnSuccessAndResolve()0.00s
✅testFlatMapCrossQueueResolution()0.00s
✅testLateRegisterAfterResolveFiresOnce()0.00s
✅testLateRegisterAfterResolveStaysRegisteredForFutureResolves()0.00s
✅testOnCompletionAtomicityUnderRace()0.00s
✅testReentrantRegistrationFromCallback()0.00s
✅testRepeatedRejectNotifiesRegisteredCallbacks()0.00s
✅testRepeatedResolveNotifiesRegisteredCallbacks()0.00s
✅testResolveAfterRejectNotifiesMatchingBranches()0.00s
✅testStress1000Iterations()0.01s

PendingTests

✅testFlatMap()1.00s
✅testFlatMapFailure1()1.00s
✅testFlatMapFailure2()1.00s
✅testFutureInitWithFailure()1.00s
✅testFutureInitWithSuccess()1.00s
✅testMap()1.00s
✅testMapFailure()1.00s
✅testMultiValues()0.00s
✅testWaitUntilFinished()0.31s

RegistrationTests

✅testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseProduction()0.12s
✅testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseSandbox()0.11s
✅testRegisterTokenWithAutoPlatformChooseProduction()0.12s
✅testRegisterTokenWithAutoPlatformChooseSandbox()0.11s
✅testRegisterTokenWithProductionPlatform()0.11s
✅testRegisterTokenWithSandboxPlatform()0.11s

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.00s
✅testUpdateSubscriptionsRequest()0.00s
✅testUserlessTrackInboxSessionRequest()0.00s
✅testUserlessUpdateSubscriptionsRequest()0.01s
✅testUserlessUpdateUserRequest()0.00s

SwitchProjectGateTests

✅testAPushTappedDuringTheSwitchWindowIsNotHandedToTheNewProject()0.13s
✅testARepeatIsNotMergedAcrossAnotherDestination()0.00s
✅testARepeatOfTheInFlightProjectCannotJoinItOnceSomethingIsQueuedBehindIt()0.00s
✅testARequestForTheLiveProjectWithNothingInFlightIsANoOp()0.00s
✅testARequestForTheProjectBeingLeftIsARealSwitchNotANoOp()0.00s
✅testASwitchWhoseNewProjectFailsToStartReportsFalse()0.18s
✅testAnAdjacentRepeatOfAQueuedDestinationSharesItsSwitch()0.00s
✅testAnEmptyOrBlankApiKeyIsRejectedAndNothingIsTornDown()0.14s
✅testAttributionResolvedAfterTheTeardownIsNotWrittenBack()0.11s
✅testCallsRunAgainstTheProjectThatJustLandedWhileTheNextSwitchIsStillQueued()0.00s
✅testSwitchProjectBeforeInitializeReportsCleanlyWhenStartSucceeds()0.03s
✅testSwitchProjectBeforeInitializeReportsWarningsWhenStartFails()0.01s
✅testTheDeviceDisableHandoffBoundMatchesAndroid()0.00s
✅testTheDeviceDisableHandoffKeepsTheFirstSignal()0.00s
✅testTheDeviceDisableHandoffReportsFalseOnceItsBoundHasPassed()0.00s
✅testTheGateHoldsIdentityAndReleasesEverythingProjectScoped()0.12s
✅testTheSilentPushCompletionHandlerIsNotHeldForTheSwitch()0.10s

SwitchProjectTests

✅testACallMadeDuringTheReplayDoesNotOvertakeTheQueuedCalls()0.01s
✅testACallMadeDuringTheSwitchWindowRunsAgainstTheNewInstance()0.12s
✅testAQueuedSwitchInheritsTheGateSoALaterRequestCannotOvertakeIt()0.00s
✅testASwitchWithNoTokenToDisableReportsFalseAndStillCompletes()0.12s
✅testIdentitySetFromACallbackReachesTheProjectThatJustLanded()0.12s
✅testManagersAreRebuiltAndCarryNoPreviousProjectContent()0.21s
✅testNewInstanceUsesTheSuppliedConfig()0.11s
✅testPreviousInstanceIsReplacedAndDeallocated()1.12s
✅testProjectExposesItsPairAndMasksTheKeyWhenLogged()0.00s
✅testProjectRefusesABlankApiKey()0.00s
✅testPublicPairedSignatureReachesTheImplementation()0.11s
✅testRapidSwitchBackToTheProjectBeingLeftLandsOnItRatherThanReportingANoOp()0.13s
✅testRapidSwitchesToDifferentProjectsRunInOrderAndTheLastOneWins()0.14s
✅testResultMapsFromTheInternalTeardownBoolean()0.00s
✅testSwitchBeforeInitializeBehavesAsInitialize()0.01s
✅testSwitchClearsStoredIdentityAndLaterRequestsCarryOnlyTheNewProject()0.12s
✅testSwitchClearsTheOutgoingProjectsAttributionInfo()0.15s
✅testSwitchWithNoIdentifiedUserReportsFalseAndStillCompletes()0.11s
✅testSwitchWithUnchangedApiKeyIsANoOpAndDoesNotReplaceTheInstance()0.11s
✅testSwitchWithoutPushRegistrationReportsFalseAndStillCompletes()0.12s
✅testSwitchingAToBToALeavesNoResidueFromProjectB()0.12s
✅testTeardownCompletesAndReportsSuccessWithOfflineModeDisabled()0.13s
✅testTheCallbackIsDeliveredOnTheMainThread()0.12s
✅testTheGateJoinsASameProjectRequestAndQueuesADifferentOne()0.00s
✅testTheGateQueuesCallsFIFOAndDrainsThemWhenTheSwitchEnds()0.02s
✅testThePublicMethodReturnsImmediately()0.12s

UUANormalizationMigrationTests

✅testClearVisitorEventsAndUserDataWipesStorage()0.00s
✅testCriteriaCheckerNormalizesLegacyDataTypeOnInit()0.00s
✅testDeprecatedGetUnknownUserCriteriaForwards()0.00s
✅testDeprecatedTrackUnknownUserEventForwards()0.00s
✅testDeprecatedTrackUnknownUserPurchaseEventForwards()0.00s
✅testDeprecatedTrackUnknownUserTokenRegistrationForwards()0.00s
✅testDeprecatedTrackUnknownUserUpdateCartForwards()0.00s
✅testDeprecatedTrackUnknownUserUpdateUserForwards()0.00s
✅testDeprecatedUpdateUnknownUserSessionForwards()0.00s
✅testIdentityResolutionDesignatedInitSetsBothAccessors()0.00s
✅testIdentityResolutionLegacyInitForwardsToNewName()0.00s
✅testSessionsDecoderAcceptsLegacyAndModernKeys()0.00s
✅testSessionsEncoderUsesAndroidAlignedFieldNames()0.00s
✅testUnknownUserEventsLeavesModernEventsUntouched()0.01s
✅testUnknownUserEventsRewritesLegacyDataTypeKeyOnRead()0.00s
✅testUnknownUserUpdateRewritesLegacyDataTypeKeyOnRead()0.00s
✅testUpdateUnknownSessionIncrementsExistingSessions()0.01s

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.00s
✅testCompareDataIsSetUserPropertySuccess()0.00s

UnknownUserCriteriaMatchTests

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

UserMergeScenariosTests

✅testCriteriaMetEmailDefault()3.19s
✅testCriteriaMetEmailMergeFalse()3.17s
✅testCriteriaMetEmailMergeTrue()3.22s
✅testCriteriaMetTwice()3.18s
✅testCriteriaMetUserIdDefault()3.18s
✅testCriteriaMetUserIdMergeFalse()3.15s
✅testCriteriaMetUserIdMergeTrue()6.24s
✅testCriteriaNotMetEmailDefault()5.19s
✅testCriteriaNotMetEmailReplayFalseMergeFalse()5.12s
✅testCriteriaNotMetEmailReplayFalseMergeTrue()5.21s
✅testCriteriaNotMetEmailReplayTrueMergeFalse()0.14s
✅testCriteriaNotMetUserIdDefault()5.24s
✅testCriteriaNotMetUserIdReplayFalseMergeFalse()5.13s
✅testCriteriaNotMetUserIdReplayFalseMergeTrue()5.18s
✅testCriteriaNotMetUserIdReplayTrueMergeFalse()0.14s
✅testIdentifiedEmailDefault()3.13s
✅testIdentifiedEmailMergeFalse()3.13s
✅testIdentifiedEmailMergeTrue()6.20s
✅testIdentifiedUserIdDefault()3.15s
✅testIdentifiedUserIdMergeFalse()3.17s
✅testIdentifiedUserIdMergeTrue()6.19s

ValidateCustomEventUserUpdateAPITest

✅testCriteriaCustomEventCheck()12.28s

ValidateStoredEventCheckUnknownToKnownUserTest

✅testCriteriaCustomEventCheck()6.18s

ValidateTokenForDestinationUserTest

✅testCriteriaEmailTokenCheck()5.27s
✅testCriteriaUserIdTokenCheck()5.22s

WebViewProtocolTests

✅testVerifyViewPosition()0.17s
✅testWebViewHeightCalculationReject()1.45s

ui-tests

Tests

⚠️All tests0.00s

notification-extension-tests

NotificationExtensionTests

✅testAddActionButtonWithSystemImageIcon()0.09s
✅testAddActionButtonWithTemplateImageIcon()0.07s
✅testNilActionButtonIcon()0.07s
✅testNotificationContentParserIgnoresMalformedStringItbl()0.00s
✅testNotificationContentParserReadsActionButtonsFromStringItbl()0.00s
✅testPushButtonWithNoType()0.06s
✅testPushDestructiveSilentActionButton()0.07s
✅testPushDynamicCategory()0.07s
✅testPushImageAttachment()0.57s
✅testPushImageAttachmentFromStringItbl()0.05s
✅testPushIncorrectAttachment()0

Details

Code Coverage Results

Coverage for TestResults.xcresult

Code Coverage

TargetCoverageCoveredExecutable
Total ███████████████░░░░░ 77.48%1450718723
IterableAppExtensions.framework ████████████████░░░░ 84.23%283336
  ITBNotificationServiceExtension.swift ████████████████░░░░ 80.85%152188
  NotificationContentParser.swift █████████████████░░░ 88.28%128145
  TestFile.swift ████████████████████ 100.00%33
IterableSDK.framework ███████████████░░░░░ 77.36%1422418387
  AbstractDiffCalculator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%036
  ActionRunner.swift █████████████████░░░ 87.50%6372
  ApiClient.swift ████████████████░░░░ 84.93%248292
  ApiClientProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  APNSTypeChecker.swift █████████████████░░░ 86.32%8295
  AppExtensionHelper.swift ██████░░░░░░░░░░░░░░ 34.29%1235
  Auth.swift ███████████████████░ 99.16%118119
  AuthFailure.swift ████████████████████ 100.00%66
  AuthFailureReason.swift ████████████████████ 100.00%2626
  AuthManager.swift ███████████████████░ 95.30%345362
  ClassExtensions.swift ██████████████████░░ 90.48%95105
  CommerceItem.swift ████████████████████ 100.00%4444
  Constants.swift ███████████████████░ 97.78%4445
  CoreDataUtil.swift █████████████░░░░░░░ 69.49%4159
  DataFieldsHelper.swift ██████████████████░░ 94.94%7579
  DateProvider.swift ████████████████████ 100.00%44
  DeepLinkManager.swift ██████████████████░░ 92.91%118127
  DependencyContainer.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%021
  DependencyContainerProtocol.swift █████████████████░░░ 87.41%118135
  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 ███████████████░░░░░ 75.51%3749
  HealthMonitor.swift █████████████████░░░ 88.46%92104
  InAppCalculations.swift ██████████████████░░ 93.85%122130
  InAppContentParser.swift █████████████████░░░ 85.71%144168
  InAppDisplayer.swift ██████░░░░░░░░░░░░░░ 32.39%2371
  InAppHelper.swift ███████████████████░ 98.89%8990
  InAppInternal.swift ███████░░░░░░░░░░░░░ 39.58%1948
  InAppManager+Functions.swift ███████████████████░ 97.77%219224
  InAppManager.swift ███████████████████░ 96.30%13811434
  InAppMessageParser.swift ███████████████████░ 98.14%158161
  InAppPersistence.swift ██████████████████░░ 90.45%824911
  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.56%12261339
  InternalIterableAppIntegration.swift ████████████████░░░░ 80.93%191236
  IterableAction.swift ████████████████████ 100.00%1717
  IterableActionContext.swift ████████████████████ 100.00%44
  IterableAPI+SwitchProject.swift ███████████████████░ 98.62%428434
  IterableAPI.swift ████████████░░░░░░░░ 63.20%340538
  IterableAPICallRequest.swift ███████████████████░ 98.39%6162
  IterableAPICallTaskProcessor.swift ███████████████████░ 96.15%7578
  IterableAPIMobileFrameworkDetector.swift ███████████████░░░░░ 79.37%5063
  IterableAppIntegration.swift ████████░░░░░░░░░░░░ 44.44%1227
  IterableAttributionInfo.swift ████████████████████ 100.00%2525
  IterableConfig.swift ████████████████████ 100.00%2020
  IterableCoreDataPersistence.swift █████████████████░░░ 89.57%146163
  IterableEmbeddedManager.swift ██████████████░░░░░░ 73.81%248336
  IterableEmbeddedManagerProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  IterableEmbeddedMessage.swift ████████████████████ 100.00%1616
  IterableEmbeddedView.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0396
  IterableHtmlMessageViewController.swift ███████████████░░░░░ 75.87%327431
  IterableIdentityResolution.swift ████████████████████ 100.00%99
  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 █████████░░░░░░░░░░░ 47.58%59124
  IterableLogging.swift ██████████████████░░ 90.32%2831
  IterableLogUtil.swift ████████████████████ 100.00%4545
  IterableMessaging.swift ████████████████░░░░ 82.76%2429
  IterableNotifications.swift ████████████████░░░░ 84.21%3238
  IterablePersistence.swift ████████████████████ 100.00%66
  IterableProject.swift ████████████████████ 100.00%1414
  IterableProjectSwitchResult.swift ████████████████████ 100.00%33
  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.25%562590
  IterableTaskScheduler.swift ███████████████░░░░░ 77.48%86111
  IterableTokenGenerator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%078
  IterableUserDefaults.swift ███████████░░░░░░░░░ 57.72%172298
  IterableUtil.swift ████████████░░░░░░░░ 60.00%114190
  KeychainWrapper.swift ███████████████████░ 97.09%100103
  LocalStorage.swift ███████████░░░░░░░░░ 57.58%95165
  LocalStorageProtocol.swift ██████████░░░░░░░░░░ 50.00%24
  MiscEmbeddedClasses.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%013
  MiscInboxClasses.swift ████████████████████ 100.00%1616
  Models.swift ████████████████████ 100.00%2828
  NetworkConnectivityChecker.swift ███████████████████░ 98.39%122124
  NetworkConnectivityManager.swift ████████████████████ 100.00%9393
  NetworkHelper.swift ███████████████████░ 97.96%240245
  NetworkMonitor.swift ████████████████████ 100.00%5959
  NetworkSession.swift ░░░░░░░░░░░░░░░░░░░░ 3.33%390
  NotificationHelper.swift ███████████████████░ 98.89%8990
  OfflineRequestProcessor.swift ███████████████░░░░░ 78.57%462588
  OnlineRequestProcessor.swift █████████████████░░░ 88.38%213241
  OrderedDictionary.swift ███████████████████░ 96.94%9598
  Pending.swift ██████████████████░░ 92.75%243262
  PersistenceHelper.swift ███████████████████░ 97.14%3435
  RequestCreator.swift ████████████████░░░░ 82.72%589712
  RequestHandler.swift █████████████████░░░ 86.98%394453
  RequestHandlerProtocol.swift ████████████████████ 100.00%99
  RequestProcessorProtocol.swift ████████████████████ 100.00%11
  RequestProcessorUtil.swift ██████████████████░░ 91.95%217236
  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.83%725835
  UnknownUserManager.swift █████████████████░░░ 87.04%309355
  UnknownUserMerge.swift █████████████████░░░ 87.50%2832
  WebViewProtocol.swift ██████████████████░░ 92.68%3841