Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add percent progress to event #875

Merged
merged 1 commit into from
Feb 9, 2024

Add percent progress to event

646f6a9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add percent progress to event #875

Add percent progress to event
646f6a9
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test results: Unit (macOS, Xcode 13.4) succeeded Feb 7, 2024 in 0s

Xcode test results

Testing workspace snowplow-ios-tracker with scheme SnowplowTracker

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
32832800030.03s

Test Summary

Tests

  • Device: Mac mini, 12.7.2 (21G1974)
  • SDK: macOS 12.3, 12.3
TestTotalSuccessFailureSkippedExpected Failure
test-class LegacyTestSubject55000
test-class TestConfigurationBuilder11000
test-class TestDataPersistence88000
test-class TestDatabase1111000
test-class TestEcommerceController22000
test-class TestEcommerceEntities33000
test-class TestEcommerceEvents1111000
test-class TestEmitter1313000
test-class TestEmitterConfiguration44000
test-class TestEvents2121000
test-class TestGlobalContexts77000
test-class TestImmersiveSpaceState22000
test-class TestLifecycleState11000
test-class TestLinkDecorator66000
test-class TestListItemViewModifier11000
test-class TestLogger33000
test-class TestMediaAdTracking22000
test-class TestMediaController2828000
test-class TestMediaEventAndEntitySerialization66000
test-class TestMediaSessionTrackingStats1010000
test-class TestMemoryEventStore55000
test-class TestMultipleInstances88000
test-class TestNetworkConnection1111000
test-class TestPayload1818000
test-class TestPlatformContext55000
test-class TestPlugins88000
test-class TestRemoteConfiguration1313000
test-class TestRequest55000
test-class TestRequestResult77000
test-class TestSQLiteEventStore66000
test-class TestSchemaRuleset44000
test-class TestScreenState33000
test-class TestScreenSummaryStateMachine44000
test-class TestScreenViewModifier11000
test-class TestSelfDescribingJson88000
test-class TestServiceProvider11000
test-class TestSession1515000
test-class TestStateManager77000
test-class TestSubject55000
test-class TestTracker33000
test-class TestTrackerConfiguration1616000
test-class TestTrackerController44000
test-class TestTrackerEvent11000
test-class TestUtils1515000
test-class TestVisionOSEntities22000
test-class TestVisionOSEvents55000
test-class TestWebViewMessageHandler33000

Failure Failures

All tests passed 🎉

Details

Test Details

Testsback

LegacyTestSubject back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testGeoLocationGetWithoutNeededKeys()
Successtest-method testGeoLocationWithSubjectConfiguration()
Successtest-method testSubjectInit()
Successtest-method testSubjectInitWithOptions()
Successtest-method testSubjectSetterFunctions()

TestConfigurationBuilder back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testCreateTrackerUsingBuilder()

TestDataPersistence back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDataIsCorrectlyStored()
Successtest-method testDataIsCorrectlyStoredWhenNotStoredOnFile()
Successtest-method testDataIsStoredWithoutInterference()
Successtest-method testDataIsStoredWithoutInterferenceWhenNotStoredOnFile()
Successtest-method testDataPersistenceForNamespaceWithDifferentNamespaces()
Successtest-method testDataPersistenceForNamespaceWithSameNamespaces()
Successtest-method testRemoveForNamespace()
Successtest-method testStringFromNamespace()

TestDatabase back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testCanWorkWithTwoOpenDatabases()
Successtest-method testCountRows()
Successtest-method testDatabasePathConsistentForNamespace()
Successtest-method testDatabasePathDiffersByNamespace()
Successtest-method testDatabasePathDoesntContainSpecialChars()
Successtest-method testDeleteAllRows()
Successtest-method testDeleteSpecificRows()
Successtest-method testInsertsAndReadsRow()
Successtest-method testRemoveOldestEventsByMaxSize()
Successtest-method testRemoveOldEventsByAge()
Successtest-method testSelectRowsWithLimit()

TestEcommerceController back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.71s
Successtest-method testAddScreenEntity()
Successtest-method testAddUserEntity()

TestEcommerceEntities back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testBuildsCartEntity()
Successtest-method testBuildsProductEntity()
Successtest-method testBuildsPromotionEntity()

TestEcommerceEvents back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.31s
Successtest-method testAddToCart()
Successtest-method testCheckoutStep()
Successtest-method testProductListClick()
Successtest-method testProductListView()
Successtest-method testProductView()
Successtest-method testPromotionClick()
Successtest-method testPromotionView()
Successtest-method testRefund()
Successtest-method testRemoveFromCart()
Successtest-method testTransaction()
Successtest-method testTransactionError()

TestEmitter back

SuccessFailureSkippedExpected Failure⏱️
13 (100%)0 (0%)0 (0%)0 (0%)1.09s
Successtest-method testDoesNotRetryFailedRequestsIfDisabled()
Successtest-method testDoesntMakeRequestUnlessBufferSizeIsReached()
Successtest-method testEmitEventsPostAsGroup()
Successtest-method testEmitOversizeEventsPostAsGroup()
Successtest-method testEmitSingleGetEventWithNoSuccess()
Successtest-method testEmitSingleGetEventWithSuccess()
Successtest-method testEmitSinglePostEventWithSuccess()
Successtest-method testEmitterBuilderAndOptions()
Successtest-method testEmitTwoGetEventsWithNoSuccess()
Successtest-method testEmitTwoGetEventsWithSuccess()
Successtest-method testFollowCustomRetryRules()
Successtest-method testNumberOfRequestsMatchesEmitRangeAndOversize()
Successtest-method testRemovesEventsFromQueueOnNoRetryStatus()

TestEmitterConfiguration back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)2.10s
Successtest-method testActivatesServerAnonymisationInEmitter()
Successtest-method testAllowsAccessToTheEventStore()
Successtest-method testPauseEmitter()
Successtest-method testRespectsEmitRange()

TestEvents back

SuccessFailureSkippedExpected Failure⏱️
21 (100%)0 (0%)0 (0%)0 (0%)1.11s
Successtest-method testApplicationInstall()
Successtest-method testConsentGranted()
Successtest-method testConsentWithdrawn()
Successtest-method testDeepLinkContextAndAtomicPropertiesAddedToScreenView()
Successtest-method testEcommerce()
Successtest-method testEcommerceItem()
Successtest-method testEntities()
Successtest-method testError()
Successtest-method testMessageNotification()
Successtest-method testMessageNotificationWithUserInfo()
Successtest-method testPageView()
Successtest-method testPushNotification()
Successtest-method testPushNotificationContent()
Successtest-method testScreenView()
Successtest-method testSelfDescribing()
Successtest-method testSelfDescribingWithEncodableData()
Successtest-method testStructured()
Successtest-method testTiming()
Successtest-method testTrackerError()
Successtest-method testTrueTimestamp()
Successtest-method testWorkaroundForCampaignAttributionEnrichment()

TestGlobalContexts back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAddRemove()
Successtest-method testBlockGenerator()
Successtest-method testContextGenerator()
Successtest-method testGlobalContexts()
Successtest-method testStaticGenerator()
Successtest-method testStaticGeneratortWithFilter()
Successtest-method testStaticGeneratorWithRuleset()

TestImmersiveSpaceState back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testEntityNotConfigured()
Successtest-method testImmersiveSpaceStateMachine()

TestLifecycleState back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testLifecycleStateMachine()

TestLinkDecorator back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testExistingSpQueryParameterInMiddleOfOtherQueryParameters()
Successtest-method testMissingFields()
Successtest-method testMissingSessionUserId()
Successtest-method testParameterConfiguration()
Successtest-method testWithExistingSpQueryParameter()
Successtest-method testWithOtherQueryParameters()

TestListItemViewModifier back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testTracksListItemViewEvent()

TestLogger back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDiagnosticTracking()
Successtest-method testDiagnosticTrackingWithError()
Successtest-method testDiagnosticTrackingWithException()

TestMediaAdTracking back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testUpdatesPodPositionOfAds()
Successtest-method testUpdatesStartTimeOfAdBreak()

TestMediaController back

SuccessFailureSkippedExpected Failure⏱️
28 (100%)0 (0%)0 (0%)0 (0%)0.55s
Successtest-method testAddsEntitiesFromConfigToEvents()
Successtest-method testAddsEntitiesTrackedWithEvent()
Successtest-method testAddsMediaSessionContextEntityWithGivenID()
Successtest-method testAddsPercentProgressPropertyToAdEvents()
Successtest-method testCalculatesSessionStats()
Successtest-method testDoesntSendProgressEventMultipleTimes()
Successtest-method testDoesntSendProgressEventsIfPaused()
Successtest-method testDoesntTrackEventsExcludedFromCaptureEvents()
Successtest-method testDoesntTrackSeekStartMultipleTimes()
Successtest-method testProgressEventsShouldHavePercentValue()
Successtest-method testSetsPausedAndEndedToTrueWhenEndIsTracked()
Successtest-method testSetsPausedToFalseWhenPlayEventIsTracked()
Successtest-method testSetsPausedToTrueWhenPauseIsTracked()
Successtest-method testSetsPropertiesOfErrorEvent()
Successtest-method testSetsQualityPropertiesInQualityChangeEvent()
Successtest-method testShouldNotStopSendingPingEventsWhenPlaying()
Successtest-method testShouldSendPingEventsRegardlessOfOtherEvents()
Successtest-method testShouldSendProgressEventsWhenBoundariesReached()
Successtest-method testShouldStopSendingPingEventsWhenPaused()
Successtest-method testStartsSendingPingEventsAfterSessionStarts()
Successtest-method testTrackingAdFirstQuartileSetsPercentProgress()
Successtest-method testTrackingAdMidpointSetsPercentProgress()
Successtest-method testTrackingAdThirdQuartileSetsPercentProgress()
Successtest-method testTrackingFullscreenChangeEventUpdatesFullscreenInMediaPlayer()
Successtest-method testTrackingPictureInPictureChangeEventUpdatesPictureInPictureInMediaPlayer()
Successtest-method testTrackingPlaybackRateChangeEventUpdatesThePlaybackRate()
Successtest-method testTrackingVolumeChangeEventUpdatesTheVolume()
Successtest-method testTracksCustomEvent()

TestMediaEventAndEntitySerialization back

SuccessFailure